
/**
 * 由 Fantastic-admin 提供技术支持
 * Powered by Fantastic-admin
 * https://fantastic-admin.github.io
 */

const __vite__fileDeps=["./wechat-CC1D2I9W.js","./index.vue_vue_type_script_setup_true_lang-BTce45WY.js","./config-CYXO1pNF.js","./userAgreement-CRX63ZgH.js","./style-CY8tkffG.js","./style-DzVD5h9V.css","./register-s9FErNB-.js","./register-DsQMN5kC.css","./phone-BdMZVeeU.js","./index-DMib4jzv.js","./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js","./index-BE-LteFu.js","./utcformatTime-Bq4gDWNx.js","./email-B1yejiIN.js","./accountLog-j3jh3-tg.js","./welcomePageSettings-CtUX5kGT.js","./notice-CN8MQARu.js","./baseConfiguration-U_8lhRbY.js","./baiduStatistics-C5Ie8mqw.js","./tencent-DrFpx0Hg.js","./localStorage-cKgrnDbg.js","./chevereto-DL3R-p1F.js","./ali-0_edqUL6.js","./violation-DSvmBVfk.js","./badWords-C1vgC_-i.js","./marked.esm-8ZxQ78w7.js","./chat-DJXUFUH_.css","./identityVerification-BGG7YaLd.js","./custom-B5IO_plt.js","./baiduSensitive-C9aAS061.js","./autpReply-iL0HgZca.js","./setting-B_yMB92n.js","./setting-DPas9sHG.css","./edit.password-C_LVx17b.js","./useMainPage-C9MASyfo.js","./edit-C7lymP1E.css","./wechat-B6iz3vsw.js","./mpay-BhEzThlj.js","./ltzf-Cl69CY0O.js","./hupijiao-CgScmBfT.js","./epay-BFYo5Oti.js","./points-dFU6hxKv.js","./package-B84yLosq.js","./package-DNsyP8d5.js","./crami-C4rWwE2o.js","./index-Bc9vnwpI.js","./index-DiTAFdcL.css","./key-U1-UhTyN.js","./interface-BdTcay3S.js","./draw-VSxgmQtr.js","./chat-DSEzBczd.js","./draw-BqaQv8sQ.css","./chat-BWcQBZPb.js","./visible-ZdW2endy.js","./plugin-QW7T5kxH.js","./classify-D6OriOt0.js","./app-BCL1kqkG.js","./application-Bvco68p6.js","./index-FnTzkwYe.js","./HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js","./HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js","./HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js","./use-resolve-button-type-CVaAVCZ2.js","./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js","./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js","./index-CyI3Kccs.js","./index-B9lYkwfU.css","./index-C_igUakG.js","./index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js","./index-CeCYhShg.js","./index-D4nnD7rC.css","./item-aUfNz2FD.js","./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js","./index-BEgl-D5h.js","./index-DLgR7VQ5.css","./index-BhavOP4W.js","./index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js","./rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js","./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js","./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js","./HDropdown-BjwO9ikd.js","./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js","./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js","./HKbd-By3ZrrUU.js","./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js","./useMenu-CjAI3aXu.js","./index-ucei9Tgm.css","./index-BBYMB4fF.js","./index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js","./HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js","./index-BsqAgi1e.js","./index-Bb_mj7fg.js","./index-eqjq1fUS.css","./index-do-psu6b.js","./index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js","./sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js","./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js","./item-BGs210ro.js","./sub-C9kpzA5T.js","./index-B8Qbctk3.js","./index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js","./index-CFd9RQbU.js","./index-CyUQOSLA.css","./index-DYuViJCA.js","./index-D9XTqpwG.css","./index-D5jQENXK.js","./index-KzA8AQdP.css","./index-B26rXOmA.js","./index-D2-DvelZ.js","./index-CyBqC5az.js","./index-JmaFc6Op.js","./index-DilPWwlM.js","./leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js","./index--3skRaHe.css","./leftSide-oWmuAIUP.js","./rightSide-DTvA-_sw.js","./index-apzNn83J.js","./index-DARZUbFw.css","./link-BkZGdTQk.js","./link-Dx3sI3vO.css","./index-DaN931b2.js","./index-7C4DsIyW.css","./HCheckList-C7zKn3lK.js","./HDialog-CPr-tzAo.js","./HDropdownMenu-r0U9_oai.js","./HInput-B34qGhNq.js","./HTabList-DFOAZowX.js","./HToggle-5Qxg2Ct6.js","./HTooltip-D8zlh0ym.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
(function(){const $e=document.createElement("link").relList;if($e&&$e.supports&&$e.supports("modulepreload"))return;for(const Ue of document.querySelectorAll('link[rel="modulepreload"]'))Fe(Ue);new MutationObserver(Ue=>{for(const qe of Ue)if(qe.type==="childList")for(const At of qe.addedNodes)At.tagName==="LINK"&&At.rel==="modulepreload"&&Fe(At)}).observe(document,{childList:!0,subtree:!0});function Ie(Ue){const qe={};return Ue.integrity&&(qe.integrity=Ue.integrity),Ue.referrerPolicy&&(qe.referrerPolicy=Ue.referrerPolicy),Ue.crossOrigin==="use-credentials"?qe.credentials="include":Ue.crossOrigin==="anonymous"?qe.credentials="omit":qe.credentials="same-origin",qe}function Fe(Ue){if(Ue.ep)return;Ue.ep=!0;const qe=Ie(Ue);fetch(Ue.href,qe)}})();{const xe="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",$e=`${xe} background: #e24329;`,Ie=`${xe} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",Ie,$e,Ie,`
https://fantastic-admin.github.io`):console.info("%cPowered by%cFantastic-admin",Ie,$e,`
https://fantastic-admin.github.io`)}/**
* @vue/shared v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function makeMap(xe,$e){const Ie=new Set(xe.split(","));return Fe=>Ie.has(Fe)}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=xe=>xe.charCodeAt(0)===111&&xe.charCodeAt(1)===110&&(xe.charCodeAt(2)>122||xe.charCodeAt(2)<97),isModelListener=xe=>xe.startsWith("onUpdate:"),extend$2=Object.assign,remove=(xe,$e)=>{const Ie=xe.indexOf($e);Ie>-1&&xe.splice(Ie,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$1=(xe,$e)=>hasOwnProperty$g.call(xe,$e),isArray$6=Array.isArray,isMap$1=xe=>toTypeString(xe)==="[object Map]",isSet$1=xe=>toTypeString(xe)==="[object Set]",isDate$1=xe=>toTypeString(xe)==="[object Date]",isRegExp$2=xe=>toTypeString(xe)==="[object RegExp]",isFunction$5=xe=>typeof xe=="function",isString$4=xe=>typeof xe=="string",isSymbol$1=xe=>typeof xe=="symbol",isObject$8=xe=>xe!==null&&typeof xe=="object",isPromise=xe=>(isObject$8(xe)||isFunction$5(xe))&&isFunction$5(xe.then)&&isFunction$5(xe.catch),objectToString$1=Object.prototype.toString,toTypeString=xe=>objectToString$1.call(xe),toRawType=xe=>toTypeString(xe).slice(8,-1),isPlainObject$4=xe=>toTypeString(xe)==="[object Object]",isIntegerKey=xe=>isString$4(xe)&&xe!=="NaN"&&xe[0]!=="-"&&""+parseInt(xe,10)===xe,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=xe=>{const $e=Object.create(null);return Ie=>$e[Ie]||($e[Ie]=xe(Ie))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(xe=>xe.replace(camelizeRE,($e,Ie)=>Ie?Ie.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(xe=>xe.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(xe=>xe.charAt(0).toUpperCase()+xe.slice(1)),toHandlerKey=cacheStringFunction(xe=>xe?`on${capitalize$1(xe)}`:""),hasChanged=(xe,$e)=>!Object.is(xe,$e),invokeArrayFns=(xe,$e)=>{for(let Ie=0;Ie<xe.length;Ie++)xe[Ie]($e)},def=(xe,$e,Ie,Fe=!1)=>{Object.defineProperty(xe,$e,{configurable:!0,enumerable:!1,writable:Fe,value:Ie})},looseToNumber=xe=>{const $e=parseFloat(xe);return isNaN($e)?xe:$e},toNumber$1=xe=>{const $e=isString$4(xe)?Number(xe):NaN;return isNaN($e)?xe:$e};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_ALLOWED="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,Error",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle$1(xe){if(isArray$6(xe)){const $e={};for(let Ie=0;Ie<xe.length;Ie++){const Fe=xe[Ie],Ue=isString$4(Fe)?parseStringStyle(Fe):normalizeStyle$1(Fe);if(Ue)for(const qe in Ue)$e[qe]=Ue[qe]}return $e}else if(isString$4(xe)||isObject$8(xe))return xe}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(xe){const $e={};return xe.replace(styleCommentRE,"").split(listDelimiterRE).forEach(Ie=>{if(Ie){const Fe=Ie.split(propertyDelimiterRE);Fe.length>1&&($e[Fe[0].trim()]=Fe[1].trim())}}),$e}function normalizeClass(xe){let $e="";if(isString$4(xe))$e=xe;else if(isArray$6(xe))for(let Ie=0;Ie<xe.length;Ie++){const Fe=normalizeClass(xe[Ie]);Fe&&($e+=Fe+" ")}else if(isObject$8(xe))for(const Ie in xe)xe[Ie]&&($e+=Ie+" ");return $e.trim()}function normalizeProps(xe){if(!xe)return null;let{class:$e,style:Ie}=xe;return $e&&!isString$4($e)&&(xe.class=normalizeClass($e)),Ie&&(xe.style=normalizeStyle$1(Ie)),xe}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(xe){return!!xe||xe===""}function looseCompareArrays(xe,$e){if(xe.length!==$e.length)return!1;let Ie=!0;for(let Fe=0;Ie&&Fe<xe.length;Fe++)Ie=looseEqual(xe[Fe],$e[Fe]);return Ie}function looseEqual(xe,$e){if(xe===$e)return!0;let Ie=isDate$1(xe),Fe=isDate$1($e);if(Ie||Fe)return Ie&&Fe?xe.getTime()===$e.getTime():!1;if(Ie=isSymbol$1(xe),Fe=isSymbol$1($e),Ie||Fe)return xe===$e;if(Ie=isArray$6(xe),Fe=isArray$6($e),Ie||Fe)return Ie&&Fe?looseCompareArrays(xe,$e):!1;if(Ie=isObject$8(xe),Fe=isObject$8($e),Ie||Fe){if(!Ie||!Fe)return!1;const Ue=Object.keys(xe).length,qe=Object.keys($e).length;if(Ue!==qe)return!1;for(const At in xe){const Dt=xe.hasOwnProperty(At),Lt=$e.hasOwnProperty(At);if(Dt&&!Lt||!Dt&&Lt||!looseEqual(xe[At],$e[At]))return!1}}return String(xe)===String($e)}function looseIndexOf(xe,$e){return xe.findIndex(Ie=>looseEqual(Ie,$e))}const toDisplayString=xe=>isString$4(xe)?xe:xe==null?"":isArray$6(xe)||isObject$8(xe)&&(xe.toString===objectToString$1||!isFunction$5(xe.toString))?JSON.stringify(xe,replacer,2):String(xe),replacer=(xe,$e)=>$e&&$e.__v_isRef?replacer(xe,$e.value):isMap$1($e)?{[`Map(${$e.size})`]:[...$e.entries()].reduce((Ie,[Fe,Ue],qe)=>(Ie[stringifySymbol(Fe,qe)+" =>"]=Ue,Ie),{})}:isSet$1($e)?{[`Set(${$e.size})`]:[...$e.values()].map(Ie=>stringifySymbol(Ie))}:isSymbol$1($e)?stringifySymbol($e):isObject$8($e)&&!isArray$6($e)&&!isPlainObject$4($e)?String($e):$e,stringifySymbol=(xe,$e="")=>{var Ie;return isSymbol$1(xe)?`Symbol(${(Ie=xe.description)!=null?Ie:$e})`:xe};/**
* @vue/reactivity v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let activeEffectScope;class EffectScope{constructor($e=!1){this.detached=$e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!$e&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run($e){if(this._active){const Ie=activeEffectScope;try{return activeEffectScope=this,$e()}finally{activeEffectScope=Ie}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop($e){if(this._active){let Ie,Fe;for(Ie=0,Fe=this.effects.length;Ie<Fe;Ie++)this.effects[Ie].stop();for(Ie=0,Fe=this.cleanups.length;Ie<Fe;Ie++)this.cleanups[Ie]();if(this.scopes)for(Ie=0,Fe=this.scopes.length;Ie<Fe;Ie++)this.scopes[Ie].stop(!0);if(!this.detached&&this.parent&&!$e){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(xe){return new EffectScope(xe)}function recordEffectScope(xe,$e=activeEffectScope){$e&&$e.active&&$e.effects.push(xe)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(xe){activeEffectScope&&activeEffectScope.cleanups.push(xe)}let activeEffect;class ReactiveEffect{constructor($e,Ie,Fe,Ue){this.fn=$e,this.trigger=Ie,this.scheduler=Fe,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,recordEffectScope(this,Ue)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pauseTracking();for(let $e=0;$e<this._depsLength;$e++){const Ie=this.deps[$e];if(Ie.computed&&(triggerComputed(Ie.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty($e){this._dirtyLevel=$e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let $e=shouldTrack,Ie=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=Ie,shouldTrack=$e}}stop(){this.active&&(preCleanupEffect(this),postCleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function triggerComputed(xe){return xe.value}function preCleanupEffect(xe){xe._trackId++,xe._depsLength=0}function postCleanupEffect(xe){if(xe.deps.length>xe._depsLength){for(let $e=xe._depsLength;$e<xe.deps.length;$e++)cleanupDepEffect(xe.deps[$e],xe);xe.deps.length=xe._depsLength}}function cleanupDepEffect(xe,$e){const Ie=xe.get($e);Ie!==void 0&&$e._trackId!==Ie&&(xe.delete($e),xe.size===0&&xe.cleanup())}function effect(xe,$e){xe.effect instanceof ReactiveEffect&&(xe=xe.effect.fn);const Ie=new ReactiveEffect(xe,NOOP,()=>{Ie.dirty&&Ie.run()});$e&&(extend$2(Ie,$e),$e.scope&&recordEffectScope(Ie,$e.scope)),(!$e||!$e.lazy)&&Ie.run();const Fe=Ie.run.bind(Ie);return Fe.effect=Ie,Fe}function stop$1(xe){xe.effect.stop()}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const xe=trackStack.pop();shouldTrack=xe===void 0?!0:xe}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect(xe,$e,Ie){if($e.get(xe)!==xe._trackId){$e.set(xe,xe._trackId);const Fe=xe.deps[xe._depsLength];Fe!==$e?(Fe&&cleanupDepEffect(Fe,xe),xe.deps[xe._depsLength++]=$e):xe._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(xe,$e,Ie){pauseScheduling();for(const Fe of xe.keys()){let Ue;Fe._dirtyLevel<$e&&(Ue??(Ue=xe.get(Fe)===Fe._trackId))&&(Fe._shouldSchedule||(Fe._shouldSchedule=Fe._dirtyLevel===0),Fe._dirtyLevel=$e),Fe._shouldSchedule&&(Ue??(Ue=xe.get(Fe)===Fe._trackId))&&(Fe.trigger(),(!Fe._runnings||Fe.allowRecurse)&&Fe._dirtyLevel!==2&&(Fe._shouldSchedule=!1,Fe.scheduler&&queueEffectSchedulers.push(Fe.scheduler)))}resetScheduling()}const createDep=(xe,$e)=>{const Ie=new Map;return Ie.cleanup=xe,Ie.computed=$e,Ie},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(xe,$e,Ie){if(shouldTrack&&activeEffect){let Fe=targetMap.get(xe);Fe||targetMap.set(xe,Fe=new Map);let Ue=Fe.get(Ie);Ue||Fe.set(Ie,Ue=createDep(()=>Fe.delete(Ie))),trackEffect(activeEffect,Ue)}}function trigger$3(xe,$e,Ie,Fe,Ue,qe){const At=targetMap.get(xe);if(!At)return;let Dt=[];if($e==="clear")Dt=[...At.values()];else if(Ie==="length"&&isArray$6(xe)){const Lt=Number(Fe);At.forEach((jt,hn)=>{(hn==="length"||!isSymbol$1(hn)&&hn>=Lt)&&Dt.push(jt)})}else switch(Ie!==void 0&&Dt.push(At.get(Ie)),$e){case"add":isArray$6(xe)?isIntegerKey(Ie)&&Dt.push(At.get("length")):(Dt.push(At.get(ITERATE_KEY)),isMap$1(xe)&&Dt.push(At.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$6(xe)||(Dt.push(At.get(ITERATE_KEY)),isMap$1(xe)&&Dt.push(At.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$1(xe)&&Dt.push(At.get(ITERATE_KEY));break}pauseScheduling();for(const Lt of Dt)Lt&&triggerEffects(Lt,4);resetScheduling()}function getDepFromReactive(xe,$e){const Ie=targetMap.get(xe);return Ie&&Ie.get($e)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(xe=>xe!=="arguments"&&xe!=="caller").map(xe=>Symbol[xe]).filter(isSymbol$1)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const xe={};return["includes","indexOf","lastIndexOf"].forEach($e=>{xe[$e]=function(...Ie){const Fe=toRaw(this);for(let qe=0,At=this.length;qe<At;qe++)track(Fe,"get",qe+"");const Ue=Fe[$e](...Ie);return Ue===-1||Ue===!1?Fe[$e](...Ie.map(toRaw)):Ue}}),["push","pop","shift","unshift","splice"].forEach($e=>{xe[$e]=function(...Ie){pauseTracking(),pauseScheduling();const Fe=toRaw(this)[$e].apply(this,Ie);return resetScheduling(),resetTracking(),Fe}}),xe}function hasOwnProperty$f(xe){isSymbol$1(xe)||(xe=String(xe));const $e=toRaw(this);return track($e,"has",xe),$e.hasOwnProperty(xe)}class BaseReactiveHandler{constructor($e=!1,Ie=!1){this._isReadonly=$e,this._isShallow=Ie}get($e,Ie,Fe){const Ue=this._isReadonly,qe=this._isShallow;if(Ie==="__v_isReactive")return!Ue;if(Ie==="__v_isReadonly")return Ue;if(Ie==="__v_isShallow")return qe;if(Ie==="__v_raw")return Fe===(Ue?qe?shallowReadonlyMap:readonlyMap:qe?shallowReactiveMap:reactiveMap).get($e)||Object.getPrototypeOf($e)===Object.getPrototypeOf(Fe)?$e:void 0;const At=isArray$6($e);if(!Ue){if(At&&hasOwn$1(arrayInstrumentations,Ie))return Reflect.get(arrayInstrumentations,Ie,Fe);if(Ie==="hasOwnProperty")return hasOwnProperty$f}const Dt=Reflect.get($e,Ie,Fe);return(isSymbol$1(Ie)?builtInSymbols.has(Ie):isNonTrackableKeys(Ie))||(Ue||track($e,"get",Ie),qe)?Dt:isRef(Dt)?At&&isIntegerKey(Ie)?Dt:Dt.value:isObject$8(Dt)?Ue?readonly(Dt):reactive(Dt):Dt}}class MutableReactiveHandler extends BaseReactiveHandler{constructor($e=!1){super(!1,$e)}set($e,Ie,Fe,Ue){let qe=$e[Ie];if(!this._isShallow){const Lt=isReadonly(qe);if(!isShallow(Fe)&&!isReadonly(Fe)&&(qe=toRaw(qe),Fe=toRaw(Fe)),!isArray$6($e)&&isRef(qe)&&!isRef(Fe))return Lt?!1:(qe.value=Fe,!0)}const At=isArray$6($e)&&isIntegerKey(Ie)?Number(Ie)<$e.length:hasOwn$1($e,Ie),Dt=Reflect.set($e,Ie,Fe,Ue);return $e===toRaw(Ue)&&(At?hasChanged(Fe,qe)&&trigger$3($e,"set",Ie,Fe):trigger$3($e,"add",Ie,Fe)),Dt}deleteProperty($e,Ie){const Fe=hasOwn$1($e,Ie);$e[Ie];const Ue=Reflect.deleteProperty($e,Ie);return Ue&&Fe&&trigger$3($e,"delete",Ie,void 0),Ue}has($e,Ie){const Fe=Reflect.has($e,Ie);return(!isSymbol$1(Ie)||!builtInSymbols.has(Ie))&&track($e,"has",Ie),Fe}ownKeys($e){return track($e,"iterate",isArray$6($e)?"length":ITERATE_KEY),Reflect.ownKeys($e)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor($e=!1){super(!0,$e)}set($e,Ie){return!0}deleteProperty($e,Ie){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=xe=>xe,getProto=xe=>Reflect.getPrototypeOf(xe);function get$2(xe,$e,Ie=!1,Fe=!1){xe=xe.__v_raw;const Ue=toRaw(xe),qe=toRaw($e);Ie||(hasChanged($e,qe)&&track(Ue,"get",$e),track(Ue,"get",qe));const{has:At}=getProto(Ue),Dt=Fe?toShallow:Ie?toReadonly:toReactive;if(At.call(Ue,$e))return Dt(xe.get($e));if(At.call(Ue,qe))return Dt(xe.get(qe));xe!==Ue&&xe.get($e)}function has$2(xe,$e=!1){const Ie=this.__v_raw,Fe=toRaw(Ie),Ue=toRaw(xe);return $e||(hasChanged(xe,Ue)&&track(Fe,"has",xe),track(Fe,"has",Ue)),xe===Ue?Ie.has(xe):Ie.has(xe)||Ie.has(Ue)}function size$1(xe,$e=!1){return xe=xe.__v_raw,!$e&&track(toRaw(xe),"iterate",ITERATE_KEY),Reflect.get(xe,"size",xe)}function add$1(xe){xe=toRaw(xe);const $e=toRaw(this);return getProto($e).has.call($e,xe)||($e.add(xe),trigger$3($e,"add",xe,xe)),this}function set$3(xe,$e){$e=toRaw($e);const Ie=toRaw(this),{has:Fe,get:Ue}=getProto(Ie);let qe=Fe.call(Ie,xe);qe||(xe=toRaw(xe),qe=Fe.call(Ie,xe));const At=Ue.call(Ie,xe);return Ie.set(xe,$e),qe?hasChanged($e,At)&&trigger$3(Ie,"set",xe,$e):trigger$3(Ie,"add",xe,$e),this}function deleteEntry(xe){const $e=toRaw(this),{has:Ie,get:Fe}=getProto($e);let Ue=Ie.call($e,xe);Ue||(xe=toRaw(xe),Ue=Ie.call($e,xe)),Fe&&Fe.call($e,xe);const qe=$e.delete(xe);return Ue&&trigger$3($e,"delete",xe,void 0),qe}function clear$2(){const xe=toRaw(this),$e=xe.size!==0,Ie=xe.clear();return $e&&trigger$3(xe,"clear",void 0,void 0),Ie}function createForEach(xe,$e){return function(Fe,Ue){const qe=this,At=qe.__v_raw,Dt=toRaw(At),Lt=$e?toShallow:xe?toReadonly:toReactive;return!xe&&track(Dt,"iterate",ITERATE_KEY),At.forEach((jt,hn)=>Fe.call(Ue,Lt(jt),Lt(hn),qe))}}function createIterableMethod(xe,$e,Ie){return function(...Fe){const Ue=this.__v_raw,qe=toRaw(Ue),At=isMap$1(qe),Dt=xe==="entries"||xe===Symbol.iterator&&At,Lt=xe==="keys"&&At,jt=Ue[xe](...Fe),hn=Ie?toShallow:$e?toReadonly:toReactive;return!$e&&track(qe,"iterate",Lt?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:vn,done:bn}=jt.next();return bn?{value:vn,done:bn}:{value:Dt?[hn(vn[0]),hn(vn[1])]:hn(vn),done:bn}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(xe){return function(...$e){return xe==="delete"?!1:xe==="clear"?void 0:this}}function createInstrumentations(){const xe={get(qe){return get$2(this,qe)},get size(){return size$1(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!1)},$e={get(qe){return get$2(this,qe,!1,!0)},get size(){return size$1(this)},has:has$2,add:add$1,set:set$3,delete:deleteEntry,clear:clear$2,forEach:createForEach(!1,!0)},Ie={get(qe){return get$2(this,qe,!0)},get size(){return size$1(this,!0)},has(qe){return has$2.call(this,qe,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},Fe={get(qe){return get$2(this,qe,!0,!0)},get size(){return size$1(this,!0)},has(qe){return has$2.call(this,qe,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(qe=>{xe[qe]=createIterableMethod(qe,!1,!1),Ie[qe]=createIterableMethod(qe,!0,!1),$e[qe]=createIterableMethod(qe,!1,!0),Fe[qe]=createIterableMethod(qe,!0,!0)}),[xe,Ie,$e,Fe]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(xe,$e){const Ie=$e?xe?shallowReadonlyInstrumentations:shallowInstrumentations:xe?readonlyInstrumentations:mutableInstrumentations;return(Fe,Ue,qe)=>Ue==="__v_isReactive"?!xe:Ue==="__v_isReadonly"?xe:Ue==="__v_raw"?Fe:Reflect.get(hasOwn$1(Ie,Ue)&&Ue in Fe?Ie:Fe,Ue,qe)}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(xe){switch(xe){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(xe){return xe.__v_skip||!Object.isExtensible(xe)?0:targetTypeMap(toRawType(xe))}function reactive(xe){return isReadonly(xe)?xe:createReactiveObject(xe,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(xe){return createReactiveObject(xe,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(xe){return createReactiveObject(xe,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(xe){return createReactiveObject(xe,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(xe,$e,Ie,Fe,Ue){if(!isObject$8(xe)||xe.__v_raw&&!($e&&xe.__v_isReactive))return xe;const qe=Ue.get(xe);if(qe)return qe;const At=getTargetType(xe);if(At===0)return xe;const Dt=new Proxy(xe,At===2?Fe:Ie);return Ue.set(xe,Dt),Dt}function isReactive(xe){return isReadonly(xe)?isReactive(xe.__v_raw):!!(xe&&xe.__v_isReactive)}function isReadonly(xe){return!!(xe&&xe.__v_isReadonly)}function isShallow(xe){return!!(xe&&xe.__v_isShallow)}function isProxy(xe){return xe?!!xe.__v_raw:!1}function toRaw(xe){const $e=xe&&xe.__v_raw;return $e?toRaw($e):xe}function markRaw(xe){return Object.isExtensible(xe)&&def(xe,"__v_skip",!0),xe}const toReactive=xe=>isObject$8(xe)?reactive(xe):xe,toReadonly=xe=>isObject$8(xe)?readonly(xe):xe;class ComputedRefImpl{constructor($e,Ie,Fe,Ue){this.getter=$e,this._setter=Ie,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>$e(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!Ue,this.__v_isReadonly=Fe}get value(){const $e=toRaw(this);return(!$e._cacheable||$e.effect.dirty)&&hasChanged($e._value,$e._value=$e.effect.run())&&triggerRefValue($e,4),trackRefValue($e),$e.effect._dirtyLevel>=2&&triggerRefValue($e,2),$e._value}set value($e){this._setter($e)}get _dirty(){return this.effect.dirty}set _dirty($e){this.effect.dirty=$e}}function computed$1(xe,$e,Ie=!1){let Fe,Ue;const qe=isFunction$5(xe);return qe?(Fe=xe,Ue=NOOP):(Fe=xe.get,Ue=xe.set),new ComputedRefImpl(Fe,Ue,qe||!Ue,Ie)}function trackRefValue(xe){var $e;shouldTrack&&activeEffect&&(xe=toRaw(xe),trackEffect(activeEffect,($e=xe.dep)!=null?$e:xe.dep=createDep(()=>xe.dep=void 0,xe instanceof ComputedRefImpl?xe:void 0)))}function triggerRefValue(xe,$e=4,Ie){xe=toRaw(xe);const Fe=xe.dep;Fe&&triggerEffects(Fe,$e)}function isRef(xe){return!!(xe&&xe.__v_isRef===!0)}function ref(xe){return createRef(xe,!1)}function shallowRef(xe){return createRef(xe,!0)}function createRef(xe,$e){return isRef(xe)?xe:new RefImpl(xe,$e)}class RefImpl{constructor($e,Ie){this.__v_isShallow=Ie,this.dep=void 0,this.__v_isRef=!0,this._rawValue=Ie?$e:toRaw($e),this._value=Ie?$e:toReactive($e)}get value(){return trackRefValue(this),this._value}set value($e){const Ie=this.__v_isShallow||isShallow($e)||isReadonly($e);$e=Ie?$e:toRaw($e),hasChanged($e,this._rawValue)&&(this._rawValue=$e,this._value=Ie?$e:toReactive($e),triggerRefValue(this,4))}}function triggerRef(xe){triggerRefValue(xe,4)}function unref(xe){return isRef(xe)?xe.value:xe}function toValue$1(xe){return isFunction$5(xe)?xe():unref(xe)}const shallowUnwrapHandlers={get:(xe,$e,Ie)=>unref(Reflect.get(xe,$e,Ie)),set:(xe,$e,Ie,Fe)=>{const Ue=xe[$e];return isRef(Ue)&&!isRef(Ie)?(Ue.value=Ie,!0):Reflect.set(xe,$e,Ie,Fe)}};function proxyRefs(xe){return isReactive(xe)?xe:new Proxy(xe,shallowUnwrapHandlers)}class CustomRefImpl{constructor($e){this.dep=void 0,this.__v_isRef=!0;const{get:Ie,set:Fe}=$e(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=Ie,this._set=Fe}get value(){return this._get()}set value($e){this._set($e)}}function customRef(xe){return new CustomRefImpl(xe)}function toRefs(xe){const $e=isArray$6(xe)?new Array(xe.length):{};for(const Ie in xe)$e[Ie]=propertyToRef(xe,Ie);return $e}class ObjectRefImpl{constructor($e,Ie,Fe){this._object=$e,this._key=Ie,this._defaultValue=Fe,this.__v_isRef=!0}get value(){const $e=this._object[this._key];return $e===void 0?this._defaultValue:$e}set value($e){this._object[this._key]=$e}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor($e){this._getter=$e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(xe,$e,Ie){return isRef(xe)?xe:isFunction$5(xe)?new GetterRefImpl(xe):isObject$8(xe)&&arguments.length>1?propertyToRef(xe,$e,Ie):ref(xe)}function propertyToRef(xe,$e,Ie){const Fe=xe[$e];return isRef(Fe)?Fe:new ObjectRefImpl(xe,$e,Ie)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
* @vue/runtime-core v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack=[];function warn$1(xe,...$e){pauseTracking();const Ie=stack.length?stack[stack.length-1].component:null,Fe=Ie&&Ie.appContext.config.warnHandler,Ue=getComponentTrace();if(Fe)callWithErrorHandling(Fe,Ie,11,[xe+$e.map(qe=>{var At,Dt;return(Dt=(At=qe.toString)==null?void 0:At.call(qe))!=null?Dt:JSON.stringify(qe)}).join(""),Ie&&Ie.proxy,Ue.map(({vnode:qe})=>`at <${formatComponentName(Ie,qe.type)}>`).join(`
`),Ue]);else{const qe=[`[Vue warn]: ${xe}`,...$e];Ue.length&&qe.push(`
`,...formatTrace(Ue)),console.warn(...qe)}resetTracking()}function getComponentTrace(){let xe=stack[stack.length-1];if(!xe)return[];const $e=[];for(;xe;){const Ie=$e[0];Ie&&Ie.vnode===xe?Ie.recurseCount++:$e.push({vnode:xe,recurseCount:0});const Fe=xe.component&&xe.component.parent;xe=Fe&&Fe.vnode}return $e}function formatTrace(xe){const $e=[];return xe.forEach((Ie,Fe)=>{$e.push(...Fe===0?[]:[`
`],...formatTraceEntry(Ie))}),$e}function formatTraceEntry({vnode:xe,recurseCount:$e}){const Ie=$e>0?`... (${$e} recursive calls)`:"",Fe=xe.component?xe.component.parent==null:!1,Ue=` at <${formatComponentName(xe.component,xe.type,Fe)}`,qe=">"+Ie;return xe.props?[Ue,...formatProps(xe.props),qe]:[Ue+qe]}function formatProps(xe){const $e=[],Ie=Object.keys(xe);return Ie.slice(0,3).forEach(Fe=>{$e.push(...formatProp(Fe,xe[Fe]))}),Ie.length>3&&$e.push(" ..."),$e}function formatProp(xe,$e,Ie){return isString$4($e)?($e=JSON.stringify($e),Ie?$e:[`${xe}=${$e}`]):typeof $e=="number"||typeof $e=="boolean"||$e==null?Ie?$e:[`${xe}=${$e}`]:isRef($e)?($e=formatProp(xe,toRaw($e.value),!0),Ie?$e:[`${xe}=Ref<`,$e,">"]):isFunction$5($e)?[`${xe}=fn${$e.name?`<${$e.name}>`:""}`]:($e=toRaw($e),Ie?$e:[`${xe}=`,$e])}function assertNumber(xe,$e){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(xe,$e,Ie,Fe){try{return Fe?xe(...Fe):xe()}catch(Ue){handleError(Ue,$e,Ie)}}function callWithAsyncErrorHandling(xe,$e,Ie,Fe){if(isFunction$5(xe)){const Ue=callWithErrorHandling(xe,$e,Ie,Fe);return Ue&&isPromise(Ue)&&Ue.catch(qe=>{handleError(qe,$e,Ie)}),Ue}if(isArray$6(xe)){const Ue=[];for(let qe=0;qe<xe.length;qe++)Ue.push(callWithAsyncErrorHandling(xe[qe],$e,Ie,Fe));return Ue}}function handleError(xe,$e,Ie,Fe=!0){const Ue=$e?$e.vnode:null;if($e){let qe=$e.parent;const At=$e.proxy,Dt=`https://vuejs.org/error-reference/#runtime-${Ie}`;for(;qe;){const jt=qe.ec;if(jt){for(let hn=0;hn<jt.length;hn++)if(jt[hn](xe,At,Dt)===!1)return}qe=qe.parent}const Lt=$e.appContext.config.errorHandler;if(Lt){pauseTracking(),callWithErrorHandling(Lt,null,10,[xe,At,Dt]),resetTracking();return}}logError$1(xe,Ie,Ue,Fe)}function logError$1(xe,$e,Ie,Fe=!0){console.error(xe)}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(xe){const $e=currentFlushPromise||resolvedPromise;return xe?$e.then(this?xe.bind(this):xe):$e}function findInsertionIndex$1(xe){let $e=flushIndex+1,Ie=queue.length;for(;$e<Ie;){const Fe=$e+Ie>>>1,Ue=queue[Fe],qe=getId$1(Ue);qe<xe||qe===xe&&Ue.pre?$e=Fe+1:Ie=Fe}return $e}function queueJob(xe){(!queue.length||!queue.includes(xe,isFlushing&&xe.allowRecurse?flushIndex+1:flushIndex))&&(xe.id==null?queue.push(xe):queue.splice(findInsertionIndex$1(xe.id),0,xe),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(xe){const $e=queue.indexOf(xe);$e>flushIndex&&queue.splice($e,1)}function queuePostFlushCb(xe){isArray$6(xe)?pendingPostFlushCbs.push(...xe):(!activePostFlushCbs||!activePostFlushCbs.includes(xe,xe.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(xe),queueFlush()}function flushPreFlushCbs(xe,$e,Ie=isFlushing?flushIndex+1:0){for(;Ie<queue.length;Ie++){const Fe=queue[Ie];if(Fe&&Fe.pre){if(xe&&Fe.id!==xe.uid)continue;queue.splice(Ie,1),Ie--,Fe()}}}function flushPostFlushCbs(xe){if(pendingPostFlushCbs.length){const $e=[...new Set(pendingPostFlushCbs)].sort((Ie,Fe)=>getId$1(Ie)-getId$1(Fe));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...$e);return}for(activePostFlushCbs=$e,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId$1=xe=>xe.id==null?1/0:xe.id,comparator=(xe,$e)=>{const Ie=getId$1(xe)-getId$1($e);if(Ie===0){if(xe.pre&&!$e.pre)return-1;if($e.pre&&!xe.pre)return 1}return Ie};function flushJobs(xe){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const $e=queue[flushIndex];$e&&$e.active!==!1&&callWithErrorHandling($e,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools$1,buffer=[];function setDevtoolsHook$1(xe,$e){var Ie,Fe;devtools$1=xe,devtools$1?(devtools$1.enabled=!0,buffer.forEach(({event:Ue,args:qe})=>devtools$1.emit(Ue,...qe)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((Fe=(Ie=window.navigator)==null?void 0:Ie.userAgent)!=null&&Fe.includes("jsdom"))?(($e.__VUE_DEVTOOLS_HOOK_REPLAY__=$e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(qe=>{setDevtoolsHook$1(qe,$e)}),setTimeout(()=>{devtools$1||($e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(xe,$e,...Ie){if(xe.isUnmounted)return;const Fe=xe.vnode.props||EMPTY_OBJ$1;let Ue=Ie;const qe=$e.startsWith("update:"),At=qe&&$e.slice(7);if(At&&At in Fe){const hn=`${At==="modelValue"?"model":At}Modifiers`,{number:vn,trim:bn}=Fe[hn]||EMPTY_OBJ$1;bn&&(Ue=Ie.map(_n=>isString$4(_n)?_n.trim():_n)),vn&&(Ue=Ie.map(looseToNumber))}let Dt,Lt=Fe[Dt=toHandlerKey($e)]||Fe[Dt=toHandlerKey(camelize($e))];!Lt&&qe&&(Lt=Fe[Dt=toHandlerKey(hyphenate($e))]),Lt&&callWithAsyncErrorHandling(Lt,xe,6,Ue);const jt=Fe[Dt+"Once"];if(jt){if(!xe.emitted)xe.emitted={};else if(xe.emitted[Dt])return;xe.emitted[Dt]=!0,callWithAsyncErrorHandling(jt,xe,6,Ue)}}function normalizeEmitsOptions(xe,$e,Ie=!1){const Fe=$e.emitsCache,Ue=Fe.get(xe);if(Ue!==void 0)return Ue;const qe=xe.emits;let At={},Dt=!1;if(!isFunction$5(xe)){const Lt=jt=>{const hn=normalizeEmitsOptions(jt,$e,!0);hn&&(Dt=!0,extend$2(At,hn))};!Ie&&$e.mixins.length&&$e.mixins.forEach(Lt),xe.extends&&Lt(xe.extends),xe.mixins&&xe.mixins.forEach(Lt)}return!qe&&!Dt?(isObject$8(xe)&&Fe.set(xe,null),null):(isArray$6(qe)?qe.forEach(Lt=>At[Lt]=null):extend$2(At,qe),isObject$8(xe)&&Fe.set(xe,At),At)}function isEmitListener(xe,$e){return!xe||!isOn($e)?!1:($e=$e.slice(2).replace(/Once$/,""),hasOwn$1(xe,$e[0].toLowerCase()+$e.slice(1))||hasOwn$1(xe,hyphenate($e))||hasOwn$1(xe,$e))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(xe){const $e=currentRenderingInstance;return currentRenderingInstance=xe,currentScopeId=xe&&xe.type.__scopeId||null,$e}function pushScopeId(xe){currentScopeId=xe}function popScopeId(){currentScopeId=null}const withScopeId=xe=>withCtx;function withCtx(xe,$e=currentRenderingInstance,Ie){if(!$e||xe._n)return xe;const Fe=(...Ue)=>{Fe._d&&setBlockTracking(-1);const qe=setCurrentRenderingInstance($e);let At;try{At=xe(...Ue)}finally{setCurrentRenderingInstance(qe),Fe._d&&setBlockTracking(1)}return At};return Fe._n=!0,Fe._c=!0,Fe._d=!0,Fe}function markAttrsAccessed(){}function renderComponentRoot(xe){const{type:$e,vnode:Ie,proxy:Fe,withProxy:Ue,propsOptions:[qe],slots:At,attrs:Dt,emit:Lt,render:jt,renderCache:hn,props:vn,data:bn,setupState:_n,ctx:wn,inheritAttrs:kn}=xe,Cn=setCurrentRenderingInstance(xe);let Sn,xn;try{if(Ie.shapeFlag&4){const Tn=Ue||Fe,An=Tn;Sn=normalizeVNode(jt.call(An,Tn,hn,vn,_n,bn,wn)),xn=Dt}else{const Tn=$e;Sn=normalizeVNode(Tn.length>1?Tn(vn,{attrs:Dt,slots:At,emit:Lt}):Tn(vn,null)),xn=$e.props?Dt:getFunctionalFallthrough(Dt)}}catch(Tn){blockStack.length=0,handleError(Tn,xe,1),Sn=createVNode$1(Comment$1)}let En=Sn;if(xn&&kn!==!1){const Tn=Object.keys(xn),{shapeFlag:An}=En;Tn.length&&An&7&&(qe&&Tn.some(isModelListener)&&(xn=filterModelListeners(xn,qe)),En=cloneVNode(En,xn,!1,!0))}return Ie.dirs&&(En=cloneVNode(En,null,!1,!0),En.dirs=En.dirs?En.dirs.concat(Ie.dirs):Ie.dirs),Ie.transition&&(En.transition=Ie.transition),Sn=En,setCurrentRenderingInstance(Cn),Sn}function filterSingleRoot(xe,$e=!0){let Ie;for(let Fe=0;Fe<xe.length;Fe++){const Ue=xe[Fe];if(isVNode(Ue)){if(Ue.type!==Comment$1||Ue.children==="v-if"){if(Ie)return;Ie=Ue}}else return}return Ie}const getFunctionalFallthrough=xe=>{let $e;for(const Ie in xe)(Ie==="class"||Ie==="style"||isOn(Ie))&&(($e||($e={}))[Ie]=xe[Ie]);return $e},filterModelListeners=(xe,$e)=>{const Ie={};for(const Fe in xe)(!isModelListener(Fe)||!(Fe.slice(9)in $e))&&(Ie[Fe]=xe[Fe]);return Ie};function shouldUpdateComponent(xe,$e,Ie){const{props:Fe,children:Ue,component:qe}=xe,{props:At,children:Dt,patchFlag:Lt}=$e,jt=qe.emitsOptions;if($e.dirs||$e.transition)return!0;if(Ie&&Lt>=0){if(Lt&1024)return!0;if(Lt&16)return Fe?hasPropsChanged(Fe,At,jt):!!At;if(Lt&8){const hn=$e.dynamicProps;for(let vn=0;vn<hn.length;vn++){const bn=hn[vn];if(At[bn]!==Fe[bn]&&!isEmitListener(jt,bn))return!0}}}else return(Ue||Dt)&&(!Dt||!Dt.$stable)?!0:Fe===At?!1:Fe?At?hasPropsChanged(Fe,At,jt):!0:!!At;return!1}function hasPropsChanged(xe,$e,Ie){const Fe=Object.keys($e);if(Fe.length!==Object.keys(xe).length)return!0;for(let Ue=0;Ue<Fe.length;Ue++){const qe=Fe[Ue];if($e[qe]!==xe[qe]&&!isEmitListener(Ie,qe))return!0}return!1}function updateHOCHostEl({vnode:xe,parent:$e},Ie){for(;$e;){const Fe=$e.subTree;if(Fe.suspense&&Fe.suspense.activeBranch===xe&&(Fe.el=xe.el),Fe===xe)(xe=$e.vnode).el=Ie,$e=$e.parent;else break}}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(xe,$e){return resolveAsset(COMPONENTS,xe,!0,$e)||xe}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(xe){return isString$4(xe)?resolveAsset(COMPONENTS,xe,!1)||xe:xe||NULL_DYNAMIC_COMPONENT}function resolveDirective(xe){return resolveAsset(DIRECTIVES,xe)}function resolveAsset(xe,$e,Ie=!0,Fe=!1){const Ue=currentRenderingInstance||currentInstance;if(Ue){const qe=Ue.type;if(xe===COMPONENTS){const Dt=getComponentName(qe,!1);if(Dt&&(Dt===$e||Dt===camelize($e)||Dt===capitalize$1(camelize($e))))return qe}const At=resolve(Ue[xe]||qe[xe],$e)||resolve(Ue.appContext[xe],$e);return!At&&Fe?qe:At}}function resolve(xe,$e){return xe&&(xe[$e]||xe[camelize($e)]||xe[capitalize$1(camelize($e))])}const isSuspense=xe=>xe.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(xe==null)mountSuspense($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt);else{if(qe&&qe.deps>0&&!xe.suspense.isInFallback){$e.suspense=xe.suspense,$e.suspense.vnode=$e,$e.el=xe.el;return}patchSuspense(xe,$e,Ie,Fe,Ue,At,Dt,Lt,jt)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(xe,$e){const Ie=xe.props&&xe.props[$e];isFunction$5(Ie)&&Ie()}function mountSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const{p:jt,o:{createElement:hn}}=Lt,vn=hn("div"),bn=xe.suspense=createSuspenseBoundary(xe,Ue,Fe,$e,vn,Ie,qe,At,Dt,Lt);jt(null,bn.pendingBranch=xe.ssContent,vn,null,Fe,bn,qe,At),bn.deps>0?(triggerEvent$1(xe,"onPending"),triggerEvent$1(xe,"onFallback"),jt(null,xe.ssFallback,$e,Ie,Fe,null,qe,At),setActiveBranch(bn,xe.ssFallback)):bn.resolve(!1,!0)}function patchSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,{p:Lt,um:jt,o:{createElement:hn}}){const vn=$e.suspense=xe.suspense;vn.vnode=$e,$e.el=xe.el;const bn=$e.ssContent,_n=$e.ssFallback,{activeBranch:wn,pendingBranch:kn,isInFallback:Cn,isHydrating:Sn}=vn;if(kn)vn.pendingBranch=bn,isSameVNodeType(bn,kn)?(Lt(kn,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():Cn&&(Sn||(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n)))):(vn.pendingId=suspenseId++,Sn?(vn.isHydrating=!1,vn.activeBranch=kn):jt(kn,Ue,vn),vn.deps=0,vn.effects.length=0,vn.hiddenContainer=hn("div"),Cn?(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n))):wn&&isSameVNodeType(bn,wn)?(Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),vn.resolve(!0)):(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0&&vn.resolve()));else if(wn&&isSameVNodeType(bn,wn))Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),setActiveBranch(vn,bn);else if(triggerEvent$1($e,"onPending"),vn.pendingBranch=bn,bn.shapeFlag&512?vn.pendingId=bn.component.suspenseId:vn.pendingId=suspenseId++,Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0)vn.resolve();else{const{timeout:xn,pendingId:En}=vn;xn>0?setTimeout(()=>{vn.pendingId===En&&vn.fallback(_n)},xn):xn===0&&vn.fallback(_n)}}function createSuspenseBoundary(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn=!1){const{p:vn,m:bn,um:_n,n:wn,o:{parentNode:kn,remove:Cn}}=jt;let Sn;const xn=isVNodeSuspensible(xe);xn&&$e&&$e.pendingBranch&&(Sn=$e.pendingId,$e.deps++);const En=xe.props?toNumber$1(xe.props.timeout):void 0,Tn=qe,An={vnode:xe,parent:$e,parentComponent:Ie,namespace:At,container:Fe,hiddenContainer:Ue,deps:0,pendingId:suspenseId++,timeout:typeof En=="number"?En:-1,activeBranch:null,pendingBranch:null,isInFallback:!hn,isHydrating:hn,isUnmounted:!1,effects:[],resolve($n=!1,Pn=!1){const{vnode:Nn,activeBranch:Mn,pendingBranch:In,pendingId:On,effects:Rn,parentComponent:Bn,container:Vn}=An;let Ln=!1;An.isHydrating?An.isHydrating=!1:$n||(Ln=Mn&&In.transition&&In.transition.mode==="out-in",Ln&&(Mn.transition.afterLeave=()=>{On===An.pendingId&&(bn(In,Vn,qe===Tn?wn(Mn):qe,0),queuePostFlushCb(Rn))}),Mn&&(kn(Mn.el)!==An.hiddenContainer&&(qe=wn(Mn)),_n(Mn,Bn,An,!0)),Ln||bn(In,Vn,qe,0)),setActiveBranch(An,In),An.pendingBranch=null,An.isInFallback=!1;let Dn=An.parent,Hn=!1;for(;Dn;){if(Dn.pendingBranch){Dn.effects.push(...Rn),Hn=!0;break}Dn=Dn.parent}!Hn&&!Ln&&queuePostFlushCb(Rn),An.effects=[],xn&&$e&&$e.pendingBranch&&Sn===$e.pendingId&&($e.deps--,$e.deps===0&&!Pn&&$e.resolve()),triggerEvent$1(Nn,"onResolve")},fallback($n){if(!An.pendingBranch)return;const{vnode:Pn,activeBranch:Nn,parentComponent:Mn,container:In,namespace:On}=An;triggerEvent$1(Pn,"onFallback");const Rn=wn(Nn),Bn=()=>{An.isInFallback&&(vn(null,$n,In,Rn,Mn,null,On,Dt,Lt),setActiveBranch(An,$n))},Vn=$n.transition&&$n.transition.mode==="out-in";Vn&&(Nn.transition.afterLeave=Bn),An.isInFallback=!0,_n(Nn,Mn,null,!0),Vn||Bn()},move($n,Pn,Nn){An.activeBranch&&bn(An.activeBranch,$n,Pn,Nn),An.container=$n},next(){return An.activeBranch&&wn(An.activeBranch)},registerDep($n,Pn){const Nn=!!An.pendingBranch;Nn&&An.deps++;const Mn=$n.vnode.el;$n.asyncDep.catch(In=>{handleError(In,$n,0)}).then(In=>{if($n.isUnmounted||An.isUnmounted||An.pendingId!==$n.suspenseId)return;$n.asyncResolved=!0;const{vnode:On}=$n;handleSetupResult($n,In,!1),Mn&&(On.el=Mn);const Rn=!Mn&&$n.subTree.el;Pn($n,On,kn(Mn||$n.subTree.el),Mn?null:wn($n.subTree),An,At,Lt),Rn&&Cn(Rn),updateHOCHostEl($n,On.el),Nn&&--An.deps===0&&An.resolve()})},unmount($n,Pn){An.isUnmounted=!0,An.activeBranch&&_n(An.activeBranch,Ie,$n,Pn),An.pendingBranch&&_n(An.pendingBranch,Ie,$n,Pn)}};return An}function hydrateSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const jt=$e.suspense=createSuspenseBoundary($e,Fe,Ie,xe.parentNode,document.createElement("div"),null,Ue,qe,At,Dt,!0),hn=Lt(xe,jt.pendingBranch=$e.ssContent,Ie,jt,qe,At);return jt.deps===0&&jt.resolve(!1,!0),hn}function normalizeSuspenseChildren(xe){const{shapeFlag:$e,children:Ie}=xe,Fe=$e&32;xe.ssContent=normalizeSuspenseSlot(Fe?Ie.default:Ie),xe.ssFallback=Fe?normalizeSuspenseSlot(Ie.fallback):createVNode$1(Comment$1)}function normalizeSuspenseSlot(xe){let $e;if(isFunction$5(xe)){const Ie=isBlockTreeEnabled&&xe._c;Ie&&(xe._d=!1,openBlock()),xe=xe(),Ie&&(xe._d=!0,$e=currentBlock,closeBlock())}return isArray$6(xe)&&(xe=filterSingleRoot(xe)),xe=normalizeVNode(xe),$e&&!xe.dynamicChildren&&(xe.dynamicChildren=$e.filter(Ie=>Ie!==xe)),xe}function queueEffectWithSuspense(xe,$e){$e&&$e.pendingBranch?isArray$6(xe)?$e.effects.push(...xe):$e.effects.push(xe):queuePostFlushCb(xe)}function setActiveBranch(xe,$e){xe.activeBranch=$e;const{vnode:Ie,parentComponent:Fe}=xe;let Ue=$e.el;for(;!Ue&&$e.component;)$e=$e.component.subTree,Ue=$e.el;Ie.el=Ue,Fe&&Fe.subTree===Ie&&(Fe.vnode.el=Ue,updateHOCHostEl(Fe,Ue))}function isVNodeSuspensible(xe){const $e=xe.props&&xe.props.suspensible;return $e!=null&&$e!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(xe,$e){return doWatch(xe,null,$e)}function watchPostEffect(xe,$e){return doWatch(xe,null,{flush:"post"})}function watchSyncEffect(xe,$e){return doWatch(xe,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(xe,$e,Ie){return doWatch(xe,$e,Ie)}function doWatch(xe,$e,{immediate:Ie,deep:Fe,flush:Ue,once:qe,onTrack:At,onTrigger:Dt}=EMPTY_OBJ$1){if($e&&qe){const $n=$e;$e=(...Pn)=>{$n(...Pn),An()}}const Lt=currentInstance,jt=$n=>Fe===!0?$n:traverse($n,Fe===!1?1:void 0);let hn,vn=!1,bn=!1;if(isRef(xe)?(hn=()=>xe.value,vn=isShallow(xe)):isReactive(xe)?(hn=()=>jt(xe),vn=!0):isArray$6(xe)?(bn=!0,vn=xe.some($n=>isReactive($n)||isShallow($n)),hn=()=>xe.map($n=>{if(isRef($n))return $n.value;if(isReactive($n))return jt($n);if(isFunction$5($n))return callWithErrorHandling($n,Lt,2)})):isFunction$5(xe)?$e?hn=()=>callWithErrorHandling(xe,Lt,2):hn=()=>(_n&&_n(),callWithAsyncErrorHandling(xe,Lt,3,[wn])):hn=NOOP,$e&&Fe){const $n=hn;hn=()=>traverse($n())}let _n,wn=$n=>{_n=En.onStop=()=>{callWithErrorHandling($n,Lt,4),_n=En.onStop=void 0}},kn;if(isInSSRComponentSetup)if(wn=NOOP,$e?Ie&&callWithAsyncErrorHandling($e,Lt,3,[hn(),bn?[]:void 0,wn]):hn(),Ue==="sync"){const $n=useSSRContext();kn=$n.__watcherHandles||($n.__watcherHandles=[])}else return NOOP;let Cn=bn?new Array(xe.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Sn=()=>{if(!(!En.active||!En.dirty))if($e){const $n=En.run();(Fe||vn||(bn?$n.some((Pn,Nn)=>hasChanged(Pn,Cn[Nn])):hasChanged($n,Cn)))&&(_n&&_n(),callWithAsyncErrorHandling($e,Lt,3,[$n,Cn===INITIAL_WATCHER_VALUE?void 0:bn&&Cn[0]===INITIAL_WATCHER_VALUE?[]:Cn,wn]),Cn=$n)}else En.run()};Sn.allowRecurse=!!$e;let xn;Ue==="sync"?xn=Sn:Ue==="post"?xn=()=>queuePostRenderEffect(Sn,Lt&&Lt.suspense):(Sn.pre=!0,Lt&&(Sn.id=Lt.uid),xn=()=>queueJob(Sn));const En=new ReactiveEffect(hn,NOOP,xn),Tn=getCurrentScope(),An=()=>{En.stop(),Tn&&remove(Tn.effects,En)};return $e?Ie?Sn():Cn=En.run():Ue==="post"?queuePostRenderEffect(En.run.bind(En),Lt&&Lt.suspense):En.run(),kn&&kn.push(An),An}function instanceWatch(xe,$e,Ie){const Fe=this.proxy,Ue=isString$4(xe)?xe.includes(".")?createPathGetter(Fe,xe):()=>Fe[xe]:xe.bind(Fe,Fe);let qe;isFunction$5($e)?qe=$e:(qe=$e.handler,Ie=$e);const At=setCurrentInstance(this),Dt=doWatch(Ue,qe.bind(Fe),Ie);return At(),Dt}function createPathGetter(xe,$e){const Ie=$e.split(".");return()=>{let Fe=xe;for(let Ue=0;Ue<Ie.length&&Fe;Ue++)Fe=Fe[Ie[Ue]];return Fe}}function traverse(xe,$e=1/0,Ie){if($e<=0||!isObject$8(xe)||xe.__v_skip||(Ie=Ie||new Set,Ie.has(xe)))return xe;if(Ie.add(xe),$e--,isRef(xe))traverse(xe.value,$e,Ie);else if(isArray$6(xe))for(let Fe=0;Fe<xe.length;Fe++)traverse(xe[Fe],$e,Ie);else if(isSet$1(xe)||isMap$1(xe))xe.forEach(Fe=>{traverse(Fe,$e,Ie)});else if(isPlainObject$4(xe))for(const Fe in xe)traverse(xe[Fe],$e,Ie);return xe}function withDirectives(xe,$e){if(currentRenderingInstance===null)return xe;const Ie=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,Fe=xe.dirs||(xe.dirs=[]);for(let Ue=0;Ue<$e.length;Ue++){let[qe,At,Dt,Lt=EMPTY_OBJ$1]=$e[Ue];qe&&(isFunction$5(qe)&&(qe={mounted:qe,updated:qe}),qe.deep&&traverse(At),Fe.push({dir:qe,instance:Ie,value:At,oldValue:void 0,arg:Dt,modifiers:Lt}))}return xe}function invokeDirectiveHook(xe,$e,Ie,Fe){const Ue=xe.dirs,qe=$e&&$e.dirs;for(let At=0;At<Ue.length;At++){const Dt=Ue[At];qe&&(Dt.oldValue=qe[At].value);let Lt=Dt.dir[Fe];Lt&&(pauseTracking(),callWithAsyncErrorHandling(Lt,Ie,8,[xe.el,Dt,xe,$e]),resetTracking())}}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const xe={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{xe.isMounted=!0}),onBeforeUnmount(()=>{xe.isUnmounting=!0}),xe}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(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=useTransitionState();return()=>{const Ue=$e.default&&getTransitionRawChildren($e.default(),!0);if(!Ue||!Ue.length)return;let qe=Ue[0];if(Ue.length>1){for(const bn of Ue)if(bn.type!==Comment$1){qe=bn;break}}const At=toRaw(xe),{mode:Dt}=At;if(Fe.isLeaving)return emptyPlaceholder(qe);const Lt=getKeepAliveChild(qe);if(!Lt)return emptyPlaceholder(qe);const jt=resolveTransitionHooks(Lt,At,Fe,Ie);setTransitionHooks(Lt,jt);const hn=Ie.subTree,vn=hn&&getKeepAliveChild(hn);if(vn&&vn.type!==Comment$1&&!isSameVNodeType(Lt,vn)){const bn=resolveTransitionHooks(vn,At,Fe,Ie);if(setTransitionHooks(vn,bn),Dt==="out-in"&&Lt.type!==Comment$1)return Fe.isLeaving=!0,bn.afterLeave=()=>{Fe.isLeaving=!1,Ie.update.active!==!1&&(Ie.effect.dirty=!0,Ie.update())},emptyPlaceholder(qe);Dt==="in-out"&&Lt.type!==Comment$1&&(bn.delayLeave=(_n,wn,kn)=>{const Cn=getLeavingNodesForType(Fe,vn);Cn[String(vn.key)]=vn,_n[leaveCbKey]=()=>{wn(),_n[leaveCbKey]=void 0,delete jt.delayedLeave},jt.delayedLeave=kn})}return qe}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(xe,$e){const{leavingVNodes:Ie}=xe;let Fe=Ie.get($e.type);return Fe||(Fe=Object.create(null),Ie.set($e.type,Fe)),Fe}function resolveTransitionHooks(xe,$e,Ie,Fe){const{appear:Ue,mode:qe,persisted:At=!1,onBeforeEnter:Dt,onEnter:Lt,onAfterEnter:jt,onEnterCancelled:hn,onBeforeLeave:vn,onLeave:bn,onAfterLeave:_n,onLeaveCancelled:wn,onBeforeAppear:kn,onAppear:Cn,onAfterAppear:Sn,onAppearCancelled:xn}=$e,En=String(xe.key),Tn=getLeavingNodesForType(Ie,xe),An=(Nn,Mn)=>{Nn&&callWithAsyncErrorHandling(Nn,Fe,9,Mn)},$n=(Nn,Mn)=>{const In=Mn[1];An(Nn,Mn),isArray$6(Nn)?Nn.every(On=>On.length<=1)&&In():Nn.length<=1&&In()},Pn={mode:qe,persisted:At,beforeEnter(Nn){let Mn=Dt;if(!Ie.isMounted)if(Ue)Mn=kn||Dt;else return;Nn[leaveCbKey]&&Nn[leaveCbKey](!0);const In=Tn[En];In&&isSameVNodeType(xe,In)&&In.el[leaveCbKey]&&In.el[leaveCbKey](),An(Mn,[Nn])},enter(Nn){let Mn=Lt,In=jt,On=hn;if(!Ie.isMounted)if(Ue)Mn=Cn||Lt,In=Sn||jt,On=xn||hn;else return;let Rn=!1;const Bn=Nn[enterCbKey$1]=Vn=>{Rn||(Rn=!0,Vn?An(On,[Nn]):An(In,[Nn]),Pn.delayedLeave&&Pn.delayedLeave(),Nn[enterCbKey$1]=void 0)};Mn?$n(Mn,[Nn,Bn]):Bn()},leave(Nn,Mn){const In=String(xe.key);if(Nn[enterCbKey$1]&&Nn[enterCbKey$1](!0),Ie.isUnmounting)return Mn();An(vn,[Nn]);let On=!1;const Rn=Nn[leaveCbKey]=Bn=>{On||(On=!0,Mn(),Bn?An(wn,[Nn]):An(_n,[Nn]),Nn[leaveCbKey]=void 0,Tn[In]===xe&&delete Tn[In])};Tn[In]=xe,bn?$n(bn,[Nn,Rn]):Rn()},clone(Nn){return resolveTransitionHooks(Nn,$e,Ie,Fe)}};return Pn}function emptyPlaceholder(xe){if(isKeepAlive(xe))return xe=cloneVNode(xe),xe.children=null,xe}function getKeepAliveChild(xe){if(!isKeepAlive(xe))return xe;const{shapeFlag:$e,children:Ie}=xe;if(Ie){if($e&16)return Ie[0];if($e&32&&isFunction$5(Ie.default))return Ie.default()}}function setTransitionHooks(xe,$e){xe.shapeFlag&6&&xe.component?setTransitionHooks(xe.component.subTree,$e):xe.shapeFlag&128?(xe.ssContent.transition=$e.clone(xe.ssContent),xe.ssFallback.transition=$e.clone(xe.ssFallback)):xe.transition=$e}function getTransitionRawChildren(xe,$e=!1,Ie){let Fe=[],Ue=0;for(let qe=0;qe<xe.length;qe++){let At=xe[qe];const Dt=Ie==null?At.key:String(Ie)+String(At.key!=null?At.key:qe);At.type===Fragment?(At.patchFlag&128&&Ue++,Fe=Fe.concat(getTransitionRawChildren(At.children,$e,Dt))):($e||At.type!==Comment$1)&&Fe.push(Dt!=null?cloneVNode(At,{key:Dt}):At)}if(Ue>1)for(let qe=0;qe<Fe.length;qe++)Fe[qe].patchFlag=-2;return Fe}/*! #__NO_SIDE_EFFECTS__ */function defineComponent(xe,$e){return isFunction$5(xe)?extend$2({name:xe.name},$e,{setup:xe}):xe}const isAsyncWrapper=xe=>!!xe.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(xe){isFunction$5(xe)&&(xe={loader:xe});const{loader:$e,loadingComponent:Ie,errorComponent:Fe,delay:Ue=200,timeout:qe,suspensible:At=!0,onError:Dt}=xe;let Lt=null,jt,hn=0;const vn=()=>(hn++,Lt=null,bn()),bn=()=>{let _n;return Lt||(_n=Lt=$e().catch(wn=>{if(wn=wn instanceof Error?wn:new Error(String(wn)),Dt)return new Promise((kn,Cn)=>{Dt(wn,()=>kn(vn()),()=>Cn(wn),hn+1)});throw wn}).then(wn=>_n!==Lt&&Lt?Lt:(wn&&(wn.__esModule||wn[Symbol.toStringTag]==="Module")&&(wn=wn.default),jt=wn,wn)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:bn,get __asyncResolved(){return jt},setup(){const _n=currentInstance;if(jt)return()=>createInnerComp(jt,_n);const wn=xn=>{Lt=null,handleError(xn,_n,13,!Fe)};if(At&&_n.suspense||isInSSRComponentSetup)return bn().then(xn=>()=>createInnerComp(xn,_n)).catch(xn=>(wn(xn),()=>Fe?createVNode$1(Fe,{error:xn}):null));const kn=ref(!1),Cn=ref(),Sn=ref(!!Ue);return Ue&&setTimeout(()=>{Sn.value=!1},Ue),qe!=null&&setTimeout(()=>{if(!kn.value&&!Cn.value){const xn=new Error(`Async component timed out after ${qe}ms.`);wn(xn),Cn.value=xn}},qe),bn().then(()=>{kn.value=!0,_n.parent&&isKeepAlive(_n.parent.vnode)&&(_n.parent.effect.dirty=!0,queueJob(_n.parent.update))}).catch(xn=>{wn(xn),Cn.value=xn}),()=>{if(kn.value&&jt)return createInnerComp(jt,_n);if(Cn.value&&Fe)return createVNode$1(Fe,{error:Cn.value});if(Ie&&!Sn.value)return createVNode$1(Ie)}}})}function createInnerComp(xe,$e){const{ref:Ie,props:Fe,children:Ue,ce:qe}=$e.vnode,At=createVNode$1(xe,Fe,Ue);return At.ref=Ie,At.ce=qe,delete $e.vnode.ce,At}const isKeepAlive=xe=>xe.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=Ie.ctx;if(!Fe.renderer)return()=>{const xn=$e.default&&$e.default();return xn&&xn.length===1?xn[0]:xn};const Ue=new Map,qe=new Set;let At=null;const Dt=Ie.suspense,{renderer:{p:Lt,m:jt,um:hn,o:{createElement:vn}}}=Fe,bn=vn("div");Fe.activate=(xn,En,Tn,An,$n)=>{const Pn=xn.component;jt(xn,En,Tn,0,Dt),Lt(Pn.vnode,xn,En,Tn,Pn,Dt,An,xn.slotScopeIds,$n),queuePostRenderEffect(()=>{Pn.isDeactivated=!1,Pn.a&&invokeArrayFns(Pn.a);const Nn=xn.props&&xn.props.onVnodeMounted;Nn&&invokeVNodeHook(Nn,Pn.parent,xn)},Dt)},Fe.deactivate=xn=>{const En=xn.component;jt(xn,bn,null,1,Dt),queuePostRenderEffect(()=>{En.da&&invokeArrayFns(En.da);const Tn=xn.props&&xn.props.onVnodeUnmounted;Tn&&invokeVNodeHook(Tn,En.parent,xn),En.isDeactivated=!0},Dt)};function _n(xn){resetShapeFlag(xn),hn(xn,Ie,Dt,!0)}function wn(xn){Ue.forEach((En,Tn)=>{const An=getComponentName(En.type);An&&(!xn||!xn(An))&&kn(Tn)})}function kn(xn){const En=Ue.get(xn);!At||!isSameVNodeType(En,At)?_n(En):At&&resetShapeFlag(At),Ue.delete(xn),qe.delete(xn)}watch(()=>[xe.include,xe.exclude],([xn,En])=>{xn&&wn(Tn=>matches(xn,Tn)),En&&wn(Tn=>!matches(En,Tn))},{flush:"post",deep:!0});let Cn=null;const Sn=()=>{Cn!=null&&Ue.set(Cn,getInnerChild(Ie.subTree))};return onMounted(Sn),onUpdated(Sn),onBeforeUnmount(()=>{Ue.forEach(xn=>{const{subTree:En,suspense:Tn}=Ie,An=getInnerChild(En);if(xn.type===An.type&&xn.key===An.key){resetShapeFlag(An);const $n=An.component.da;$n&&queuePostRenderEffect($n,Tn);return}_n(xn)})}),()=>{if(Cn=null,!$e.default)return null;const xn=$e.default(),En=xn[0];if(xn.length>1)return At=null,xn;if(!isVNode(En)||!(En.shapeFlag&4)&&!(En.shapeFlag&128))return At=null,En;let Tn=getInnerChild(En);const An=Tn.type,$n=getComponentName(isAsyncWrapper(Tn)?Tn.type.__asyncResolved||{}:An),{include:Pn,exclude:Nn,max:Mn}=xe;if(Pn&&(!$n||!matches(Pn,$n))||Nn&&$n&&matches(Nn,$n))return At=Tn,En;const In=Tn.key==null?An:Tn.key,On=Ue.get(In);return Tn.el&&(Tn=cloneVNode(Tn),En.shapeFlag&128&&(En.ssContent=Tn)),Cn=In,On?(Tn.el=On.el,Tn.component=On.component,Tn.transition&&setTransitionHooks(Tn,Tn.transition),Tn.shapeFlag|=512,qe.delete(In),qe.add(In)):(qe.add(In),Mn&&qe.size>parseInt(Mn,10)&&kn(qe.values().next().value)),Tn.shapeFlag|=256,At=Tn,isSuspense(En.type)?En:Tn}}},KeepAlive=KeepAliveImpl;function matches(xe,$e){return isArray$6(xe)?xe.some(Ie=>matches(Ie,$e)):isString$4(xe)?xe.split(",").includes($e):isRegExp$2(xe)?xe.test($e):!1}function onActivated(xe,$e){registerKeepAliveHook(xe,"a",$e)}function onDeactivated(xe,$e){registerKeepAliveHook(xe,"da",$e)}function registerKeepAliveHook(xe,$e,Ie=currentInstance){const Fe=xe.__wdc||(xe.__wdc=()=>{let Ue=Ie;for(;Ue;){if(Ue.isDeactivated)return;Ue=Ue.parent}return xe()});if(injectHook($e,Fe,Ie),Ie){let Ue=Ie.parent;for(;Ue&&Ue.parent;)isKeepAlive(Ue.parent.vnode)&&injectToKeepAliveRoot(Fe,$e,Ie,Ue),Ue=Ue.parent}}function injectToKeepAliveRoot(xe,$e,Ie,Fe){const Ue=injectHook($e,xe,Fe,!0);onUnmounted(()=>{remove(Fe[$e],Ue)},Ie)}function resetShapeFlag(xe){xe.shapeFlag&=-257,xe.shapeFlag&=-513}function getInnerChild(xe){return xe.shapeFlag&128?xe.ssContent:xe}function injectHook(xe,$e,Ie=currentInstance,Fe=!1){if(Ie){const Ue=Ie[xe]||(Ie[xe]=[]),qe=$e.__weh||($e.__weh=(...At)=>{if(Ie.isUnmounted)return;pauseTracking();const Dt=setCurrentInstance(Ie),Lt=callWithAsyncErrorHandling($e,Ie,xe,At);return Dt(),resetTracking(),Lt});return Fe?Ue.unshift(qe):Ue.push(qe),qe}}const createHook=xe=>($e,Ie=currentInstance)=>(!isInSSRComponentSetup||xe==="sp")&&injectHook(xe,(...Fe)=>$e(...Fe),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(xe,$e=currentInstance){injectHook("ec",xe,$e)}function renderList(xe,$e,Ie,Fe){let Ue;const qe=Ie&&Ie[Fe];if(isArray$6(xe)||isString$4(xe)){Ue=new Array(xe.length);for(let At=0,Dt=xe.length;At<Dt;At++)Ue[At]=$e(xe[At],At,void 0,qe&&qe[At])}else if(typeof xe=="number"){Ue=new Array(xe);for(let At=0;At<xe;At++)Ue[At]=$e(At+1,At,void 0,qe&&qe[At])}else if(isObject$8(xe))if(xe[Symbol.iterator])Ue=Array.from(xe,(At,Dt)=>$e(At,Dt,void 0,qe&&qe[Dt]));else{const At=Object.keys(xe);Ue=new Array(At.length);for(let Dt=0,Lt=At.length;Dt<Lt;Dt++){const jt=At[Dt];Ue[Dt]=$e(xe[jt],jt,Dt,qe&&qe[Dt])}}else Ue=[];return Ie&&(Ie[Fe]=Ue),Ue}function createSlots(xe,$e){for(let Ie=0;Ie<$e.length;Ie++){const Fe=$e[Ie];if(isArray$6(Fe))for(let Ue=0;Ue<Fe.length;Ue++)xe[Fe[Ue].name]=Fe[Ue].fn;else Fe&&(xe[Fe.name]=Fe.key?(...Ue)=>{const qe=Fe.fn(...Ue);return qe&&(qe.key=Fe.key),qe}:Fe.fn)}return xe}function renderSlot(xe,$e,Ie={},Fe,Ue){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return $e!=="default"&&(Ie.name=$e),createVNode$1("slot",Ie,Fe&&Fe());let qe=xe[$e];qe&&qe._c&&(qe._d=!1),openBlock();const At=qe&&ensureValidVNode(qe(Ie)),Dt=createBlock(Fragment,{key:Ie.key||At&&At.key||`_${$e}`},At||(Fe?Fe():[]),At&&xe._===1?64:-2);return!Ue&&Dt.scopeId&&(Dt.slotScopeIds=[Dt.scopeId+"-s"]),qe&&qe._c&&(qe._d=!0),Dt}function ensureValidVNode(xe){return xe.some($e=>isVNode($e)?!($e.type===Comment$1||$e.type===Fragment&&!ensureValidVNode($e.children)):!0)?xe:null}function toHandlers(xe,$e){const Ie={};for(const Fe in xe)Ie[$e&&/[A-Z]/.test(Fe)?`on:${Fe}`:toHandlerKey(Fe)]=xe[Fe];return Ie}const getPublicInstance=xe=>xe?isStatefulComponent(xe)?getExposeProxy(xe)||xe.proxy:getPublicInstance(xe.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:xe=>xe,$el:xe=>xe.vnode.el,$data:xe=>xe.data,$props:xe=>xe.props,$attrs:xe=>xe.attrs,$slots:xe=>xe.slots,$refs:xe=>xe.refs,$parent:xe=>getPublicInstance(xe.parent),$root:xe=>getPublicInstance(xe.root),$emit:xe=>xe.emit,$options:xe=>resolveMergedOptions(xe),$forceUpdate:xe=>xe.f||(xe.f=()=>{xe.effect.dirty=!0,queueJob(xe.update)}),$nextTick:xe=>xe.n||(xe.n=nextTick.bind(xe.proxy)),$watch:xe=>instanceWatch.bind(xe)}),hasSetupBinding=(xe,$e)=>xe!==EMPTY_OBJ$1&&!xe.__isScriptSetup&&hasOwn$1(xe,$e),PublicInstanceProxyHandlers={get({_:xe},$e){if($e==="__v_skip")return!0;const{ctx:Ie,setupState:Fe,data:Ue,props:qe,accessCache:At,type:Dt,appContext:Lt}=xe;let jt;if($e[0]!=="$"){const _n=At[$e];if(_n!==void 0)switch(_n){case 1:return Fe[$e];case 2:return Ue[$e];case 4:return Ie[$e];case 3:return qe[$e]}else{if(hasSetupBinding(Fe,$e))return At[$e]=1,Fe[$e];if(Ue!==EMPTY_OBJ$1&&hasOwn$1(Ue,$e))return At[$e]=2,Ue[$e];if((jt=xe.propsOptions[0])&&hasOwn$1(jt,$e))return At[$e]=3,qe[$e];if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];shouldCacheAccess&&(At[$e]=0)}}const hn=publicPropertiesMap[$e];let vn,bn;if(hn)return $e==="$attrs"&&track(xe.attrs,"get",""),hn(xe);if((vn=Dt.__cssModules)&&(vn=vn[$e]))return vn;if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];if(bn=Lt.config.globalProperties,hasOwn$1(bn,$e))return bn[$e]},set({_:xe},$e,Ie){const{data:Fe,setupState:Ue,ctx:qe}=xe;return hasSetupBinding(Ue,$e)?(Ue[$e]=Ie,!0):Fe!==EMPTY_OBJ$1&&hasOwn$1(Fe,$e)?(Fe[$e]=Ie,!0):hasOwn$1(xe.props,$e)||$e[0]==="$"&&$e.slice(1)in xe?!1:(qe[$e]=Ie,!0)},has({_:{data:xe,setupState:$e,accessCache:Ie,ctx:Fe,appContext:Ue,propsOptions:qe}},At){let Dt;return!!Ie[At]||xe!==EMPTY_OBJ$1&&hasOwn$1(xe,At)||hasSetupBinding($e,At)||(Dt=qe[0])&&hasOwn$1(Dt,At)||hasOwn$1(Fe,At)||hasOwn$1(publicPropertiesMap,At)||hasOwn$1(Ue.config.globalProperties,At)},defineProperty(xe,$e,Ie){return Ie.get!=null?xe._.accessCache[$e]=0:hasOwn$1(Ie,"value")&&this.set(xe,$e,Ie.value,null),Reflect.defineProperty(xe,$e,Ie)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(xe,$e){if($e!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(xe,$e,xe)},has(xe,$e){return $e[0]!=="_"&&!isGloballyAllowed($e)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(xe){}function defineOptions(xe){}function defineSlots(){return null}function defineModel(){}function withDefaults(xe,$e){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const xe=getCurrentInstance();return xe.setupContext||(xe.setupContext=createSetupContext(xe))}function normalizePropsOrEmits(xe){return isArray$6(xe)?xe.reduce(($e,Ie)=>($e[Ie]=null,$e),{}):xe}function mergeDefaults(xe,$e){const Ie=normalizePropsOrEmits(xe);for(const Fe in $e){if(Fe.startsWith("__skip"))continue;let Ue=Ie[Fe];Ue?isArray$6(Ue)||isFunction$5(Ue)?Ue=Ie[Fe]={type:Ue,default:$e[Fe]}:Ue.default=$e[Fe]:Ue===null&&(Ue=Ie[Fe]={default:$e[Fe]}),Ue&&$e[`__skip_${Fe}`]&&(Ue.skipFactory=!0)}return Ie}function mergeModels(xe,$e){return!xe||!$e?xe||$e:isArray$6(xe)&&isArray$6($e)?xe.concat($e):extend$2({},normalizePropsOrEmits(xe),normalizePropsOrEmits($e))}function createPropsRestProxy(xe,$e){const Ie={};for(const Fe in xe)$e.includes(Fe)||Object.defineProperty(Ie,Fe,{enumerable:!0,get:()=>xe[Fe]});return Ie}function withAsyncContext(xe){const $e=getCurrentInstance();let Ie=xe();return unsetCurrentInstance(),isPromise(Ie)&&(Ie=Ie.catch(Fe=>{throw setCurrentInstance($e),Fe})),[Ie,()=>setCurrentInstance($e)]}let shouldCacheAccess=!0;function applyOptions(xe){const $e=resolveMergedOptions(xe),Ie=xe.proxy,Fe=xe.ctx;shouldCacheAccess=!1,$e.beforeCreate&&callHook$1($e.beforeCreate,xe,"bc");const{data:Ue,computed:qe,methods:At,watch:Dt,provide:Lt,inject:jt,created:hn,beforeMount:vn,mounted:bn,beforeUpdate:_n,updated:wn,activated:kn,deactivated:Cn,beforeDestroy:Sn,beforeUnmount:xn,destroyed:En,unmounted:Tn,render:An,renderTracked:$n,renderTriggered:Pn,errorCaptured:Nn,serverPrefetch:Mn,expose:In,inheritAttrs:On,components:Rn,directives:Bn,filters:Vn}=$e;if(jt&&resolveInjections(jt,Fe,null),At)for(const Hn in At){const Fn=At[Hn];isFunction$5(Fn)&&(Fe[Hn]=Fn.bind(Ie))}if(Ue){const Hn=Ue.call(Ie,Ie);isObject$8(Hn)&&(xe.data=reactive(Hn))}if(shouldCacheAccess=!0,qe)for(const Hn in qe){const Fn=qe[Hn],zn=isFunction$5(Fn)?Fn.bind(Ie,Ie):isFunction$5(Fn.get)?Fn.get.bind(Ie,Ie):NOOP,jn=!isFunction$5(Fn)&&isFunction$5(Fn.set)?Fn.set.bind(Ie):NOOP,Gn=computed({get:zn,set:jn});Object.defineProperty(Fe,Hn,{enumerable:!0,configurable:!0,get:()=>Gn.value,set:Wn=>Gn.value=Wn})}if(Dt)for(const Hn in Dt)createWatcher(Dt[Hn],Fe,Ie,Hn);if(Lt){const Hn=isFunction$5(Lt)?Lt.call(Ie):Lt;Reflect.ownKeys(Hn).forEach(Fn=>{provide(Fn,Hn[Fn])})}hn&&callHook$1(hn,xe,"c");function Dn(Hn,Fn){isArray$6(Fn)?Fn.forEach(zn=>Hn(zn.bind(Ie))):Fn&&Hn(Fn.bind(Ie))}if(Dn(onBeforeMount,vn),Dn(onMounted,bn),Dn(onBeforeUpdate,_n),Dn(onUpdated,wn),Dn(onActivated,kn),Dn(onDeactivated,Cn),Dn(onErrorCaptured,Nn),Dn(onRenderTracked,$n),Dn(onRenderTriggered,Pn),Dn(onBeforeUnmount,xn),Dn(onUnmounted,Tn),Dn(onServerPrefetch,Mn),isArray$6(In))if(In.length){const Hn=xe.exposed||(xe.exposed={});In.forEach(Fn=>{Object.defineProperty(Hn,Fn,{get:()=>Ie[Fn],set:zn=>Ie[Fn]=zn})})}else xe.exposed||(xe.exposed={});An&&xe.render===NOOP&&(xe.render=An),On!=null&&(xe.inheritAttrs=On),Rn&&(xe.components=Rn),Bn&&(xe.directives=Bn)}function resolveInjections(xe,$e,Ie=NOOP){isArray$6(xe)&&(xe=normalizeInject(xe));for(const Fe in xe){const Ue=xe[Fe];let qe;isObject$8(Ue)?"default"in Ue?qe=inject(Ue.from||Fe,Ue.default,!0):qe=inject(Ue.from||Fe):qe=inject(Ue),isRef(qe)?Object.defineProperty($e,Fe,{enumerable:!0,configurable:!0,get:()=>qe.value,set:At=>qe.value=At}):$e[Fe]=qe}}function callHook$1(xe,$e,Ie){callWithAsyncErrorHandling(isArray$6(xe)?xe.map(Fe=>Fe.bind($e.proxy)):xe.bind($e.proxy),$e,Ie)}function createWatcher(xe,$e,Ie,Fe){const Ue=Fe.includes(".")?createPathGetter(Ie,Fe):()=>Ie[Fe];if(isString$4(xe)){const qe=$e[xe];isFunction$5(qe)&&watch(Ue,qe)}else if(isFunction$5(xe))watch(Ue,xe.bind(Ie));else if(isObject$8(xe))if(isArray$6(xe))xe.forEach(qe=>createWatcher(qe,$e,Ie,Fe));else{const qe=isFunction$5(xe.handler)?xe.handler.bind(Ie):$e[xe.handler];isFunction$5(qe)&&watch(Ue,qe,xe)}}function resolveMergedOptions(xe){const $e=xe.type,{mixins:Ie,extends:Fe}=$e,{mixins:Ue,optionsCache:qe,config:{optionMergeStrategies:At}}=xe.appContext,Dt=qe.get($e);let Lt;return Dt?Lt=Dt:!Ue.length&&!Ie&&!Fe?Lt=$e:(Lt={},Ue.length&&Ue.forEach(jt=>mergeOptions$2(Lt,jt,At,!0)),mergeOptions$2(Lt,$e,At)),isObject$8($e)&&qe.set($e,Lt),Lt}function mergeOptions$2(xe,$e,Ie,Fe=!1){const{mixins:Ue,extends:qe}=$e;qe&&mergeOptions$2(xe,qe,Ie,!0),Ue&&Ue.forEach(At=>mergeOptions$2(xe,At,Ie,!0));for(const At in $e)if(!(Fe&&At==="expose")){const Dt=internalOptionMergeStrats[At]||Ie&&Ie[At];xe[At]=Dt?Dt(xe[At],$e[At]):$e[At]}return xe}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(xe,$e){return $e?xe?function(){return extend$2(isFunction$5(xe)?xe.call(this,this):xe,isFunction$5($e)?$e.call(this,this):$e)}:$e:xe}function mergeInject(xe,$e){return mergeObjectOptions(normalizeInject(xe),normalizeInject($e))}function normalizeInject(xe){if(isArray$6(xe)){const $e={};for(let Ie=0;Ie<xe.length;Ie++)$e[xe[Ie]]=xe[Ie];return $e}return xe}function mergeAsArray(xe,$e){return xe?[...new Set([].concat(xe,$e))]:$e}function mergeObjectOptions(xe,$e){return xe?extend$2(Object.create(null),xe,$e):$e}function mergeEmitsOrPropsOptions(xe,$e){return xe?isArray$6(xe)&&isArray$6($e)?[...new Set([...xe,...$e])]:extend$2(Object.create(null),normalizePropsOrEmits(xe),normalizePropsOrEmits($e??{})):$e}function mergeWatchOptions(xe,$e){if(!xe)return $e;if(!$e)return xe;const Ie=extend$2(Object.create(null),xe);for(const Fe in $e)Ie[Fe]=mergeAsArray(xe[Fe],$e[Fe]);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(xe,$e){return function(Fe,Ue=null){isFunction$5(Fe)||(Fe=extend$2({},Fe)),Ue!=null&&!isObject$8(Ue)&&(Ue=null);const qe=createAppContext(),At=new WeakSet;let Dt=!1;const Lt=qe.app={_uid:uid$1++,_component:Fe,_props:Ue,_container:null,_context:qe,_instance:null,version:version$1,get config(){return qe.config},set config(jt){},use(jt,...hn){return At.has(jt)||(jt&&isFunction$5(jt.install)?(At.add(jt),jt.install(Lt,...hn)):isFunction$5(jt)&&(At.add(jt),jt(Lt,...hn))),Lt},mixin(jt){return qe.mixins.includes(jt)||qe.mixins.push(jt),Lt},component(jt,hn){return hn?(qe.components[jt]=hn,Lt):qe.components[jt]},directive(jt,hn){return hn?(qe.directives[jt]=hn,Lt):qe.directives[jt]},mount(jt,hn,vn){if(!Dt){const bn=createVNode$1(Fe,Ue);return bn.appContext=qe,vn===!0?vn="svg":vn===!1&&(vn=void 0),hn&&$e?$e(bn,jt):xe(bn,jt,vn),Dt=!0,Lt._container=jt,jt.__vue_app__=Lt,getExposeProxy(bn.component)||bn.component.proxy}},unmount(){Dt&&(xe(null,Lt._container),delete Lt._container.__vue_app__)},provide(jt,hn){return qe.provides[jt]=hn,Lt},runWithContext(jt){const hn=currentApp;currentApp=Lt;try{return jt()}finally{currentApp=hn}}};return Lt}}let currentApp=null;function provide(xe,$e){if(currentInstance){let Ie=currentInstance.provides;const Fe=currentInstance.parent&&currentInstance.parent.provides;Fe===Ie&&(Ie=currentInstance.provides=Object.create(Fe)),Ie[xe]=$e}}function inject(xe,$e,Ie=!1){const Fe=currentInstance||currentRenderingInstance;if(Fe||currentApp){const Ue=Fe?Fe.parent==null?Fe.vnode.appContext&&Fe.vnode.appContext.provides:Fe.parent.provides:currentApp._context.provides;if(Ue&&xe in Ue)return Ue[xe];if(arguments.length>1)return Ie&&isFunction$5($e)?$e.call(Fe&&Fe.proxy):$e}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=xe=>Object.getPrototypeOf(xe)===internalObjectProto;function initProps$1(xe,$e,Ie,Fe=!1){const Ue={},qe=createInternalObject();xe.propsDefaults=Object.create(null),setFullProps(xe,$e,Ue,qe);for(const At in xe.propsOptions[0])At in Ue||(Ue[At]=void 0);Ie?xe.props=Fe?Ue:shallowReactive(Ue):xe.type.props?xe.props=Ue:xe.props=qe,xe.attrs=qe}function updateProps$2(xe,$e,Ie,Fe){const{props:Ue,attrs:qe,vnode:{patchFlag:At}}=xe,Dt=toRaw(Ue),[Lt]=xe.propsOptions;let jt=!1;if((Fe||At>0)&&!(At&16)){if(At&8){const hn=xe.vnode.dynamicProps;for(let vn=0;vn<hn.length;vn++){let bn=hn[vn];if(isEmitListener(xe.emitsOptions,bn))continue;const _n=$e[bn];if(Lt)if(hasOwn$1(qe,bn))_n!==qe[bn]&&(qe[bn]=_n,jt=!0);else{const wn=camelize(bn);Ue[wn]=resolvePropValue(Lt,Dt,wn,_n,xe,!1)}else _n!==qe[bn]&&(qe[bn]=_n,jt=!0)}}}else{setFullProps(xe,$e,Ue,qe)&&(jt=!0);let hn;for(const vn in Dt)(!$e||!hasOwn$1($e,vn)&&((hn=hyphenate(vn))===vn||!hasOwn$1($e,hn)))&&(Lt?Ie&&(Ie[vn]!==void 0||Ie[hn]!==void 0)&&(Ue[vn]=resolvePropValue(Lt,Dt,vn,void 0,xe,!0)):delete Ue[vn]);if(qe!==Dt)for(const vn in qe)(!$e||!hasOwn$1($e,vn))&&(delete qe[vn],jt=!0)}jt&&trigger$3(xe.attrs,"set","")}function setFullProps(xe,$e,Ie,Fe){const[Ue,qe]=xe.propsOptions;let At=!1,Dt;if($e)for(let Lt in $e){if(isReservedProp(Lt))continue;const jt=$e[Lt];let hn;Ue&&hasOwn$1(Ue,hn=camelize(Lt))?!qe||!qe.includes(hn)?Ie[hn]=jt:(Dt||(Dt={}))[hn]=jt:isEmitListener(xe.emitsOptions,Lt)||(!(Lt in Fe)||jt!==Fe[Lt])&&(Fe[Lt]=jt,At=!0)}if(qe){const Lt=toRaw(Ie),jt=Dt||EMPTY_OBJ$1;for(let hn=0;hn<qe.length;hn++){const vn=qe[hn];Ie[vn]=resolvePropValue(Ue,Lt,vn,jt[vn],xe,!hasOwn$1(jt,vn))}}return At}function resolvePropValue(xe,$e,Ie,Fe,Ue,qe){const At=xe[Ie];if(At!=null){const Dt=hasOwn$1(At,"default");if(Dt&&Fe===void 0){const Lt=At.default;if(At.type!==Function&&!At.skipFactory&&isFunction$5(Lt)){const{propsDefaults:jt}=Ue;if(Ie in jt)Fe=jt[Ie];else{const hn=setCurrentInstance(Ue);Fe=jt[Ie]=Lt.call(null,$e),hn()}}else Fe=Lt}At[0]&&(qe&&!Dt?Fe=!1:At[1]&&(Fe===""||Fe===hyphenate(Ie))&&(Fe=!0))}return Fe}function normalizePropsOptions(xe,$e,Ie=!1){const Fe=$e.propsCache,Ue=Fe.get(xe);if(Ue)return Ue;const qe=xe.props,At={},Dt=[];let Lt=!1;if(!isFunction$5(xe)){const hn=vn=>{Lt=!0;const[bn,_n]=normalizePropsOptions(vn,$e,!0);extend$2(At,bn),_n&&Dt.push(..._n)};!Ie&&$e.mixins.length&&$e.mixins.forEach(hn),xe.extends&&hn(xe.extends),xe.mixins&&xe.mixins.forEach(hn)}if(!qe&&!Lt)return isObject$8(xe)&&Fe.set(xe,EMPTY_ARR),EMPTY_ARR;if(isArray$6(qe))for(let hn=0;hn<qe.length;hn++){const vn=camelize(qe[hn]);validatePropName(vn)&&(At[vn]=EMPTY_OBJ$1)}else if(qe)for(const hn in qe){const vn=camelize(hn);if(validatePropName(vn)){const bn=qe[hn],_n=At[vn]=isArray$6(bn)||isFunction$5(bn)?{type:bn}:extend$2({},bn);if(_n){const wn=getTypeIndex(Boolean,_n.type),kn=getTypeIndex(String,_n.type);_n[0]=wn>-1,_n[1]=kn<0||wn<kn,(wn>-1||hasOwn$1(_n,"default"))&&Dt.push(vn)}}}const jt=[At,Dt];return isObject$8(xe)&&Fe.set(xe,jt),jt}function validatePropName(xe){return xe[0]!=="$"&&!isReservedProp(xe)}function getType(xe){return xe===null?"null":typeof xe=="function"?xe.name||"":typeof xe=="object"&&xe.constructor&&xe.constructor.name||""}function isSameType(xe,$e){return getType(xe)===getType($e)}function getTypeIndex(xe,$e){return isArray$6($e)?$e.findIndex(Ie=>isSameType(Ie,xe)):isFunction$5($e)&&isSameType($e,xe)?0:-1}const isInternalKey=xe=>xe[0]==="_"||xe==="$stable",normalizeSlotValue=xe=>isArray$6(xe)?xe.map(normalizeVNode):[normalizeVNode(xe)],normalizeSlot$1=(xe,$e,Ie)=>{if($e._n)return $e;const Fe=withCtx((...Ue)=>normalizeSlotValue($e(...Ue)),Ie);return Fe._c=!1,Fe},normalizeObjectSlots=(xe,$e,Ie)=>{const Fe=xe._ctx;for(const Ue in xe){if(isInternalKey(Ue))continue;const qe=xe[Ue];if(isFunction$5(qe))$e[Ue]=normalizeSlot$1(Ue,qe,Fe);else if(qe!=null){const At=normalizeSlotValue(qe);$e[Ue]=()=>At}}},normalizeVNodeSlots=(xe,$e)=>{const Ie=normalizeSlotValue($e);xe.slots.default=()=>Ie},initSlots=(xe,$e)=>{const Ie=xe.slots=createInternalObject();if(xe.vnode.shapeFlag&32){const Fe=$e._;Fe?(extend$2(Ie,$e),def(Ie,"_",Fe,!0)):normalizeObjectSlots($e,Ie)}else $e&&normalizeVNodeSlots(xe,$e)},updateSlots=(xe,$e,Ie)=>{const{vnode:Fe,slots:Ue}=xe;let qe=!0,At=EMPTY_OBJ$1;if(Fe.shapeFlag&32){const Dt=$e._;Dt?Ie&&Dt===1?qe=!1:(extend$2(Ue,$e),!Ie&&Dt===1&&delete Ue._):(qe=!$e.$stable,normalizeObjectSlots($e,Ue)),At=$e}else $e&&(normalizeVNodeSlots(xe,$e),At={default:1});if(qe)for(const Dt in Ue)!isInternalKey(Dt)&&At[Dt]==null&&delete Ue[Dt]};function setRef(xe,$e,Ie,Fe,Ue=!1){if(isArray$6(xe)){xe.forEach((bn,_n)=>setRef(bn,$e&&(isArray$6($e)?$e[_n]:$e),Ie,Fe,Ue));return}if(isAsyncWrapper(Fe)&&!Ue)return;const qe=Fe.shapeFlag&4?getExposeProxy(Fe.component)||Fe.component.proxy:Fe.el,At=Ue?null:qe,{i:Dt,r:Lt}=xe,jt=$e&&$e.r,hn=Dt.refs===EMPTY_OBJ$1?Dt.refs={}:Dt.refs,vn=Dt.setupState;if(jt!=null&&jt!==Lt&&(isString$4(jt)?(hn[jt]=null,hasOwn$1(vn,jt)&&(vn[jt]=null)):isRef(jt)&&(jt.value=null)),isFunction$5(Lt))callWithErrorHandling(Lt,Dt,12,[At,hn]);else{const bn=isString$4(Lt),_n=isRef(Lt);if(bn||_n){const wn=()=>{if(xe.f){const kn=bn?hasOwn$1(vn,Lt)?vn[Lt]:hn[Lt]:Lt.value;Ue?isArray$6(kn)&&remove(kn,qe):isArray$6(kn)?kn.includes(qe)||kn.push(qe):bn?(hn[Lt]=[qe],hasOwn$1(vn,Lt)&&(vn[Lt]=hn[Lt])):(Lt.value=[qe],xe.k&&(hn[xe.k]=Lt.value))}else bn?(hn[Lt]=At,hasOwn$1(vn,Lt)&&(vn[Lt]=At)):_n&&(Lt.value=At,xe.k&&(hn[xe.k]=At))};At?(wn.id=-1,queuePostRenderEffect(wn,Ie)):wn()}}}let hasMismatch=!1;const isSVGContainer=xe=>xe.namespaceURI.includes("svg")&&xe.tagName!=="foreignObject",isMathMLContainer=xe=>xe.namespaceURI.includes("MathML"),getContainerType=xe=>{if(isSVGContainer(xe))return"svg";if(isMathMLContainer(xe))return"mathml"},isComment$1=xe=>xe.nodeType===8;function createHydrationFunctions(xe){const{mt:$e,p:Ie,o:{patchProp:Fe,createText:Ue,nextSibling:qe,parentNode:At,remove:Dt,insert:Lt,createComment:jt}}=xe,hn=(En,Tn)=>{if(!Tn.hasChildNodes()){Ie(null,En,Tn),flushPostFlushCbs(),Tn._vnode=En;return}hasMismatch=!1,vn(Tn.firstChild,En,null,null,null),flushPostFlushCbs(),Tn._vnode=En,hasMismatch&&console.error("Hydration completed but contains mismatches.")},vn=(En,Tn,An,$n,Pn,Nn=!1)=>{Nn=Nn||!!Tn.dynamicChildren;const Mn=isComment$1(En)&&En.data==="[",In=()=>kn(En,Tn,An,$n,Pn,Mn),{type:On,ref:Rn,shapeFlag:Bn,patchFlag:Vn}=Tn;let Ln=En.nodeType;Tn.el=En,Vn===-2&&(Nn=!1,Tn.dynamicChildren=null);let Dn=null;switch(On){case Text$2:Ln!==3?Tn.children===""?(Lt(Tn.el=Ue(""),At(En),En),Dn=En):Dn=In():(En.data!==Tn.children&&(hasMismatch=!0,En.data=Tn.children),Dn=qe(En));break;case Comment$1:xn(En)?(Dn=qe(En),Sn(Tn.el=En.content.firstChild,En,An)):Ln!==8||Mn?Dn=In():Dn=qe(En);break;case Static:if(Mn&&(En=qe(En),Ln=En.nodeType),Ln===1||Ln===3){Dn=En;const Hn=!Tn.children.length;for(let Fn=0;Fn<Tn.staticCount;Fn++)Hn&&(Tn.children+=Dn.nodeType===1?Dn.outerHTML:Dn.data),Fn===Tn.staticCount-1&&(Tn.anchor=Dn),Dn=qe(Dn);return Mn?qe(Dn):Dn}else In();break;case Fragment:Mn?Dn=wn(En,Tn,An,$n,Pn,Nn):Dn=In();break;default:if(Bn&1)(Ln!==1||Tn.type.toLowerCase()!==En.tagName.toLowerCase())&&!xn(En)?Dn=In():Dn=bn(En,Tn,An,$n,Pn,Nn);else if(Bn&6){Tn.slotScopeIds=Pn;const Hn=At(En);if(Mn?Dn=Cn(En):isComment$1(En)&&En.data==="teleport start"?Dn=Cn(En,En.data,"teleport end"):Dn=qe(En),$e(Tn,Hn,null,An,$n,getContainerType(Hn),Nn),isAsyncWrapper(Tn)){let Fn;Mn?(Fn=createVNode$1(Fragment),Fn.anchor=Dn?Dn.previousSibling:Hn.lastChild):Fn=En.nodeType===3?createTextVNode(""):createVNode$1("div"),Fn.el=En,Tn.component.subTree=Fn}}else Bn&64?Ln!==8?Dn=In():Dn=Tn.type.hydrate(En,Tn,An,$n,Pn,Nn,xe,_n):Bn&128&&(Dn=Tn.type.hydrate(En,Tn,An,$n,getContainerType(At(En)),Pn,Nn,xe,vn))}return Rn!=null&&setRef(Rn,null,$n,Tn),Dn},bn=(En,Tn,An,$n,Pn,Nn)=>{Nn=Nn||!!Tn.dynamicChildren;const{type:Mn,props:In,patchFlag:On,shapeFlag:Rn,dirs:Bn,transition:Vn}=Tn,Ln=Mn==="input"||Mn==="option";if(Ln||On!==-1){Bn&&invokeDirectiveHook(Tn,null,An,"created");let Dn=!1;if(xn(En)){Dn=needTransition($n,Vn)&&An&&An.vnode.props&&An.vnode.props.appear;const Fn=En.content.firstChild;Dn&&Vn.beforeEnter(Fn),Sn(Fn,En,An),Tn.el=En=Fn}if(Rn&16&&!(In&&(In.innerHTML||In.textContent))){let Fn=_n(En.firstChild,Tn,En,An,$n,Pn,Nn);for(;Fn;){hasMismatch=!0;const zn=Fn;Fn=Fn.nextSibling,Dt(zn)}}else Rn&8&&En.textContent!==Tn.children&&(hasMismatch=!0,En.textContent=Tn.children);if(In)if(Ln||!Nn||On&48)for(const Fn in In)(Ln&&(Fn.endsWith("value")||Fn==="indeterminate")||isOn(Fn)&&!isReservedProp(Fn)||Fn[0]===".")&&Fe(En,Fn,null,In[Fn],void 0,void 0,An);else In.onClick&&Fe(En,"onClick",null,In.onClick,void 0,void 0,An);let Hn;(Hn=In&&In.onVnodeBeforeMount)&&invokeVNodeHook(Hn,An,Tn),Bn&&invokeDirectiveHook(Tn,null,An,"beforeMount"),((Hn=In&&In.onVnodeMounted)||Bn||Dn)&&queueEffectWithSuspense(()=>{Hn&&invokeVNodeHook(Hn,An,Tn),Dn&&Vn.enter(En),Bn&&invokeDirectiveHook(Tn,null,An,"mounted")},$n)}return En.nextSibling},_n=(En,Tn,An,$n,Pn,Nn,Mn)=>{Mn=Mn||!!Tn.dynamicChildren;const In=Tn.children,On=In.length;for(let Rn=0;Rn<On;Rn++){const Bn=Mn?In[Rn]:In[Rn]=normalizeVNode(In[Rn]);if(En)En=vn(En,Bn,$n,Pn,Nn,Mn);else{if(Bn.type===Text$2&&!Bn.children)continue;hasMismatch=!0,Ie(null,Bn,An,null,$n,Pn,getContainerType(An),Nn)}}return En},wn=(En,Tn,An,$n,Pn,Nn)=>{const{slotScopeIds:Mn}=Tn;Mn&&(Pn=Pn?Pn.concat(Mn):Mn);const In=At(En),On=_n(qe(En),Tn,In,An,$n,Pn,Nn);return On&&isComment$1(On)&&On.data==="]"?qe(Tn.anchor=On):(hasMismatch=!0,Lt(Tn.anchor=jt("]"),In,On),On)},kn=(En,Tn,An,$n,Pn,Nn)=>{if(hasMismatch=!0,Tn.el=null,Nn){const On=Cn(En);for(;;){const Rn=qe(En);if(Rn&&Rn!==On)Dt(Rn);else break}}const Mn=qe(En),In=At(En);return Dt(En),Ie(null,Tn,In,Mn,An,$n,getContainerType(In),Pn),Mn},Cn=(En,Tn="[",An="]")=>{let $n=0;for(;En;)if(En=qe(En),En&&isComment$1(En)&&(En.data===Tn&&$n++,En.data===An)){if($n===0)return qe(En);$n--}return En},Sn=(En,Tn,An)=>{const $n=Tn.parentNode;$n&&$n.replaceChild(En,Tn);let Pn=An;for(;Pn;)Pn.vnode.el===Tn&&(Pn.vnode.el=Pn.subTree.el=En),Pn=Pn.parent},xn=En=>En.nodeType===1&&En.tagName.toLowerCase()==="template";return[hn,vn]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(xe){return baseCreateRenderer(xe)}function createHydrationRenderer(xe){return baseCreateRenderer(xe,createHydrationFunctions)}function baseCreateRenderer(xe,$e){const Ie=getGlobalThis();Ie.__VUE__=!0;const{insert:Fe,remove:Ue,patchProp:qe,createElement:At,createText:Dt,createComment:Lt,setText:jt,setElementText:hn,parentNode:vn,nextSibling:bn,setScopeId:_n=NOOP,insertStaticContent:wn}=xe,kn=(Kn,Zn,nr,lr=null,ir=null,kr=null,Cr=void 0,Er=null,dr=!!Zn.dynamicChildren)=>{if(Kn===Zn)return;Kn&&!isSameVNodeType(Kn,Zn)&&(lr=qn(Kn),Wn(Kn,ir,kr,!0),Kn=null),Zn.patchFlag===-2&&(dr=!1,Zn.dynamicChildren=null);const{type:br,ref:_r,shapeFlag:Pr}=Zn;switch(br){case Text$2:Cn(Kn,Zn,nr,lr);break;case Comment$1:Sn(Kn,Zn,nr,lr);break;case Static:Kn==null&&xn(Zn,nr,lr,Cr);break;case Fragment:Rn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr);break;default:Pr&1?An(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):Pr&6?Bn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):(Pr&64||Pr&128)&&br.process(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr,tr)}_r!=null&&ir&&setRef(_r,Kn&&Kn.ref,kr,Zn||Kn,!Zn)},Cn=(Kn,Zn,nr,lr)=>{if(Kn==null)Fe(Zn.el=Dt(Zn.children),nr,lr);else{const ir=Zn.el=Kn.el;Zn.children!==Kn.children&&jt(ir,Zn.children)}},Sn=(Kn,Zn,nr,lr)=>{Kn==null?Fe(Zn.el=Lt(Zn.children||""),nr,lr):Zn.el=Kn.el},xn=(Kn,Zn,nr,lr)=>{[Kn.el,Kn.anchor]=wn(Kn.children,Zn,nr,lr,Kn.el,Kn.anchor)},En=({el:Kn,anchor:Zn},nr,lr)=>{let ir;for(;Kn&&Kn!==Zn;)ir=bn(Kn),Fe(Kn,nr,lr),Kn=ir;Fe(Zn,nr,lr)},Tn=({el:Kn,anchor:Zn})=>{let nr;for(;Kn&&Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},An=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.type==="svg"?Cr="svg":Zn.type==="math"&&(Cr="mathml"),Kn==null?$n(Zn,nr,lr,ir,kr,Cr,Er,dr):Mn(Kn,Zn,ir,kr,Cr,Er,dr)},$n=(Kn,Zn,nr,lr,ir,kr,Cr,Er)=>{let dr,br;const{props:_r,shapeFlag:Pr,transition:vr,dirs:xr}=Kn;if(dr=Kn.el=At(Kn.type,kr,_r&&_r.is,_r),Pr&8?hn(dr,Kn.children):Pr&16&&Nn(Kn.children,dr,null,lr,ir,resolveChildrenNamespace(Kn,kr),Cr,Er),xr&&invokeDirectiveHook(Kn,null,lr,"created"),Pn(dr,Kn,Kn.scopeId,Cr,lr),_r){for(const Hr in _r)Hr!=="value"&&!isReservedProp(Hr)&&qe(dr,Hr,null,_r[Hr],kr,Kn.children,lr,ir,Jn);"value"in _r&&qe(dr,"value",null,_r.value,kr),(br=_r.onVnodeBeforeMount)&&invokeVNodeHook(br,lr,Kn)}xr&&invokeDirectiveHook(Kn,null,lr,"beforeMount");const Rr=needTransition(ir,vr);Rr&&vr.beforeEnter(dr),Fe(dr,Zn,nr),((br=_r&&_r.onVnodeMounted)||Rr||xr)&&queuePostRenderEffect(()=>{br&&invokeVNodeHook(br,lr,Kn),Rr&&vr.enter(dr),xr&&invokeDirectiveHook(Kn,null,lr,"mounted")},ir)},Pn=(Kn,Zn,nr,lr,ir)=>{if(nr&&_n(Kn,nr),lr)for(let kr=0;kr<lr.length;kr++)_n(Kn,lr[kr]);if(ir){let kr=ir.subTree;if(Zn===kr){const Cr=ir.vnode;Pn(Kn,Cr,Cr.scopeId,Cr.slotScopeIds,ir.parent)}}},Nn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr=0)=>{for(let br=dr;br<Kn.length;br++){const _r=Kn[br]=Er?cloneIfMounted(Kn[br]):normalizeVNode(Kn[br]);kn(null,_r,Zn,nr,lr,ir,kr,Cr,Er)}},Mn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=Zn.el=Kn.el;let{patchFlag:dr,dynamicChildren:br,dirs:_r}=Zn;dr|=Kn.patchFlag&16;const Pr=Kn.props||EMPTY_OBJ$1,vr=Zn.props||EMPTY_OBJ$1;let xr;if(nr&&toggleRecurse(nr,!1),(xr=vr.onVnodeBeforeUpdate)&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"beforeUpdate"),nr&&toggleRecurse(nr,!0),br?In(Kn.dynamicChildren,br,Er,nr,lr,resolveChildrenNamespace(Zn,ir),kr):Cr||Fn(Kn,Zn,Er,null,nr,lr,resolveChildrenNamespace(Zn,ir),kr,!1),dr>0){if(dr&16)On(Er,Zn,Pr,vr,nr,lr,ir);else if(dr&2&&Pr.class!==vr.class&&qe(Er,"class",null,vr.class,ir),dr&4&&qe(Er,"style",Pr.style,vr.style,ir),dr&8){const Rr=Zn.dynamicProps;for(let Hr=0;Hr<Rr.length;Hr++){const Jr=Rr[Hr],Gr=Pr[Jr],$r=vr[Jr];($r!==Gr||Jr==="value")&&qe(Er,Jr,Gr,$r,ir,Kn.children,nr,lr,Jn)}}dr&1&&Kn.children!==Zn.children&&hn(Er,Zn.children)}else!Cr&&br==null&&On(Er,Zn,Pr,vr,nr,lr,ir);((xr=vr.onVnodeUpdated)||_r)&&queuePostRenderEffect(()=>{xr&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"updated")},lr)},In=(Kn,Zn,nr,lr,ir,kr,Cr)=>{for(let Er=0;Er<Zn.length;Er++){const dr=Kn[Er],br=Zn[Er],_r=dr.el&&(dr.type===Fragment||!isSameVNodeType(dr,br)||dr.shapeFlag&70)?vn(dr.el):nr;kn(dr,br,_r,null,lr,ir,kr,Cr,!0)}},On=(Kn,Zn,nr,lr,ir,kr,Cr)=>{if(nr!==lr){if(nr!==EMPTY_OBJ$1)for(const Er in nr)!isReservedProp(Er)&&!(Er in lr)&&qe(Kn,Er,nr[Er],null,Cr,Zn.children,ir,kr,Jn);for(const Er in lr){if(isReservedProp(Er))continue;const dr=lr[Er],br=nr[Er];dr!==br&&Er!=="value"&&qe(Kn,Er,br,dr,Cr,Zn.children,ir,kr,Jn)}"value"in lr&&qe(Kn,"value",nr.value,lr.value,Cr)}},Rn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{const br=Zn.el=Kn?Kn.el:Dt(""),_r=Zn.anchor=Kn?Kn.anchor:Dt("");let{patchFlag:Pr,dynamicChildren:vr,slotScopeIds:xr}=Zn;xr&&(Er=Er?Er.concat(xr):xr),Kn==null?(Fe(br,nr,lr),Fe(_r,nr,lr),Nn(Zn.children||[],nr,_r,ir,kr,Cr,Er,dr)):Pr>0&&Pr&64&&vr&&Kn.dynamicChildren?(In(Kn.dynamicChildren,vr,nr,ir,kr,Cr,Er),(Zn.key!=null||ir&&Zn===ir.subTree)&&traverseStaticChildren(Kn,Zn,!0)):Fn(Kn,Zn,nr,_r,ir,kr,Cr,Er,dr)},Bn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.slotScopeIds=Er,Kn==null?Zn.shapeFlag&512?ir.ctx.activate(Zn,nr,lr,Cr,dr):Vn(Zn,nr,lr,ir,kr,Cr,dr):Ln(Kn,Zn,dr)},Vn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=Kn.component=createComponentInstance(Kn,lr,ir);if(isKeepAlive(Kn)&&(Er.ctx.renderer=tr),setupComponent(Er),Er.asyncDep){if(ir&&ir.registerDep(Er,Dn),!Kn.el){const dr=Er.subTree=createVNode$1(Comment$1);Sn(null,dr,Zn,nr)}}else Dn(Er,Kn,Zn,nr,ir,kr,Cr)},Ln=(Kn,Zn,nr)=>{const lr=Zn.component=Kn.component;if(shouldUpdateComponent(Kn,Zn,nr))if(lr.asyncDep&&!lr.asyncResolved){Hn(lr,Zn,nr);return}else lr.next=Zn,invalidateJob(lr.update),lr.effect.dirty=!0,lr.update();else Zn.el=Kn.el,lr.vnode=Zn},Dn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=()=>{if(Kn.isMounted){let{next:_r,bu:Pr,u:vr,parent:xr,vnode:Rr}=Kn;{const Br=locateNonHydratedAsyncRoot(Kn);if(Br){_r&&(_r.el=Rr.el,Hn(Kn,_r,Cr)),Br.asyncDep.then(()=>{Kn.isUnmounted||Er()});return}}let Hr=_r,Jr;toggleRecurse(Kn,!1),_r?(_r.el=Rr.el,Hn(Kn,_r,Cr)):_r=Rr,Pr&&invokeArrayFns(Pr),(Jr=_r.props&&_r.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Jr,xr,_r,Rr),toggleRecurse(Kn,!0);const Gr=renderComponentRoot(Kn),$r=Kn.subTree;Kn.subTree=Gr,kn($r,Gr,vn($r.el),qn($r),Kn,ir,kr),_r.el=Gr.el,Hr===null&&updateHOCHostEl(Kn,Gr.el),vr&&queuePostRenderEffect(vr,ir),(Jr=_r.props&&_r.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Jr,xr,_r,Rr),ir)}else{let _r;const{el:Pr,props:vr}=Zn,{bm:xr,m:Rr,parent:Hr}=Kn,Jr=isAsyncWrapper(Zn);if(toggleRecurse(Kn,!1),xr&&invokeArrayFns(xr),!Jr&&(_r=vr&&vr.onVnodeBeforeMount)&&invokeVNodeHook(_r,Hr,Zn),toggleRecurse(Kn,!0),Pr&&sr){const Gr=()=>{Kn.subTree=renderComponentRoot(Kn),sr(Pr,Kn.subTree,Kn,ir,null)};Jr?Zn.type.__asyncLoader().then(()=>!Kn.isUnmounted&&Gr()):Gr()}else{const Gr=Kn.subTree=renderComponentRoot(Kn);kn(null,Gr,nr,lr,Kn,ir,kr),Zn.el=Gr.el}if(Rr&&queuePostRenderEffect(Rr,ir),!Jr&&(_r=vr&&vr.onVnodeMounted)){const Gr=Zn;queuePostRenderEffect(()=>invokeVNodeHook(_r,Hr,Gr),ir)}(Zn.shapeFlag&256||Hr&&isAsyncWrapper(Hr.vnode)&&Hr.vnode.shapeFlag&256)&&Kn.a&&queuePostRenderEffect(Kn.a,ir),Kn.isMounted=!0,Zn=nr=lr=null}},dr=Kn.effect=new ReactiveEffect(Er,NOOP,()=>queueJob(br),Kn.scope),br=Kn.update=()=>{dr.dirty&&dr.run()};br.id=Kn.uid,toggleRecurse(Kn,!0),br()},Hn=(Kn,Zn,nr)=>{Zn.component=Kn;const lr=Kn.vnode.props;Kn.vnode=Zn,Kn.next=null,updateProps$2(Kn,Zn.props,lr,nr),updateSlots(Kn,Zn.children,nr),pauseTracking(),flushPreFlushCbs(Kn),resetTracking()},Fn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr=!1)=>{const br=Kn&&Kn.children,_r=Kn?Kn.shapeFlag:0,Pr=Zn.children,{patchFlag:vr,shapeFlag:xr}=Zn;if(vr>0){if(vr&128){jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}else if(vr&256){zn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}}xr&8?(_r&16&&Jn(br,ir,kr),Pr!==br&&hn(nr,Pr)):_r&16?xr&16?jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr):Jn(br,ir,kr,!0):(_r&8&&hn(nr,""),xr&16&&Nn(Pr,nr,lr,ir,kr,Cr,Er,dr))},zn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Kn=Kn||EMPTY_ARR,Zn=Zn||EMPTY_ARR;const br=Kn.length,_r=Zn.length,Pr=Math.min(br,_r);let vr;for(vr=0;vr<Pr;vr++){const xr=Zn[vr]=dr?cloneIfMounted(Zn[vr]):normalizeVNode(Zn[vr]);kn(Kn[vr],xr,nr,null,ir,kr,Cr,Er,dr)}br>_r?Jn(Kn,ir,kr,!0,!1,Pr):Nn(Zn,nr,lr,ir,kr,Cr,Er,dr,Pr)},jn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{let br=0;const _r=Zn.length;let Pr=Kn.length-1,vr=_r-1;for(;br<=Pr&&br<=vr;){const xr=Kn[br],Rr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;br++}for(;br<=Pr&&br<=vr;){const xr=Kn[Pr],Rr=Zn[vr]=dr?cloneIfMounted(Zn[vr]):normalizeVNode(Zn[vr]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;Pr--,vr--}if(br>Pr){if(br<=vr){const xr=vr+1,Rr=xr<_r?Zn[xr].el:lr;for(;br<=vr;)kn(null,Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]),nr,Rr,ir,kr,Cr,Er,dr),br++}}else if(br>vr)for(;br<=Pr;)Wn(Kn[br],ir,kr,!0),br++;else{const xr=br,Rr=br,Hr=new Map;for(br=Rr;br<=vr;br++){const Dr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);Dr.key!=null&&Hr.set(Dr.key,br)}let Jr,Gr=0;const $r=vr-Rr+1;let Br=!1,Tr=0;const cr=new Array($r);for(br=0;br<$r;br++)cr[br]=0;for(br=xr;br<=Pr;br++){const Dr=Kn[br];if(Gr>=$r){Wn(Dr,ir,kr,!0);continue}let mr;if(Dr.key!=null)mr=Hr.get(Dr.key);else for(Jr=Rr;Jr<=vr;Jr++)if(cr[Jr-Rr]===0&&isSameVNodeType(Dr,Zn[Jr])){mr=Jr;break}mr===void 0?Wn(Dr,ir,kr,!0):(cr[mr-Rr]=br+1,mr>=Tr?Tr=mr:Br=!0,kn(Dr,Zn[mr],nr,null,ir,kr,Cr,Er,dr),Gr++)}const Sr=Br?getSequence(cr):EMPTY_ARR;for(Jr=Sr.length-1,br=$r-1;br>=0;br--){const Dr=Rr+br,mr=Zn[Dr],Lr=Dr+1<_r?Zn[Dr+1].el:lr;cr[br]===0?kn(null,mr,nr,Lr,ir,kr,Cr,Er,dr):Br&&(Jr<0||br!==Sr[Jr]?Gn(mr,nr,Lr,2):Jr--)}}},Gn=(Kn,Zn,nr,lr,ir=null)=>{const{el:kr,type:Cr,transition:Er,children:dr,shapeFlag:br}=Kn;if(br&6){Gn(Kn.component.subTree,Zn,nr,lr);return}if(br&128){Kn.suspense.move(Zn,nr,lr);return}if(br&64){Cr.move(Kn,Zn,nr,tr);return}if(Cr===Fragment){Fe(kr,Zn,nr);for(let Pr=0;Pr<dr.length;Pr++)Gn(dr[Pr],Zn,nr,lr);Fe(Kn.anchor,Zn,nr);return}if(Cr===Static){En(Kn,Zn,nr);return}if(lr!==2&&br&1&&Er)if(lr===0)Er.beforeEnter(kr),Fe(kr,Zn,nr),queuePostRenderEffect(()=>Er.enter(kr),ir);else{const{leave:Pr,delayLeave:vr,afterLeave:xr}=Er,Rr=()=>Fe(kr,Zn,nr),Hr=()=>{Pr(kr,()=>{Rr(),xr&&xr()})};vr?vr(kr,Rr,Hr):Hr()}else Fe(kr,Zn,nr)},Wn=(Kn,Zn,nr,lr=!1,ir=!1)=>{const{type:kr,props:Cr,ref:Er,children:dr,dynamicChildren:br,shapeFlag:_r,patchFlag:Pr,dirs:vr}=Kn;if(Er!=null&&setRef(Er,null,nr,Kn,!0),_r&256){Zn.ctx.deactivate(Kn);return}const xr=_r&1&&vr,Rr=!isAsyncWrapper(Kn);let Hr;if(Rr&&(Hr=Cr&&Cr.onVnodeBeforeUnmount)&&invokeVNodeHook(Hr,Zn,Kn),_r&6)rr(Kn.component,nr,lr);else{if(_r&128){Kn.suspense.unmount(nr,lr);return}xr&&invokeDirectiveHook(Kn,null,Zn,"beforeUnmount"),_r&64?Kn.type.remove(Kn,Zn,nr,ir,tr,lr):br&&(kr!==Fragment||Pr>0&&Pr&64)?Jn(br,Zn,nr,!1,!0):(kr===Fragment&&Pr&384||!ir&&_r&16)&&Jn(dr,Zn,nr),lr&&Xn(Kn)}(Rr&&(Hr=Cr&&Cr.onVnodeUnmounted)||xr)&&queuePostRenderEffect(()=>{Hr&&invokeVNodeHook(Hr,Zn,Kn),xr&&invokeDirectiveHook(Kn,null,Zn,"unmounted")},nr)},Xn=Kn=>{const{type:Zn,el:nr,anchor:lr,transition:ir}=Kn;if(Zn===Fragment){er(nr,lr);return}if(Zn===Static){Tn(Kn);return}const kr=()=>{Ue(nr),ir&&!ir.persisted&&ir.afterLeave&&ir.afterLeave()};if(Kn.shapeFlag&1&&ir&&!ir.persisted){const{leave:Cr,delayLeave:Er}=ir,dr=()=>Cr(nr,kr);Er?Er(Kn.el,kr,dr):dr()}else kr()},er=(Kn,Zn)=>{let nr;for(;Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},rr=(Kn,Zn,nr)=>{const{bum:lr,scope:ir,update:kr,subTree:Cr,um:Er}=Kn;lr&&invokeArrayFns(lr),ir.stop(),kr&&(kr.active=!1,Wn(Cr,Kn,Zn,nr)),Er&&queuePostRenderEffect(Er,Zn),queuePostRenderEffect(()=>{Kn.isUnmounted=!0},Zn),Zn&&Zn.pendingBranch&&!Zn.isUnmounted&&Kn.asyncDep&&!Kn.asyncResolved&&Kn.suspenseId===Zn.pendingId&&(Zn.deps--,Zn.deps===0&&Zn.resolve())},Jn=(Kn,Zn,nr,lr=!1,ir=!1,kr=0)=>{for(let Cr=kr;Cr<Kn.length;Cr++)Wn(Kn[Cr],Zn,nr,lr,ir)},qn=Kn=>Kn.shapeFlag&6?qn(Kn.component.subTree):Kn.shapeFlag&128?Kn.suspense.next():bn(Kn.anchor||Kn.el);let Yn=!1;const ar=(Kn,Zn,nr)=>{Kn==null?Zn._vnode&&Wn(Zn._vnode,null,null,!0):kn(Zn._vnode||null,Kn,Zn,null,null,null,nr),Yn||(Yn=!0,flushPreFlushCbs(),flushPostFlushCbs(),Yn=!1),Zn._vnode=Kn},tr={p:kn,um:Wn,m:Gn,r:Xn,mt:Vn,mc:Nn,pc:Fn,pbc:In,n:qn,o:xe};let or,sr;return $e&&([or,sr]=$e(tr)),{render:ar,hydrate:or,createApp:createAppAPI(ar,or)}}function resolveChildrenNamespace({type:xe,props:$e},Ie){return Ie==="svg"&&xe==="foreignObject"||Ie==="mathml"&&xe==="annotation-xml"&&$e&&$e.encoding&&$e.encoding.includes("html")?void 0:Ie}function toggleRecurse({effect:xe,update:$e},Ie){xe.allowRecurse=$e.allowRecurse=Ie}function needTransition(xe,$e){return(!xe||xe&&!xe.pendingBranch)&&$e&&!$e.persisted}function traverseStaticChildren(xe,$e,Ie=!1){const Fe=xe.children,Ue=$e.children;if(isArray$6(Fe)&&isArray$6(Ue))for(let qe=0;qe<Fe.length;qe++){const At=Fe[qe];let Dt=Ue[qe];Dt.shapeFlag&1&&!Dt.dynamicChildren&&((Dt.patchFlag<=0||Dt.patchFlag===32)&&(Dt=Ue[qe]=cloneIfMounted(Ue[qe]),Dt.el=At.el),Ie||traverseStaticChildren(At,Dt)),Dt.type===Text$2&&(Dt.el=At.el)}}function getSequence(xe){const $e=xe.slice(),Ie=[0];let Fe,Ue,qe,At,Dt;const Lt=xe.length;for(Fe=0;Fe<Lt;Fe++){const jt=xe[Fe];if(jt!==0){if(Ue=Ie[Ie.length-1],xe[Ue]<jt){$e[Fe]=Ue,Ie.push(Fe);continue}for(qe=0,At=Ie.length-1;qe<At;)Dt=qe+At>>1,xe[Ie[Dt]]<jt?qe=Dt+1:At=Dt;jt<xe[Ie[qe]]&&(qe>0&&($e[Fe]=Ie[qe-1]),Ie[qe]=Fe)}}for(qe=Ie.length,At=Ie[qe-1];qe-- >0;)Ie[qe]=At,At=$e[At];return Ie}function locateNonHydratedAsyncRoot(xe){const $e=xe.subTree.component;if($e)return $e.asyncDep&&!$e.asyncResolved?$e:locateNonHydratedAsyncRoot($e)}const isTeleport=xe=>xe.__isTeleport,isTeleportDisabled=xe=>xe&&(xe.disabled||xe.disabled===""),isTargetSVG=xe=>typeof SVGElement<"u"&&xe instanceof SVGElement,isTargetMathML=xe=>typeof MathMLElement=="function"&&xe instanceof MathMLElement,resolveTarget=(xe,$e)=>{const Ie=xe&&xe.to;return isString$4(Ie)?$e?$e(Ie):null:Ie},TeleportImpl={name:"Teleport",__isTeleport:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){const{mc:hn,pc:vn,pbc:bn,o:{insert:_n,querySelector:wn,createText:kn,createComment:Cn}}=jt,Sn=isTeleportDisabled($e.props);let{shapeFlag:xn,children:En,dynamicChildren:Tn}=$e;if(xe==null){const An=$e.el=kn(""),$n=$e.anchor=kn("");_n(An,Ie,Fe),_n($n,Ie,Fe);const Pn=$e.target=resolveTarget($e.props,wn),Nn=$e.targetAnchor=kn("");Pn&&(_n(Nn,Pn),At==="svg"||isTargetSVG(Pn)?At="svg":(At==="mathml"||isTargetMathML(Pn))&&(At="mathml"));const Mn=(In,On)=>{xn&16&&hn(En,In,On,Ue,qe,At,Dt,Lt)};Sn?Mn(Ie,$n):Pn&&Mn(Pn,Nn)}else{$e.el=xe.el;const An=$e.anchor=xe.anchor,$n=$e.target=xe.target,Pn=$e.targetAnchor=xe.targetAnchor,Nn=isTeleportDisabled(xe.props),Mn=Nn?Ie:$n,In=Nn?An:Pn;if(At==="svg"||isTargetSVG($n)?At="svg":(At==="mathml"||isTargetMathML($n))&&(At="mathml"),Tn?(bn(xe.dynamicChildren,Tn,Mn,Ue,qe,At,Dt),traverseStaticChildren(xe,$e,!0)):Lt||vn(xe,$e,Mn,In,Ue,qe,At,Dt,!1),Sn)Nn?$e.props&&xe.props&&$e.props.to!==xe.props.to&&($e.props.to=xe.props.to):moveTeleport($e,Ie,An,jt,1);else if(($e.props&&$e.props.to)!==(xe.props&&xe.props.to)){const On=$e.target=resolveTarget($e.props,wn);On&&moveTeleport($e,On,null,jt,0)}else Nn&&moveTeleport($e,$n,Pn,jt,1)}updateCssVars($e)},remove(xe,$e,Ie,Fe,{um:Ue,o:{remove:qe}},At){const{shapeFlag:Dt,children:Lt,anchor:jt,targetAnchor:hn,target:vn,props:bn}=xe;if(vn&&qe(hn),At&&qe(jt),Dt&16){const _n=At||!isTeleportDisabled(bn);for(let wn=0;wn<Lt.length;wn++){const kn=Lt[wn];Ue(kn,$e,Ie,_n,!!kn.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(xe,$e,Ie,{o:{insert:Fe},m:Ue},qe=2){qe===0&&Fe(xe.targetAnchor,$e,Ie);const{el:At,anchor:Dt,shapeFlag:Lt,children:jt,props:hn}=xe,vn=qe===2;if(vn&&Fe(At,$e,Ie),(!vn||isTeleportDisabled(hn))&&Lt&16)for(let bn=0;bn<jt.length;bn++)Ue(jt[bn],$e,Ie,2);vn&&Fe(Dt,$e,Ie)}function hydrateTeleport(xe,$e,Ie,Fe,Ue,qe,{o:{nextSibling:At,parentNode:Dt,querySelector:Lt}},jt){const hn=$e.target=resolveTarget($e.props,Lt);if(hn){const vn=hn._lpa||hn.firstChild;if($e.shapeFlag&16)if(isTeleportDisabled($e.props))$e.anchor=jt(At(xe),$e,Dt(xe),Ie,Fe,Ue,qe),$e.targetAnchor=vn;else{$e.anchor=At(xe);let bn=vn;for(;bn;)if(bn=At(bn),bn&&bn.nodeType===8&&bn.data==="teleport anchor"){$e.targetAnchor=bn,hn._lpa=$e.targetAnchor&&At($e.targetAnchor);break}jt(vn,$e,hn,Ie,Fe,Ue,qe)}updateCssVars($e)}return $e.anchor&&At($e.anchor)}const Teleport=TeleportImpl;function updateCssVars(xe){const $e=xe.ctx;if($e&&$e.ut){let Ie=xe.children[0].el;for(;Ie&&Ie!==xe.targetAnchor;)Ie.nodeType===1&&Ie.setAttribute("data-v-owner",$e.uid),Ie=Ie.nextSibling;$e.ut()}}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$1=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(xe=!1){blockStack.push(currentBlock=xe?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(xe){isBlockTreeEnabled+=xe}function setupBlock(xe){return xe.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(xe),xe}function createElementBlock(xe,$e,Ie,Fe,Ue,qe){return setupBlock(createBaseVNode(xe,$e,Ie,Fe,Ue,qe,!0))}function createBlock(xe,$e,Ie,Fe,Ue){return setupBlock(createVNode$1(xe,$e,Ie,Fe,Ue,!0))}function isVNode(xe){return xe?xe.__v_isVNode===!0:!1}function isSameVNodeType(xe,$e){return xe.type===$e.type&&xe.key===$e.key}function transformVNodeArgs(xe){}const normalizeKey=({key:xe})=>xe??null,normalizeRef=({ref:xe,ref_key:$e,ref_for:Ie})=>(typeof xe=="number"&&(xe=""+xe),xe!=null?isString$4(xe)||isRef(xe)||isFunction$5(xe)?{i:currentRenderingInstance,r:xe,k:$e,f:!!Ie}:xe:null);function createBaseVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=xe===Fragment?0:1,At=!1,Dt=!1){const Lt={__v_isVNode:!0,__v_skip:!0,type:xe,props:$e,key:$e&&normalizeKey($e),ref:$e&&normalizeRef($e),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:qe,patchFlag:Fe,dynamicProps:Ue,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return Dt?(normalizeChildren(Lt,Ie),qe&128&&xe.normalize(Lt)):Ie&&(Lt.shapeFlag|=isString$4(Ie)?8:16),isBlockTreeEnabled>0&&!At&&currentBlock&&(Lt.patchFlag>0||qe&6)&&Lt.patchFlag!==32&&currentBlock.push(Lt),Lt}const createVNode$1=_createVNode;function _createVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=!1){if((!xe||xe===NULL_DYNAMIC_COMPONENT)&&(xe=Comment$1),isVNode(xe)){const Dt=cloneVNode(xe,$e,!0);return Ie&&normalizeChildren(Dt,Ie),isBlockTreeEnabled>0&&!qe&&currentBlock&&(Dt.shapeFlag&6?currentBlock[currentBlock.indexOf(xe)]=Dt:currentBlock.push(Dt)),Dt.patchFlag|=-2,Dt}if(isClassComponent(xe)&&(xe=xe.__vccOpts),$e){$e=guardReactiveProps($e);let{class:Dt,style:Lt}=$e;Dt&&!isString$4(Dt)&&($e.class=normalizeClass(Dt)),isObject$8(Lt)&&(isProxy(Lt)&&!isArray$6(Lt)&&(Lt=extend$2({},Lt)),$e.style=normalizeStyle$1(Lt))}const At=isString$4(xe)?1:isSuspense(xe)?128:isTeleport(xe)?64:isObject$8(xe)?4:isFunction$5(xe)?2:0;return createBaseVNode(xe,$e,Ie,Fe,Ue,At,qe,!0)}function guardReactiveProps(xe){return xe?isProxy(xe)||isInternalObject(xe)?extend$2({},xe):xe:null}function cloneVNode(xe,$e,Ie=!1,Fe=!1){const{props:Ue,ref:qe,patchFlag:At,children:Dt,transition:Lt}=xe,jt=$e?mergeProps(Ue||{},$e):Ue,hn={__v_isVNode:!0,__v_skip:!0,type:xe.type,props:jt,key:jt&&normalizeKey(jt),ref:$e&&$e.ref?Ie&&qe?isArray$6(qe)?qe.concat(normalizeRef($e)):[qe,normalizeRef($e)]:normalizeRef($e):qe,scopeId:xe.scopeId,slotScopeIds:xe.slotScopeIds,children:Dt,target:xe.target,targetAnchor:xe.targetAnchor,staticCount:xe.staticCount,shapeFlag:xe.shapeFlag,patchFlag:$e&&xe.type!==Fragment?At===-1?16:At|16:At,dynamicProps:xe.dynamicProps,dynamicChildren:xe.dynamicChildren,appContext:xe.appContext,dirs:xe.dirs,transition:Lt,component:xe.component,suspense:xe.suspense,ssContent:xe.ssContent&&cloneVNode(xe.ssContent),ssFallback:xe.ssFallback&&cloneVNode(xe.ssFallback),el:xe.el,anchor:xe.anchor,ctx:xe.ctx,ce:xe.ce};return Lt&&Fe&&(hn.transition=Lt.clone(hn)),hn}function createTextVNode(xe=" ",$e=0){return createVNode$1(Text$2,null,xe,$e)}function createStaticVNode(xe,$e){const Ie=createVNode$1(Static,null,xe);return Ie.staticCount=$e,Ie}function createCommentVNode(xe="",$e=!1){return $e?(openBlock(),createBlock(Comment$1,null,xe)):createVNode$1(Comment$1,null,xe)}function normalizeVNode(xe){return xe==null||typeof xe=="boolean"?createVNode$1(Comment$1):isArray$6(xe)?createVNode$1(Fragment,null,xe.slice()):typeof xe=="object"?cloneIfMounted(xe):createVNode$1(Text$2,null,String(xe))}function cloneIfMounted(xe){return xe.el===null&&xe.patchFlag!==-1||xe.memo?xe:cloneVNode(xe)}function normalizeChildren(xe,$e){let Ie=0;const{shapeFlag:Fe}=xe;if($e==null)$e=null;else if(isArray$6($e))Ie=16;else if(typeof $e=="object")if(Fe&65){const Ue=$e.default;Ue&&(Ue._c&&(Ue._d=!1),normalizeChildren(xe,Ue()),Ue._c&&(Ue._d=!0));return}else{Ie=32;const Ue=$e._;!Ue&&!isInternalObject($e)?$e._ctx=currentRenderingInstance:Ue===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?$e._=1:($e._=2,xe.patchFlag|=1024))}else isFunction$5($e)?($e={default:$e,_ctx:currentRenderingInstance},Ie=32):($e=String($e),Fe&64?(Ie=16,$e=[createTextVNode($e)]):Ie=8);xe.children=$e,xe.shapeFlag|=Ie}function mergeProps(...xe){const $e={};for(let Ie=0;Ie<xe.length;Ie++){const Fe=xe[Ie];for(const Ue in Fe)if(Ue==="class")$e.class!==Fe.class&&($e.class=normalizeClass([$e.class,Fe.class]));else if(Ue==="style")$e.style=normalizeStyle$1([$e.style,Fe.style]);else if(isOn(Ue)){const qe=$e[Ue],At=Fe[Ue];At&&qe!==At&&!(isArray$6(qe)&&qe.includes(At))&&($e[Ue]=qe?[].concat(qe,At):At)}else Ue!==""&&($e[Ue]=Fe[Ue])}return $e}function invokeVNodeHook(xe,$e,Ie,Fe=null){callWithAsyncErrorHandling(xe,$e,7,[Ie,Fe])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance(xe,$e,Ie){const Fe=xe.type,Ue=($e?$e.appContext:xe.appContext)||emptyAppContext,qe={uid:uid$2++,vnode:xe,type:Fe,parent:$e,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:$e?$e.provides:Object.create(Ue.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(Fe,Ue),emitsOptions:normalizeEmitsOptions(Fe,Ue),emit:null,emitted:null,propsDefaults:EMPTY_OBJ$1,inheritAttrs:Fe.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 qe.ctx={_:qe},qe.root=$e?$e.root:qe,qe.emit=emit.bind(null,qe),xe.ce&&xe.ce(qe),qe}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const xe=getGlobalThis(),$e=(Ie,Fe)=>{let Ue;return(Ue=xe[Ie])||(Ue=xe[Ie]=[]),Ue.push(Fe),qe=>{Ue.length>1?Ue.forEach(At=>At(qe)):Ue[0](qe)}};internalSetCurrentInstance=$e("__VUE_INSTANCE_SETTERS__",Ie=>currentInstance=Ie),setInSSRSetupState=$e("__VUE_SSR_SETTERS__",Ie=>isInSSRComponentSetup=Ie)}const setCurrentInstance=xe=>{const $e=currentInstance;return internalSetCurrentInstance(xe),xe.scope.on(),()=>{xe.scope.off(),internalSetCurrentInstance($e)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(xe){return xe.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(xe,$e=!1){$e&&setInSSRSetupState($e);const{props:Ie,children:Fe}=xe.vnode,Ue=isStatefulComponent(xe);initProps$1(xe,Ie,Ue,$e),initSlots(xe,Fe);const qe=Ue?setupStatefulComponent(xe,$e):void 0;return $e&&setInSSRSetupState(!1),qe}function setupStatefulComponent(xe,$e){const Ie=xe.type;xe.accessCache=Object.create(null),xe.proxy=new Proxy(xe.ctx,PublicInstanceProxyHandlers);const{setup:Fe}=Ie;if(Fe){const Ue=xe.setupContext=Fe.length>1?createSetupContext(xe):null,qe=setCurrentInstance(xe);pauseTracking();const At=callWithErrorHandling(Fe,xe,0,[xe.props,Ue]);if(resetTracking(),qe(),isPromise(At)){if(At.then(unsetCurrentInstance,unsetCurrentInstance),$e)return At.then(Dt=>{handleSetupResult(xe,Dt,$e)}).catch(Dt=>{handleError(Dt,xe,0)});xe.asyncDep=At}else handleSetupResult(xe,At,$e)}else finishComponentSetup(xe,$e)}function handleSetupResult(xe,$e,Ie){isFunction$5($e)?xe.type.__ssrInlineRender?xe.ssrRender=$e:xe.render=$e:isObject$8($e)&&(xe.setupState=proxyRefs($e)),finishComponentSetup(xe,Ie)}let compile,installWithProxy;function registerRuntimeCompiler(xe){compile=xe,installWithProxy=$e=>{$e.render._rc&&($e.withProxy=new Proxy($e.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile;function finishComponentSetup(xe,$e,Ie){const Fe=xe.type;if(!xe.render){if(!$e&&compile&&!Fe.render){const Ue=Fe.template||resolveMergedOptions(xe).template;if(Ue){const{isCustomElement:qe,compilerOptions:At}=xe.appContext.config,{delimiters:Dt,compilerOptions:Lt}=Fe,jt=extend$2(extend$2({isCustomElement:qe,delimiters:Dt},At),Lt);Fe.render=compile(Ue,jt)}}xe.render=Fe.render||NOOP,installWithProxy&&installWithProxy(xe)}{const Ue=setCurrentInstance(xe);pauseTracking();try{applyOptions(xe)}finally{resetTracking(),Ue()}}}const attrsProxyHandlers={get(xe,$e){return track(xe,"get",""),xe[$e]}};function createSetupContext(xe){const $e=Ie=>{xe.exposed=Ie||{}};return{attrs:new Proxy(xe.attrs,attrsProxyHandlers),slots:xe.slots,emit:xe.emit,expose:$e}}function getExposeProxy(xe){if(xe.exposed)return xe.exposeProxy||(xe.exposeProxy=new Proxy(proxyRefs(markRaw(xe.exposed)),{get($e,Ie){if(Ie in $e)return $e[Ie];if(Ie in publicPropertiesMap)return publicPropertiesMap[Ie](xe)},has($e,Ie){return Ie in $e||Ie in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=xe=>xe.replace(classifyRE,$e=>$e.toUpperCase()).replace(/[-_]/g,"");function getComponentName(xe,$e=!0){return isFunction$5(xe)?xe.displayName||xe.name:xe.name||$e&&xe.__name}function formatComponentName(xe,$e,Ie=!1){let Fe=getComponentName($e);if(!Fe&&$e.__file){const Ue=$e.__file.match(/([^/\\]+)\.\w+$/);Ue&&(Fe=Ue[1])}if(!Fe&&xe&&xe.parent){const Ue=qe=>{for(const At in qe)if(qe[At]===$e)return At};Fe=Ue(xe.components||xe.parent.type.components)||Ue(xe.appContext.components)}return Fe?classify(Fe):Ie?"App":"Anonymous"}function isClassComponent(xe){return isFunction$5(xe)&&"__vccOpts"in xe}const computed=(xe,$e)=>computed$1(xe,$e,isInSSRComponentSetup);function useModel(xe,$e,Ie=EMPTY_OBJ$1){const Fe=getCurrentInstance(),Ue=camelize($e),qe=hyphenate($e),At=customRef((Lt,jt)=>{let hn;return watchSyncEffect(()=>{const vn=xe[$e];hasChanged(hn,vn)&&(hn=vn,jt())}),{get(){return Lt(),Ie.get?Ie.get(hn):hn},set(vn){const bn=Fe.vnode.props;!(bn&&($e in bn||Ue in bn||qe in bn)&&(`onUpdate:${$e}`in bn||`onUpdate:${Ue}`in bn||`onUpdate:${qe}`in bn))&&hasChanged(vn,hn)&&(hn=vn,jt()),Fe.emit(`update:${$e}`,Ie.set?Ie.set(vn):vn)}}}),Dt=$e==="modelValue"?"modelModifiers":`${$e}Modifiers`;return At[Symbol.iterator]=()=>{let Lt=0;return{next(){return Lt<2?{value:Lt++?xe[Dt]||{}:At,done:!1}:{done:!0}}}},At}function h$5(xe,$e,Ie){const Fe=arguments.length;return Fe===2?isObject$8($e)&&!isArray$6($e)?isVNode($e)?createVNode$1(xe,null,[$e]):createVNode$1(xe,$e):createVNode$1(xe,null,$e):(Fe>3?Ie=Array.prototype.slice.call(arguments,2):Fe===3&&isVNode(Ie)&&(Ie=[Ie]),createVNode$1(xe,$e,Ie))}function initCustomFormatter(){}function withMemo(xe,$e,Ie,Fe){const Ue=Ie[Fe];if(Ue&&isMemoSame(Ue,xe))return Ue;const qe=$e();return qe.memo=xe.slice(),Ie[Fe]=qe}function isMemoSame(xe,$e){const Ie=xe.memo;if(Ie.length!=$e.length)return!1;for(let Fe=0;Fe<Ie.length;Fe++)if(hasChanged(Ie[Fe],$e[Fe]))return!1;return isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(xe),!0}const version$1="3.4.27",warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/**
* @vue/runtime-dom v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(xe,$e,Ie)=>{$e.insertBefore(xe,Ie||null)},remove:xe=>{const $e=xe.parentNode;$e&&$e.removeChild(xe)},createElement:(xe,$e,Ie,Fe)=>{const Ue=$e==="svg"?doc.createElementNS(svgNS,xe):$e==="mathml"?doc.createElementNS(mathmlNS,xe):doc.createElement(xe,Ie?{is:Ie}:void 0);return xe==="select"&&Fe&&Fe.multiple!=null&&Ue.setAttribute("multiple",Fe.multiple),Ue},createText:xe=>doc.createTextNode(xe),createComment:xe=>doc.createComment(xe),setText:(xe,$e)=>{xe.nodeValue=$e},setElementText:(xe,$e)=>{xe.textContent=$e},parentNode:xe=>xe.parentNode,nextSibling:xe=>xe.nextSibling,querySelector:xe=>doc.querySelector(xe),setScopeId(xe,$e){xe.setAttribute($e,"")},insertStaticContent(xe,$e,Ie,Fe,Ue,qe){const At=Ie?Ie.previousSibling:$e.lastChild;if(Ue&&(Ue===qe||Ue.nextSibling))for(;$e.insertBefore(Ue.cloneNode(!0),Ie),!(Ue===qe||!(Ue=Ue.nextSibling)););else{templateContainer.innerHTML=Fe==="svg"?`<svg>${xe}</svg>`:Fe==="mathml"?`<math>${xe}</math>`:xe;const Dt=templateContainer.content;if(Fe==="svg"||Fe==="mathml"){const Lt=Dt.firstChild;for(;Lt.firstChild;)Dt.appendChild(Lt.firstChild);Dt.removeChild(Lt)}$e.insertBefore(Dt,Ie)}return[At?At.nextSibling:$e.firstChild,Ie?Ie.previousSibling:$e.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(xe,{slots:$e})=>h$5(BaseTransition,resolveTransitionProps(xe),$e);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=(xe,$e=[])=>{isArray$6(xe)?xe.forEach(Ie=>Ie(...$e)):xe&&xe(...$e)},hasExplicitCallback=xe=>xe?isArray$6(xe)?xe.some($e=>$e.length>1):xe.length>1:!1;function resolveTransitionProps(xe){const $e={};for(const Rn in xe)Rn in DOMTransitionPropsValidators||($e[Rn]=xe[Rn]);if(xe.css===!1)return $e;const{name:Ie="v",type:Fe,duration:Ue,enterFromClass:qe=`${Ie}-enter-from`,enterActiveClass:At=`${Ie}-enter-active`,enterToClass:Dt=`${Ie}-enter-to`,appearFromClass:Lt=qe,appearActiveClass:jt=At,appearToClass:hn=Dt,leaveFromClass:vn=`${Ie}-leave-from`,leaveActiveClass:bn=`${Ie}-leave-active`,leaveToClass:_n=`${Ie}-leave-to`}=xe,wn=normalizeDuration(Ue),kn=wn&&wn[0],Cn=wn&&wn[1],{onBeforeEnter:Sn,onEnter:xn,onEnterCancelled:En,onLeave:Tn,onLeaveCancelled:An,onBeforeAppear:$n=Sn,onAppear:Pn=xn,onAppearCancelled:Nn=En}=$e,Mn=(Rn,Bn,Vn)=>{removeTransitionClass(Rn,Bn?hn:Dt),removeTransitionClass(Rn,Bn?jt:At),Vn&&Vn()},In=(Rn,Bn)=>{Rn._isLeaving=!1,removeTransitionClass(Rn,vn),removeTransitionClass(Rn,_n),removeTransitionClass(Rn,bn),Bn&&Bn()},On=Rn=>(Bn,Vn)=>{const Ln=Rn?Pn:xn,Dn=()=>Mn(Bn,Rn,Vn);callHook(Ln,[Bn,Dn]),nextFrame(()=>{removeTransitionClass(Bn,Rn?Lt:qe),addTransitionClass(Bn,Rn?hn:Dt),hasExplicitCallback(Ln)||whenTransitionEnds(Bn,Fe,kn,Dn)})};return extend$2($e,{onBeforeEnter(Rn){callHook(Sn,[Rn]),addTransitionClass(Rn,qe),addTransitionClass(Rn,At)},onBeforeAppear(Rn){callHook($n,[Rn]),addTransitionClass(Rn,Lt),addTransitionClass(Rn,jt)},onEnter:On(!1),onAppear:On(!0),onLeave(Rn,Bn){Rn._isLeaving=!0;const Vn=()=>In(Rn,Bn);addTransitionClass(Rn,vn),addTransitionClass(Rn,bn),forceReflow(),nextFrame(()=>{Rn._isLeaving&&(removeTransitionClass(Rn,vn),addTransitionClass(Rn,_n),hasExplicitCallback(Tn)||whenTransitionEnds(Rn,Fe,Cn,Vn))}),callHook(Tn,[Rn,Vn])},onEnterCancelled(Rn){Mn(Rn,!1),callHook(En,[Rn])},onAppearCancelled(Rn){Mn(Rn,!0),callHook(Nn,[Rn])},onLeaveCancelled(Rn){In(Rn),callHook(An,[Rn])}})}function normalizeDuration(xe){if(xe==null)return null;if(isObject$8(xe))return[NumberOf(xe.enter),NumberOf(xe.leave)];{const $e=NumberOf(xe);return[$e,$e]}}function NumberOf(xe){return toNumber$1(xe)}function addTransitionClass(xe,$e){$e.split(/\s+/).forEach(Ie=>Ie&&xe.classList.add(Ie)),(xe[vtcKey]||(xe[vtcKey]=new Set)).add($e)}function removeTransitionClass(xe,$e){$e.split(/\s+/).forEach(Fe=>Fe&&xe.classList.remove(Fe));const Ie=xe[vtcKey];Ie&&(Ie.delete($e),Ie.size||(xe[vtcKey]=void 0))}function nextFrame(xe){requestAnimationFrame(()=>{requestAnimationFrame(xe)})}let endId=0;function whenTransitionEnds(xe,$e,Ie,Fe){const Ue=xe._endId=++endId,qe=()=>{Ue===xe._endId&&Fe()};if(Ie)return setTimeout(qe,Ie);const{type:At,timeout:Dt,propCount:Lt}=getTransitionInfo(xe,$e);if(!At)return Fe();const jt=At+"end";let hn=0;const vn=()=>{xe.removeEventListener(jt,bn),qe()},bn=_n=>{_n.target===xe&&++hn>=Lt&&vn()};setTimeout(()=>{hn<Lt&&vn()},Dt+1),xe.addEventListener(jt,bn)}function getTransitionInfo(xe,$e){const Ie=window.getComputedStyle(xe),Fe=wn=>(Ie[wn]||"").split(", "),Ue=Fe(`${TRANSITION}Delay`),qe=Fe(`${TRANSITION}Duration`),At=getTimeout(Ue,qe),Dt=Fe(`${ANIMATION}Delay`),Lt=Fe(`${ANIMATION}Duration`),jt=getTimeout(Dt,Lt);let hn=null,vn=0,bn=0;$e===TRANSITION?At>0&&(hn=TRANSITION,vn=At,bn=qe.length):$e===ANIMATION?jt>0&&(hn=ANIMATION,vn=jt,bn=Lt.length):(vn=Math.max(At,jt),hn=vn>0?At>jt?TRANSITION:ANIMATION:null,bn=hn?hn===TRANSITION?qe.length:Lt.length:0);const _n=hn===TRANSITION&&/\b(transform|all)(,|$)/.test(Fe(`${TRANSITION}Property`).toString());return{type:hn,timeout:vn,propCount:bn,hasTransform:_n}}function getTimeout(xe,$e){for(;xe.length<$e.length;)xe=xe.concat(xe);return Math.max(...$e.map((Ie,Fe)=>toMs(Ie)+toMs(xe[Fe])))}function toMs(xe){return xe==="auto"?0:Number(xe.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(xe,$e,Ie){const Fe=xe[vtcKey];Fe&&($e=($e?[$e,...Fe]:[...Fe]).join(" ")),$e==null?xe.removeAttribute("class"):Ie?xe.setAttribute("class",$e):xe.className=$e}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(xe,{value:$e},{transition:Ie}){xe[vShowOriginalDisplay]=xe.style.display==="none"?"":xe.style.display,Ie&&$e?Ie.beforeEnter(xe):setDisplay(xe,$e)},mounted(xe,{value:$e},{transition:Ie}){Ie&&$e&&Ie.enter(xe)},updated(xe,{value:$e,oldValue:Ie},{transition:Fe}){!$e!=!Ie&&(Fe?$e?(Fe.beforeEnter(xe),setDisplay(xe,!0),Fe.enter(xe)):Fe.leave(xe,()=>{setDisplay(xe,!1)}):setDisplay(xe,$e))},beforeUnmount(xe,{value:$e}){setDisplay(xe,$e)}};function setDisplay(xe,$e){xe.style.display=$e?xe[vShowOriginalDisplay]:"none",xe[vShowHidden]=!$e}function initVShowForSSR(){vShow.getSSRProps=({value:xe})=>{if(!xe)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(xe){const $e=getCurrentInstance();if(!$e)return;const Ie=$e.ut=(Ue=xe($e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${$e.uid}"]`)).forEach(qe=>setVarsOnNode(qe,Ue))},Fe=()=>{const Ue=xe($e.proxy);setVarsOnVNode($e.subTree,Ue),Ie(Ue)};onMounted(()=>{watchPostEffect(Fe);const Ue=new MutationObserver(Fe);Ue.observe($e.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>Ue.disconnect())})}function setVarsOnVNode(xe,$e){if(xe.shapeFlag&128){const Ie=xe.suspense;xe=Ie.activeBranch,Ie.pendingBranch&&!Ie.isHydrating&&Ie.effects.push(()=>{setVarsOnVNode(Ie.activeBranch,$e)})}for(;xe.component;)xe=xe.component.subTree;if(xe.shapeFlag&1&&xe.el)setVarsOnNode(xe.el,$e);else if(xe.type===Fragment)xe.children.forEach(Ie=>setVarsOnVNode(Ie,$e));else if(xe.type===Static){let{el:Ie,anchor:Fe}=xe;for(;Ie&&(setVarsOnNode(Ie,$e),Ie!==Fe);)Ie=Ie.nextSibling}}function setVarsOnNode(xe,$e){if(xe.nodeType===1){const Ie=xe.style;let Fe="";for(const Ue in $e)Ie.setProperty(`--${Ue}`,$e[Ue]),Fe+=`--${Ue}: ${$e[Ue]};`;Ie[CSS_VAR_TEXT]=Fe}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(xe,$e,Ie){const Fe=xe.style,Ue=isString$4(Ie);let qe=!1;if(Ie&&!Ue){if($e)if(isString$4($e))for(const At of $e.split(";")){const Dt=At.slice(0,At.indexOf(":")).trim();Ie[Dt]==null&&setStyle(Fe,Dt,"")}else for(const At in $e)Ie[At]==null&&setStyle(Fe,At,"");for(const At in Ie)At==="display"&&(qe=!0),setStyle(Fe,At,Ie[At])}else if(Ue){if($e!==Ie){const At=Fe[CSS_VAR_TEXT];At&&(Ie+=";"+At),Fe.cssText=Ie,qe=displayRE.test(Ie)}}else $e&&xe.removeAttribute("style");vShowOriginalDisplay in xe&&(xe[vShowOriginalDisplay]=qe?Fe.display:"",xe[vShowHidden]&&(Fe.display="none"))}const importantRE=/\s*!important$/;function setStyle(xe,$e,Ie){if(isArray$6(Ie))Ie.forEach(Fe=>setStyle(xe,$e,Fe));else if(Ie==null&&(Ie=""),$e.startsWith("--"))xe.setProperty($e,Ie);else{const Fe=autoPrefix(xe,$e);importantRE.test(Ie)?xe.setProperty(hyphenate(Fe),Ie.replace(importantRE,""),"important"):xe[Fe]=Ie}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(xe,$e){const Ie=prefixCache[$e];if(Ie)return Ie;let Fe=camelize($e);if(Fe!=="filter"&&Fe in xe)return prefixCache[$e]=Fe;Fe=capitalize$1(Fe);for(let Ue=0;Ue<prefixes.length;Ue++){const qe=prefixes[Ue]+Fe;if(qe in xe)return prefixCache[$e]=qe}return $e}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(xe,$e,Ie,Fe,Ue){if(Fe&&$e.startsWith("xlink:"))Ie==null?xe.removeAttributeNS(xlinkNS,$e.slice(6,$e.length)):xe.setAttributeNS(xlinkNS,$e,Ie);else{const qe=isSpecialBooleanAttr($e);Ie==null||qe&&!includeBooleanAttr(Ie)?xe.removeAttribute($e):xe.setAttribute($e,qe?"":Ie)}}function patchDOMProp(xe,$e,Ie,Fe,Ue,qe,At){if($e==="innerHTML"||$e==="textContent"){Fe&&At(Fe,Ue,qe),xe[$e]=Ie??"";return}const Dt=xe.tagName;if($e==="value"&&Dt!=="PROGRESS"&&!Dt.includes("-")){const jt=Dt==="OPTION"?xe.getAttribute("value")||"":xe.value,hn=Ie??"";(jt!==hn||!("_value"in xe))&&(xe.value=hn),Ie==null&&xe.removeAttribute($e),xe._value=Ie;return}let Lt=!1;if(Ie===""||Ie==null){const jt=typeof xe[$e];jt==="boolean"?Ie=includeBooleanAttr(Ie):Ie==null&&jt==="string"?(Ie="",Lt=!0):jt==="number"&&(Ie=0,Lt=!0)}try{xe[$e]=Ie}catch{}Lt&&xe.removeAttribute($e)}function addEventListener$2(xe,$e,Ie,Fe){xe.addEventListener($e,Ie,Fe)}function removeEventListener$2(xe,$e,Ie,Fe){xe.removeEventListener($e,Ie,Fe)}const veiKey=Symbol("_vei");function patchEvent(xe,$e,Ie,Fe,Ue=null){const qe=xe[veiKey]||(xe[veiKey]={}),At=qe[$e];if(Fe&&At)At.value=Fe;else{const[Dt,Lt]=parseName($e);if(Fe){const jt=qe[$e]=createInvoker(Fe,Ue);addEventListener$2(xe,Dt,jt,Lt)}else At&&(removeEventListener$2(xe,Dt,At,Lt),qe[$e]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(xe){let $e;if(optionsModifierRE.test(xe)){$e={};let Fe;for(;Fe=xe.match(optionsModifierRE);)xe=xe.slice(0,xe.length-Fe[0].length),$e[Fe[0].toLowerCase()]=!0}return[xe[2]===":"?xe.slice(3):hyphenate(xe.slice(2)),$e]}let cachedNow=0;const p$3=Promise.resolve(),getNow=()=>cachedNow||(p$3.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(xe,$e){const Ie=Fe=>{if(!Fe._vts)Fe._vts=Date.now();else if(Fe._vts<=Ie.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(Fe,Ie.value),$e,5,[Fe])};return Ie.value=xe,Ie.attached=getNow(),Ie}function patchStopImmediatePropagation(xe,$e){if(isArray$6($e)){const Ie=xe.stopImmediatePropagation;return xe.stopImmediatePropagation=()=>{Ie.call(xe),xe._stopped=!0},$e.map(Fe=>Ue=>!Ue._stopped&&Fe&&Fe(Ue))}else return $e}const isNativeOn=xe=>xe.charCodeAt(0)===111&&xe.charCodeAt(1)===110&&xe.charCodeAt(2)>96&&xe.charCodeAt(2)<123,patchProp=(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt)=>{const jt=Ue==="svg";$e==="class"?patchClass(xe,Fe,jt):$e==="style"?patchStyle(xe,Ie,Fe):isOn($e)?isModelListener($e)||patchEvent(xe,$e,Ie,Fe,At):($e[0]==="."?($e=$e.slice(1),!0):$e[0]==="^"?($e=$e.slice(1),!1):shouldSetAsProp(xe,$e,Fe,jt))?patchDOMProp(xe,$e,Fe,qe,At,Dt,Lt):($e==="true-value"?xe._trueValue=Fe:$e==="false-value"&&(xe._falseValue=Fe),patchAttr(xe,$e,Fe,jt))};function shouldSetAsProp(xe,$e,Ie,Fe){if(Fe)return!!($e==="innerHTML"||$e==="textContent"||$e in xe&&isNativeOn($e)&&isFunction$5(Ie));if($e==="spellcheck"||$e==="draggable"||$e==="translate"||$e==="form"||$e==="list"&&xe.tagName==="INPUT"||$e==="type"&&xe.tagName==="TEXTAREA")return!1;if($e==="width"||$e==="height"){const Ue=xe.tagName;if(Ue==="IMG"||Ue==="VIDEO"||Ue==="CANVAS"||Ue==="SOURCE")return!1}return isNativeOn($e)&&isString$4(Ie)?!1:$e in xe}/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement(xe,$e){const Ie=defineComponent(xe);class Fe extends VueElement{constructor(qe){super(Ie,qe,$e)}}return Fe.def=Ie,Fe}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=xe=>defineCustomElement(xe,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor($e,Ie={},Fe){super(),this._def=$e,this._props=Ie,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&Fe?Fe(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,this._ob&&(this._ob.disconnect(),this._ob=null),nextTick(()=>{this._connected||(render$2(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let Fe=0;Fe<this.attributes.length;Fe++)this._setAttr(this.attributes[Fe].name);this._ob=new MutationObserver(Fe=>{for(const Ue of Fe)this._setAttr(Ue.attributeName)}),this._ob.observe(this,{attributes:!0});const $e=(Fe,Ue=!1)=>{const{props:qe,styles:At}=Fe;let Dt;if(qe&&!isArray$6(qe))for(const Lt in qe){const jt=qe[Lt];(jt===Number||jt&&jt.type===Number)&&(Lt in this._props&&(this._props[Lt]=toNumber$1(this._props[Lt])),(Dt||(Dt=Object.create(null)))[camelize(Lt)]=!0)}this._numberProps=Dt,Ue&&this._resolveProps(Fe),this._applyStyles(At),this._update()},Ie=this._def.__asyncLoader;Ie?Ie().then(Fe=>$e(Fe,!0)):$e(this._def)}_resolveProps($e){const{props:Ie}=$e,Fe=isArray$6(Ie)?Ie:Object.keys(Ie||{});for(const Ue of Object.keys(this))Ue[0]!=="_"&&Fe.includes(Ue)&&this._setProp(Ue,this[Ue],!0,!1);for(const Ue of Fe.map(camelize))Object.defineProperty(this,Ue,{get(){return this._getProp(Ue)},set(qe){this._setProp(Ue,qe)}})}_setAttr($e){let Ie=this.hasAttribute($e)?this.getAttribute($e):void 0;const Fe=camelize($e);this._numberProps&&this._numberProps[Fe]&&(Ie=toNumber$1(Ie)),this._setProp(Fe,Ie,!1)}_getProp($e){return this._props[$e]}_setProp($e,Ie,Fe=!0,Ue=!0){Ie!==this._props[$e]&&(this._props[$e]=Ie,Ue&&this._instance&&this._update(),Fe&&(Ie===!0?this.setAttribute(hyphenate($e),""):typeof Ie=="string"||typeof Ie=="number"?this.setAttribute(hyphenate($e),Ie+""):Ie||this.removeAttribute(hyphenate($e))))}_update(){render$2(this._createVNode(),this.shadowRoot)}_createVNode(){const $e=createVNode$1(this._def,extend$2({},this._props));return this._instance||($e.ce=Ie=>{this._instance=Ie,Ie.isCE=!0;const Fe=(qe,At)=>{this.dispatchEvent(new CustomEvent(qe,{detail:At}))};Ie.emit=(qe,...At)=>{Fe(qe,At),hyphenate(qe)!==qe&&Fe(hyphenate(qe),At)};let Ue=this;for(;Ue=Ue&&(Ue.parentNode||Ue.host);)if(Ue instanceof VueElement){Ie.parent=Ue._instance,Ie.provides=Ue._instance.provides;break}}),$e}_applyStyles($e){$e&&$e.forEach(Ie=>{const Fe=document.createElement("style");Fe.textContent=Ie,this.shadowRoot.appendChild(Fe)})}}function useCssModule(xe="$style"){{const $e=getCurrentInstance();if(!$e)return EMPTY_OBJ$1;const Ie=$e.type.__cssModules;if(!Ie)return EMPTY_OBJ$1;const Fe=Ie[xe];return Fe||EMPTY_OBJ$1}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=useTransitionState();let Ue,qe;return onUpdated(()=>{if(!Ue.length)return;const At=xe.moveClass||`${xe.name||"v"}-move`;if(!hasCSSTransform(Ue[0].el,Ie.vnode.el,At))return;Ue.forEach(callPendingCbs),Ue.forEach(recordPosition);const Dt=Ue.filter(applyTranslation);forceReflow(),Dt.forEach(Lt=>{const jt=Lt.el,hn=jt.style;addTransitionClass(jt,At),hn.transform=hn.webkitTransform=hn.transitionDuration="";const vn=jt[moveCbKey]=bn=>{bn&&bn.target!==jt||(!bn||/transform$/.test(bn.propertyName))&&(jt.removeEventListener("transitionend",vn),jt[moveCbKey]=null,removeTransitionClass(jt,At))};jt.addEventListener("transitionend",vn)})}),()=>{const At=toRaw(xe),Dt=resolveTransitionProps(At);let Lt=At.tag||Fragment;if(Ue=[],qe)for(let jt=0;jt<qe.length;jt++){const hn=qe[jt];hn.el&&hn.el instanceof Element&&(Ue.push(hn),setTransitionHooks(hn,resolveTransitionHooks(hn,Dt,Fe,Ie)),positionMap.set(hn,hn.el.getBoundingClientRect()))}qe=$e.default?getTransitionRawChildren($e.default()):[];for(let jt=0;jt<qe.length;jt++){const hn=qe[jt];hn.key!=null&&setTransitionHooks(hn,resolveTransitionHooks(hn,Dt,Fe,Ie))}return createVNode$1(Lt,null,qe)}}},removeMode=xe=>delete xe.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(xe){const $e=xe.el;$e[moveCbKey]&&$e[moveCbKey](),$e[enterCbKey]&&$e[enterCbKey]()}function recordPosition(xe){newPositionMap.set(xe,xe.el.getBoundingClientRect())}function applyTranslation(xe){const $e=positionMap.get(xe),Ie=newPositionMap.get(xe),Fe=$e.left-Ie.left,Ue=$e.top-Ie.top;if(Fe||Ue){const qe=xe.el.style;return qe.transform=qe.webkitTransform=`translate(${Fe}px,${Ue}px)`,qe.transitionDuration="0s",xe}}function hasCSSTransform(xe,$e,Ie){const Fe=xe.cloneNode(),Ue=xe[vtcKey];Ue&&Ue.forEach(Dt=>{Dt.split(/\s+/).forEach(Lt=>Lt&&Fe.classList.remove(Lt))}),Ie.split(/\s+/).forEach(Dt=>Dt&&Fe.classList.add(Dt)),Fe.style.display="none";const qe=$e.nodeType===1?$e:$e.parentNode;qe.appendChild(Fe);const{hasTransform:At}=getTransitionInfo(Fe);return qe.removeChild(Fe),At}const getModelAssigner=xe=>{const $e=xe.props["onUpdate:modelValue"]||!1;return isArray$6($e)?Ie=>invokeArrayFns($e,Ie):$e};function onCompositionStart(xe){xe.target.composing=!0}function onCompositionEnd(xe){const $e=xe.target;$e.composing&&($e.composing=!1,$e.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(xe,{modifiers:{lazy:$e,trim:Ie,number:Fe}},Ue){xe[assignKey]=getModelAssigner(Ue);const qe=Fe||Ue.props&&Ue.props.type==="number";addEventListener$2(xe,$e?"change":"input",At=>{if(At.target.composing)return;let Dt=xe.value;Ie&&(Dt=Dt.trim()),qe&&(Dt=looseToNumber(Dt)),xe[assignKey](Dt)}),Ie&&addEventListener$2(xe,"change",()=>{xe.value=xe.value.trim()}),$e||(addEventListener$2(xe,"compositionstart",onCompositionStart),addEventListener$2(xe,"compositionend",onCompositionEnd),addEventListener$2(xe,"change",onCompositionEnd))},mounted(xe,{value:$e}){xe.value=$e??""},beforeUpdate(xe,{value:$e,modifiers:{lazy:Ie,trim:Fe,number:Ue}},qe){if(xe[assignKey]=getModelAssigner(qe),xe.composing)return;const At=(Ue||xe.type==="number")&&!/^0\d/.test(xe.value)?looseToNumber(xe.value):xe.value,Dt=$e??"";At!==Dt&&(document.activeElement===xe&&xe.type!=="range"&&(Ie||Fe&&xe.value.trim()===Dt)||(xe.value=Dt))}},vModelCheckbox={deep:!0,created(xe,$e,Ie){xe[assignKey]=getModelAssigner(Ie),addEventListener$2(xe,"change",()=>{const Fe=xe._modelValue,Ue=getValue$2(xe),qe=xe.checked,At=xe[assignKey];if(isArray$6(Fe)){const Dt=looseIndexOf(Fe,Ue),Lt=Dt!==-1;if(qe&&!Lt)At(Fe.concat(Ue));else if(!qe&&Lt){const jt=[...Fe];jt.splice(Dt,1),At(jt)}}else if(isSet$1(Fe)){const Dt=new Set(Fe);qe?Dt.add(Ue):Dt.delete(Ue),At(Dt)}else At(getCheckboxValue(xe,qe))})},mounted:setChecked,beforeUpdate(xe,$e,Ie){xe[assignKey]=getModelAssigner(Ie),setChecked(xe,$e,Ie)}};function setChecked(xe,{value:$e,oldValue:Ie},Fe){xe._modelValue=$e,isArray$6($e)?xe.checked=looseIndexOf($e,Fe.props.value)>-1:isSet$1($e)?xe.checked=$e.has(Fe.props.value):$e!==Ie&&(xe.checked=looseEqual($e,getCheckboxValue(xe,!0)))}const vModelRadio={created(xe,{value:$e},Ie){xe.checked=looseEqual($e,Ie.props.value),xe[assignKey]=getModelAssigner(Ie),addEventListener$2(xe,"change",()=>{xe[assignKey](getValue$2(xe))})},beforeUpdate(xe,{value:$e,oldValue:Ie},Fe){xe[assignKey]=getModelAssigner(Fe),$e!==Ie&&(xe.checked=looseEqual($e,Fe.props.value))}},vModelSelect={deep:!0,created(xe,{value:$e,modifiers:{number:Ie}},Fe){const Ue=isSet$1($e);addEventListener$2(xe,"change",()=>{const qe=Array.prototype.filter.call(xe.options,At=>At.selected).map(At=>Ie?looseToNumber(getValue$2(At)):getValue$2(At));xe[assignKey](xe.multiple?Ue?new Set(qe):qe:qe[0]),xe._assigning=!0,nextTick(()=>{xe._assigning=!1})}),xe[assignKey]=getModelAssigner(Fe)},mounted(xe,{value:$e,modifiers:{number:Ie}}){setSelected(xe,$e)},beforeUpdate(xe,$e,Ie){xe[assignKey]=getModelAssigner(Ie)},updated(xe,{value:$e,modifiers:{number:Ie}}){xe._assigning||setSelected(xe,$e)}};function setSelected(xe,$e,Ie){const Fe=xe.multiple,Ue=isArray$6($e);if(!(Fe&&!Ue&&!isSet$1($e))){for(let qe=0,At=xe.options.length;qe<At;qe++){const Dt=xe.options[qe],Lt=getValue$2(Dt);if(Fe)if(Ue){const jt=typeof Lt;jt==="string"||jt==="number"?Dt.selected=$e.some(hn=>String(hn)===String(Lt)):Dt.selected=looseIndexOf($e,Lt)>-1}else Dt.selected=$e.has(Lt);else if(looseEqual(getValue$2(Dt),$e)){xe.selectedIndex!==qe&&(xe.selectedIndex=qe);return}}!Fe&&xe.selectedIndex!==-1&&(xe.selectedIndex=-1)}}function getValue$2(xe){return"_value"in xe?xe._value:xe.value}function getCheckboxValue(xe,$e){const Ie=$e?"_trueValue":"_falseValue";return Ie in xe?xe[Ie]:$e}const vModelDynamic={created(xe,$e,Ie){callModelHook(xe,$e,Ie,null,"created")},mounted(xe,$e,Ie){callModelHook(xe,$e,Ie,null,"mounted")},beforeUpdate(xe,$e,Ie,Fe){callModelHook(xe,$e,Ie,Fe,"beforeUpdate")},updated(xe,$e,Ie,Fe){callModelHook(xe,$e,Ie,Fe,"updated")}};function resolveDynamicModel(xe,$e){switch(xe){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch($e){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(xe,$e,Ie,Fe,Ue){const At=resolveDynamicModel(xe.tagName,Ie.props&&Ie.props.type)[Ue];At&&At(xe,$e,Ie,Fe)}function initVModelForSSR(){vModelText.getSSRProps=({value:xe})=>({value:xe}),vModelRadio.getSSRProps=({value:xe},$e)=>{if($e.props&&looseEqual($e.props.value,xe))return{checked:!0}},vModelCheckbox.getSSRProps=({value:xe},$e)=>{if(isArray$6(xe)){if($e.props&&looseIndexOf(xe,$e.props.value)>-1)return{checked:!0}}else if(isSet$1(xe)){if($e.props&&xe.has($e.props.value))return{checked:!0}}else if(xe)return{checked:!0}},vModelDynamic.getSSRProps=(xe,$e)=>{if(typeof $e.type!="string")return;const Ie=resolveDynamicModel($e.type.toUpperCase(),$e.props&&$e.props.type);if(Ie.getSSRProps)return Ie.getSSRProps(xe,$e)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:xe=>xe.stopPropagation(),prevent:xe=>xe.preventDefault(),self:xe=>xe.target!==xe.currentTarget,ctrl:xe=>!xe.ctrlKey,shift:xe=>!xe.shiftKey,alt:xe=>!xe.altKey,meta:xe=>!xe.metaKey,left:xe=>"button"in xe&&xe.button!==0,middle:xe=>"button"in xe&&xe.button!==1,right:xe=>"button"in xe&&xe.button!==2,exact:(xe,$e)=>systemModifiers.some(Ie=>xe[`${Ie}Key`]&&!$e.includes(Ie))},withModifiers=(xe,$e)=>{const Ie=xe._withMods||(xe._withMods={}),Fe=$e.join(".");return Ie[Fe]||(Ie[Fe]=(Ue,...qe)=>{for(let At=0;At<$e.length;At++){const Dt=modifierGuards[$e[At]];if(Dt&&Dt(Ue,$e))return}return xe(Ue,...qe)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(xe,$e)=>{const Ie=xe._withKeys||(xe._withKeys={}),Fe=$e.join(".");return Ie[Fe]||(Ie[Fe]=Ue=>{if(!("key"in Ue))return;const qe=hyphenate(Ue.key);if($e.some(At=>At===qe||keyNames[At]===qe))return xe(Ue)})},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$2=(...xe)=>{ensureRenderer().render(...xe)},hydrate=(...xe)=>{ensureHydrationRenderer().hydrate(...xe)},createApp=(...xe)=>{const $e=ensureRenderer().createApp(...xe),{mount:Ie}=$e;return $e.mount=Fe=>{const Ue=normalizeContainer(Fe);if(!Ue)return;const qe=$e._component;!isFunction$5(qe)&&!qe.render&&!qe.template&&(qe.template=Ue.innerHTML),Ue.innerHTML="";const At=Ie(Ue,!1,resolveRootNamespace(Ue));return Ue instanceof Element&&(Ue.removeAttribute("v-cloak"),Ue.setAttribute("data-v-app","")),At},$e},createSSRApp=(...xe)=>{const $e=ensureHydrationRenderer().createApp(...xe),{mount:Ie}=$e;return $e.mount=Fe=>{const Ue=normalizeContainer(Fe);if(Ue)return Ie(Ue,!0,resolveRootNamespace(Ue))},$e};function resolveRootNamespace(xe){if(xe instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&xe instanceof MathMLElement)return"mathml"}function normalizeContainer(xe){return isString$4(xe)?document.querySelector(xe):xe}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce((xe,$e)=>xe.concat($e,$e+"-"+alignments[0],$e+"-"+alignments[1]),[]),min$3=Math.min,max$3=Math.max,round$4=Math.round,floor$1=Math.floor,createCoords=xe=>({x:xe,y:xe}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$1(xe,$e,Ie){return max$3(xe,min$3($e,Ie))}function evaluate(xe,$e){return typeof xe=="function"?xe($e):xe}function getSide(xe){return xe.split("-")[0]}function getAlignment(xe){return xe.split("-")[1]}function getOppositeAxis(xe){return xe==="x"?"y":"x"}function getAxisLength(xe){return xe==="y"?"height":"width"}function getSideAxis(xe){return["top","bottom"].includes(getSide(xe))?"y":"x"}function getAlignmentAxis(xe){return getOppositeAxis(getSideAxis(xe))}function getAlignmentSides(xe,$e,Ie){Ie===void 0&&(Ie=!1);const Fe=getAlignment(xe),Ue=getAlignmentAxis(xe),qe=getAxisLength(Ue);let At=Ue==="x"?Fe===(Ie?"end":"start")?"right":"left":Fe==="start"?"bottom":"top";return $e.reference[qe]>$e.floating[qe]&&(At=getOppositePlacement(At)),[At,getOppositePlacement(At)]}function getExpandedPlacements(xe){const $e=getOppositePlacement(xe);return[getOppositeAlignmentPlacement(xe),$e,getOppositeAlignmentPlacement($e)]}function getOppositeAlignmentPlacement(xe){return xe.replace(/start|end/g,$e=>oppositeAlignmentMap[$e])}function getSideList(xe,$e,Ie){const Fe=["left","right"],Ue=["right","left"],qe=["top","bottom"],At=["bottom","top"];switch(xe){case"top":case"bottom":return Ie?$e?Ue:Fe:$e?Fe:Ue;case"left":case"right":return $e?qe:At;default:return[]}}function getOppositeAxisPlacements(xe,$e,Ie,Fe){const Ue=getAlignment(xe);let qe=getSideList(getSide(xe),Ie==="start",Fe);return Ue&&(qe=qe.map(At=>At+"-"+Ue),$e&&(qe=qe.concat(qe.map(getOppositeAlignmentPlacement)))),qe}function getOppositePlacement(xe){return xe.replace(/left|right|bottom|top/g,$e=>oppositeSideMap[$e])}function expandPaddingObject(xe){return{top:0,right:0,bottom:0,left:0,...xe}}function getPaddingObject(xe){return typeof xe!="number"?expandPaddingObject(xe):{top:xe,right:xe,bottom:xe,left:xe}}function rectToClientRect(xe){return{...xe,top:xe.y,left:xe.x,right:xe.x+xe.width,bottom:xe.y+xe.height}}function computeCoordsFromPlacement(xe,$e,Ie){let{reference:Fe,floating:Ue}=xe;const qe=getSideAxis($e),At=getAlignmentAxis($e),Dt=getAxisLength(At),Lt=getSide($e),jt=qe==="y",hn=Fe.x+Fe.width/2-Ue.width/2,vn=Fe.y+Fe.height/2-Ue.height/2,bn=Fe[Dt]/2-Ue[Dt]/2;let _n;switch(Lt){case"top":_n={x:hn,y:Fe.y-Ue.height};break;case"bottom":_n={x:hn,y:Fe.y+Fe.height};break;case"right":_n={x:Fe.x+Fe.width,y:vn};break;case"left":_n={x:Fe.x-Ue.width,y:vn};break;default:_n={x:Fe.x,y:Fe.y}}switch(getAlignment($e)){case"start":_n[At]-=bn*(Ie&&jt?-1:1);break;case"end":_n[At]+=bn*(Ie&&jt?-1:1);break}return _n}const computePosition$1=async(xe,$e,Ie)=>{const{placement:Fe="bottom",strategy:Ue="absolute",middleware:qe=[],platform:At}=Ie,Dt=qe.filter(Boolean),Lt=await(At.isRTL==null?void 0:At.isRTL($e));let jt=await At.getElementRects({reference:xe,floating:$e,strategy:Ue}),{x:hn,y:vn}=computeCoordsFromPlacement(jt,Fe,Lt),bn=Fe,_n={},wn=0;for(let kn=0;kn<Dt.length;kn++){const{name:Cn,fn:Sn}=Dt[kn],{x:xn,y:En,data:Tn,reset:An}=await Sn({x:hn,y:vn,initialPlacement:Fe,placement:bn,strategy:Ue,middlewareData:_n,rects:jt,platform:At,elements:{reference:xe,floating:$e}});hn=xn??hn,vn=En??vn,_n={..._n,[Cn]:{..._n[Cn],...Tn}},An&&wn<=50&&(wn++,typeof An=="object"&&(An.placement&&(bn=An.placement),An.rects&&(jt=An.rects===!0?await At.getElementRects({reference:xe,floating:$e,strategy:Ue}):An.rects),{x:hn,y:vn}=computeCoordsFromPlacement(jt,bn,Lt)),kn=-1)}return{x:hn,y:vn,placement:bn,strategy:Ue,middlewareData:_n}};async function detectOverflow(xe,$e){var Ie;$e===void 0&&($e={});const{x:Fe,y:Ue,platform:qe,rects:At,elements:Dt,strategy:Lt}=xe,{boundary:jt="clippingAncestors",rootBoundary:hn="viewport",elementContext:vn="floating",altBoundary:bn=!1,padding:_n=0}=evaluate($e,xe),wn=getPaddingObject(_n),Cn=Dt[bn?vn==="floating"?"reference":"floating":vn],Sn=rectToClientRect(await qe.getClippingRect({element:(Ie=await(qe.isElement==null?void 0:qe.isElement(Cn)))==null||Ie?Cn:Cn.contextElement||await(qe.getDocumentElement==null?void 0:qe.getDocumentElement(Dt.floating)),boundary:jt,rootBoundary:hn,strategy:Lt})),xn=vn==="floating"?{...At.floating,x:Fe,y:Ue}:At.reference,En=await(qe.getOffsetParent==null?void 0:qe.getOffsetParent(Dt.floating)),Tn=await(qe.isElement==null?void 0:qe.isElement(En))?await(qe.getScale==null?void 0:qe.getScale(En))||{x:1,y:1}:{x:1,y:1},An=rectToClientRect(qe.convertOffsetParentRelativeRectToViewportRelativeRect?await qe.convertOffsetParentRelativeRectToViewportRelativeRect({elements:Dt,rect:xn,offsetParent:En,strategy:Lt}):xn);return{top:(Sn.top-An.top+wn.top)/Tn.y,bottom:(An.bottom-Sn.bottom+wn.bottom)/Tn.y,left:(Sn.left-An.left+wn.left)/Tn.x,right:(An.right-Sn.right+wn.right)/Tn.x}}const arrow$1=xe=>({name:"arrow",options:xe,async fn($e){const{x:Ie,y:Fe,placement:Ue,rects:qe,platform:At,elements:Dt,middlewareData:Lt}=$e,{element:jt,padding:hn=0}=evaluate(xe,$e)||{};if(jt==null)return{};const vn=getPaddingObject(hn),bn={x:Ie,y:Fe},_n=getAlignmentAxis(Ue),wn=getAxisLength(_n),kn=await At.getDimensions(jt),Cn=_n==="y",Sn=Cn?"top":"left",xn=Cn?"bottom":"right",En=Cn?"clientHeight":"clientWidth",Tn=qe.reference[wn]+qe.reference[_n]-bn[_n]-qe.floating[wn],An=bn[_n]-qe.reference[_n],$n=await(At.getOffsetParent==null?void 0:At.getOffsetParent(jt));let Pn=$n?$n[En]:0;(!Pn||!await(At.isElement==null?void 0:At.isElement($n)))&&(Pn=Dt.floating[En]||qe.floating[wn]);const Nn=Tn/2-An/2,Mn=Pn/2-kn[wn]/2-1,In=min$3(vn[Sn],Mn),On=min$3(vn[xn],Mn),Rn=In,Bn=Pn-kn[wn]-On,Vn=Pn/2-kn[wn]/2+Nn,Ln=clamp$1(Rn,Vn,Bn),Dn=!Lt.arrow&&getAlignment(Ue)!=null&&Vn!==Ln&&qe.reference[wn]/2-(Vn<Rn?In:On)-kn[wn]/2<0,Hn=Dn?Vn<Rn?Vn-Rn:Vn-Bn:0;return{[_n]:bn[_n]+Hn,data:{[_n]:Ln,centerOffset:Vn-Ln-Hn,...Dn&&{alignmentOffset:Hn}},reset:Dn}}});function getPlacementList(xe,$e,Ie){return(xe?[...Ie.filter(Ue=>getAlignment(Ue)===xe),...Ie.filter(Ue=>getAlignment(Ue)!==xe)]:Ie.filter(Ue=>getSide(Ue)===Ue)).filter(Ue=>xe?getAlignment(Ue)===xe||($e?getOppositeAlignmentPlacement(Ue)!==Ue:!1):!0)}const autoPlacement=function(xe){return xe===void 0&&(xe={}),{name:"autoPlacement",options:xe,async fn($e){var Ie,Fe,Ue;const{rects:qe,middlewareData:At,placement:Dt,platform:Lt,elements:jt}=$e,{crossAxis:hn=!1,alignment:vn,allowedPlacements:bn=placements,autoAlignment:_n=!0,...wn}=evaluate(xe,$e),kn=vn!==void 0||bn===placements?getPlacementList(vn||null,_n,bn):bn,Cn=await detectOverflow($e,wn),Sn=((Ie=At.autoPlacement)==null?void 0:Ie.index)||0,xn=kn[Sn];if(xn==null)return{};const En=getAlignmentSides(xn,qe,await(Lt.isRTL==null?void 0:Lt.isRTL(jt.floating)));if(Dt!==xn)return{reset:{placement:kn[0]}};const Tn=[Cn[getSide(xn)],Cn[En[0]],Cn[En[1]]],An=[...((Fe=At.autoPlacement)==null?void 0:Fe.overflows)||[],{placement:xn,overflows:Tn}],$n=kn[Sn+1];if($n)return{data:{index:Sn+1,overflows:An},reset:{placement:$n}};const Pn=An.map(In=>{const On=getAlignment(In.placement);return[In.placement,On&&hn?In.overflows.slice(0,2).reduce((Rn,Bn)=>Rn+Bn,0):In.overflows[0],In.overflows]}).sort((In,On)=>In[1]-On[1]),Mn=((Ue=Pn.filter(In=>In[2].slice(0,getAlignment(In[0])?2:3).every(On=>On<=0))[0])==null?void 0:Ue[0])||Pn[0][0];return Mn!==Dt?{data:{index:Sn+1,overflows:An},reset:{placement:Mn}}:{}}}},flip$1=function(xe){return xe===void 0&&(xe={}),{name:"flip",options:xe,async fn($e){var Ie,Fe;const{placement:Ue,middlewareData:qe,rects:At,initialPlacement:Dt,platform:Lt,elements:jt}=$e,{mainAxis:hn=!0,crossAxis:vn=!0,fallbackPlacements:bn,fallbackStrategy:_n="bestFit",fallbackAxisSideDirection:wn="none",flipAlignment:kn=!0,...Cn}=evaluate(xe,$e);if((Ie=qe.arrow)!=null&&Ie.alignmentOffset)return{};const Sn=getSide(Ue),xn=getSide(Dt)===Dt,En=await(Lt.isRTL==null?void 0:Lt.isRTL(jt.floating)),Tn=bn||(xn||!kn?[getOppositePlacement(Dt)]:getExpandedPlacements(Dt));!bn&&wn!=="none"&&Tn.push(...getOppositeAxisPlacements(Dt,kn,wn,En));const An=[Dt,...Tn],$n=await detectOverflow($e,Cn),Pn=[];let Nn=((Fe=qe.flip)==null?void 0:Fe.overflows)||[];if(hn&&Pn.push($n[Sn]),vn){const Rn=getAlignmentSides(Ue,At,En);Pn.push($n[Rn[0]],$n[Rn[1]])}if(Nn=[...Nn,{placement:Ue,overflows:Pn}],!Pn.every(Rn=>Rn<=0)){var Mn,In;const Rn=(((Mn=qe.flip)==null?void 0:Mn.index)||0)+1,Bn=An[Rn];if(Bn)return{data:{index:Rn,overflows:Nn},reset:{placement:Bn}};let Vn=(In=Nn.filter(Ln=>Ln.overflows[0]<=0).sort((Ln,Dn)=>Ln.overflows[1]-Dn.overflows[1])[0])==null?void 0:In.placement;if(!Vn)switch(_n){case"bestFit":{var On;const Ln=(On=Nn.map(Dn=>[Dn.placement,Dn.overflows.filter(Hn=>Hn>0).reduce((Hn,Fn)=>Hn+Fn,0)]).sort((Dn,Hn)=>Dn[1]-Hn[1])[0])==null?void 0:On[0];Ln&&(Vn=Ln);break}case"initialPlacement":Vn=Dt;break}if(Ue!==Vn)return{reset:{placement:Vn}}}return{}}}};async function convertValueToCoords(xe,$e){const{placement:Ie,platform:Fe,elements:Ue}=xe,qe=await(Fe.isRTL==null?void 0:Fe.isRTL(Ue.floating)),At=getSide(Ie),Dt=getAlignment(Ie),Lt=getSideAxis(Ie)==="y",jt=["left","top"].includes(At)?-1:1,hn=qe&&Lt?-1:1,vn=evaluate($e,xe);let{mainAxis:bn,crossAxis:_n,alignmentAxis:wn}=typeof vn=="number"?{mainAxis:vn,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...vn};return Dt&&typeof wn=="number"&&(_n=Dt==="end"?wn*-1:wn),Lt?{x:_n*hn,y:bn*jt}:{x:bn*jt,y:_n*hn}}const offset=function(xe){return xe===void 0&&(xe=0),{name:"offset",options:xe,async fn($e){var Ie,Fe;const{x:Ue,y:qe,placement:At,middlewareData:Dt}=$e,Lt=await convertValueToCoords($e,xe);return At===((Ie=Dt.offset)==null?void 0:Ie.placement)&&(Fe=Dt.arrow)!=null&&Fe.alignmentOffset?{}:{x:Ue+Lt.x,y:qe+Lt.y,data:{...Lt,placement:At}}}}},shift$1=function(xe){return xe===void 0&&(xe={}),{name:"shift",options:xe,async fn($e){const{x:Ie,y:Fe,placement:Ue}=$e,{mainAxis:qe=!0,crossAxis:At=!1,limiter:Dt={fn:Cn=>{let{x:Sn,y:xn}=Cn;return{x:Sn,y:xn}}},...Lt}=evaluate(xe,$e),jt={x:Ie,y:Fe},hn=await detectOverflow($e,Lt),vn=getSideAxis(getSide(Ue)),bn=getOppositeAxis(vn);let _n=jt[bn],wn=jt[vn];if(qe){const Cn=bn==="y"?"top":"left",Sn=bn==="y"?"bottom":"right",xn=_n+hn[Cn],En=_n-hn[Sn];_n=clamp$1(xn,_n,En)}if(At){const Cn=vn==="y"?"top":"left",Sn=vn==="y"?"bottom":"right",xn=wn+hn[Cn],En=wn-hn[Sn];wn=clamp$1(xn,wn,En)}const kn=Dt.fn({...$e,[bn]:_n,[vn]:wn});return{...kn,data:{x:kn.x-Ie,y:kn.y-Fe}}}}},size=function(xe){return xe===void 0&&(xe={}),{name:"size",options:xe,async fn($e){const{placement:Ie,rects:Fe,platform:Ue,elements:qe}=$e,{apply:At=()=>{},...Dt}=evaluate(xe,$e),Lt=await detectOverflow($e,Dt),jt=getSide(Ie),hn=getAlignment(Ie),vn=getSideAxis(Ie)==="y",{width:bn,height:_n}=Fe.floating;let wn,kn;jt==="top"||jt==="bottom"?(wn=jt,kn=hn===(await(Ue.isRTL==null?void 0:Ue.isRTL(qe.floating))?"start":"end")?"left":"right"):(kn=jt,wn=hn==="end"?"top":"bottom");const Cn=_n-Lt[wn],Sn=bn-Lt[kn],xn=!$e.middlewareData.shift;let En=Cn,Tn=Sn;if(vn){const $n=bn-Lt.left-Lt.right;Tn=hn||xn?min$3(Sn,$n):$n}else{const $n=_n-Lt.top-Lt.bottom;En=hn||xn?min$3(Cn,$n):$n}if(xn&&!hn){const $n=max$3(Lt.left,0),Pn=max$3(Lt.right,0),Nn=max$3(Lt.top,0),Mn=max$3(Lt.bottom,0);vn?Tn=bn-2*($n!==0||Pn!==0?$n+Pn:max$3(Lt.left,Lt.right)):En=_n-2*(Nn!==0||Mn!==0?Nn+Mn:max$3(Lt.top,Lt.bottom))}await At({...$e,availableWidth:Tn,availableHeight:En});const An=await Ue.getDimensions(qe.floating);return bn!==An.width||_n!==An.height?{reset:{rects:!0}}:{}}}};function n$6(xe){var $e;return(($e=xe.ownerDocument)==null?void 0:$e.defaultView)||window}function o$5(xe){return n$6(xe).getComputedStyle(xe)}const i$8=Math.min,r$1=Math.max,l$5=Math.round;function c$6(xe){const $e=o$5(xe);let Ie=parseFloat($e.width),Fe=parseFloat($e.height);const Ue=xe.offsetWidth,qe=xe.offsetHeight,At=l$5(Ie)!==Ue||l$5(Fe)!==qe;return At&&(Ie=Ue,Fe=qe),{width:Ie,height:Fe,fallback:At}}function s$6(xe){return h$4(xe)?(xe.nodeName||"").toLowerCase():""}let f$4;function u$8(){if(f$4)return f$4;const xe=navigator.userAgentData;return xe&&Array.isArray(xe.brands)?(f$4=xe.brands.map($e=>$e.brand+"/"+$e.version).join(" "),f$4):navigator.userAgent}function a$4(xe){return xe instanceof n$6(xe).HTMLElement}function d$8(xe){return xe instanceof n$6(xe).Element}function h$4(xe){return xe instanceof n$6(xe).Node}function p$2(xe){return typeof ShadowRoot>"u"?!1:xe instanceof n$6(xe).ShadowRoot||xe instanceof ShadowRoot}function g$5(xe){const{overflow:$e,overflowX:Ie,overflowY:Fe,display:Ue}=o$5(xe);return/auto|scroll|overlay|hidden|clip/.test($e+Fe+Ie)&&!["inline","contents"].includes(Ue)}function m$7(xe){return["table","td","th"].includes(s$6(xe))}function y$5(xe){const $e=/firefox/i.test(u$8()),Ie=o$5(xe),Fe=Ie.backdropFilter||Ie.WebkitBackdropFilter;return Ie.transform!=="none"||Ie.perspective!=="none"||!!Fe&&Fe!=="none"||$e&&Ie.willChange==="filter"||$e&&!!Ie.filter&&Ie.filter!=="none"||["transform","perspective"].some(Ue=>Ie.willChange.includes(Ue))||["paint","layout","strict","content"].some(Ue=>{const qe=Ie.contain;return qe!=null&&qe.includes(Ue)})}function x$5(){return!/^((?!chrome|android).)*safari/i.test(u$8())}function w$7(xe){return["html","body","#document"].includes(s$6(xe))}function v$3(xe){return d$8(xe)?xe:xe.contextElement}const b$4={x:1,y:1};function L$3(xe){const $e=v$3(xe);if(!a$4($e))return b$4;const Ie=$e.getBoundingClientRect(),{width:Fe,height:Ue,fallback:qe}=c$6($e);let At=(qe?l$5(Ie.width):Ie.width)/Fe,Dt=(qe?l$5(Ie.height):Ie.height)/Ue;return At&&Number.isFinite(At)||(At=1),Dt&&Number.isFinite(Dt)||(Dt=1),{x:At,y:Dt}}function E$8(xe,$e,Ie,Fe){var Ue,qe;$e===void 0&&($e=!1),Ie===void 0&&(Ie=!1);const At=xe.getBoundingClientRect(),Dt=v$3(xe);let Lt=b$4;$e&&(Fe?d$8(Fe)&&(Lt=L$3(Fe)):Lt=L$3(xe));const jt=Dt?n$6(Dt):window,hn=!x$5()&&Ie;let vn=(At.left+(hn&&((Ue=jt.visualViewport)==null?void 0:Ue.offsetLeft)||0))/Lt.x,bn=(At.top+(hn&&((qe=jt.visualViewport)==null?void 0:qe.offsetTop)||0))/Lt.y,_n=At.width/Lt.x,wn=At.height/Lt.y;if(Dt){const kn=n$6(Dt),Cn=Fe&&d$8(Fe)?n$6(Fe):Fe;let Sn=kn.frameElement;for(;Sn&&Fe&&Cn!==kn;){const xn=L$3(Sn),En=Sn.getBoundingClientRect(),Tn=getComputedStyle(Sn);En.x+=(Sn.clientLeft+parseFloat(Tn.paddingLeft))*xn.x,En.y+=(Sn.clientTop+parseFloat(Tn.paddingTop))*xn.y,vn*=xn.x,bn*=xn.y,_n*=xn.x,wn*=xn.y,vn+=En.x,bn+=En.y,Sn=n$6(Sn).frameElement}}return{width:_n,height:wn,top:bn,right:vn+_n,bottom:bn+wn,left:vn,x:vn,y:bn}}function R$4(xe){return((h$4(xe)?xe.ownerDocument:xe.document)||window.document).documentElement}function T$5(xe){return d$8(xe)?{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}:{scrollLeft:xe.pageXOffset,scrollTop:xe.pageYOffset}}function C$3(xe){return E$8(R$4(xe)).left+T$5(xe).scrollLeft}function F$4(xe){if(s$6(xe)==="html")return xe;const $e=xe.assignedSlot||xe.parentNode||p$2(xe)&&xe.host||R$4(xe);return p$2($e)?$e.host:$e}function W$4(xe){const $e=F$4(xe);return w$7($e)?$e.ownerDocument.body:a$4($e)&&g$5($e)?$e:W$4($e)}function D$2(xe,$e){var Ie;$e===void 0&&($e=[]);const Fe=W$4(xe),Ue=Fe===((Ie=xe.ownerDocument)==null?void 0:Ie.body),qe=n$6(Fe);return Ue?$e.concat(qe,qe.visualViewport||[],g$5(Fe)?Fe:[]):$e.concat(Fe,D$2(Fe))}function S$5(xe,$e,Ie){return $e==="viewport"?rectToClientRect(function(Fe,Ue){const qe=n$6(Fe),At=R$4(Fe),Dt=qe.visualViewport;let Lt=At.clientWidth,jt=At.clientHeight,hn=0,vn=0;if(Dt){Lt=Dt.width,jt=Dt.height;const bn=x$5();(bn||!bn&&Ue==="fixed")&&(hn=Dt.offsetLeft,vn=Dt.offsetTop)}return{width:Lt,height:jt,x:hn,y:vn}}(xe,Ie)):d$8($e)?rectToClientRect(function(Fe,Ue){const qe=E$8(Fe,!0,Ue==="fixed"),At=qe.top+Fe.clientTop,Dt=qe.left+Fe.clientLeft,Lt=a$4(Fe)?L$3(Fe):{x:1,y:1};return{width:Fe.clientWidth*Lt.x,height:Fe.clientHeight*Lt.y,x:Dt*Lt.x,y:At*Lt.y}}($e,Ie)):rectToClientRect(function(Fe){const Ue=R$4(Fe),qe=T$5(Fe),At=Fe.ownerDocument.body,Dt=r$1(Ue.scrollWidth,Ue.clientWidth,At.scrollWidth,At.clientWidth),Lt=r$1(Ue.scrollHeight,Ue.clientHeight,At.scrollHeight,At.clientHeight);let jt=-qe.scrollLeft+C$3(Fe);const hn=-qe.scrollTop;return o$5(At).direction==="rtl"&&(jt+=r$1(Ue.clientWidth,At.clientWidth)-Dt),{width:Dt,height:Lt,x:jt,y:hn}}(R$4(xe)))}function A$5(xe){return a$4(xe)&&o$5(xe).position!=="fixed"?xe.offsetParent:null}function H$6(xe){const $e=n$6(xe);let Ie=A$5(xe);for(;Ie&&m$7(Ie)&&o$5(Ie).position==="static";)Ie=A$5(Ie);return Ie&&(s$6(Ie)==="html"||s$6(Ie)==="body"&&o$5(Ie).position==="static"&&!y$5(Ie))?$e:Ie||function(Fe){let Ue=F$4(Fe);for(;a$4(Ue)&&!w$7(Ue);){if(y$5(Ue))return Ue;Ue=F$4(Ue)}return null}(xe)||$e}function O$3(xe,$e,Ie){const Fe=a$4($e),Ue=R$4($e),qe=E$8(xe,!0,Ie==="fixed",$e);let At={scrollLeft:0,scrollTop:0};const Dt={x:0,y:0};if(Fe||!Fe&&Ie!=="fixed")if((s$6($e)!=="body"||g$5(Ue))&&(At=T$5($e)),a$4($e)){const Lt=E$8($e,!0);Dt.x=Lt.x+$e.clientLeft,Dt.y=Lt.y+$e.clientTop}else Ue&&(Dt.x=C$3(Ue));return{x:qe.left+At.scrollLeft-Dt.x,y:qe.top+At.scrollTop-Dt.y,width:qe.width,height:qe.height}}const P$5={getClippingRect:function(xe){let{element:$e,boundary:Ie,rootBoundary:Fe,strategy:Ue}=xe;const qe=Ie==="clippingAncestors"?function(jt,hn){const vn=hn.get(jt);if(vn)return vn;let bn=D$2(jt).filter(Cn=>d$8(Cn)&&s$6(Cn)!=="body"),_n=null;const wn=o$5(jt).position==="fixed";let kn=wn?F$4(jt):jt;for(;d$8(kn)&&!w$7(kn);){const Cn=o$5(kn),Sn=y$5(kn);(wn?Sn||_n:Sn||Cn.position!=="static"||!_n||!["absolute","fixed"].includes(_n.position))?_n=Cn:bn=bn.filter(xn=>xn!==kn),kn=F$4(kn)}return hn.set(jt,bn),bn}($e,this._c):[].concat(Ie),At=[...qe,Fe],Dt=At[0],Lt=At.reduce((jt,hn)=>{const vn=S$5($e,hn,Ue);return jt.top=r$1(vn.top,jt.top),jt.right=i$8(vn.right,jt.right),jt.bottom=i$8(vn.bottom,jt.bottom),jt.left=r$1(vn.left,jt.left),jt},S$5($e,Dt,Ue));return{width:Lt.right-Lt.left,height:Lt.bottom-Lt.top,x:Lt.left,y:Lt.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(xe){let{rect:$e,offsetParent:Ie,strategy:Fe}=xe;const Ue=a$4(Ie),qe=R$4(Ie);if(Ie===qe)return $e;let At={scrollLeft:0,scrollTop:0},Dt={x:1,y:1};const Lt={x:0,y:0};if((Ue||!Ue&&Fe!=="fixed")&&((s$6(Ie)!=="body"||g$5(qe))&&(At=T$5(Ie)),a$4(Ie))){const jt=E$8(Ie);Dt=L$3(Ie),Lt.x=jt.x+Ie.clientLeft,Lt.y=jt.y+Ie.clientTop}return{width:$e.width*Dt.x,height:$e.height*Dt.y,x:$e.x*Dt.x-At.scrollLeft*Dt.x+Lt.x,y:$e.y*Dt.y-At.scrollTop*Dt.y+Lt.y}},isElement:d$8,getDimensions:function(xe){return a$4(xe)?c$6(xe):xe.getBoundingClientRect()},getOffsetParent:H$6,getDocumentElement:R$4,getScale:L$3,async getElementRects(xe){let{reference:$e,floating:Ie,strategy:Fe}=xe;const Ue=this.getOffsetParent||H$6,qe=this.getDimensions;return{reference:O$3($e,await Ue(Ie),Fe),floating:{x:0,y:0,...await qe(Ie)}}},getClientRects:xe=>Array.from(xe.getClientRects()),isRTL:xe=>o$5(xe).direction==="rtl"},B$4=(xe,$e,Ie)=>{const Fe=new Map,Ue={platform:P$5,...Ie},qe={...Ue.platform,_c:Fe};return computePosition$1(xe,$e,{...Ue,platform:qe})};function ye$1(xe,$e){for(const Ie in $e)Object.prototype.hasOwnProperty.call($e,Ie)&&(typeof $e[Ie]=="object"&&xe[Ie]?ye$1(xe[Ie],$e[Ie]):xe[Ie]=$e[Ie])}const h$3={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:xe=>[...xe,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function S$4(xe,$e){let Ie=h$3.themes[xe]||{},Fe;do Fe=Ie[$e],typeof Fe>"u"?Ie.$extend?Ie=h$3.themes[Ie.$extend]||{}:(Ie=null,Fe=h$3[$e]):Ie=null;while(Ie);return Fe}function Ze$1(xe){const $e=[xe];let Ie=h$3.themes[xe]||{};do Ie.$extend&&!Ie.$resetCss?($e.push(Ie.$extend),Ie=h$3.themes[Ie.$extend]||{}):Ie=null;while(Ie);return $e.map(Fe=>`v-popper--theme-${Fe}`)}function re(xe){const $e=[xe];let Ie=h$3.themes[xe]||{};do Ie.$extend?($e.push(Ie.$extend),Ie=h$3.themes[Ie.$extend]||{}):Ie=null;while(Ie);return $e}let $$3=!1;if(typeof window<"u"){$$3=!1;try{const xe=Object.defineProperty({},"passive",{get(){$$3=!0}});window.addEventListener("test",null,xe)}catch{}}let _e=!1;typeof window<"u"&&typeof navigator<"u"&&(_e=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Te$3=["auto","top","bottom","left","right"].reduce((xe,$e)=>xe.concat([$e,`${$e}-start`,`${$e}-end`]),[]),pe$1={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ae={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function de(xe,$e){const Ie=xe.indexOf($e);Ie!==-1&&xe.splice(Ie,1)}function G$2(){return new Promise(xe=>requestAnimationFrame(()=>{requestAnimationFrame(xe)}))}const d$7=[];let g$4=null;const le={};function he$1(xe){let $e=le[xe];return $e||($e=le[xe]=[]),$e}let Y$2=function(){};typeof window<"u"&&(Y$2=window.Element);function n$5(xe){return function($e){return S$4($e.theme,xe)}}const q$3="__floating-vue__popper",Q$3=()=>defineComponent({name:"VPopper",provide(){return{[q$3]:{parentPopper:this}}},inject:{[q$3]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:n$5("disabled")},positioningDisabled:{type:Boolean,default:n$5("positioningDisabled")},placement:{type:String,default:n$5("placement"),validator:xe=>Te$3.includes(xe)},delay:{type:[String,Number,Object],default:n$5("delay")},distance:{type:[Number,String],default:n$5("distance")},skidding:{type:[Number,String],default:n$5("skidding")},triggers:{type:Array,default:n$5("triggers")},showTriggers:{type:[Array,Function],default:n$5("showTriggers")},hideTriggers:{type:[Array,Function],default:n$5("hideTriggers")},popperTriggers:{type:Array,default:n$5("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:n$5("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:n$5("popperHideTriggers")},container:{type:[String,Object,Y$2,Boolean],default:n$5("container")},boundary:{type:[String,Y$2],default:n$5("boundary")},strategy:{type:String,validator:xe=>["absolute","fixed"].includes(xe),default:n$5("strategy")},autoHide:{type:[Boolean,Function],default:n$5("autoHide")},handleResize:{type:Boolean,default:n$5("handleResize")},instantMove:{type:Boolean,default:n$5("instantMove")},eagerMount:{type:Boolean,default:n$5("eagerMount")},popperClass:{type:[String,Array,Object],default:n$5("popperClass")},computeTransformOrigin:{type:Boolean,default:n$5("computeTransformOrigin")},autoMinSize:{type:Boolean,default:n$5("autoMinSize")},autoSize:{type:[Boolean,String],default:n$5("autoSize")},autoMaxSize:{type:Boolean,default:n$5("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:n$5("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:n$5("preventOverflow")},overflowPadding:{type:[Number,String],default:n$5("overflowPadding")},arrowPadding:{type:[Number,String],default:n$5("arrowPadding")},arrowOverflow:{type:Boolean,default:n$5("arrowOverflow")},flip:{type:Boolean,default:n$5("flip")},shift:{type:Boolean,default:n$5("shift")},shiftCrossAxis:{type:Boolean,default:n$5("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:n$5("noAutoFocus")},disposeTimeout:{type:Number,default:n$5("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":xe=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(xe=>xe.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var xe;return(xe=this[q$3])==null?void 0:xe.parentPopper},hasPopperShowTriggerHover(){var xe,$e;return((xe=this.popperTriggers)==null?void 0:xe.includes("hover"))||(($e=this.popperShowTriggers)==null?void 0:$e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(xe){xe?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((xe,$e)=>(xe[$e]="$_computePosition",xe),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:xe=null,skipDelay:$e=!1,force:Ie=!1}={}){var Fe,Ue;(Fe=this.parentPopper)!=null&&Fe.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(Ie||!this.disabled)&&(((Ue=this.parentPopper)==null?void 0:Ue.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(xe,$e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:xe=null,skipDelay:$e=!1}={}){var Ie;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:$e}),this.parentPopper.lockedChild=null)},1e3));return}((Ie=this.parentPopper)==null?void 0:Ie.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(xe,$e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var xe;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((xe=this.referenceNode)==null?void 0:xe.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter($e=>$e.nodeType===$e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const xe={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&xe.middleware.push(offset({mainAxis:this.distance,crossAxis:this.skidding}));const $e=this.placement.startsWith("auto");if($e?xe.middleware.push(autoPlacement({alignment:this.placement.split("-")[1]??""})):xe.placement=this.placement,this.preventOverflow&&(this.shift&&xe.middleware.push(shift$1({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!$e&&this.flip&&xe.middleware.push(flip$1({padding:this.overflowPadding,boundary:this.boundary}))),xe.middleware.push(arrow$1({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&xe.middleware.push({name:"arrowOverflow",fn:({placement:Fe,rects:Ue,middlewareData:qe})=>{let At;const{centerOffset:Dt}=qe.arrow;return Fe.startsWith("top")||Fe.startsWith("bottom")?At=Math.abs(Dt)>Ue.reference.width/2:At=Math.abs(Dt)>Ue.reference.height/2,{data:{overflow:At}}}}),this.autoMinSize||this.autoSize){const Fe=this.autoSize?this.autoSize:this.autoMinSize?"min":null;xe.middleware.push({name:"autoSize",fn:({rects:Ue,placement:qe,middlewareData:At})=>{var Dt;if((Dt=At.autoSize)!=null&&Dt.skip)return{};let Lt,jt;return qe.startsWith("top")||qe.startsWith("bottom")?Lt=Ue.reference.width:jt=Ue.reference.height,this.$_innerNode.style[Fe==="min"?"minWidth":Fe==="max"?"maxWidth":"width"]=Lt!=null?`${Lt}px`:null,this.$_innerNode.style[Fe==="min"?"minHeight":Fe==="max"?"maxHeight":"height"]=jt!=null?`${jt}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,xe.middleware.push(size({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:Fe,availableHeight:Ue})=>{this.$_innerNode.style.maxWidth=Fe!=null?`${Fe}px`:null,this.$_innerNode.style.maxHeight=Ue!=null?`${Ue}px`:null}})));const Ie=await B$4(this.$_referenceNode,this.$_popperNode,xe);Object.assign(this.result,{x:Ie.x,y:Ie.y,placement:Ie.placement,strategy:Ie.strategy,arrow:{...Ie.middlewareData.arrow,...Ie.middlewareData.arrowOverflow}})},$_scheduleShow(xe,$e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),g$4&&this.instantMove&&g$4.instantMove&&g$4!==this.parentPopper){g$4.$_applyHide(!0),this.$_applyShow(!0);return}$e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(xe,$e=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(g$4=this),$e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(xe){const $e=this.delay;return parseInt($e&&$e[xe]||$e||0)},async $_applyShow(xe=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=xe,!this.isShown&&(this.$_ensureTeleport(),await G$2(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...D$2(this.$_referenceNode),...D$2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const $e=this.$_referenceNode.getBoundingClientRect(),Ie=this.$_popperNode.querySelector(".v-popper__wrapper"),Fe=Ie.parentNode.getBoundingClientRect(),Ue=$e.x+$e.width/2-(Fe.left+Ie.offsetLeft),qe=$e.y+$e.height/2-(Fe.top+Ie.offsetTop);this.result.transformOrigin=`${Ue}px ${qe}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const xe=this.showGroup;if(xe){let $e;for(let Ie=0;Ie<d$7.length;Ie++)$e=d$7[Ie],$e.showGroup!==xe&&($e.hide(),$e.$emit("close-group"))}d$7.push(this),document.body.classList.add("v-popper--some-open");for(const $e of re(this.theme))he$1($e).push(this),document.body.classList.add(`v-popper--some-open--${$e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await G$2(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(xe=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=xe,de(d$7,this),d$7.length===0&&document.body.classList.remove("v-popper--some-open");for(const Ie of re(this.theme)){const Fe=he$1(Ie);de(Fe,this),Fe.length===0&&document.body.classList.remove(`v-popper--some-open--${Ie}`)}g$4===this&&(g$4=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const $e=this.disposeTimeout;$e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},$e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await G$2(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let xe=this.container;if(typeof xe=="string"?xe=window.document.querySelector(xe):xe===!1&&(xe=this.$_targetNodes[0].parentNode),!xe)throw new Error("No container for popover: "+this.container);xe.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const xe=Ie=>{this.isShown&&!this.$_hideInProgress||(Ie.usedByTooltip=!0,!this.$_preventShow&&this.show({event:Ie}))};this.$_registerTriggerListeners(this.$_targetNodes,pe$1,this.triggers,this.showTriggers,xe),this.$_registerTriggerListeners([this.$_popperNode],pe$1,this.popperTriggers,this.popperShowTriggers,xe);const $e=Ie=>{Ie.usedByTooltip||this.hide({event:Ie})};this.$_registerTriggerListeners(this.$_targetNodes,ae,this.triggers,this.hideTriggers,$e),this.$_registerTriggerListeners([this.$_popperNode],ae,this.popperTriggers,this.popperHideTriggers,$e)},$_registerEventListeners(xe,$e,Ie){this.$_events.push({targetNodes:xe,eventType:$e,handler:Ie}),xe.forEach(Fe=>Fe.addEventListener($e,Ie,$$3?{passive:!0}:void 0))},$_registerTriggerListeners(xe,$e,Ie,Fe,Ue){let qe=Ie;Fe!=null&&(qe=typeof Fe=="function"?Fe(qe):Fe),qe.forEach(At=>{const Dt=$e[At];Dt&&this.$_registerEventListeners(xe,Dt,Ue)})},$_removeEventListeners(xe){const $e=[];this.$_events.forEach(Ie=>{const{targetNodes:Fe,eventType:Ue,handler:qe}=Ie;!xe||xe===Ue?Fe.forEach(At=>At.removeEventListener(Ue,qe)):$e.push(Ie)}),this.$_events=$e},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(xe,$e=!1){this.$_showFrameLocked||(this.hide({event:xe}),xe.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),$e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(xe,$e){for(const Ie of this.$_targetNodes){const Fe=Ie.getAttribute(xe);Fe&&(Ie.removeAttribute(xe),Ie.setAttribute($e,Fe))}},$_applyAttrsToTarget(xe){for(const $e of this.$_targetNodes)for(const Ie in xe){const Fe=xe[Ie];Fe==null?$e.removeAttribute(Ie):$e.setAttribute(Ie,Fe)}},$_updateParentShownChildren(xe){let $e=this.parentPopper;for(;$e;)xe?$e.shownChildren.add(this.randomId):($e.shownChildren.delete(this.randomId),$e.pendingHide&&$e.hide()),$e=$e.parentPopper},$_isAimingPopper(){const xe=this.$_referenceNode.getBoundingClientRect();if(y$4>=xe.left&&y$4<=xe.right&&_$2>=xe.top&&_$2<=xe.bottom){const $e=this.$_popperNode.getBoundingClientRect(),Ie=y$4-c$5,Fe=_$2-m$6,Ue=$e.left+$e.width/2-c$5+($e.top+$e.height/2)-m$6+$e.width+$e.height,qe=c$5+Ie*Ue,At=m$6+Fe*Ue;return C$2(c$5,m$6,qe,At,$e.left,$e.top,$e.left,$e.bottom)||C$2(c$5,m$6,qe,At,$e.left,$e.top,$e.right,$e.top)||C$2(c$5,m$6,qe,At,$e.right,$e.top,$e.right,$e.bottom)||C$2(c$5,m$6,qe,At,$e.left,$e.bottom,$e.right,$e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(_e){const xe=$$3?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",$e=>ue$1($e,!0),xe),document.addEventListener("touchend",$e=>fe$1($e,!0),xe)}else window.addEventListener("mousedown",xe=>ue$1(xe,!1),!0),window.addEventListener("click",xe=>fe$1(xe,!1),!0);window.addEventListener("resize",tt$2)}function ue$1(xe,$e){if(h$3.autoHideOnMousedown)Pe$1(xe,$e);else for(let Ie=0;Ie<d$7.length;Ie++){const Fe=d$7[Ie];try{Fe.mouseDownContains=Fe.popperNode().contains(xe.target)}catch{}}}function fe$1(xe,$e){h$3.autoHideOnMousedown||Pe$1(xe,$e)}function Pe$1(xe,$e){const Ie={};for(let Fe=d$7.length-1;Fe>=0;Fe--){const Ue=d$7[Fe];try{const qe=Ue.containsGlobalTarget=Ue.mouseDownContains||Ue.popperNode().contains(xe.target);Ue.pendingHide=!1,requestAnimationFrame(()=>{if(Ue.pendingHide=!1,!Ie[Ue.randomId]&&ce$2(Ue,qe,xe)){if(Ue.$_handleGlobalClose(xe,$e),!xe.closeAllPopover&&xe.closePopover&&qe){let Dt=Ue.parentPopper;for(;Dt;)Ie[Dt.randomId]=!0,Dt=Dt.parentPopper;return}let At=Ue.parentPopper;for(;At&&ce$2(At,At.containsGlobalTarget,xe);)At.$_handleGlobalClose(xe,$e),At=At.parentPopper}})}catch{}}}function ce$2(xe,$e,Ie){return Ie.closeAllPopover||Ie.closePopover&&$e||et$2(xe,Ie)&&!$e}function et$2(xe,$e){if(typeof xe.autoHide=="function"){const Ie=xe.autoHide($e);return xe.lastAutoHide=Ie,Ie}return xe.autoHide}function tt$2(){for(let xe=0;xe<d$7.length;xe++)d$7[xe].$_computePosition()}let c$5=0,m$6=0,y$4=0,_$2=0;typeof window<"u"&&window.addEventListener("mousemove",xe=>{c$5=y$4,m$6=_$2,y$4=xe.clientX,_$2=xe.clientY},$$3?{passive:!0}:void 0);function C$2(xe,$e,Ie,Fe,Ue,qe,At,Dt){const Lt=((At-Ue)*($e-qe)-(Dt-qe)*(xe-Ue))/((Dt-qe)*(Ie-xe)-(At-Ue)*(Fe-$e)),jt=((Ie-xe)*($e-qe)-(Fe-$e)*(xe-Ue))/((Dt-qe)*(Ie-xe)-(At-Ue)*(Fe-$e));return Lt>=0&&Lt<=1&&jt>=0&&jt<=1}const ot$2={extends:Q$3()},B$3=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};function it$2(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{ref:"reference",class:normalizeClass(["v-popper",{"v-popper--shown":xe.slotData.isShown}])},[renderSlot(xe.$slots,"default",normalizeProps(guardReactiveProps(xe.slotData)))],2)}const st$2=B$3(ot$2,[["render",it$2]]);function nt$2(){var xe=window.navigator.userAgent,$e=xe.indexOf("MSIE ");if($e>0)return parseInt(xe.substring($e+5,xe.indexOf(".",$e)),10);var Ie=xe.indexOf("Trident/");if(Ie>0){var Fe=xe.indexOf("rv:");return parseInt(xe.substring(Fe+3,xe.indexOf(".",Fe)),10)}var Ue=xe.indexOf("Edge/");return Ue>0?parseInt(xe.substring(Ue+5,xe.indexOf(".",Ue)),10):-1}let z$3;function X$3(){X$3.init||(X$3.init=!0,z$3=nt$2()!==-1)}var E$7={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){X$3(),nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const xe=document.createElement("object");this._resizeObject=xe,xe.setAttribute("aria-hidden","true"),xe.setAttribute("tabindex",-1),xe.onload=this.addResizeHandlers,xe.type="text/html",z$3&&this.$el.appendChild(xe),xe.data="about:blank",z$3||this.$el.appendChild(xe)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!z$3&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const rt$2=withScopeId();pushScopeId("data-v-b329ee4c");const pt$2={class:"resize-observer",tabindex:"-1"};popScopeId();const at$2=rt$2((xe,$e,Ie,Fe,Ue,qe)=>(openBlock(),createBlock("div",pt$2)));E$7.render=at$2;E$7.__scopeId="data-v-b329ee4c";E$7.__file="src/components/ResizeObserver.vue";const Z$2=(xe="theme")=>({computed:{themeClass(){return Ze$1(this[xe])}}}),dt$2=defineComponent({name:"VPopperContent",components:{ResizeObserver:E$7},mixins:[Z$2()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(xe){return xe!=null&&!isNaN(xe)?`${xe}px`:null}}}),lt$2=["id","aria-hidden","tabindex","data-popper-placement"],ht$2={ref:"inner",class:"v-popper__inner"},ut$2=createBaseVNode("div",{class:"v-popper__arrow-outer"},null,-1),ft$2=createBaseVNode("div",{class:"v-popper__arrow-inner"},null,-1),ct$1=[ut$2,ft$2];function mt$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("ResizeObserver");return openBlock(),createElementBlock("div",{id:xe.popperId,ref:"popover",class:normalizeClass(["v-popper__popper",[xe.themeClass,xe.classes.popperClass,{"v-popper__popper--shown":xe.shown,"v-popper__popper--hidden":!xe.shown,"v-popper__popper--show-from":xe.classes.showFrom,"v-popper__popper--show-to":xe.classes.showTo,"v-popper__popper--hide-from":xe.classes.hideFrom,"v-popper__popper--hide-to":xe.classes.hideTo,"v-popper__popper--skip-transition":xe.skipTransition,"v-popper__popper--arrow-overflow":xe.result&&xe.result.arrow.overflow,"v-popper__popper--no-positioning":!xe.result}]]),style:normalizeStyle$1(xe.result?{position:xe.result.strategy,transform:`translate3d(${Math.round(xe.result.x)}px,${Math.round(xe.result.y)}px,0)`}:void 0),"aria-hidden":xe.shown?"false":"true",tabindex:xe.autoHide?0:void 0,"data-popper-placement":xe.result?xe.result.placement:void 0,onKeyup:$e[2]||($e[2]=withKeys(Dt=>xe.autoHide&&xe.$emit("hide"),["esc"]))},[createBaseVNode("div",{class:"v-popper__backdrop",onClick:$e[0]||($e[0]=Dt=>xe.autoHide&&xe.$emit("hide"))}),createBaseVNode("div",{class:"v-popper__wrapper",style:normalizeStyle$1(xe.result?{transformOrigin:xe.result.transformOrigin}:void 0)},[createBaseVNode("div",ht$2,[xe.mounted?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",null,[renderSlot(xe.$slots,"default")]),xe.handleResize?(openBlock(),createBlock(At,{key:0,onNotify:$e[1]||($e[1]=Dt=>xe.$emit("resize",Dt))})):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],512),createBaseVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:normalizeStyle$1(xe.result?{left:xe.toPx(xe.result.arrow.x),top:xe.toPx(xe.result.arrow.y)}:void 0)},ct$1,4)],4)],46,lt$2)}const ee$1=B$3(dt$2,[["render",mt$2]]),te$1={methods:{show(...xe){return this.$refs.popper.show(...xe)},hide(...xe){return this.$refs.popper.hide(...xe)},dispose(...xe){return this.$refs.popper.dispose(...xe)},onResize(...xe){return this.$refs.popper.onResize(...xe)}}};let K$3=function(){};typeof window<"u"&&(K$3=window.Element);const gt$2=defineComponent({name:"VPopperWrapper",components:{Popper:st$2,PopperContent:ee$1},mixins:[te$1,Z$2("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,K$3,Boolean],default:void 0},boundary:{type:[String,K$3],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":xe=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(xe=>xe!==this.$refs.popperContent.$el)}}});function wt$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("PopperContent"),Dt=resolveComponent("Popper");return openBlock(),createBlock(Dt,mergeProps({ref:"popper"},xe.$props,{theme:xe.finalTheme,"target-nodes":xe.getTargetNodes,"popper-node":()=>xe.$refs.popperContent.$el,class:[xe.themeClass],onShow:$e[0]||($e[0]=()=>xe.$emit("show")),onHide:$e[1]||($e[1]=()=>xe.$emit("hide")),"onUpdate:shown":$e[2]||($e[2]=Lt=>xe.$emit("update:shown",Lt)),onApplyShow:$e[3]||($e[3]=()=>xe.$emit("apply-show")),onApplyHide:$e[4]||($e[4]=()=>xe.$emit("apply-hide")),onCloseGroup:$e[5]||($e[5]=()=>xe.$emit("close-group")),onCloseDirective:$e[6]||($e[6]=()=>xe.$emit("close-directive")),onAutoHide:$e[7]||($e[7]=()=>xe.$emit("auto-hide")),onResize:$e[8]||($e[8]=()=>xe.$emit("resize"))}),{default:withCtx(({popperId:Lt,isShown:jt,shouldMountContent:hn,skipTransition:vn,autoHide:bn,show:_n,hide:wn,handleResize:kn,onResize:Cn,classes:Sn,result:xn})=>[renderSlot(xe.$slots,"default",{shown:jt,show:_n,hide:wn}),createVNode$1(At,{ref:"popperContent","popper-id":Lt,theme:xe.finalTheme,shown:jt,mounted:hn,"skip-transition":vn,"auto-hide":bn,"handle-resize":kn,classes:Sn,result:xn,onHide:wn,onResize:Cn},{default:withCtx(()=>[renderSlot(xe.$slots,"popper",{shown:jt,hide:wn})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const k$3=B$3(gt$2,[["render",wt$2]]),Se$2={...k$3,name:"VDropdown",vPopperTheme:"dropdown"},be$1={...k$3,name:"VMenu",vPopperTheme:"menu"},Ce={...k$3,name:"VTooltip",vPopperTheme:"tooltip"},$t$2=defineComponent({name:"VTooltipDirective",components:{Popper:Q$3(),PopperContent:ee$1},mixins:[te$1],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:xe=>S$4(xe.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:xe=>S$4(xe.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(xe){if(typeof this.content=="function"&&this.$_isShown&&(xe||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const $e=++this.$_fetchId,Ie=this.content(this);Ie.then?Ie.then(Fe=>this.onResult($e,Fe)):this.onResult($e,Ie)}},onResult(xe,$e){xe===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=$e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),vt$2=["innerHTML"],yt$2=["textContent"];function _t$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("PopperContent"),Dt=resolveComponent("Popper");return openBlock(),createBlock(Dt,mergeProps({ref:"popper"},xe.$attrs,{theme:xe.theme,"target-nodes":xe.targetNodes,"popper-node":()=>xe.$refs.popperContent.$el,onApplyShow:xe.onShow,onApplyHide:xe.onHide}),{default:withCtx(({popperId:Lt,isShown:jt,shouldMountContent:hn,skipTransition:vn,autoHide:bn,hide:_n,handleResize:wn,onResize:kn,classes:Cn,result:Sn})=>[createVNode$1(At,{ref:"popperContent",class:normalizeClass({"v-popper--tooltip-loading":xe.loading}),"popper-id":Lt,theme:xe.theme,shown:jt,mounted:hn,"skip-transition":vn,"auto-hide":bn,"handle-resize":wn,classes:Cn,result:Sn,onHide:_n,onResize:kn},{default:withCtx(()=>[xe.html?(openBlock(),createElementBlock("div",{key:0,innerHTML:xe.finalContent},null,8,vt$2)):(openBlock(),createElementBlock("div",{key:1,textContent:toDisplayString(xe.finalContent)},null,8,yt$2))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const ze=B$3($t$2,[["render",_t$2]]),Ae$1="v-popper--has-tooltip";function Tt$2(xe,$e){let Ie=xe.placement;if(!Ie&&$e)for(const Fe of Te$3)$e[Fe]&&(Ie=Fe);return Ie||(Ie=S$4(xe.theme||"tooltip","placement")),Ie}function Ne(xe,$e,Ie){let Fe;const Ue=typeof $e;return Ue==="string"?Fe={content:$e}:$e&&Ue==="object"?Fe=$e:Fe={content:!1},Fe.placement=Tt$2(Fe,Ie),Fe.targetNodes=()=>[xe],Fe.referenceNode=()=>xe,Fe}let x$4,b$3,Pt=0;function St$2(){if(x$4)return;b$3=ref([]),x$4=createApp({name:"VTooltipDirectiveApp",setup(){return{directives:b$3}},render(){return this.directives.map($e=>h$5(ze,{...$e.options,shown:$e.shown||$e.options.shown,key:$e.id}))},devtools:{hide:!0}});const xe=document.createElement("div");document.body.appendChild(xe),x$4.mount(xe)}function bt$2(xe,$e,Ie){St$2();const Fe=ref(Ne(xe,$e,Ie)),Ue=ref(!1),qe={id:Pt++,options:Fe,shown:Ue};return b$3.value.push(qe),xe.classList&&xe.classList.add(Ae$1),xe.$_popper={options:Fe,item:qe,show(){Ue.value=!0},hide(){Ue.value=!1}}}function He$1(xe){if(xe.$_popper){const $e=b$3.value.indexOf(xe.$_popper.item);$e!==-1&&b$3.value.splice($e,1),delete xe.$_popper,delete xe.$_popperOldShown,delete xe.$_popperMountTarget}xe.classList&&xe.classList.remove(Ae$1)}function me$2(xe,{value:$e,modifiers:Ie}){const Fe=Ne(xe,$e,Ie);if(!Fe.content||S$4(Fe.theme||"tooltip","disabled"))He$1(xe);else{let Ue;xe.$_popper?(Ue=xe.$_popper,Ue.options.value=Fe):Ue=bt$2(xe,$e,Ie),typeof $e.shown<"u"&&$e.shown!==xe.$_popperOldShown&&(xe.$_popperOldShown=$e.shown,$e.shown?Ue.show():Ue.hide())}}const oe={beforeMount:me$2,updated:me$2,beforeUnmount(xe){He$1(xe)}};function ge$2(xe){xe.addEventListener("mousedown",H$5),xe.addEventListener("click",H$5),xe.addEventListener("touchstart",Oe,$$3?{passive:!0}:!1)}function we$1(xe){xe.removeEventListener("mousedown",H$5),xe.removeEventListener("click",H$5),xe.removeEventListener("touchstart",Oe),xe.removeEventListener("touchend",Me$1),xe.removeEventListener("touchcancel",Be$1)}function H$5(xe){const $e=xe.currentTarget;xe.closePopover=!$e.$_vclosepopover_touch,xe.closeAllPopover=$e.$_closePopoverModifiers&&!!$e.$_closePopoverModifiers.all}function Oe(xe){if(xe.changedTouches.length===1){const $e=xe.currentTarget;$e.$_vclosepopover_touch=!0;const Ie=xe.changedTouches[0];$e.$_vclosepopover_touchPoint=Ie,$e.addEventListener("touchend",Me$1),$e.addEventListener("touchcancel",Be$1)}}function Me$1(xe){const $e=xe.currentTarget;if($e.$_vclosepopover_touch=!1,xe.changedTouches.length===1){const Ie=xe.changedTouches[0],Fe=$e.$_vclosepopover_touchPoint;xe.closePopover=Math.abs(Ie.screenY-Fe.screenY)<20&&Math.abs(Ie.screenX-Fe.screenX)<20,xe.closeAllPopover=$e.$_closePopoverModifiers&&!!$e.$_closePopoverModifiers.all}}function Be$1(xe){const $e=xe.currentTarget;$e.$_vclosepopover_touch=!1}const ie={beforeMount(xe,{value:$e,modifiers:Ie}){xe.$_closePopoverModifiers=Ie,(typeof $e>"u"||$e)&&ge$2(xe)},updated(xe,{value:$e,oldValue:Ie,modifiers:Fe}){xe.$_closePopoverModifiers=Fe,$e!==Ie&&(typeof $e>"u"||$e?ge$2(xe):we$1(xe))},beforeUnmount(xe){we$1(xe)}};function Ct$2(xe,$e={}){xe.$_vTooltipInstalled||(xe.$_vTooltipInstalled=!0,ye$1(h$3,$e),xe.directive("tooltip",oe),xe.directive("close-popper",ie),xe.component("VTooltip",Ce),xe.component("VDropdown",Se$2),xe.component("VMenu",be$1))}const Gt$1={version:"5.2.2",install:Ct$2,options:h$3},matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(xe,$e,Ie,Fe="")=>{const Ue=xe.split(":");if(xe.slice(0,1)==="@"){if(Ue.length<2||Ue.length>3)return null;Fe=Ue.shift().slice(1)}if(Ue.length>3||!Ue.length)return null;if(Ue.length>1){const Dt=Ue.pop(),Lt=Ue.pop(),jt={provider:Ue.length>0?Ue[0]:Fe,prefix:Lt,name:Dt};return $e&&!validateIconName(jt)?null:jt}const qe=Ue[0],At=qe.split("-");if(At.length>1){const Dt={provider:Fe,prefix:At.shift(),name:At.join("-")};return $e&&!validateIconName(Dt)?null:Dt}if(Ie&&Fe===""){const Dt={provider:Fe,prefix:"",name:qe};return $e&&!validateIconName(Dt,Ie)?null:Dt}return null},validateIconName=(xe,$e)=>xe?!!((xe.provider===""||xe.provider.match(matchIconName))&&($e&&xe.prefix===""||xe.prefix.match(matchIconName))&&xe.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(xe,$e){const Ie={};!xe.hFlip!=!$e.hFlip&&(Ie.hFlip=!0),!xe.vFlip!=!$e.vFlip&&(Ie.vFlip=!0);const Fe=((xe.rotate||0)+($e.rotate||0))%4;return Fe&&(Ie.rotate=Fe),Ie}function mergeIconData(xe,$e){const Ie=mergeIconTransformations(xe,$e);for(const Fe in defaultExtendedIconProps)Fe in defaultIconTransformations?Fe in xe&&!(Fe in Ie)&&(Ie[Fe]=defaultIconTransformations[Fe]):Fe in $e?Ie[Fe]=$e[Fe]:Fe in xe&&(Ie[Fe]=xe[Fe]);return Ie}function getIconsTree(xe,$e){const Ie=xe.icons,Fe=xe.aliases||Object.create(null),Ue=Object.create(null);function qe(At){if(Ie[At])return Ue[At]=[];if(!(At in Ue)){Ue[At]=null;const Dt=Fe[At]&&Fe[At].parent,Lt=Dt&&qe(Dt);Lt&&(Ue[At]=[Dt].concat(Lt))}return Ue[At]}return Object.keys(Ie).concat(Object.keys(Fe)).forEach(qe),Ue}function internalGetIconData(xe,$e,Ie){const Fe=xe.icons,Ue=xe.aliases||Object.create(null);let qe={};function At(Dt){qe=mergeIconData(Fe[Dt]||Ue[Dt],qe)}return At($e),Ie.forEach(At),mergeIconData(xe,qe)}function parseIconSet(xe,$e){const Ie=[];if(typeof xe!="object"||typeof xe.icons!="object")return Ie;xe.not_found instanceof Array&&xe.not_found.forEach(Ue=>{$e(Ue,null),Ie.push(Ue)});const Fe=getIconsTree(xe);for(const Ue in Fe){const qe=Fe[Ue];qe&&($e(Ue,internalGetIconData(xe,Ue,qe)),Ie.push(Ue))}return Ie}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(xe,$e){for(const Ie in $e)if(Ie in xe&&typeof xe[Ie]!=typeof $e[Ie])return!1;return!0}function quicklyValidateIconSet(xe){if(typeof xe!="object"||xe===null)return null;const $e=xe;if(typeof $e.prefix!="string"||!xe.icons||typeof xe.icons!="object"||!checkOptionalProps(xe,optionalPropertyDefaults))return null;const Ie=$e.icons;for(const Ue in Ie){const qe=Ie[Ue];if(!Ue.match(matchIconName)||typeof qe.body!="string"||!checkOptionalProps(qe,defaultExtendedIconProps))return null}const Fe=$e.aliases||Object.create(null);for(const Ue in Fe){const qe=Fe[Ue],At=qe.parent;if(!Ue.match(matchIconName)||typeof At!="string"||!Ie[At]&&!Fe[At]||!checkOptionalProps(qe,defaultExtendedIconProps))return null}return $e}const dataStorage=Object.create(null);function newStorage(xe,$e){return{provider:xe,prefix:$e,icons:Object.create(null),missing:new Set}}function getStorage(xe,$e){const Ie=dataStorage[xe]||(dataStorage[xe]=Object.create(null));return Ie[$e]||(Ie[$e]=newStorage(xe,$e))}function addIconSet(xe,$e){return quicklyValidateIconSet($e)?parseIconSet($e,(Ie,Fe)=>{Fe?xe.icons[Ie]=Fe:xe.missing.add(Ie)}):[]}function addIconToStorage(xe,$e,Ie){try{if(typeof Ie.body=="string")return xe.icons[$e]={...Ie},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(xe){return typeof xe=="boolean"&&(simpleNames=xe),simpleNames}function getIconData(xe){const $e=typeof xe=="string"?stringToIcon(xe,!0,simpleNames):xe;if($e){const Ie=getStorage($e.provider,$e.prefix),Fe=$e.name;return Ie.icons[Fe]||(Ie.missing.has(Fe)?null:void 0)}}function addIcon(xe,$e){const Ie=stringToIcon(xe,!0,simpleNames);if(!Ie)return!1;const Fe=getStorage(Ie.provider,Ie.prefix);return addIconToStorage(Fe,Ie.name,$e)}function addCollection(xe,$e){if(typeof xe!="object")return!1;if(typeof $e!="string"&&($e=xe.provider||""),simpleNames&&!$e&&!xe.prefix){let Ue=!1;return quicklyValidateIconSet(xe)&&(xe.prefix="",parseIconSet(xe,(qe,At)=>{At&&addIcon(qe,At)&&(Ue=!0)})),Ue}const Ie=xe.prefix;if(!validateIconName({provider:$e,prefix:Ie,name:"a"}))return!1;const Fe=getStorage($e,Ie);return!!addIconSet(Fe,xe)}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(xe,$e,Ie){if($e===1)return xe;if(Ie=Ie||100,typeof xe=="number")return Math.ceil(xe*$e*Ie)/Ie;if(typeof xe!="string")return xe;const Fe=xe.split(unitsSplit);if(Fe===null||!Fe.length)return xe;const Ue=[];let qe=Fe.shift(),At=unitsTest.test(qe);for(;;){if(At){const Dt=parseFloat(qe);isNaN(Dt)?Ue.push(qe):Ue.push(Math.ceil(Dt*$e*Ie)/Ie)}else Ue.push(qe);if(qe=Fe.shift(),qe===void 0)return Ue.join("");At=!At}}function splitSVGDefs(xe,$e="defs"){let Ie="";const Fe=xe.indexOf("<"+$e);for(;Fe>=0;){const Ue=xe.indexOf(">",Fe),qe=xe.indexOf("</"+$e);if(Ue===-1||qe===-1)break;const At=xe.indexOf(">",qe);if(At===-1)break;Ie+=xe.slice(Ue+1,qe).trim(),xe=xe.slice(0,Fe).trim()+xe.slice(At+1)}return{defs:Ie,content:xe}}function mergeDefsAndContent(xe,$e){return xe?"<defs>"+xe+"</defs>"+$e:$e}function wrapSVGContent(xe,$e,Ie){const Fe=splitSVGDefs(xe);return mergeDefsAndContent(Fe.defs,$e+Fe.content+Ie)}const isUnsetKeyword=xe=>xe==="unset"||xe==="undefined"||xe==="none";function iconToSVG(xe,$e){const Ie={...defaultIconProps,...xe},Fe={...defaultIconCustomisations,...$e},Ue={left:Ie.left,top:Ie.top,width:Ie.width,height:Ie.height};let qe=Ie.body;[Ie,Fe].forEach(kn=>{const Cn=[],Sn=kn.hFlip,xn=kn.vFlip;let En=kn.rotate;Sn?xn?En+=2:(Cn.push("translate("+(Ue.width+Ue.left).toString()+" "+(0-Ue.top).toString()+")"),Cn.push("scale(-1 1)"),Ue.top=Ue.left=0):xn&&(Cn.push("translate("+(0-Ue.left).toString()+" "+(Ue.height+Ue.top).toString()+")"),Cn.push("scale(1 -1)"),Ue.top=Ue.left=0);let Tn;switch(En<0&&(En-=Math.floor(En/4)*4),En=En%4,En){case 1:Tn=Ue.height/2+Ue.top,Cn.unshift("rotate(90 "+Tn.toString()+" "+Tn.toString()+")");break;case 2:Cn.unshift("rotate(180 "+(Ue.width/2+Ue.left).toString()+" "+(Ue.height/2+Ue.top).toString()+")");break;case 3:Tn=Ue.width/2+Ue.left,Cn.unshift("rotate(-90 "+Tn.toString()+" "+Tn.toString()+")");break}En%2===1&&(Ue.left!==Ue.top&&(Tn=Ue.left,Ue.left=Ue.top,Ue.top=Tn),Ue.width!==Ue.height&&(Tn=Ue.width,Ue.width=Ue.height,Ue.height=Tn)),Cn.length&&(qe=wrapSVGContent(qe,'<g transform="'+Cn.join(" ")+'">',"</g>"))});const At=Fe.width,Dt=Fe.height,Lt=Ue.width,jt=Ue.height;let hn,vn;At===null?(vn=Dt===null?"1em":Dt==="auto"?jt:Dt,hn=calculateSize(vn,Lt/jt)):(hn=At==="auto"?Lt:At,vn=Dt===null?calculateSize(hn,jt/Lt):Dt==="auto"?jt:Dt);const bn={},_n=(kn,Cn)=>{isUnsetKeyword(Cn)||(bn[kn]=Cn.toString())};_n("width",hn),_n("height",vn);const wn=[Ue.left,Ue.top,Lt,jt];return bn.viewBox=wn.join(" "),{attributes:bn,viewBox:wn,body:qe}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(xe,$e=randomPrefix){const Ie=[];let Fe;for(;Fe=regex.exec(xe);)Ie.push(Fe[1]);if(!Ie.length)return xe;const Ue="suffix"+(Math.random()*16777216|Date.now()).toString(16);return Ie.forEach(qe=>{const At=typeof $e=="function"?$e(qe):$e+(counter++).toString(),Dt=qe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");xe=xe.replace(new RegExp('([#;"])('+Dt+')([")]|\\.[a-z])',"g"),"$1"+At+Ue+"$3")}),xe=xe.replace(new RegExp(Ue,"g"),""),xe}const storage$1=Object.create(null);function setAPIModule(xe,$e){storage$1[xe]=$e}function getAPIModule(xe){return storage$1[xe]||storage$1[""]}function createAPIConfig(xe){let $e;if(typeof xe.resources=="string")$e=[xe.resources];else if($e=xe.resources,!($e instanceof Array)||!$e.length)return null;return{resources:$e,path:xe.path||"/",maxURL:xe.maxURL||500,rotate:xe.rotate||750,timeout:xe.timeout||5e3,random:xe.random===!0,index:xe.index||0,dataAfterTimeout:xe.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(xe,$e){const Ie=createAPIConfig($e);return Ie===null?!1:(configStorage[xe]=Ie,!0)}function getAPIConfig(xe){return configStorage[xe]}const detectFetch=()=>{let xe;try{if(xe=fetch,typeof xe=="function")return xe}catch{}};let fetchModule=detectFetch();function calculateMaxLength(xe,$e){const Ie=getAPIConfig(xe);if(!Ie)return 0;let Fe;if(!Ie.maxURL)Fe=0;else{let Ue=0;Ie.resources.forEach(At=>{Ue=Math.max(Ue,At.length)});const qe=$e+".json?icons=";Fe=Ie.maxURL-Ue-Ie.path.length-qe.length}return Fe}function shouldAbort(xe){return xe===404}const prepare$1=(xe,$e,Ie)=>{const Fe=[],Ue=calculateMaxLength(xe,$e),qe="icons";let At={type:qe,provider:xe,prefix:$e,icons:[]},Dt=0;return Ie.forEach((Lt,jt)=>{Dt+=Lt.length+1,Dt>=Ue&&jt>0&&(Fe.push(At),At={type:qe,provider:xe,prefix:$e,icons:[]},Dt=Lt.length),At.icons.push(Lt)}),Fe.push(At),Fe};function getPath(xe){if(typeof xe=="string"){const $e=getAPIConfig(xe);if($e)return $e.path}return"/"}const send=(xe,$e,Ie)=>{if(!fetchModule){Ie("abort",424);return}let Fe=getPath($e.provider);switch($e.type){case"icons":{const qe=$e.prefix,Dt=$e.icons.join(","),Lt=new URLSearchParams({icons:Dt});Fe+=qe+".json?"+Lt.toString();break}case"custom":{const qe=$e.uri;Fe+=qe.slice(0,1)==="/"?qe.slice(1):qe;break}default:Ie("abort",400);return}let Ue=503;fetchModule(xe+Fe).then(qe=>{const At=qe.status;if(At!==200){setTimeout(()=>{Ie(shouldAbort(At)?"abort":"next",At)});return}return Ue=501,qe.json()}).then(qe=>{if(typeof qe!="object"||qe===null){setTimeout(()=>{qe===404?Ie("abort",qe):Ie("next",Ue)});return}setTimeout(()=>{Ie("success",qe)})}).catch(()=>{Ie("next",Ue)})},fetchAPIModule={prepare:prepare$1,send};function sortIcons(xe){const $e={loaded:[],missing:[],pending:[]},Ie=Object.create(null);xe.sort((Ue,qe)=>Ue.provider!==qe.provider?Ue.provider.localeCompare(qe.provider):Ue.prefix!==qe.prefix?Ue.prefix.localeCompare(qe.prefix):Ue.name.localeCompare(qe.name));let Fe={provider:"",prefix:"",name:""};return xe.forEach(Ue=>{if(Fe.name===Ue.name&&Fe.prefix===Ue.prefix&&Fe.provider===Ue.provider)return;Fe=Ue;const qe=Ue.provider,At=Ue.prefix,Dt=Ue.name,Lt=Ie[qe]||(Ie[qe]=Object.create(null)),jt=Lt[At]||(Lt[At]=getStorage(qe,At));let hn;Dt in jt.icons?hn=$e.loaded:At===""||jt.missing.has(Dt)?hn=$e.missing:hn=$e.pending;const vn={provider:qe,prefix:At,name:Dt};hn.push(vn)}),$e}function removeCallback(xe,$e){xe.forEach(Ie=>{const Fe=Ie.loaderCallbacks;Fe&&(Ie.loaderCallbacks=Fe.filter(Ue=>Ue.id!==$e))})}function updateCallbacks(xe){xe.pendingCallbacksFlag||(xe.pendingCallbacksFlag=!0,setTimeout(()=>{xe.pendingCallbacksFlag=!1;const $e=xe.loaderCallbacks?xe.loaderCallbacks.slice(0):[];if(!$e.length)return;let Ie=!1;const Fe=xe.provider,Ue=xe.prefix;$e.forEach(qe=>{const At=qe.icons,Dt=At.pending.length;At.pending=At.pending.filter(Lt=>{if(Lt.prefix!==Ue)return!0;const jt=Lt.name;if(xe.icons[jt])At.loaded.push({provider:Fe,prefix:Ue,name:jt});else if(xe.missing.has(jt))At.missing.push({provider:Fe,prefix:Ue,name:jt});else return Ie=!0,!0;return!1}),At.pending.length!==Dt&&(Ie||removeCallback([xe],qe.id),qe.callback(At.loaded.slice(0),At.missing.slice(0),At.pending.slice(0),qe.abort))})}))}let idCounter=0;function storeCallback(xe,$e,Ie){const Fe=idCounter++,Ue=removeCallback.bind(null,Ie,Fe);if(!$e.pending.length)return Ue;const qe={id:Fe,icons:$e,callback:xe,abort:Ue};return Ie.forEach(At=>{(At.loaderCallbacks||(At.loaderCallbacks=[])).push(qe)}),Ue}function listToIcons(xe,$e=!0,Ie=!1){const Fe=[];return xe.forEach(Ue=>{const qe=typeof Ue=="string"?stringToIcon(Ue,$e,Ie):Ue;qe&&Fe.push(qe)}),Fe}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(xe,$e,Ie,Fe){const Ue=xe.resources.length,qe=xe.random?Math.floor(Math.random()*Ue):xe.index;let At;if(xe.random){let $n=xe.resources.slice(0);for(At=[];$n.length>1;){const Pn=Math.floor(Math.random()*$n.length);At.push($n[Pn]),$n=$n.slice(0,Pn).concat($n.slice(Pn+1))}At=At.concat($n)}else At=xe.resources.slice(qe).concat(xe.resources.slice(0,qe));const Dt=Date.now();let Lt="pending",jt=0,hn,vn=null,bn=[],_n=[];typeof Fe=="function"&&_n.push(Fe);function wn(){vn&&(clearTimeout(vn),vn=null)}function kn(){Lt==="pending"&&(Lt="aborted"),wn(),bn.forEach($n=>{$n.status==="pending"&&($n.status="aborted")}),bn=[]}function Cn($n,Pn){Pn&&(_n=[]),typeof $n=="function"&&_n.push($n)}function Sn(){return{startTime:Dt,payload:$e,status:Lt,queriesSent:jt,queriesPending:bn.length,subscribe:Cn,abort:kn}}function xn(){Lt="failed",_n.forEach($n=>{$n(void 0,hn)})}function En(){bn.forEach($n=>{$n.status==="pending"&&($n.status="aborted")}),bn=[]}function Tn($n,Pn,Nn){const Mn=Pn!=="success";switch(bn=bn.filter(In=>In!==$n),Lt){case"pending":break;case"failed":if(Mn||!xe.dataAfterTimeout)return;break;default:return}if(Pn==="abort"){hn=Nn,xn();return}if(Mn){hn=Nn,bn.length||(At.length?An():xn());return}if(wn(),En(),!xe.random){const In=xe.resources.indexOf($n.resource);In!==-1&&In!==xe.index&&(xe.index=In)}Lt="completed",_n.forEach(In=>{In(Nn)})}function An(){if(Lt!=="pending")return;wn();const $n=At.shift();if($n===void 0){if(bn.length){vn=setTimeout(()=>{wn(),Lt==="pending"&&(En(),xn())},xe.timeout);return}xn();return}const Pn={status:"pending",resource:$n,callback:(Nn,Mn)=>{Tn(Pn,Nn,Mn)}};bn.push(Pn),jt++,vn=setTimeout(An,xe.rotate),Ie($n,$e,Pn.callback)}return setTimeout(An),Sn}function initRedundancy(xe){const $e={...defaultConfig,...xe};let Ie=[];function Fe(){Ie=Ie.filter(Dt=>Dt().status==="pending")}function Ue(Dt,Lt,jt){const hn=sendQuery($e,Dt,Lt,(vn,bn)=>{Fe(),jt&&jt(vn,bn)});return Ie.push(hn),hn}function qe(Dt){return Ie.find(Lt=>Dt(Lt))||null}return{query:Ue,find:qe,setIndex:Dt=>{$e.index=Dt},getIndex:()=>$e.index,cleanup:Fe}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(xe){if(!redundancyCache[xe]){const $e=getAPIConfig(xe);if(!$e)return;const Ie=initRedundancy($e),Fe={config:$e,redundancy:Ie};redundancyCache[xe]=Fe}return redundancyCache[xe]}function sendAPIQuery(xe,$e,Ie){let Fe,Ue;if(typeof xe=="string"){const qe=getAPIModule(xe);if(!qe)return Ie(void 0,424),emptyCallback$1;Ue=qe.send;const At=getRedundancyCache(xe);At&&(Fe=At.redundancy)}else{const qe=createAPIConfig(xe);if(qe){Fe=initRedundancy(qe);const At=xe.resources?xe.resources[0]:"",Dt=getAPIModule(At);Dt&&(Ue=Dt.send)}}return!Fe||!Ue?(Ie(void 0,424),emptyCallback$1):Fe.query($e,Ue,Ie)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168,browserStorageLimit=50;function getStoredItem(xe,$e){try{return xe.getItem($e)}catch{}}function setStoredItem(xe,$e,Ie){try{return xe.setItem($e,Ie),!0}catch{}}function removeStoredItem(xe,$e){try{xe.removeItem($e)}catch{}}function setBrowserStorageItemsCount(xe,$e){return setStoredItem(xe,browserCacheCountKey,$e.toString())}function getBrowserStorageItemsCount(xe){return parseInt(getStoredItem(xe,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(xe){browserStorageStatus=xe}let _window=typeof window>"u"?{}:window;function getBrowserStorage(xe){const $e=xe+"Storage";try{if(_window&&_window[$e]&&typeof _window[$e].length=="number")return _window[$e]}catch{}browserStorageConfig[xe]=!1}function iterateBrowserStorage(xe,$e){const Ie=getBrowserStorage(xe);if(!Ie)return;const Fe=getStoredItem(Ie,browserCacheVersionKey);if(Fe!==browserCacheVersion){if(Fe){const Dt=getBrowserStorageItemsCount(Ie);for(let Lt=0;Lt<Dt;Lt++)removeStoredItem(Ie,browserCachePrefix+Lt.toString())}setStoredItem(Ie,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(Ie,0);return}const Ue=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,qe=Dt=>{const Lt=browserCachePrefix+Dt.toString(),jt=getStoredItem(Ie,Lt);if(typeof jt=="string"){try{const hn=JSON.parse(jt);if(typeof hn=="object"&&typeof hn.cached=="number"&&hn.cached>Ue&&typeof hn.provider=="string"&&typeof hn.data=="object"&&typeof hn.data.prefix=="string"&&$e(hn,Dt))return!0}catch{}removeStoredItem(Ie,Lt)}};let At=getBrowserStorageItemsCount(Ie);for(let Dt=At-1;Dt>=0;Dt--)qe(Dt)||(Dt===At-1?(At--,setBrowserStorageItemsCount(Ie,At)):browserStorageEmptyItems[xe].add(Dt))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const xe in browserStorageConfig)iterateBrowserStorage(xe,$e=>{const Ie=$e.data,Fe=$e.provider,Ue=Ie.prefix,qe=getStorage(Fe,Ue);if(!addIconSet(qe,Ie).length)return!1;const At=Ie.lastModified||-1;return qe.lastModifiedCached=qe.lastModifiedCached?Math.min(qe.lastModifiedCached,At):At,!0})}}function updateLastModified(xe,$e){const Ie=xe.lastModifiedCached;if(Ie&&Ie>=$e)return Ie===$e;if(xe.lastModifiedCached=$e,Ie)for(const Fe in browserStorageConfig)iterateBrowserStorage(Fe,Ue=>{const qe=Ue.data;return Ue.provider!==xe.provider||qe.prefix!==xe.prefix||qe.lastModified===$e});return!0}function storeInBrowserStorage(xe,$e){browserStorageStatus||initBrowserStorage();function Ie(Fe){let Ue;if(!browserStorageConfig[Fe]||!(Ue=getBrowserStorage(Fe)))return;const qe=browserStorageEmptyItems[Fe];let At;if(qe.size)qe.delete(At=Array.from(qe).shift());else if(At=getBrowserStorageItemsCount(Ue),At>=browserStorageLimit||!setBrowserStorageItemsCount(Ue,At+1))return;const Dt={cached:Math.floor(Date.now()/browserStorageHour),provider:xe.provider,data:$e};return setStoredItem(Ue,browserCachePrefix+At.toString(),JSON.stringify(Dt))}$e.lastModified&&!updateLastModified(xe,$e.lastModified)||Object.keys($e.icons).length&&($e.not_found&&($e=Object.assign({},$e),delete $e.not_found),Ie("local")||Ie("session"))}function emptyCallback(){}function loadedNewIcons(xe){xe.iconsLoaderFlag||(xe.iconsLoaderFlag=!0,setTimeout(()=>{xe.iconsLoaderFlag=!1,updateCallbacks(xe)}))}function loadNewIcons(xe,$e){xe.iconsToLoad?xe.iconsToLoad=xe.iconsToLoad.concat($e).sort():xe.iconsToLoad=$e,xe.iconsQueueFlag||(xe.iconsQueueFlag=!0,setTimeout(()=>{xe.iconsQueueFlag=!1;const{provider:Ie,prefix:Fe}=xe,Ue=xe.iconsToLoad;delete xe.iconsToLoad;let qe;if(!Ue||!(qe=getAPIModule(Ie)))return;qe.prepare(Ie,Fe,Ue).forEach(Dt=>{sendAPIQuery(Ie,Dt,Lt=>{if(typeof Lt!="object")Dt.icons.forEach(jt=>{xe.missing.add(jt)});else try{const jt=addIconSet(xe,Lt);if(!jt.length)return;const hn=xe.pendingIcons;hn&&jt.forEach(vn=>{hn.delete(vn)}),storeInBrowserStorage(xe,Lt)}catch(jt){console.error(jt)}loadedNewIcons(xe)})})}))}const loadIcons=(xe,$e)=>{const Ie=listToIcons(xe,!0,allowSimpleNames()),Fe=sortIcons(Ie);if(!Fe.pending.length){let Lt=!0;return $e&&setTimeout(()=>{Lt&&$e(Fe.loaded,Fe.missing,Fe.pending,emptyCallback)}),()=>{Lt=!1}}const Ue=Object.create(null),qe=[];let At,Dt;return Fe.pending.forEach(Lt=>{const{provider:jt,prefix:hn}=Lt;if(hn===Dt&&jt===At)return;At=jt,Dt=hn,qe.push(getStorage(jt,hn));const vn=Ue[jt]||(Ue[jt]=Object.create(null));vn[hn]||(vn[hn]=[])}),Fe.pending.forEach(Lt=>{const{provider:jt,prefix:hn,name:vn}=Lt,bn=getStorage(jt,hn),_n=bn.pendingIcons||(bn.pendingIcons=new Set);_n.has(vn)||(_n.add(vn),Ue[jt][hn].push(vn))}),qe.forEach(Lt=>{const{provider:jt,prefix:hn}=Lt;Ue[jt][hn].length&&loadNewIcons(Lt,Ue[jt][hn])}),$e?storeCallback($e,Fe,qe):emptyCallback};function mergeCustomisations(xe,$e){const Ie={...xe};for(const Fe in $e){const Ue=$e[Fe],qe=typeof Ue;Fe in defaultIconSizeCustomisations?(Ue===null||Ue&&(qe==="string"||qe==="number"))&&(Ie[Fe]=Ue):qe===typeof Ie[Fe]&&(Ie[Fe]=Fe==="rotate"?Ue%4:Ue)}return Ie}const separator=/[\s,]+/;function flipFromString(xe,$e){$e.split(separator).forEach(Ie=>{switch(Ie.trim()){case"horizontal":xe.hFlip=!0;break;case"vertical":xe.vFlip=!0;break}})}function rotateFromString(xe,$e=0){const Ie=xe.replace(/^-?[0-9.]*/,"");function Fe(Ue){for(;Ue<0;)Ue+=4;return Ue%4}if(Ie===""){const Ue=parseInt(xe);return isNaN(Ue)?0:Fe(Ue)}else if(Ie!==xe){let Ue=0;switch(Ie){case"%":Ue=25;break;case"deg":Ue=90}if(Ue){let qe=parseFloat(xe.slice(0,xe.length-Ie.length));return isNaN(qe)?0:(qe=qe/Ue,qe%1===0?Fe(qe):0)}}return $e}function iconToHTML(xe,$e){let Ie=xe.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const Fe in $e)Ie+=" "+Fe+'="'+$e[Fe]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+Ie+">"+xe+"</svg>"}function encodeSVGforURL(xe){return xe.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(xe){return"data:image/svg+xml,"+encodeSVGforURL(xe)}function svgToURL(xe){return'url("'+svgToData(xe)+'")'}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 xe in propsToAddTo){const $e=propsToAddTo[xe];for(const Ie in propsToAdd)$e[xe+Ie]=propsToAdd[Ie]}const customisationAliases={};["horizontal","vertical"].forEach(xe=>{const $e=xe.slice(0,1)+"Flip";customisationAliases[xe+"-flip"]=$e,customisationAliases[xe.slice(0,1)+"-flip"]=$e,customisationAliases[xe+"Flip"]=$e});function fixSize(xe){return xe+(xe.match(/^[-0-9.]+$/)?"px":"")}const render$1=(xe,$e)=>{const Ie=mergeCustomisations(defaultExtendedIconCustomisations,$e),Fe={...svgDefaults},Ue=$e.mode||"svg",qe={},At=$e.style,Dt=typeof At=="object"&&!(At instanceof Array)?At:{};for(let kn in $e){const Cn=$e[kn];if(Cn!==void 0)switch(kn){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":Ie[kn]=Cn===!0||Cn==="true"||Cn===1;break;case"flip":typeof Cn=="string"&&flipFromString(Ie,Cn);break;case"color":qe.color=Cn;break;case"rotate":typeof Cn=="string"?Ie[kn]=rotateFromString(Cn):typeof Cn=="number"&&(Ie[kn]=Cn);break;case"ariaHidden":case"aria-hidden":Cn!==!0&&Cn!=="true"&&delete Fe["aria-hidden"];break;default:{const Sn=customisationAliases[kn];Sn?(Cn===!0||Cn==="true"||Cn===1)&&(Ie[Sn]=!0):defaultExtendedIconCustomisations[kn]===void 0&&(Fe[kn]=Cn)}}}const Lt=iconToSVG(xe,Ie),jt=Lt.attributes;if(Ie.inline&&(qe.verticalAlign="-0.125em"),Ue==="svg"){Fe.style={...qe,...Dt},Object.assign(Fe,jt);let kn=0,Cn=$e.id;return typeof Cn=="string"&&(Cn=Cn.replace(/-/g,"_")),Fe.innerHTML=replaceIDs(Lt.body,Cn?()=>Cn+"ID"+kn++:"iconifyVue"),h$5("svg",Fe)}const{body:hn,width:vn,height:bn}=xe,_n=Ue==="mask"||(Ue==="bg"?!1:hn.indexOf("currentColor")!==-1),wn=iconToHTML(hn,{...jt,width:vn+"",height:bn+""});return Fe.style={...qe,"--svg":svgToURL(wn),width:fixSize(jt.width),height:fixSize(jt.height),...commonProps,..._n?monotoneProps:coloredProps,...Dt},h$5("span",Fe)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const xe=window;if(xe.IconifyPreload!==void 0){const $e=xe.IconifyPreload,Ie="Invalid IconifyPreload syntax.";typeof $e=="object"&&$e!==null&&($e instanceof Array?$e:[$e]).forEach(Fe=>{try{(typeof Fe!="object"||Fe===null||Fe instanceof Array||typeof Fe.icons!="object"||typeof Fe.prefix!="string"||!addCollection(Fe))&&console.error(Ie)}catch{console.error(Ie)}})}if(xe.IconifyProviders!==void 0){const $e=xe.IconifyProviders;if(typeof $e=="object"&&$e!==null)for(let Ie in $e){const Fe="IconifyProviders["+Ie+"] is invalid.";try{const Ue=$e[Ie];if(typeof Ue!="object"||!Ue||Ue.resources===void 0)continue;addAPIProvider(Ie,Ue)||console.error(Fe)}catch{console.error(Fe)}}}}const emptyIcon={...defaultIconProps,body:""},Icon$1=defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(xe,$e){if(typeof xe=="object"&&xe!==null&&typeof xe.body=="string")return this._name="",this.abortLoading(),{data:xe};let Ie;if(typeof xe!="string"||(Ie=stringToIcon(xe,!1,!0))===null)return this.abortLoading(),null;const Fe=getIconData(Ie);if(!Fe)return(!this._loadingIcon||this._loadingIcon.name!==xe)&&(this.abortLoading(),this._name="",Fe!==null&&(this._loadingIcon={name:xe,abort:loadIcons([Ie],()=>{this.counter++})})),null;this.abortLoading(),this._name!==xe&&(this._name=xe,$e&&$e(xe));const Ue=["iconify"];return Ie.prefix!==""&&Ue.push("iconify--"+Ie.prefix),Ie.provider!==""&&Ue.push("iconify--"+Ie.provider),{data:Fe,classes:Ue}}},render(){this.counter;const xe=this.$attrs,$e=this.iconMounted||xe.ssr?this.getIcon(xe.icon,xe.onLoad):null;if(!$e)return render$1(emptyIcon,xe);let Ie=xe;return $e.classes&&(Ie={...xe,class:(typeof xe.class=="string"?xe.class+" ":"")+$e.classes.join(" ")}),render$1({...defaultIconProps,...$e.data},Ie)}}),_hoisted_1$1e={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},_hoisted_2$O=["xlink:href"],_hoisted_3$p=["src"],_sfc_main$2y=defineComponent({name:"SvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},size:{}},setup(xe){const $e=xe,Ie=computed(()=>/^https?:\/\//.test($e.name)?"img":/i-[^:]+:[^:]+/.test($e.name)?"unocss":$e.name.includes(":")?"iconify":"svg"),Fe=computed(()=>{const Ue=[];if($e.flip)switch($e.flip){case"horizontal":Ue.push("rotateY(180deg)");break;case"vertical":Ue.push("rotateX(180deg)");break;case"both":Ue.push("rotateX(180deg)"),Ue.push("rotateY(180deg)");break}return $e.rotate&&Ue.push(`rotate(${$e.rotate%360}deg)`),{...$e.color&&{color:$e.color},...$e.size&&{fontSize:typeof $e.size=="number"?`${$e.size}px`:$e.size},...Ue.length&&{transform:Ue.join(" ")}}});return(Ue,qe)=>(openBlock(),createElementBlock("i",{class:normalizeClass(["relative h-[1em] w-[1em] flex-inline items-center justify-center fill-current leading-[1em]",{[Ue.name]:unref(Ie)==="unocss"}]),style:normalizeStyle$1(unref(Fe))},[unref(Ie)==="iconify"?(openBlock(),createBlock(unref(Icon$1),{key:0,icon:Ue.name},null,8,["icon"])):unref(Ie)==="svg"?(openBlock(),createElementBlock("svg",_hoisted_1$1e,[createBaseVNode("use",{"xlink:href":`#icon-${Ue.name}`},null,8,_hoisted_2$O)])):unref(Ie)==="img"?(openBlock(),createElementBlock("img",{key:2,src:Ue.name,class:"h-[1em] w-[1em]"},null,8,_hoisted_3$p)):createCommentVNode("",!0)],6))}});function t$7(xe){typeof queueMicrotask=="function"?queueMicrotask(xe):Promise.resolve().then(xe).catch($e=>setTimeout(()=>{throw $e}))}function o$4(){let xe=[],$e={addEventListener(Ie,Fe,Ue,qe){return Ie.addEventListener(Fe,Ue,qe),$e.add(()=>Ie.removeEventListener(Fe,Ue,qe))},requestAnimationFrame(...Ie){let Fe=requestAnimationFrame(...Ie);$e.add(()=>cancelAnimationFrame(Fe))},nextFrame(...Ie){$e.requestAnimationFrame(()=>{$e.requestAnimationFrame(...Ie)})},setTimeout(...Ie){let Fe=setTimeout(...Ie);$e.add(()=>clearTimeout(Fe))},microTask(...Ie){let Fe={current:!0};return t$7(()=>{Fe.current&&Ie[0]()}),$e.add(()=>{Fe.current=!1})},style(Ie,Fe,Ue){let qe=Ie.style.getPropertyValue(Fe);return Object.assign(Ie.style,{[Fe]:Ue}),this.add(()=>{Object.assign(Ie.style,{[Fe]:qe})})},group(Ie){let Fe=o$4();return Ie(Fe),this.add(()=>Fe.dispose())},add(Ie){return xe.push(Ie),()=>{let Fe=xe.indexOf(Ie);if(Fe>=0)for(let Ue of xe.splice(Fe,1))Ue()}},dispose(){for(let Ie of xe.splice(0))Ie()}};return $e}let t$6=Symbol("headlessui.useid"),i$7=0;function I$4(){return inject(t$6,()=>`${++i$7}`)()}function o$3(xe){var $e;if(xe==null||xe.value==null)return null;let Ie=($e=xe.value.$el)!=null?$e:xe.value;return Ie instanceof Node?Ie:null}function u$7(xe,$e,...Ie){if(xe in $e){let Ue=$e[xe];return typeof Ue=="function"?Ue(...Ie):Ue}let Fe=new Error(`Tried to handle "${xe}" but there is no handler defined. Only defined handlers are: ${Object.keys($e).map(Ue=>`"${Ue}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(Fe,u$7),Fe}var i$6=Object.defineProperty,d$6=(xe,$e,Ie)=>$e in xe?i$6(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,n$4=(xe,$e,Ie)=>(d$6(xe,typeof $e!="symbol"?$e+"":$e,Ie),Ie);let s$5=class{constructor(){n$4(this,"current",this.detect()),n$4(this,"currentId",0)}set($e){this.current!==$e&&(this.currentId=0,this.current=$e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},c$4=new s$5;function i$5(xe){if(c$4.isServer)return null;if(xe instanceof Node)return xe.ownerDocument;if(xe!=null&&xe.hasOwnProperty("value")){let $e=o$3(xe);if($e)return $e.ownerDocument}return document}let c$3=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(xe=>`${xe}:not([tabindex='-1'])`).join(",");var N$7=(xe=>(xe[xe.First=1]="First",xe[xe.Previous=2]="Previous",xe[xe.Next=4]="Next",xe[xe.Last=8]="Last",xe[xe.WrapAround=16]="WrapAround",xe[xe.NoScroll=32]="NoScroll",xe))(N$7||{}),T$4=(xe=>(xe[xe.Error=0]="Error",xe[xe.Overflow=1]="Overflow",xe[xe.Success=2]="Success",xe[xe.Underflow=3]="Underflow",xe))(T$4||{}),F$3=(xe=>(xe[xe.Previous=-1]="Previous",xe[xe.Next=1]="Next",xe))(F$3||{});function E$6(xe=document.body){return xe==null?[]:Array.from(xe.querySelectorAll(c$3)).sort(($e,Ie)=>Math.sign(($e.tabIndex||Number.MAX_SAFE_INTEGER)-(Ie.tabIndex||Number.MAX_SAFE_INTEGER)))}var h$2=(xe=>(xe[xe.Strict=0]="Strict",xe[xe.Loose=1]="Loose",xe))(h$2||{});function w$6(xe,$e=0){var Ie;return xe===((Ie=i$5(xe))==null?void 0:Ie.body)?!1:u$7($e,{0(){return xe.matches(c$3)},1(){let Fe=xe;for(;Fe!==null;){if(Fe.matches(c$3))return!0;Fe=Fe.parentElement}return!1}})}var y$3=(xe=>(xe[xe.Keyboard=0]="Keyboard",xe[xe.Mouse=1]="Mouse",xe))(y$3||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",xe=>{xe.metaKey||xe.altKey||xe.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",xe=>{xe.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:xe.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function S$3(xe){xe==null||xe.focus({preventScroll:!0})}let H$4=["textarea","input"].join(",");function I$3(xe){var $e,Ie;return(Ie=($e=xe==null?void 0:xe.matches)==null?void 0:$e.call(xe,H$4))!=null?Ie:!1}function O$2(xe,$e=Ie=>Ie){return xe.slice().sort((Ie,Fe)=>{let Ue=$e(Ie),qe=$e(Fe);if(Ue===null||qe===null)return 0;let At=Ue.compareDocumentPosition(qe);return At&Node.DOCUMENT_POSITION_FOLLOWING?-1:At&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function P$4(xe,$e,{sorted:Ie=!0,relativeTo:Fe=null,skipElements:Ue=[]}={}){var qe;let At=(qe=Array.isArray(xe)?xe.length>0?xe[0].ownerDocument:document:xe==null?void 0:xe.ownerDocument)!=null?qe:document,Dt=Array.isArray(xe)?Ie?O$2(xe):xe:E$6(xe);Ue.length>0&&Dt.length>1&&(Dt=Dt.filter(wn=>!Ue.includes(wn))),Fe=Fe??At.activeElement;let Lt=(()=>{if($e&5)return 1;if($e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),jt=(()=>{if($e&1)return 0;if($e&2)return Math.max(0,Dt.indexOf(Fe))-1;if($e&4)return Math.max(0,Dt.indexOf(Fe))+1;if($e&8)return Dt.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),hn=$e&32?{preventScroll:!0}:{},vn=0,bn=Dt.length,_n;do{if(vn>=bn||vn+bn<=0)return 0;let wn=jt+vn;if($e&16)wn=(wn+bn)%bn;else{if(wn<0)return 3;if(wn>=bn)return 1}_n=Dt[wn],_n==null||_n.focus(hn),vn+=Lt}while(_n!==At.activeElement);return $e&6&&I$3(_n)&&_n.select(),2}function t$5(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i$4(){return/Android/gi.test(window.navigator.userAgent)}function n$3(){return t$5()||i$4()}function u$6(xe,$e,Ie){c$4.isServer||watchEffect(Fe=>{document.addEventListener(xe,$e,Ie),Fe(()=>document.removeEventListener(xe,$e,Ie))})}function w$5(xe,$e,Ie){c$4.isServer||watchEffect(Fe=>{window.addEventListener(xe,$e,Ie),Fe(()=>window.removeEventListener(xe,$e,Ie))})}function w$4(xe,$e,Ie=computed(()=>!0)){function Fe(qe,At){if(!Ie.value||qe.defaultPrevented)return;let Dt=At(qe);if(Dt===null||!Dt.getRootNode().contains(Dt))return;let Lt=function jt(hn){return typeof hn=="function"?jt(hn()):Array.isArray(hn)||hn instanceof Set?hn:[hn]}(xe);for(let jt of Lt){if(jt===null)continue;let hn=jt instanceof HTMLElement?jt:o$3(jt);if(hn!=null&&hn.contains(Dt)||qe.composed&&qe.composedPath().includes(hn))return}return!w$6(Dt,h$2.Loose)&&Dt.tabIndex!==-1&&qe.preventDefault(),$e(qe,Dt)}let Ue=ref(null);u$6("pointerdown",qe=>{var At,Dt;Ie.value&&(Ue.value=((Dt=(At=qe.composedPath)==null?void 0:At.call(qe))==null?void 0:Dt[0])||qe.target)},!0),u$6("mousedown",qe=>{var At,Dt;Ie.value&&(Ue.value=((Dt=(At=qe.composedPath)==null?void 0:At.call(qe))==null?void 0:Dt[0])||qe.target)},!0),u$6("click",qe=>{n$3()||Ue.value&&(Fe(qe,()=>Ue.value),Ue.value=null)},!0),u$6("touchend",qe=>Fe(qe,()=>qe.target instanceof HTMLElement?qe.target:null),!0),w$5("blur",qe=>Fe(qe,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var N$6=(xe=>(xe[xe.None=0]="None",xe[xe.RenderStrategy=1]="RenderStrategy",xe[xe.Static=2]="Static",xe))(N$6||{}),S$2=(xe=>(xe[xe.Unmount=0]="Unmount",xe[xe.Hidden=1]="Hidden",xe))(S$2||{});function A$4({visible:xe=!0,features:$e=0,ourProps:Ie,theirProps:Fe,...Ue}){var qe;let At=j$1(Fe,Ie),Dt=Object.assign(Ue,{props:At});if(xe||$e&2&&At.static)return y$2(Dt);if($e&1){let Lt=(qe=At.unmount)==null||qe?0:1;return u$7(Lt,{0(){return null},1(){return y$2({...Ue,props:{...At,hidden:!0,style:{display:"none"}}})}})}return y$2(Dt)}function y$2({props:xe,attrs:$e,slots:Ie,slot:Fe,name:Ue}){var qe,At;let{as:Dt,...Lt}=T$3(xe,["unmount","static"]),jt=(qe=Ie.default)==null?void 0:qe.call(Ie,Fe),hn={};if(Fe){let vn=!1,bn=[];for(let[_n,wn]of Object.entries(Fe))typeof wn=="boolean"&&(vn=!0),wn===!0&&bn.push(_n);vn&&(hn["data-headlessui-state"]=bn.join(" "))}if(Dt==="template"){if(jt=b$2(jt??[]),Object.keys(Lt).length>0||Object.keys($e).length>0){let[vn,...bn]=jt??[];if(!v$2(vn)||bn.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${Ue} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(Lt).concat(Object.keys($e)).map(kn=>kn.trim()).filter((kn,Cn,Sn)=>Sn.indexOf(kn)===Cn).sort((kn,Cn)=>kn.localeCompare(Cn)).map(kn=>`  - ${kn}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(kn=>`  - ${kn}`).join(`
`)].join(`
`));let _n=j$1((At=vn.props)!=null?At:{},Lt,hn),wn=cloneVNode(vn,_n,!0);for(let kn in _n)kn.startsWith("on")&&(wn.props||(wn.props={}),wn.props[kn]=_n[kn]);return wn}return Array.isArray(jt)&&jt.length===1?jt[0]:jt}return h$5(Dt,Object.assign({},Lt,hn),{default:()=>jt})}function b$2(xe){return xe.flatMap($e=>$e.type===Fragment?b$2($e.children):[$e])}function j$1(...xe){if(xe.length===0)return{};if(xe.length===1)return xe[0];let $e={},Ie={};for(let Fe of xe)for(let Ue in Fe)Ue.startsWith("on")&&typeof Fe[Ue]=="function"?(Ie[Ue]!=null||(Ie[Ue]=[]),Ie[Ue].push(Fe[Ue])):$e[Ue]=Fe[Ue];if($e.disabled||$e["aria-disabled"])return Object.assign($e,Object.fromEntries(Object.keys(Ie).map(Fe=>[Fe,void 0])));for(let Fe in Ie)Object.assign($e,{[Fe](Ue,...qe){let At=Ie[Fe];for(let Dt of At){if(Ue instanceof Event&&Ue.defaultPrevented)return;Dt(Ue,...qe)}}});return $e}function E$5(xe){let $e=Object.assign({},xe);for(let Ie in $e)$e[Ie]===void 0&&delete $e[Ie];return $e}function T$3(xe,$e=[]){let Ie=Object.assign({},xe);for(let Fe of $e)Fe in Ie&&delete Ie[Fe];return Ie}function v$2(xe){return xe==null?!1:typeof xe.type=="string"||typeof xe.type=="object"||typeof xe.type=="function"}var u$5=(xe=>(xe[xe.None=1]="None",xe[xe.Focusable=2]="Focusable",xe[xe.Hidden=4]="Hidden",xe))(u$5||{});let f$3=defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(xe,{slots:$e,attrs:Ie}){return()=>{var Fe;let{features:Ue,...qe}=xe,At={"aria-hidden":(Ue&2)===2?!0:(Fe=qe["aria-hidden"])!=null?Fe:void 0,hidden:(Ue&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(Ue&4)===4&&(Ue&2)!==2&&{display:"none"}}};return A$4({ourProps:At,theirProps:qe,slot:{},attrs:Ie,slots:$e,name:"Hidden"})}}}),n$2=Symbol("Context");var i$3=(xe=>(xe[xe.Open=1]="Open",xe[xe.Closed=2]="Closed",xe[xe.Closing=4]="Closing",xe[xe.Opening=8]="Opening",xe))(i$3||{});function s$4(){return l$4()!==null}function l$4(){return inject(n$2,null)}function t$4(xe){provide(n$2,xe)}var o$2=(xe=>(xe.Space=" ",xe.Enter="Enter",xe.Escape="Escape",xe.Backspace="Backspace",xe.Delete="Delete",xe.ArrowLeft="ArrowLeft",xe.ArrowUp="ArrowUp",xe.ArrowRight="ArrowRight",xe.ArrowDown="ArrowDown",xe.Home="Home",xe.End="End",xe.PageUp="PageUp",xe.PageDown="PageDown",xe.Tab="Tab",xe))(o$2||{});function t$3(xe){function $e(){document.readyState!=="loading"&&(xe(),document.removeEventListener("DOMContentLoaded",$e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",$e),$e())}let t$2=[];t$3(()=>{function xe($e){$e.target instanceof HTMLElement&&$e.target!==document.body&&t$2[0]!==$e.target&&(t$2.unshift($e.target),t$2=t$2.filter(Ie=>Ie!=null&&Ie.isConnected),t$2.splice(10))}window.addEventListener("click",xe,{capture:!0}),window.addEventListener("mousedown",xe,{capture:!0}),window.addEventListener("focus",xe,{capture:!0}),document.body.addEventListener("click",xe,{capture:!0}),document.body.addEventListener("mousedown",xe,{capture:!0}),document.body.addEventListener("focus",xe,{capture:!0})});function E$4(xe,$e,Ie,Fe){c$4.isServer||watchEffect(Ue=>{xe=xe??window,xe.addEventListener($e,Ie,Fe),Ue(()=>xe.removeEventListener($e,Ie,Fe))})}var d$5=(xe=>(xe[xe.Forwards=0]="Forwards",xe[xe.Backwards=1]="Backwards",xe))(d$5||{});function n$1(){let xe=ref(0);return w$5("keydown",$e=>{$e.key==="Tab"&&(xe.value=$e.shiftKey?1:0)}),xe}function B$2(xe){if(!xe)return new Set;if(typeof xe=="function")return new Set(xe());let $e=new Set;for(let Ie of xe.value){let Fe=o$3(Ie);Fe instanceof HTMLElement&&$e.add(Fe)}return $e}var A$3=(xe=>(xe[xe.None=1]="None",xe[xe.InitialFocus=2]="InitialFocus",xe[xe.TabLock=4]="TabLock",xe[xe.FocusLock=8]="FocusLock",xe[xe.RestoreFocus=16]="RestoreFocus",xe[xe.All=30]="All",xe))(A$3||{});let ue=Object.assign(defineComponent({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:ref(new Set)}},inheritAttrs:!1,setup(xe,{attrs:$e,slots:Ie,expose:Fe}){let Ue=ref(null);Fe({el:Ue,$el:Ue});let qe=computed(()=>i$5(Ue)),At=ref(!1);onMounted(()=>At.value=!0),onUnmounted(()=>At.value=!1),$$2({ownerDocument:qe},computed(()=>At.value&&!!(xe.features&16)));let Dt=z$2({ownerDocument:qe,container:Ue,initialFocus:computed(()=>xe.initialFocus)},computed(()=>At.value&&!!(xe.features&2)));J$2({ownerDocument:qe,container:Ue,containers:xe.containers,previousActiveElement:Dt},computed(()=>At.value&&!!(xe.features&8)));let Lt=n$1();function jt(_n){let wn=o$3(Ue);wn&&(kn=>kn())(()=>{u$7(Lt.value,{[d$5.Forwards]:()=>{P$4(wn,N$7.First,{skipElements:[_n.relatedTarget]})},[d$5.Backwards]:()=>{P$4(wn,N$7.Last,{skipElements:[_n.relatedTarget]})}})})}let hn=ref(!1);function vn(_n){_n.key==="Tab"&&(hn.value=!0,requestAnimationFrame(()=>{hn.value=!1}))}function bn(_n){if(!At.value)return;let wn=B$2(xe.containers);o$3(Ue)instanceof HTMLElement&&wn.add(o$3(Ue));let kn=_n.relatedTarget;kn instanceof HTMLElement&&kn.dataset.headlessuiFocusGuard!=="true"&&(N$5(wn,kn)||(hn.value?P$4(o$3(Ue),u$7(Lt.value,{[d$5.Forwards]:()=>N$7.Next,[d$5.Backwards]:()=>N$7.Previous})|N$7.WrapAround,{relativeTo:_n.target}):_n.target instanceof HTMLElement&&S$3(_n.target)))}return()=>{let _n={},wn={ref:Ue,onKeydown:vn,onFocusout:bn},{features:kn,initialFocus:Cn,containers:Sn,...xn}=xe;return h$5(Fragment,[!!(kn&4)&&h$5(f$3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:jt,features:u$5.Focusable}),A$4({ourProps:wn,theirProps:{...$e,...xn},slot:_n,attrs:$e,slots:Ie,name:"FocusTrap"}),!!(kn&4)&&h$5(f$3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:jt,features:u$5.Focusable})])}}}),{features:A$3});function W$3(xe){let $e=ref(t$2.slice());return watch([xe],([Ie],[Fe])=>{Fe===!0&&Ie===!1?t$7(()=>{$e.value.splice(0)}):Fe===!1&&Ie===!0&&($e.value=t$2.slice())},{flush:"post"}),()=>{var Ie;return(Ie=$e.value.find(Fe=>Fe!=null&&Fe.isConnected))!=null?Ie:null}}function $$2({ownerDocument:xe},$e){let Ie=W$3($e);onMounted(()=>{watchEffect(()=>{var Fe,Ue;$e.value||((Fe=xe.value)==null?void 0:Fe.activeElement)===((Ue=xe.value)==null?void 0:Ue.body)&&S$3(Ie())},{flush:"post"})}),onUnmounted(()=>{$e.value&&S$3(Ie())})}function z$2({ownerDocument:xe,container:$e,initialFocus:Ie},Fe){let Ue=ref(null),qe=ref(!1);return onMounted(()=>qe.value=!0),onUnmounted(()=>qe.value=!1),onMounted(()=>{watch([$e,Ie,Fe],(At,Dt)=>{if(At.every((jt,hn)=>(Dt==null?void 0:Dt[hn])===jt)||!Fe.value)return;let Lt=o$3($e);Lt&&t$7(()=>{var jt,hn;if(!qe.value)return;let vn=o$3(Ie),bn=(jt=xe.value)==null?void 0:jt.activeElement;if(vn){if(vn===bn){Ue.value=bn;return}}else if(Lt.contains(bn)){Ue.value=bn;return}vn?S$3(vn):P$4(Lt,N$7.First|N$7.NoScroll)===T$4.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),Ue.value=(hn=xe.value)==null?void 0:hn.activeElement})},{immediate:!0,flush:"post"})}),Ue}function J$2({ownerDocument:xe,container:$e,containers:Ie,previousActiveElement:Fe},Ue){var qe;E$4((qe=xe.value)==null?void 0:qe.defaultView,"focus",At=>{if(!Ue.value)return;let Dt=B$2(Ie);o$3($e)instanceof HTMLElement&&Dt.add(o$3($e));let Lt=Fe.value;if(!Lt)return;let jt=At.target;jt&&jt instanceof HTMLElement?N$5(Dt,jt)?(Fe.value=jt,S$3(jt)):(At.preventDefault(),At.stopPropagation(),S$3(Lt)):S$3(Fe.value)},!0)}function N$5(xe,$e){for(let Ie of xe)if(Ie.contains($e))return!0;return!1}function m$5(xe){let $e=shallowRef(xe.getSnapshot());return onUnmounted(xe.subscribe(()=>{$e.value=xe.getSnapshot()})),$e}function a$3(xe,$e){let Ie=xe(),Fe=new Set;return{getSnapshot(){return Ie},subscribe(Ue){return Fe.add(Ue),()=>Fe.delete(Ue)},dispatch(Ue,...qe){let At=$e[Ue].call(Ie,...qe);At&&(Ie=At,Fe.forEach(Dt=>Dt()))}}}function c$2(){let xe;return{before({doc:$e}){var Ie;let Fe=$e.documentElement;xe=((Ie=$e.defaultView)!=null?Ie:window).innerWidth-Fe.clientWidth},after({doc:$e,d:Ie}){let Fe=$e.documentElement,Ue=Fe.clientWidth-Fe.offsetWidth,qe=xe-Ue;Ie.style(Fe,"paddingRight",`${qe}px`)}}}function w$3(){return t$5()?{before({doc:xe,d:$e,meta:Ie}){function Fe(Ue){return Ie.containers.flatMap(qe=>qe()).some(qe=>qe.contains(Ue))}$e.microTask(()=>{var Ue;if(window.getComputedStyle(xe.documentElement).scrollBehavior!=="auto"){let Dt=o$4();Dt.style(xe.documentElement,"scrollBehavior","auto"),$e.add(()=>$e.microTask(()=>Dt.dispose()))}let qe=(Ue=window.scrollY)!=null?Ue:window.pageYOffset,At=null;$e.addEventListener(xe,"click",Dt=>{if(Dt.target instanceof HTMLElement)try{let Lt=Dt.target.closest("a");if(!Lt)return;let{hash:jt}=new URL(Lt.href),hn=xe.querySelector(jt);hn&&!Fe(hn)&&(At=hn)}catch{}},!0),$e.addEventListener(xe,"touchstart",Dt=>{if(Dt.target instanceof HTMLElement)if(Fe(Dt.target)){let Lt=Dt.target;for(;Lt.parentElement&&Fe(Lt.parentElement);)Lt=Lt.parentElement;$e.style(Lt,"overscrollBehavior","contain")}else $e.style(Dt.target,"touchAction","none")}),$e.addEventListener(xe,"touchmove",Dt=>{if(Dt.target instanceof HTMLElement){if(Dt.target.tagName==="INPUT")return;if(Fe(Dt.target)){let Lt=Dt.target;for(;Lt.parentElement&&Lt.dataset.headlessuiPortal!==""&&!(Lt.scrollHeight>Lt.clientHeight||Lt.scrollWidth>Lt.clientWidth);)Lt=Lt.parentElement;Lt.dataset.headlessuiPortal===""&&Dt.preventDefault()}else Dt.preventDefault()}},{passive:!1}),$e.add(()=>{var Dt;let Lt=(Dt=window.scrollY)!=null?Dt:window.pageYOffset;qe!==Lt&&window.scrollTo(0,qe),At&&At.isConnected&&(At.scrollIntoView({block:"nearest"}),At=null)})})}}:{}}function l$3(){return{before({doc:xe,d:$e}){$e.style(xe.documentElement,"overflow","hidden")}}}function m$4(xe){let $e={};for(let Ie of xe)Object.assign($e,Ie($e));return $e}let a$2=a$3(()=>new Map,{PUSH(xe,$e){var Ie;let Fe=(Ie=this.get(xe))!=null?Ie:{doc:xe,count:0,d:o$4(),meta:new Set};return Fe.count++,Fe.meta.add($e),this.set(xe,Fe),this},POP(xe,$e){let Ie=this.get(xe);return Ie&&(Ie.count--,Ie.meta.delete($e)),this},SCROLL_PREVENT({doc:xe,d:$e,meta:Ie}){let Fe={doc:xe,d:$e,meta:m$4(Ie)},Ue=[w$3(),c$2(),l$3()];Ue.forEach(({before:qe})=>qe==null?void 0:qe(Fe)),Ue.forEach(({after:qe})=>qe==null?void 0:qe(Fe))},SCROLL_ALLOW({d:xe}){xe.dispose()},TEARDOWN({doc:xe}){this.delete(xe)}});a$2.subscribe(()=>{let xe=a$2.getSnapshot(),$e=new Map;for(let[Ie]of xe)$e.set(Ie,Ie.documentElement.style.overflow);for(let Ie of xe.values()){let Fe=$e.get(Ie.doc)==="hidden",Ue=Ie.count!==0;(Ue&&!Fe||!Ue&&Fe)&&a$2.dispatch(Ie.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",Ie),Ie.count===0&&a$2.dispatch("TEARDOWN",Ie)}});function d$4(xe,$e,Ie){let Fe=m$5(a$2),Ue=computed(()=>{let qe=xe.value?Fe.value.get(xe.value):void 0;return qe?qe.count>0:!1});return watch([xe,$e],([qe,At],[Dt],Lt)=>{if(!qe||!At)return;a$2.dispatch("PUSH",qe,Ie);let jt=!1;Lt(()=>{jt||(a$2.dispatch("POP",Dt??qe,Ie),jt=!0)})},{immediate:!0}),Ue}let i$2=new Map,t$1=new Map;function E$3(xe,$e=ref(!0)){watchEffect(Ie=>{var Fe;if(!$e.value)return;let Ue=o$3(xe);if(!Ue)return;Ie(function(){var At;if(!Ue)return;let Dt=(At=t$1.get(Ue))!=null?At:1;if(Dt===1?t$1.delete(Ue):t$1.set(Ue,Dt-1),Dt!==1)return;let Lt=i$2.get(Ue);Lt&&(Lt["aria-hidden"]===null?Ue.removeAttribute("aria-hidden"):Ue.setAttribute("aria-hidden",Lt["aria-hidden"]),Ue.inert=Lt.inert,i$2.delete(Ue))});let qe=(Fe=t$1.get(Ue))!=null?Fe:0;t$1.set(Ue,qe+1),qe===0&&(i$2.set(Ue,{"aria-hidden":Ue.getAttribute("aria-hidden"),inert:Ue.inert}),Ue.setAttribute("aria-hidden","true"),Ue.inert=!0)})}function N$4({defaultContainers:xe=[],portals:$e,mainTreeNodeRef:Ie}={}){let Fe=ref(null),Ue=i$5(Fe);function qe(){var At,Dt,Lt;let jt=[];for(let hn of xe)hn!==null&&(hn instanceof HTMLElement?jt.push(hn):"value"in hn&&hn.value instanceof HTMLElement&&jt.push(hn.value));if($e!=null&&$e.value)for(let hn of $e.value)jt.push(hn);for(let hn of(At=Ue==null?void 0:Ue.querySelectorAll("html > *, body > *"))!=null?At:[])hn!==document.body&&hn!==document.head&&hn instanceof HTMLElement&&hn.id!=="headlessui-portal-root"&&(hn.contains(o$3(Fe))||hn.contains((Lt=(Dt=o$3(Fe))==null?void 0:Dt.getRootNode())==null?void 0:Lt.host)||jt.some(vn=>hn.contains(vn))||jt.push(hn));return jt}return{resolveContainers:qe,contains(At){return qe().some(Dt=>Dt.contains(At))},mainTreeNodeRef:Fe,MainTreeNode(){return Ie!=null?null:h$5(f$3,{features:u$5.Hidden,ref:Fe})}}}let e$2=Symbol("ForcePortalRootContext");function s$3(){return inject(e$2,!1)}let u$4=defineComponent({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(xe,{slots:$e,attrs:Ie}){return provide(e$2,xe.force),()=>{let{force:Fe,...Ue}=xe;return A$4({theirProps:Ue,ourProps:{},slot:{},slots:$e,attrs:Ie,name:"ForcePortalRoot"})}}}),u$3=Symbol("StackContext");var s$2=(xe=>(xe[xe.Add=0]="Add",xe[xe.Remove=1]="Remove",xe))(s$2||{});function y$1(){return inject(u$3,()=>{})}function R$3({type:xe,enabled:$e,element:Ie,onUpdate:Fe}){let Ue=y$1();function qe(...At){Fe==null||Fe(...At),Ue(...At)}onMounted(()=>{watch($e,(At,Dt)=>{At?qe(0,xe,Ie):Dt===!0&&qe(1,xe,Ie)},{immediate:!0,flush:"sync"})}),onUnmounted(()=>{$e.value&&qe(1,xe,Ie)}),provide(u$3,qe)}let u$2=Symbol("DescriptionContext");function w$2(){let xe=inject(u$2,null);if(xe===null)throw new Error("Missing parent");return xe}function k$2({slot:xe=ref({}),name:$e="Description",props:Ie={}}={}){let Fe=ref([]);function Ue(qe){return Fe.value.push(qe),()=>{let At=Fe.value.indexOf(qe);At!==-1&&Fe.value.splice(At,1)}}return provide(u$2,{register:Ue,slot:xe,name:$e,props:Ie}),computed(()=>Fe.value.length>0?Fe.value.join(" "):void 0)}let K$2=defineComponent({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(xe,{attrs:$e,slots:Ie}){var Fe;let Ue=(Fe=xe.id)!=null?Fe:`headlessui-description-${I$4()}`,qe=w$2();return onMounted(()=>onUnmounted(qe.register(Ue))),()=>{let{name:At="Description",slot:Dt=ref({}),props:Lt={}}=qe,{...jt}=xe,hn={...Object.entries(Lt).reduce((vn,[bn,_n])=>Object.assign(vn,{[bn]:unref(_n)}),{}),id:Ue};return A$4({ourProps:hn,theirProps:jt,slot:Dt.value,attrs:$e,slots:Ie,name:At})}}});function x$3(xe){let $e=i$5(xe);if(!$e){if(xe===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${xe}`)}let Ie=$e.getElementById("headlessui-portal-root");if(Ie)return Ie;let Fe=$e.createElement("div");return Fe.setAttribute("id","headlessui-portal-root"),$e.body.appendChild(Fe)}const f$2=new WeakMap;function U$3(xe){var $e;return($e=f$2.get(xe))!=null?$e:0}function M$2(xe,$e){let Ie=$e(U$3(xe));return Ie<=0?f$2.delete(xe):f$2.set(xe,Ie),Ie}let $$1=defineComponent({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(xe,{slots:$e,attrs:Ie}){let Fe=ref(null),Ue=computed(()=>i$5(Fe)),qe=s$3(),At=inject(H$3,null),Dt=ref(qe===!0||At==null?x$3(Fe.value):At.resolveTarget());Dt.value&&M$2(Dt.value,bn=>bn+1);let Lt=ref(!1);onMounted(()=>{Lt.value=!0}),watchEffect(()=>{qe||At!=null&&(Dt.value=At.resolveTarget())});let jt=inject(d$3,null),hn=!1,vn=getCurrentInstance();return watch(Fe,()=>{if(hn||!jt)return;let bn=o$3(Fe);bn&&(onUnmounted(jt.register(bn),vn),hn=!0)}),onUnmounted(()=>{var bn,_n;let wn=(bn=Ue.value)==null?void 0:bn.getElementById("headlessui-portal-root");!wn||Dt.value!==wn||M$2(Dt.value,kn=>kn-1)||Dt.value.children.length>0||(_n=Dt.value.parentElement)==null||_n.removeChild(Dt.value)}),()=>{if(!Lt.value||Dt.value===null)return null;let bn={ref:Fe,"data-headlessui-portal":""};return h$5(Teleport,{to:Dt.value},A$4({ourProps:bn,theirProps:xe,slot:{},attrs:Ie,slots:$e,name:"Portal"}))}}}),d$3=Symbol("PortalParentContext");function q$2(){let xe=inject(d$3,null),$e=ref([]);function Ie(qe){return $e.value.push(qe),xe&&xe.register(qe),()=>Fe(qe)}function Fe(qe){let At=$e.value.indexOf(qe);At!==-1&&$e.value.splice(At,1),xe&&xe.unregister(qe)}let Ue={register:Ie,unregister:Fe,portals:$e};return[$e,defineComponent({name:"PortalWrapper",setup(qe,{slots:At}){return provide(d$3,Ue),()=>{var Dt;return(Dt=At.default)==null?void 0:Dt.call(At)}}})]}let H$3=Symbol("PortalGroupContext"),z$1=defineComponent({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(xe,{attrs:$e,slots:Ie}){let Fe=reactive({resolveTarget(){return xe.target}});return provide(H$3,Fe),()=>{let{target:Ue,...qe}=xe;return A$4({theirProps:qe,ourProps:{},slot:{},attrs:$e,slots:Ie,name:"PortalGroup"})}}});var Te$2=(xe=>(xe[xe.Open=0]="Open",xe[xe.Closed=1]="Closed",xe))(Te$2||{});let H$2=Symbol("DialogContext");function T$2(xe){let $e=inject(H$2,null);if($e===null){let Ie=new Error(`<${xe} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(Ie,T$2),Ie}return $e}let A$2="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Ye$1=defineComponent({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:A$2},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:xe=>!0},setup(xe,{emit:$e,attrs:Ie,slots:Fe,expose:Ue}){var qe,At;let Dt=(qe=xe.id)!=null?qe:`headlessui-dialog-${I$4()}`,Lt=ref(!1);onMounted(()=>{Lt.value=!0});let jt=!1,hn=computed(()=>xe.role==="dialog"||xe.role==="alertdialog"?xe.role:(jt||(jt=!0,console.warn(`Invalid role [${hn}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),vn=ref(0),bn=l$4(),_n=computed(()=>xe.open===A$2&&bn!==null?(bn.value&i$3.Open)===i$3.Open:xe.open),wn=ref(null),kn=computed(()=>i$5(wn));if(Ue({el:wn,$el:wn}),!(xe.open!==A$2||bn!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof _n.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${_n.value===A$2?void 0:xe.open}`);let Cn=computed(()=>Lt.value&&_n.value?0:1),Sn=computed(()=>Cn.value===0),xn=computed(()=>vn.value>1),En=inject(H$2,null)!==null,[Tn,An]=q$2(),{resolveContainers:$n,mainTreeNodeRef:Pn,MainTreeNode:Nn}=N$4({portals:Tn,defaultContainers:[computed(()=>{var Gn;return(Gn=Hn.panelRef.value)!=null?Gn:wn.value})]}),Mn=computed(()=>xn.value?"parent":"leaf"),In=computed(()=>bn!==null?(bn.value&i$3.Closing)===i$3.Closing:!1),On=computed(()=>En||In.value?!1:Sn.value),Rn=computed(()=>{var Gn,Wn,Xn;return(Xn=Array.from((Wn=(Gn=kn.value)==null?void 0:Gn.querySelectorAll("body > *"))!=null?Wn:[]).find(er=>er.id==="headlessui-portal-root"?!1:er.contains(o$3(Pn))&&er instanceof HTMLElement))!=null?Xn:null});E$3(Rn,On);let Bn=computed(()=>xn.value?!0:Sn.value),Vn=computed(()=>{var Gn,Wn,Xn;return(Xn=Array.from((Wn=(Gn=kn.value)==null?void 0:Gn.querySelectorAll("[data-headlessui-portal]"))!=null?Wn:[]).find(er=>er.contains(o$3(Pn))&&er instanceof HTMLElement))!=null?Xn:null});E$3(Vn,Bn),R$3({type:"Dialog",enabled:computed(()=>Cn.value===0),element:wn,onUpdate:(Gn,Wn)=>{if(Wn==="Dialog")return u$7(Gn,{[s$2.Add]:()=>vn.value+=1,[s$2.Remove]:()=>vn.value-=1})}});let Ln=k$2({name:"DialogDescription",slot:computed(()=>({open:_n.value}))}),Dn=ref(null),Hn={titleId:Dn,panelRef:ref(null),dialogState:Cn,setTitleId(Gn){Dn.value!==Gn&&(Dn.value=Gn)},close(){$e("close",!1)}};provide(H$2,Hn);let Fn=computed(()=>!(!Sn.value||xn.value));w$4($n,(Gn,Wn)=>{Gn.preventDefault(),Hn.close(),nextTick(()=>Wn==null?void 0:Wn.focus())},Fn);let zn=computed(()=>!(xn.value||Cn.value!==0));E$4((At=kn.value)==null?void 0:At.defaultView,"keydown",Gn=>{zn.value&&(Gn.defaultPrevented||Gn.key===o$2.Escape&&(Gn.preventDefault(),Gn.stopPropagation(),Hn.close()))});let jn=computed(()=>!(In.value||Cn.value!==0||En));return d$4(kn,jn,Gn=>{var Wn;return{containers:[...(Wn=Gn.containers)!=null?Wn:[],$n]}}),watchEffect(Gn=>{if(Cn.value!==0)return;let Wn=o$3(wn);if(!Wn)return;let Xn=new ResizeObserver(er=>{for(let rr of er){let Jn=rr.target.getBoundingClientRect();Jn.x===0&&Jn.y===0&&Jn.width===0&&Jn.height===0&&Hn.close()}});Xn.observe(Wn),Gn(()=>Xn.disconnect())}),()=>{let{open:Gn,initialFocus:Wn,...Xn}=xe,er={...Ie,ref:wn,id:Dt,role:hn.value,"aria-modal":Cn.value===0?!0:void 0,"aria-labelledby":Dn.value,"aria-describedby":Ln.value},rr={open:Cn.value===0};return h$5(u$4,{force:!0},()=>[h$5($$1,()=>h$5(z$1,{target:wn.value},()=>h$5(u$4,{force:!1},()=>h$5(ue,{initialFocus:Wn,containers:$n,features:Sn.value?u$7(Mn.value,{parent:ue.features.RestoreFocus,leaf:ue.features.All&~ue.features.FocusLock}):ue.features.None},()=>h$5(An,{},()=>A$4({ourProps:er,theirProps:{...Xn,...Ie},slot:rr,attrs:Ie,slots:Fe,visible:Cn.value===0,features:N$6.RenderStrategy|N$6.Static,name:"Dialog"})))))),h$5(Nn)])}}}),Ge$1=defineComponent({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(xe,{attrs:$e,slots:Ie,expose:Fe}){var Ue;let qe=(Ue=xe.id)!=null?Ue:`headlessui-dialog-panel-${I$4()}`,At=T$2("DialogPanel");Fe({el:At.panelRef,$el:At.panelRef});function Dt(Lt){Lt.stopPropagation()}return()=>{let{...Lt}=xe,jt={id:qe,ref:At.panelRef,onClick:Dt};return A$4({ourProps:jt,theirProps:Lt,slot:{open:At.dialogState.value===0},attrs:$e,slots:Ie,name:"DialogPanel"})}}}),Ve=defineComponent({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(xe,{attrs:$e,slots:Ie}){var Fe;let Ue=(Fe=xe.id)!=null?Fe:`headlessui-dialog-title-${I$4()}`,qe=T$2("DialogTitle");return onMounted(()=>{qe.setTitleId(Ue),onUnmounted(()=>qe.setTitleId(null))}),()=>{let{...At}=xe;return A$4({ourProps:{id:Ue},theirProps:At,slot:{open:qe.dialogState.value===0},attrs:$e,slots:Ie,name:"DialogTitle"})}}}),Je$1=K$2;function l$2(xe){let $e={called:!1};return(...Ie)=>{if(!$e.called)return $e.called=!0,xe(...Ie)}}function m$3(xe,...$e){xe&&$e.length>0&&xe.classList.add(...$e)}function d$2(xe,...$e){xe&&$e.length>0&&xe.classList.remove(...$e)}var g$3=(xe=>(xe.Finished="finished",xe.Cancelled="cancelled",xe))(g$3||{});function F$2(xe,$e){let Ie=o$4();if(!xe)return Ie.dispose;let{transitionDuration:Fe,transitionDelay:Ue}=getComputedStyle(xe),[qe,At]=[Fe,Ue].map(Dt=>{let[Lt=0]=Dt.split(",").filter(Boolean).map(jt=>jt.includes("ms")?parseFloat(jt):parseFloat(jt)*1e3).sort((jt,hn)=>hn-jt);return Lt});return qe!==0?Ie.setTimeout(()=>$e("finished"),qe+At):$e("finished"),Ie.add(()=>$e("cancelled")),Ie.dispose}function L$2(xe,$e,Ie,Fe,Ue,qe){let At=o$4(),Dt=qe!==void 0?l$2(qe):()=>{};return d$2(xe,...Ue),m$3(xe,...$e,...Ie),At.nextFrame(()=>{d$2(xe,...Ie),m$3(xe,...Fe),At.add(F$2(xe,Lt=>(d$2(xe,...Fe,...$e),m$3(xe,...Ue),Dt(Lt))))}),At.add(()=>d$2(xe,...$e,...Ie,...Fe,...Ue)),At.add(()=>Dt("cancelled")),At.dispose}function g$2(xe=""){return xe.split(/\s+/).filter($e=>$e.length>1)}let R$2=Symbol("TransitionContext");var pe=(xe=>(xe.Visible="visible",xe.Hidden="hidden",xe))(pe||{});function me$1(){return inject(R$2,null)!==null}function Te$1(){let xe=inject(R$2,null);if(xe===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return xe}function ge$1(){let xe=inject(N$3,null);if(xe===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return xe}let N$3=Symbol("NestingContext");function L$1(xe){return"children"in xe?L$1(xe.children):xe.value.filter(({state:$e})=>$e==="visible").length>0}function Q$2(xe){let $e=ref([]),Ie=ref(!1);onMounted(()=>Ie.value=!0),onUnmounted(()=>Ie.value=!1);function Fe(qe,At=S$2.Hidden){let Dt=$e.value.findIndex(({id:Lt})=>Lt===qe);Dt!==-1&&(u$7(At,{[S$2.Unmount](){$e.value.splice(Dt,1)},[S$2.Hidden](){$e.value[Dt].state="hidden"}}),!L$1($e)&&Ie.value&&(xe==null||xe()))}function Ue(qe){let At=$e.value.find(({id:Dt})=>Dt===qe);return At?At.state!=="visible"&&(At.state="visible"):$e.value.push({id:qe,state:"visible"}),()=>Fe(qe,S$2.Unmount)}return{children:$e,register:Ue,unregister:Fe}}let W$2=N$6.RenderStrategy,he=defineComponent({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(xe,{emit:$e,attrs:Ie,slots:Fe,expose:Ue}){let qe=ref(0);function At(){qe.value|=i$3.Opening,$e("beforeEnter")}function Dt(){qe.value&=~i$3.Opening,$e("afterEnter")}function Lt(){qe.value|=i$3.Closing,$e("beforeLeave")}function jt(){qe.value&=~i$3.Closing,$e("afterLeave")}if(!me$1()&&s$4())return()=>h$5(Se$1,{...xe,onBeforeEnter:At,onAfterEnter:Dt,onBeforeLeave:Lt,onAfterLeave:jt},Fe);let hn=ref(null),vn=computed(()=>xe.unmount?S$2.Unmount:S$2.Hidden);Ue({el:hn,$el:hn});let{show:bn,appear:_n}=Te$1(),{register:wn,unregister:kn}=ge$1(),Cn=ref(bn.value?"visible":"hidden"),Sn={value:!0},xn=I$4(),En={value:!1},Tn=Q$2(()=>{!En.value&&Cn.value!=="hidden"&&(Cn.value="hidden",kn(xn),jt())});onMounted(()=>{let Bn=wn(xn);onUnmounted(Bn)}),watchEffect(()=>{if(vn.value===S$2.Hidden&&xn){if(bn.value&&Cn.value!=="visible"){Cn.value="visible";return}u$7(Cn.value,{hidden:()=>kn(xn),visible:()=>wn(xn)})}});let An=g$2(xe.enter),$n=g$2(xe.enterFrom),Pn=g$2(xe.enterTo),Nn=g$2(xe.entered),Mn=g$2(xe.leave),In=g$2(xe.leaveFrom),On=g$2(xe.leaveTo);onMounted(()=>{watchEffect(()=>{if(Cn.value==="visible"){let Bn=o$3(hn);if(Bn instanceof Comment&&Bn.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function Rn(Bn){let Vn=Sn.value&&!_n.value,Ln=o$3(hn);!Ln||!(Ln instanceof HTMLElement)||Vn||(En.value=!0,bn.value&&At(),bn.value||Lt(),Bn(bn.value?L$2(Ln,An,$n,Pn,Nn,Dn=>{En.value=!1,Dn===g$3.Finished&&Dt()}):L$2(Ln,Mn,In,On,Nn,Dn=>{En.value=!1,Dn===g$3.Finished&&(L$1(Tn)||(Cn.value="hidden",kn(xn),jt()))})))}return onMounted(()=>{watch([bn],(Bn,Vn,Ln)=>{Rn(Ln),Sn.value=!1},{immediate:!0})}),provide(N$3,Tn),t$4(computed(()=>u$7(Cn.value,{visible:i$3.Open,hidden:i$3.Closed})|qe.value)),()=>{let{appear:Bn,show:Vn,enter:Ln,enterFrom:Dn,enterTo:Hn,entered:Fn,leave:zn,leaveFrom:jn,leaveTo:Gn,...Wn}=xe,Xn={ref:hn},er={...Wn,..._n.value&&bn.value&&c$4.isServer?{class:normalizeClass([Ie.class,Wn.class,...An,...$n])}:{}};return A$4({theirProps:er,ourProps:Xn,slot:{},slots:Fe,attrs:Ie,features:W$2,visible:Cn.value==="visible",name:"TransitionChild"})}}}),ce$1=he,Se$1=defineComponent({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(xe,{emit:$e,attrs:Ie,slots:Fe}){let Ue=l$4(),qe=computed(()=>xe.show===null&&Ue!==null?(Ue.value&i$3.Open)===i$3.Open:xe.show);watchEffect(()=>{if(![!0,!1].includes(qe.value))throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')});let At=ref(qe.value?"visible":"hidden"),Dt=Q$2(()=>{At.value="hidden"}),Lt=ref(!0),jt={show:qe,appear:computed(()=>xe.appear||!Lt.value)};return onMounted(()=>{watchEffect(()=>{Lt.value=!1,qe.value?At.value="visible":L$1(Dt)||(At.value="hidden")})}),provide(N$3,Dt),provide(R$2,jt),()=>{let hn=T$3(xe,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),vn={unmount:xe.unmount};return A$4({ourProps:{...vn,as:"template"},theirProps:{},slot:{},slots:{...Fe,default:()=>[h$5(ce$1,{onBeforeEnter:()=>$e("beforeEnter"),onAfterEnter:()=>$e("afterEnter"),onBeforeLeave:()=>$e("beforeLeave"),onAfterLeave:()=>$e("afterLeave"),...Ie,...vn,...hn},Fe.default)]},attrs:{},features:W$2,visible:At.value==="visible",name:"Transition"})}}});/*!
 * OverlayScrollbars
 * Version: 2.8.3
 *
 * Copyright (c) Rene Haas | KingSora.
 * https://github.com/KingSora
 *
 * Released under the MIT license.
 */const createCache=(xe,$e)=>{const{o:Ie,i:Fe,u:Ue}=xe;let qe=Ie,At;const Dt=(hn,vn)=>{const bn=qe,_n=hn,wn=vn||(Fe?!Fe(bn,_n):bn!==_n);return(wn||Ue)&&(qe=_n,At=bn),[qe,wn,At]};return[$e?hn=>Dt($e(qe,At),hn):Dt,hn=>[qe,!!hn,At]]},t=typeof window<"u"&&typeof document<"u",n=t?window:{},o$1=Math.max,s$1=Math.min,e$1=Math.round,c$1=Math.abs,r=Math.sign,l$1=n.cancelAnimationFrame,i$1=n.requestAnimationFrame,a$1=n.setTimeout,u$1=n.clearTimeout,getApi=xe=>typeof n[xe]<"u"?n[xe]:void 0,_$1=getApi("MutationObserver"),d$1=getApi("IntersectionObserver"),f$1=getApi("ResizeObserver"),p$1=getApi("ScrollTimeline"),v$1=t&&Node.ELEMENT_NODE,{toString:h$1,hasOwnProperty:g$1}=Object.prototype,isUndefined$3=xe=>xe===void 0,isNull=xe=>xe===null,isNumber$3=xe=>typeof xe=="number",isString$3=xe=>typeof xe=="string",isBoolean$2=xe=>typeof xe=="boolean",isFunction$4=xe=>typeof xe=="function",isArray$5=xe=>Array.isArray(xe),isObject$7=xe=>typeof xe=="object"&&!isArray$5(xe)&&!isNull(xe),isArrayLike$2=xe=>{const $e=!!xe&&xe.length,Ie=isNumber$3($e)&&$e>-1&&$e%1==0;return isArray$5(xe)||!isFunction$4(xe)&&Ie?$e>0&&isObject$7(xe)?$e-1 in xe:!0:!1},isPlainObject$3=xe=>{if(!xe||!isObject$7(xe))return!1;let $e;const Ie="constructor",Fe=xe[Ie],Ue=Fe&&Fe.prototype,qe=g$1.call(xe,Ie),At=Ue&&g$1.call(Ue,"isPrototypeOf");if(Fe&&!qe&&!At)return!1;for($e in xe);return isUndefined$3($e)||g$1.call(xe,$e)},isHTMLElement$1=xe=>{const $e=HTMLElement;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1},isElement$2=xe=>{const $e=Element;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1};function each$g(xe,$e){if(isArrayLike$2(xe))for(let Ie=0;Ie<xe.length&&$e(xe[Ie],Ie,xe)!==!1;Ie++);else xe&&each$g(Object.keys(xe),Ie=>$e(xe[Ie],Ie,xe));return xe}const inArray=(xe,$e)=>xe.indexOf($e)>=0,concat=(xe,$e)=>xe.concat($e),push$1=(xe,$e,Ie)=>(!isString$3($e)&&isArrayLike$2($e)?Array.prototype.push.apply(xe,$e):xe.push($e),xe),from=xe=>Array.from(xe||[]),createOrKeepArray=xe=>isArray$5(xe)?xe:[xe],isEmptyArray=xe=>!!xe&&!xe.length,deduplicateArray=xe=>from(new Set(xe)),runEachAndClear=(xe,$e,Ie)=>{each$g(xe,Ue=>Ue&&Ue.apply(void 0,$e||[])),!Ie&&(xe.length=0)},b$1="paddingTop",w$1="paddingRight",y="paddingLeft",m$2="paddingBottom",S$1="marginLeft",O$1="marginRight",$="marginBottom",C$1="overflowX",x$2="overflowY",H$1="width",E$2="height",z="visible",I$2="hidden",A$1="scroll",capitalizeFirstLetter=xe=>{const $e=String(xe||"");return $e?$e[0].toUpperCase()+$e.slice(1):""},equal=(xe,$e,Ie,Fe)=>{if(xe&&$e){let Ue=!0;return each$g(Ie,qe=>{const At=xe[qe],Dt=$e[qe];At!==Dt&&(Ue=!1)}),Ue}return!1},equalWH=(xe,$e)=>equal(xe,$e,["w","h"]),equalXY=(xe,$e)=>equal(xe,$e,["x","y"]),equalTRBL=(xe,$e)=>equal(xe,$e,["t","r","b","l"]),noop$7=()=>{},bind$3=(xe,...$e)=>xe.bind(0,...$e),selfClearTimeout=xe=>{let $e;const Ie=xe?a$1:i$1,Fe=xe?u$1:l$1;return[Ue=>{Fe($e),$e=Ie(()=>Ue(),isFunction$4(xe)?xe():xe)},()=>Fe($e)]},debounce$1=(xe,$e)=>{const{_:Ie,p:Fe,v:Ue,m:qe}=$e||{};let At,Dt,Lt,jt,hn=noop$7;const vn=function(Cn){hn(),u$1(At),jt=At=Dt=void 0,hn=noop$7,xe.apply(this,Cn)},bn=kn=>qe&&Dt?qe(Dt,kn):kn,_n=()=>{hn!==noop$7&&vn(bn(Lt)||Lt)},wn=function(){const Cn=from(arguments),Sn=isFunction$4(Ie)?Ie():Ie;if(isNumber$3(Sn)&&Sn>=0){const En=isFunction$4(Fe)?Fe():Fe,Tn=isNumber$3(En)&&En>=0,An=Sn>0?a$1:i$1,$n=Sn>0?u$1:l$1,Nn=bn(Cn)||Cn,Mn=vn.bind(0,Nn);let In;hn(),Ue&&!jt?(Mn(),jt=!0,In=An(()=>jt=void 0,Sn)):(In=An(Mn,Sn),Tn&&!At&&(At=a$1(_n,En))),hn=()=>$n(In),Dt=Lt=Nn}else vn(Cn)};return wn.S=_n,wn},hasOwnProperty$e=(xe,$e)=>Object.prototype.hasOwnProperty.call(xe,$e),keys$2=xe=>xe?Object.keys(xe):[],assignDeep=(xe,$e,Ie,Fe,Ue,qe,At)=>{const Dt=[$e,Ie,Fe,Ue,qe,At];return(typeof xe!="object"||isNull(xe))&&!isFunction$4(xe)&&(xe={}),each$g(Dt,Lt=>{each$g(Lt,(jt,hn)=>{const vn=Lt[hn];if(xe===vn)return!0;const bn=isArray$5(vn);if(vn&&isPlainObject$3(vn)){const _n=xe[hn];let wn=_n;bn&&!isArray$5(_n)?wn=[]:!bn&&!isPlainObject$3(_n)&&(wn={}),xe[hn]=assignDeep(wn,vn)}else xe[hn]=bn?vn.slice():vn})}),xe},removeUndefinedProperties=(xe,$e)=>each$g(assignDeep({},xe),(Ie,Fe,Ue)=>{Ie===void 0?delete Ue[Fe]:Ie&&isPlainObject$3(Ie)&&(Ue[Fe]=removeUndefinedProperties(Ie))}),isEmptyObject=xe=>{for(const $e in xe)return!1;return!0},capNumber=(xe,$e,Ie)=>o$1(xe,s$1($e,Ie)),getDomTokensArray=xe=>from(new Set((isArray$5(xe)?xe:(xe||"").split(" ")).filter($e=>$e))),getAttr=(xe,$e)=>xe&&xe.getAttribute($e),hasAttr=(xe,$e)=>xe&&xe.hasAttribute($e),setAttrs=(xe,$e,Ie)=>{each$g(getDomTokensArray($e),Fe=>{xe&&xe.setAttribute(Fe,String(Ie||""))})},removeAttrs=(xe,$e)=>{each$g(getDomTokensArray($e),Ie=>xe&&xe.removeAttribute(Ie))},domTokenListAttr=(xe,$e)=>{const Ie=getDomTokensArray(getAttr(xe,$e)),Fe=bind$3(setAttrs,xe,$e),Ue=(qe,At)=>{const Dt=new Set(Ie);return each$g(getDomTokensArray(qe),Lt=>{Dt[At](Lt)}),from(Dt).join(" ")};return{O:qe=>Fe(Ue(qe,"delete")),$:qe=>Fe(Ue(qe,"add")),C:qe=>{const At=getDomTokensArray(qe);return At.reduce((Dt,Lt)=>Dt&&Ie.includes(Lt),At.length>0)}}},removeAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).O(Ie),bind$3(addAttrClass,xe,$e,Ie)),addAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).$(Ie),bind$3(removeAttrClass,xe,$e,Ie)),addRemoveAttrClass=(xe,$e,Ie,Fe)=>(Fe?addAttrClass:removeAttrClass)(xe,$e,Ie),hasAttrClass=(xe,$e,Ie)=>domTokenListAttr(xe,$e).C(Ie),createDomTokenListClass=xe=>domTokenListAttr(xe,"class"),removeClass$1=(xe,$e)=>{createDomTokenListClass(xe).O($e)},addClass$1=(xe,$e)=>(createDomTokenListClass(xe).$($e),bind$3(removeClass$1,xe,$e)),find$1=(xe,$e)=>{const Ie=[],Fe=$e?isElement$2($e)&&$e:document;return Fe?push$1(Ie,Fe.querySelectorAll(xe)):Ie},findFirst=(xe,$e)=>{const Ie=$e?isElement$2($e)&&$e:document;return Ie?Ie.querySelector(xe):null},is=(xe,$e)=>isElement$2(xe)?xe.matches($e):!1,isBodyElement=xe=>is(xe,"body"),contents=xe=>xe?from(xe.childNodes):[],parent$2=xe=>xe&&xe.parentElement,closest=(xe,$e)=>isElement$2(xe)&&xe.closest($e),getFocusedElement=xe=>document.activeElement,liesBetween=(xe,$e,Ie)=>{const Fe=closest(xe,$e),Ue=xe&&findFirst(Ie,Fe),qe=closest(Ue,$e)===Fe;return Fe&&Ue?Fe===xe||Ue===xe||qe&&closest(closest(xe,Ie),$e)!==Fe:!1},removeElements=xe=>{if(isArrayLike$2(xe))each$g(from(xe),$e=>removeElements($e));else if(xe){const $e=parent$2(xe);$e&&$e.removeChild(xe)}},before=(xe,$e,Ie)=>{if(Ie&&xe){let Fe=$e,Ue;return isArrayLike$2(Ie)?(Ue=document.createDocumentFragment(),each$g(Ie,qe=>{qe===Fe&&(Fe=qe.previousSibling),Ue.appendChild(qe)})):Ue=Ie,$e&&(Fe?Fe!==$e&&(Fe=Fe.nextSibling):Fe=xe.firstChild),xe.insertBefore(Ue,Fe||null),()=>removeElements(Ie)}return noop$7},appendChildren=(xe,$e)=>before(xe,null,$e),insertAfter=(xe,$e)=>before(parent$2(xe),xe&&xe.nextSibling,$e),createDiv=xe=>{const $e=document.createElement("div");return setAttrs($e,"class",xe),$e},createDOM=xe=>{const $e=createDiv();return $e.innerHTML=xe.trim(),each$g(contents($e),Ie=>removeElements(Ie))},T$1=/^--/,getCSSVal=(xe,$e)=>xe.getPropertyValue($e)||xe[$e]||"",validFiniteNumber=xe=>{const $e=xe||0;return isFinite($e)?$e:0},parseToZeroOrNumber=xe=>validFiniteNumber(parseFloat(xe||"")),ratioToCssPercent=xe=>`${(validFiniteNumber(xe)*100).toFixed(3)}%`,numberToCssPx=xe=>`${validFiniteNumber(xe)}px`;function setStyles(xe,$e){xe&&$e&&each$g($e,(Ie,Fe)=>{try{const Ue=xe.style,qe=isNumber$3(Ie)?numberToCssPx(Ie):(Ie||"")+"";T$1.test(Fe)?Ue.setProperty(Fe,qe):Ue[Fe]=qe}catch{}})}function getStyles(xe,$e,Ie){const Fe=isString$3($e);let Ue=Fe?"":{};if(xe){const qe=n.getComputedStyle(xe,Ie)||xe.style;Ue=Fe?getCSSVal(qe,$e):from($e).reduce((At,Dt)=>(At[Dt]=getCSSVal(qe,Dt),At),Ue)}return Ue}const topRightBottomLeft=(xe,$e,Ie)=>{const Fe=$e?`${$e}-`:"",Ue=Ie?`-${Ie}`:"",qe=`${Fe}top${Ue}`,At=`${Fe}right${Ue}`,Dt=`${Fe}bottom${Ue}`,Lt=`${Fe}left${Ue}`,jt=getStyles(xe,[qe,At,Dt,Lt]);return{t:parseToZeroOrNumber(jt[qe]),r:parseToZeroOrNumber(jt[At]),b:parseToZeroOrNumber(jt[Dt]),l:parseToZeroOrNumber(jt[Lt])}},getTrasformTranslateValue=(xe,$e)=>`translate${isObject$7(xe)?`(${xe.x},${xe.y})`:`${$e?"X":"Y"}(${xe})`}`,elementHasDimensions=xe=>!!(xe.offsetWidth||xe.offsetHeight||xe.getClientRects().length),D$1={w:0,h:0},getElmWidthHeightProperty=(xe,$e)=>$e?{w:$e[`${xe}Width`],h:$e[`${xe}Height`]}:D$1,getWindowSize=xe=>getElmWidthHeightProperty("inner",xe||n),k$1=bind$3(getElmWidthHeightProperty,"offset"),M$1=bind$3(getElmWidthHeightProperty,"client"),R$1=bind$3(getElmWidthHeightProperty,"scroll"),getFractionalSize=xe=>{const $e=parseFloat(getStyles(xe,H$1))||0,Ie=parseFloat(getStyles(xe,E$2))||0;return{w:$e-e$1($e),h:Ie-e$1(Ie)}},getBoundingClientRect$1=xe=>xe.getBoundingClientRect(),hasDimensions=xe=>!!xe&&elementHasDimensions(xe),domRectHasDimensions=xe=>!!(xe&&(xe[E$2]||xe[H$1])),domRectAppeared=(xe,$e)=>{const Ie=domRectHasDimensions(xe);return!domRectHasDimensions($e)&&Ie},removeEventListener$1=(xe,$e,Ie,Fe)=>{each$g(getDomTokensArray($e),Ue=>{xe&&xe.removeEventListener(Ue,Ie,Fe)})},addEventListener$1=(xe,$e,Ie,Fe)=>{var Ue;const qe=(Ue=Fe&&Fe.H)!=null?Ue:!0,At=Fe&&Fe.I||!1,Dt=Fe&&Fe.A||!1,Lt={passive:qe,capture:At};return bind$3(runEachAndClear,getDomTokensArray($e).map(jt=>{const hn=Dt?vn=>{removeEventListener$1(xe,jt,hn,At),Ie&&Ie(vn)}:Ie;return xe&&xe.addEventListener(jt,hn,Lt),bind$3(removeEventListener$1,xe,jt,hn,At)}))},stopPropagation=xe=>xe.stopPropagation(),preventDefault$1=xe=>xe.preventDefault(),stopAndPrevent=xe=>stopPropagation(xe)||preventDefault$1(xe),scrollElementTo=(xe,$e)=>{const{x:Ie,y:Fe}=isNumber$3($e)?{x:$e,y:$e}:$e||{};isNumber$3(Ie)&&(xe.scrollLeft=Ie),isNumber$3(Fe)&&(xe.scrollTop=Fe)},getElementScroll=xe=>({x:xe.scrollLeft,y:xe.scrollTop}),getZeroScrollCoordinates=()=>({T:{x:0,y:0},D:{x:0,y:0}}),sanitizeScrollCoordinates=(xe,$e)=>{const{T:Ie,D:Fe}=xe,{w:Ue,h:qe}=$e,At=(vn,bn,_n)=>{let wn=r(vn)*_n,kn=r(bn)*_n;if(wn===kn){const Cn=c$1(vn),Sn=c$1(bn);kn=Cn>Sn?0:kn,wn=Cn<Sn?0:wn}return wn=wn===kn?0:wn,[wn+0,kn+0]},[Dt,Lt]=At(Ie.x,Fe.x,Ue),[jt,hn]=At(Ie.y,Fe.y,qe);return{T:{x:Dt,y:jt},D:{x:Lt,y:hn}}},isDefaultDirectionScrollCoordinates=({T:xe,D:$e})=>{const Ie=(Fe,Ue)=>Fe===0&&Fe<=Ue;return{x:Ie(xe.x,$e.x),y:Ie(xe.y,$e.y)}},getScrollCoordinatesPercent=({T:xe,D:$e},Ie)=>{const Fe=(Ue,qe,At)=>capNumber(0,1,(Ue-At)/(Ue-qe)||0);return{x:Fe(xe.x,$e.x,Ie.x),y:Fe(xe.y,$e.y,Ie.y)}},focusElement=xe=>{xe&&xe.focus&&xe.focus({preventScroll:!0})},manageListener=(xe,$e)=>{each$g(createOrKeepArray($e),xe)},createEventListenerHub=xe=>{const $e=new Map,Ie=(qe,At)=>{if(qe){const Dt=$e.get(qe);manageListener(Lt=>{Dt&&Dt[Lt?"delete":"clear"](Lt)},At)}else $e.forEach(Dt=>{Dt.clear()}),$e.clear()},Fe=(qe,At)=>{if(isString$3(qe)){const jt=$e.get(qe)||new Set;return $e.set(qe,jt),manageListener(hn=>{isFunction$4(hn)&&jt.add(hn)},At),bind$3(Ie,qe,At)}isBoolean$2(At)&&At&&Ie();const Dt=keys$2(qe),Lt=[];return each$g(Dt,jt=>{const hn=qe[jt];hn&&push$1(Lt,Fe(jt,hn))}),bind$3(runEachAndClear,Lt)},Ue=(qe,At)=>{each$g(from($e.get(qe)),Dt=>{At&&!isEmptyArray(At)?Dt.apply(0,At):Dt()})};return Fe(xe||{}),[Fe,Ie,Ue]},opsStringify=xe=>JSON.stringify(xe,($e,Ie)=>{if(isFunction$4(Ie))throw 0;return Ie}),getPropByPath=(xe,$e)=>xe?`${$e}`.split(".").reduce((Ie,Fe)=>Ie&&hasOwnProperty$e(Ie,Fe)?Ie[Fe]:void 0,xe):void 0,V={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(xe,$e)=>{const Ie={},Fe=concat(keys$2($e),keys$2(xe));return each$g(Fe,Ue=>{const qe=xe[Ue],At=$e[Ue];if(isObject$7(qe)&&isObject$7(At))assignDeep(Ie[Ue]={},getOptionsDiff(qe,At)),isEmptyObject(Ie[Ue])&&delete Ie[Ue];else if(hasOwnProperty$e($e,Ue)&&At!==qe){let Dt=!0;if(isArray$5(qe)||isArray$5(At))try{opsStringify(qe)===opsStringify(At)&&(Dt=!1)}catch{}Dt&&(Ie[Ue]=At)}}),Ie},createOptionCheck=(xe,$e,Ie)=>Fe=>[getPropByPath(xe,Fe),Ie||getPropByPath($e,Fe)!==void 0],L="data-overlayscrollbars",P$3="os-environment",U$2=`${P$3}-scrollbar-hidden`,N$2=`${L}-initialize`,q$1="noClipping",B$1=`${L}-body`,F$1=L,j="host",X$2=`${L}-viewport`,Y$1=C$1,W$1=x$2,J$1="arrange",K$1="measuring",G$1="scrollbarHidden",Q$1="scrollbarPressed",Z$1="noContent",tt$1=`${L}-padding`,nt$1=`${L}-content`,ot$1="os-size-observer",st$1=`${ot$1}-appear`,et$1=`${ot$1}-listener`,it$1="os-trinsic-observer",at$1="os-theme-none",ut$1="os-scrollbar",_t$1=`${ut$1}-rtl`,dt$1=`${ut$1}-horizontal`,ft$1=`${ut$1}-vertical`,pt$1=`${ut$1}-track`,vt$1=`${ut$1}-handle`,ht$1=`${ut$1}-visible`,gt$1=`${ut$1}-cornerless`,bt$1=`${ut$1}-interaction`,wt$1=`${ut$1}-unusable`,yt$1=`${ut$1}-auto-hide`,mt$1=`${yt$1}-hidden`,St$1=`${ut$1}-wheel`,Ot$1=`${pt$1}-interactive`,$t$1=`${vt$1}-interactive`;let Ct$1;const createEnvironment=()=>{const xe=(xn,En,Tn)=>{appendChildren(document.body,xn),appendChildren(document.body,xn);const An=M$1(xn),$n=k$1(xn),Pn=getFractionalSize(En);return Tn&&removeElements(xn),{x:$n.h-An.h+Pn.h,y:$n.w-An.w+Pn.w}},$e=xn=>{let En=!1;const Tn=addClass$1(xn,U$2);try{En=getStyles(xn,"scrollbar-width")==="none"||getStyles(xn,"display","::-webkit-scrollbar")==="none"}catch{}return Tn(),En},Ie=`.${P$3}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${P$3} div{width:200%;height:200%;margin:10px 0}.${U$2}{scrollbar-width:none!important}.${U$2}::-webkit-scrollbar,.${U$2}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,Ue=createDOM(`<div class="${P$3}"><div></div><style>${Ie}</style></div>`)[0],qe=Ue.firstChild,[At,,Dt]=createEventListenerHub(),[Lt,jt]=createCache({o:xe(Ue,qe),i:equalXY},bind$3(xe,Ue,qe,!0)),[hn]=jt(),vn=$e(Ue),bn={x:hn.x===0,y:hn.y===0},_n={elements:{host:null,padding:!vn,viewport:xn=>vn&&isBodyElement(xn)&&xn,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},wn=assignDeep({},V),kn=bind$3(assignDeep,{},wn),Cn=bind$3(assignDeep,{},_n),Sn={k:hn,M:bn,R:vn,V:!!p$1,L:bind$3(At,"r"),P:Cn,U:xn=>assignDeep(_n,xn)&&Cn(),N:kn,q:xn=>assignDeep(wn,xn)&&kn(),B:assignDeep({},_n),F:assignDeep({},wn)};if(removeAttrs(Ue,"style"),removeElements(Ue),addEventListener$1(n,"resize",()=>{Dt("r",[])}),isFunction$4(n.matchMedia)&&!vn&&(!bn.x||!bn.y)){const xn=En=>{const Tn=n.matchMedia(`(resolution: ${n.devicePixelRatio}dppx)`);addEventListener$1(Tn,"change",()=>{En(),xn(En)},{A:!0})};xn(()=>{const[En,Tn]=Lt();assignDeep(Sn.k,En),Dt("r",[Tn])})}return Sn},getEnvironment=()=>(Ct$1||(Ct$1=createEnvironment()),Ct$1),resolveInitialization=(xe,$e)=>isFunction$4($e)?$e.apply(0,xe):$e,staticInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe;return resolveInitialization(xe,Ue)||$e.apply(0,xe)},dynamicInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe,qe=resolveInitialization(xe,Ue);return!!qe&&(isHTMLElement$1(qe)?qe:$e.apply(0,xe))},cancelInitialization=(xe,$e)=>{const{nativeScrollbarsOverlaid:Ie,body:Fe}=$e||{},{M:Ue,R:qe,P:At}=getEnvironment(),{nativeScrollbarsOverlaid:Dt,body:Lt}=At().cancel,jt=Ie??Dt,hn=isUndefined$3(Fe)?Lt:Fe,vn=(Ue.x||Ue.y)&&jt,bn=xe&&(isNull(hn)?!qe:hn);return!!vn||!!bn},xt$1=new WeakMap,addInstance=(xe,$e)=>{xt$1.set(xe,$e)},removeInstance=xe=>{xt$1.delete(xe)},getInstance$1=xe=>xt$1.get(xe),createEventContentChange=(xe,$e,Ie)=>{let Fe=!1;const Ue=Ie?new WeakMap:!1,qe=()=>{Fe=!0},At=Dt=>{if(Ue&&Ie){const Lt=Ie.map(jt=>{const[hn,vn]=jt||[];return[vn&&hn?(Dt||find$1)(hn,xe):[],vn]});each$g(Lt,jt=>each$g(jt[0],hn=>{const vn=jt[1],bn=Ue.get(hn)||[];if(xe.contains(hn)&&vn){const wn=addEventListener$1(hn,vn,kn=>{Fe?(wn(),Ue.delete(hn)):$e(kn)});Ue.set(hn,push$1(bn,wn))}else runEachAndClear(bn),Ue.delete(hn)}))}};return At(),[qe,At]},createDOMObserver=(xe,$e,Ie,Fe)=>{let Ue=!1;const{j:qe,X:At,Y:Dt,W:Lt,J:jt,K:hn}=Fe||{},vn=debounce$1(()=>Ue&&Ie(!0),{_:33,p:99}),[bn,_n]=createEventContentChange(xe,vn,Dt),wn=qe||[],kn=At||[],Cn=concat(wn,kn),Sn=(En,Tn)=>{if(!isEmptyArray(Tn)){const An=jt||noop$7,$n=hn||noop$7,Pn=[],Nn=[];let Mn=!1,In=!1;if(each$g(Tn,On=>{const{attributeName:Rn,target:Bn,type:Vn,oldValue:Ln,addedNodes:Dn,removedNodes:Hn}=On,Fn=Vn==="attributes",zn=Vn==="childList",jn=xe===Bn,Gn=Fn&&Rn,Wn=Gn&&getAttr(Bn,Rn||""),Xn=isString$3(Wn)?Wn:null,er=Gn&&Ln!==Xn,rr=inArray(kn,Rn)&&er;if($e&&(zn||!jn)){const Jn=Fn&&er,qn=Jn&&Lt&&is(Bn,Lt),ar=(qn?!An(Bn,Rn,Ln,Xn):!Fn||Jn)&&!$n(On,!!qn,xe,Fe);each$g(Dn,tr=>push$1(Pn,tr)),each$g(Hn,tr=>push$1(Pn,tr)),In=In||ar}!$e&&jn&&er&&!An(Bn,Rn,Ln,Xn)&&(push$1(Nn,Rn),Mn=Mn||rr)}),_n(On=>deduplicateArray(Pn).reduce((Rn,Bn)=>(push$1(Rn,find$1(On,Bn)),is(Bn,On)?push$1(Rn,Bn):Rn),[])),$e)return!En&&In&&Ie(!1),[!1];if(!isEmptyArray(Nn)||Mn){const On=[deduplicateArray(Nn),Mn];return!En&&Ie.apply(0,On),On}}},xn=new _$1(bind$3(Sn,!1));return[()=>(xn.observe(xe,{attributes:!0,attributeOldValue:!0,attributeFilter:Cn,subtree:$e,childList:$e,characterData:$e}),Ue=!0,()=>{Ue&&(bn(),xn.disconnect(),Ue=!1)}),()=>{if(Ue)return vn.S(),Sn(!0,xn.takeRecords())}]},Ht$1={},Et={},addPlugins=xe=>{each$g(xe,$e=>each$g($e,(Ie,Fe)=>{Ht$1[Fe]=$e[Fe]}))},registerPluginModuleInstances=(xe,$e,Ie)=>keys$2(xe).map(Fe=>{const{static:Ue,instance:qe}=xe[Fe],[At,Dt,Lt]=Ie||[],jt=Ie?qe:Ue;if(jt){const hn=Ie?jt(At,Dt,$e):jt($e);return(Lt||Et)[Fe]=hn}}),getStaticPluginModuleInstance=xe=>Et[xe],zt$1="__osOptionsValidationPlugin",It$1="__osSizeObserverPlugin",getShowNativeOverlaidScrollbars=(xe,$e)=>{const{M:Ie}=$e,[Fe,Ue]=xe("showNativeOverlaidScrollbars");return[Fe&&Ie.x&&Ie.y,Ue]},overflowIsVisible=xe=>xe.indexOf(z)===0,createViewportOverflowState=(xe,$e)=>{const Ie=(Ue,qe,At,Dt)=>{const Lt=Ue===z?I$2:Ue.replace(`${z}-`,""),jt=overflowIsVisible(Ue),hn=overflowIsVisible(At);return!qe&&!Dt?I$2:jt&&hn?z:jt?qe&&Dt?Lt:qe?z:I$2:qe?Lt:hn&&Dt?z:I$2},Fe={x:Ie($e.x,xe.x,$e.y,xe.y),y:Ie($e.y,xe.y,$e.x,xe.x)};return{G:Fe,Z:{x:Fe.x===A$1,y:Fe.y===A$1}}},Tt$1="__osScrollbarsHidingPlugin",kt="__osClickScrollPlugin",createSizeObserver=(xe,$e,Ie)=>{const{dt:Fe}=Ie||{},Ue=getStaticPluginModuleInstance(It$1),[qe]=createCache({o:!1,u:!0});return()=>{const At=[],Lt=createDOM(`<div class="${ot$1}"><div class="${et$1}"></div></div>`)[0],jt=Lt.firstChild,hn=vn=>{const bn=vn instanceof ResizeObserverEntry;let _n=!1,wn=!1;if(bn){const[kn,,Cn]=qe(vn.contentRect),Sn=domRectHasDimensions(kn);wn=domRectAppeared(kn,Cn),_n=!wn&&!Sn}else wn=vn===!0;_n||$e({ft:!0,dt:wn})};if(f$1){const vn=new f$1(bn=>hn(bn.pop()));vn.observe(jt),push$1(At,()=>{vn.disconnect()})}else if(Ue){const[vn,bn]=Ue(jt,hn,Fe);push$1(At,concat([addClass$1(Lt,st$1),addEventListener$1(Lt,"animationstart",vn)],bn))}else return noop$7;return bind$3(runEachAndClear,push$1(At,appendChildren(xe,Lt)))}},createTrinsicObserver=(xe,$e)=>{let Ie;const Fe=Lt=>Lt.h===0||Lt.isIntersecting||Lt.intersectionRatio>0,Ue=createDiv(it$1),[qe]=createCache({o:!1}),At=(Lt,jt)=>{if(Lt){const hn=qe(Fe(Lt)),[,vn]=hn;return vn&&!jt&&$e(hn)&&[hn]}},Dt=(Lt,jt)=>At(jt.pop(),Lt);return[()=>{const Lt=[];if(d$1)Ie=new d$1(bind$3(Dt,!1),{root:xe}),Ie.observe(Ue),push$1(Lt,()=>{Ie.disconnect()});else{const jt=()=>{const hn=k$1(Ue);At(hn)};push$1(Lt,createSizeObserver(Ue,jt)()),jt()}return bind$3(runEachAndClear,push$1(Lt,appendChildren(xe,Ue)))},()=>Ie&&Dt(!0,Ie.takeRecords())]},createObserversSetup=(xe,$e,Ie,Fe)=>{let Ue,qe,At,Dt,Lt,jt;const hn=`[${F$1}]`,vn=`[${X$2}]`,bn=[],_n=["wrap","cols","rows"],wn=["id","class","style","open"],{vt:kn,ht:Cn,ot:Sn,gt:xn,bt:En,wt:Tn,nt:An,yt:$n,St:Pn,Ot:Nn}=xe,Mn=Yn=>getStyles(Yn,"direction")==="rtl",In={$t:!1,ct:Mn(kn)},On=getEnvironment(),Rn=getStaticPluginModuleInstance(Tt$1),[Bn]=createCache({i:equalWH,o:{w:0,h:0}},()=>{const Yn=Rn&&Rn.tt(xe,$e,In,On,Ie).ut,tr=!($n&&An)&&hasAttrClass(Cn,F$1,q$1),or=!An&&Pn(J$1),sr=or&&getElementScroll(xn),Kn=Nn(K$1,tr),Zn=or&&Yn&&Yn()[0],nr=R$1(Sn),lr=getFractionalSize(Sn);return Zn&&Zn(),scrollElementTo(xn,sr),tr&&Kn(),{w:nr.w+lr.w,h:nr.h+lr.h}}),Vn=Tn?_n:concat(wn,_n),Ln=debounce$1(Fe,{_:()=>Ue,p:()=>qe,m(Yn,ar){const[tr]=Yn,[or]=ar;return[concat(keys$2(tr),keys$2(or)).reduce((sr,Kn)=>(sr[Kn]=tr[Kn]||or[Kn],sr),{})]}}),Dn=Yn=>{const ar=Mn(kn);assignDeep(Yn,{Ct:jt!==ar}),assignDeep(In,{ct:ar}),jt=ar},Hn=(Yn,ar)=>{const[tr,or]=Yn,sr={xt:or};return assignDeep(In,{$t:tr}),!ar&&Fe(sr),sr},Fn=({ft:Yn,dt:ar})=>{const or=!(Yn&&!ar)&&On.R?Ln:Fe,sr={ft:Yn||ar,dt:ar};Dn(sr),or(sr)},zn=(Yn,ar)=>{const[,tr]=Bn(),or={Ht:tr};return Dn(or),tr&&!ar&&(Yn?Fe:Ln)(or),or},jn=(Yn,ar,tr)=>{const or={Et:ar};return Dn(or),ar&&!tr&&Ln(or),or},[Gn,Wn]=En?createTrinsicObserver(Cn,Hn):[],Xn=!An&&createSizeObserver(Cn,Fn,{dt:!0}),[er,rr]=createDOMObserver(Cn,!1,jn,{X:wn,j:concat(wn,bn)}),Jn=An&&f$1&&new f$1(Yn=>{const ar=Yn[Yn.length-1].contentRect;Fn({ft:!0,dt:domRectAppeared(ar,Lt)}),Lt=ar}),qn=debounce$1(()=>{const[,Yn]=Bn();Fe({Ht:Yn})},{_:222,v:!0});return[()=>{Jn&&Jn.observe(Cn);const Yn=Xn&&Xn(),ar=Gn&&Gn(),tr=er(),or=On.L(sr=>{sr?Ln({zt:sr}):qn()});return()=>{Jn&&Jn.disconnect(),Yn&&Yn(),ar&&ar(),Dt&&Dt(),tr(),or()}},({It:Yn,At:ar,Tt:tr})=>{const or={},[sr]=Yn("update.ignoreMutation"),[Kn,Zn]=Yn("update.attributes"),[nr,lr]=Yn("update.elementEvents"),[ir,kr]=Yn("update.debounce"),Cr=lr||Zn,Er=ar||tr,dr=br=>isFunction$4(sr)&&sr(br);if(Cr){At&&At(),Dt&&Dt();const[br,_r]=createDOMObserver(En||Sn,!0,zn,{j:concat(Vn,Kn||[]),Y:nr,W:hn,K:(Pr,vr)=>{const{target:xr,attributeName:Rr}=Pr;return(!vr&&Rr&&!An?liesBetween(xr,hn,vn):!1)||!!closest(xr,`.${ut$1}`)||!!dr(Pr)}});Dt=br(),At=_r}if(kr)if(Ln.S(),isArray$5(ir)){const br=ir[0],_r=ir[1];Ue=isNumber$3(br)&&br,qe=isNumber$3(_r)&&_r}else isNumber$3(ir)?(Ue=ir,qe=!1):(Ue=!1,qe=!1);if(Er){const br=rr(),_r=Wn&&Wn(),Pr=At&&At();br&&assignDeep(or,jn(br[0],br[1],Er)),_r&&assignDeep(or,Hn(_r[0],Er)),Pr&&assignDeep(or,zn(Pr[0],Er))}return Dn(or),or},In]},createScrollbarsSetupElements=(xe,$e,Ie,Fe)=>{const{P:Ue}=getEnvironment(),{scrollbars:qe}=Ue(),{slot:At}=qe,{vt:Dt,ht:Lt,ot:jt,Dt:hn,gt:vn,yt:bn,nt:_n}=$e,{scrollbars:wn}=hn?{}:xe,{slot:kn}=wn||{},Cn=new Map,Sn=rr=>p$1&&new p$1({source:vn,axis:rr}),xn={x:Sn("x"),y:Sn("y")},En=dynamicInitializationElement([Dt,Lt,jt],()=>_n&&bn?Dt:Lt,At,kn),Tn=(rr,Jn)=>{if(Jn){const sr=rr?H$1:E$2,{kt:Kn,Mt:Zn}=Jn,nr=getBoundingClientRect$1(Zn)[sr],lr=getBoundingClientRect$1(Kn)[sr];return capNumber(0,1,nr/lr||0)}const qn=rr?"x":"y",{Rt:Yn,Vt:ar}=Ie,tr=ar[qn],or=Yn[qn];return capNumber(0,1,tr/(tr+or)||0)},An=(rr,Jn,qn)=>{const Yn=Tn(qn,rr);return 1/Yn*(1-Yn)*Jn},$n=rr=>assignDeep(rr,{clear:["left"]}),Pn=rr=>{Cn.forEach((Jn,qn)=>{(rr?inArray(createOrKeepArray(rr),qn):!0)&&(each$g(Jn||[],ar=>{ar&&ar.cancel()}),Cn.delete(qn))})},Nn=(rr,Jn,qn,Yn)=>{const ar=Cn.get(rr)||[],tr=ar.find(or=>or&&or.timeline===Jn);tr?tr.effect=new KeyframeEffect(rr,qn,{composite:Yn}):Cn.set(rr,concat(ar,[rr.animate(qn,{timeline:Jn,composite:Yn})]))},Mn=(rr,Jn,qn)=>{const Yn=qn?addClass$1:removeClass$1;each$g(rr,ar=>{Yn(ar.Lt,Jn)})},In=(rr,Jn)=>{each$g(rr,qn=>{const[Yn,ar]=Jn(qn);setStyles(Yn,ar)})},On=(rr,Jn)=>{In(rr,qn=>{const{Mt:Yn}=qn;return[Yn,{[Jn?H$1:E$2]:ratioToCssPercent(Tn(Jn))}]})},Rn=(rr,Jn)=>{const{Pt:qn}=Ie,Yn=Jn?"x":"y",ar=xn[Yn],tr=isDefaultDirectionScrollCoordinates(qn)[Yn],or=(sr,Kn)=>getTrasformTranslateValue(ratioToCssPercent(An(sr,tr?Kn:1-Kn,Jn)),Jn);ar?each$g(rr,sr=>{const{Mt:Kn}=sr;Nn(Kn,ar,$n({transform:[0,1].map(Zn=>or(sr,Zn))}))}):In(rr,sr=>[sr.Mt,{transform:or(sr,getScrollCoordinatesPercent(qn,getElementScroll(vn))[Yn])}])},Bn=rr=>_n&&!bn&&parent$2(rr)===jt,Vn=[],Ln=[],Dn=[],Hn=(rr,Jn,qn)=>{const Yn=isBoolean$2(qn),ar=Yn?qn:!0,tr=Yn?!qn:!0;ar&&Mn(Ln,rr,Jn),tr&&Mn(Dn,rr,Jn)},Fn=()=>{On(Ln,!0),On(Dn)},zn=()=>{Rn(Ln,!0),Rn(Dn)},jn=()=>{if(_n){const{Rt:rr,Pt:Jn}=Ie,qn=isDefaultDirectionScrollCoordinates(Jn),Yn=.5;if(xn.x&&xn.y)each$g(concat(Dn,Ln),({Lt:ar})=>{if(Bn(ar)){const tr=or=>Nn(ar,xn[or],$n({transform:[0,qn[or]?1:-1].map(sr=>getTrasformTranslateValue(numberToCssPx(sr*(rr[or]-Yn)),or==="x"))}),"add");tr("x"),tr("y")}else Pn(ar)});else{const ar=getScrollCoordinatesPercent(Jn,getElementScroll(vn)),tr=or=>{const{Lt:sr}=or,Kn=Bn(sr)&&sr,Zn=(nr,lr,ir)=>{const kr=lr*nr;return numberToCssPx(ir?kr:-kr)};return[Kn,Kn&&{transform:getTrasformTranslateValue({x:Zn(ar.x,rr.x,qn.x),y:Zn(ar.y,rr.y,qn.y)})}]};In(Ln,tr),In(Dn,tr)}}},Gn=rr=>{const qn=createDiv(`${ut$1} ${rr?dt$1:ft$1}`),Yn=createDiv(pt$1),ar=createDiv(vt$1),tr={Lt:qn,kt:Yn,Mt:ar};return push$1(rr?Ln:Dn,tr),push$1(Vn,[appendChildren(qn,Yn),appendChildren(Yn,ar),bind$3(removeElements,qn),Pn,Fe(tr,Hn,Rn,rr)]),tr},Wn=bind$3(Gn,!0),Xn=bind$3(Gn,!1),er=()=>(appendChildren(En,Ln[0].Lt),appendChildren(En,Dn[0].Lt),bind$3(runEachAndClear,Vn));return Wn(),Xn(),[{Ut:Fn,Nt:zn,qt:jn,Bt:Hn,Ft:{V:xn.x,jt:Ln,Xt:Wn,Yt:bind$3(In,Ln)},Wt:{V:xn.y,jt:Dn,Xt:Xn,Yt:bind$3(In,Dn)}},er]},createScrollbarsSetupEvents=(xe,$e,Ie,Fe)=>(Ue,qe,At,Dt)=>{const{ht:Lt,ot:jt,nt:hn,gt:vn,Jt:bn,Ot:_n}=$e,{Lt:wn,kt:kn,Mt:Cn}=Ue,[Sn,xn]=selfClearTimeout(333),[En,Tn]=selfClearTimeout(444),[An,$n]=selfClearTimeout(),Pn=bind$3(At,[Ue],Dt),Nn=Bn=>{isFunction$4(vn.scrollBy)&&vn.scrollBy({behavior:"smooth",left:Bn.x,top:Bn.y})},Mn=Dt?H$1:E$2,In=()=>{const Bn="pointerup pointercancel lostpointercapture",Vn=`client${Dt?"X":"Y"}`,Ln=Dt?"left":"top",Dn=Dt?"w":"h",Hn=Dt?"x":"y",Fn=(zn,jn)=>Gn=>{const{Rt:Wn}=Ie,Xn=k$1(kn)[Dn]-k$1(Cn)[Dn],rr=jn*Gn/Xn*Wn[Hn];scrollElementTo(vn,{[Hn]:zn+rr})};return addEventListener$1(kn,"pointerdown",zn=>{const jn=closest(zn.target,`.${vt$1}`)===Cn,Gn=jn?Cn:kn,Wn=xe.scrollbars,{button:Xn,isPrimary:er,pointerType:rr}=zn,{pointers:Jn}=Wn;if(Xn===0&&er&&Wn[jn?"dragScroll":"clickScroll"]&&(Jn||[]).includes(rr)){Tn();const Yn=!jn&&zn.shiftKey,ar=bind$3(getBoundingClientRect$1,Cn),tr=bind$3(getBoundingClientRect$1,kn),or=(vr,xr)=>(vr||ar())[Ln]-(xr||tr())[Ln],sr=e$1(getBoundingClientRect$1(vn)[Mn])/k$1(vn)[Dn]||1,Kn=Fn(getElementScroll(vn)[Hn],1/sr),Zn=zn[Vn],nr=ar(),lr=tr(),ir=nr[Mn],kr=or(nr,lr)+ir/2,Cr=Zn-lr[Ln],Er=jn?0:Cr-kr,dr=vr=>{runEachAndClear(Pr),Gn.releasePointerCapture(vr.pointerId)},br=()=>_n(Q$1,!0),_r=br(),Pr=[()=>{const vr=getElementScroll(vn);_r();const xr=getElementScroll(vn),Rr={x:xr.x-vr.x,y:xr.y-vr.y};(c$1(Rr.x)>3||c$1(Rr.y)>3)&&(br(),scrollElementTo(vn,vr),Nn(Rr),En(_r))},addEventListener$1(bn,Bn,dr),addEventListener$1(bn,"selectstart",vr=>preventDefault$1(vr),{H:!1}),addEventListener$1(kn,Bn,dr),addEventListener$1(kn,"pointermove",vr=>{const xr=vr[Vn]-Zn;(jn||Yn)&&Kn(Er+xr)})];if(Gn.setPointerCapture(zn.pointerId),Yn)Kn(Er);else if(!jn){const vr=getStaticPluginModuleInstance(kt);vr&&push$1(Pr,vr(Kn,or,Er,ir,Cr))}}})};let On=!0;const Rn=Bn=>Bn.propertyName.indexOf(Mn)>-1;return bind$3(runEachAndClear,[addEventListener$1(Cn,"pointermove pointerleave",Fe),addEventListener$1(wn,"pointerenter",()=>{qe(bt$1,!0)}),addEventListener$1(wn,"pointerleave pointercancel",()=>{qe(bt$1,!1)}),!hn&&addEventListener$1(wn,"mousedown",()=>{const Bn=getFocusedElement();(hasAttr(Bn,X$2)||hasAttr(Bn,F$1)||Bn===document.body)&&a$1(bind$3(focusElement,jt),25)}),addEventListener$1(wn,"wheel",Bn=>{const{deltaX:Vn,deltaY:Ln,deltaMode:Dn}=Bn;On&&Dn===0&&parent$2(wn)===Lt&&Nn({x:Vn,y:Ln}),On=!1,qe(St$1,!0),Sn(()=>{On=!0,qe(St$1)}),preventDefault$1(Bn)},{H:!1,I:!0}),addEventListener$1(Cn,"transitionstart",Bn=>{if(Rn(Bn)){const Vn=()=>{Pn(),An(Vn)};Vn()}}),addEventListener$1(Cn,"transitionend transitioncancel",Bn=>{Rn(Bn)&&($n(),Pn())}),addEventListener$1(wn,"pointerdown",bind$3(addEventListener$1,bn,"click",stopAndPrevent,{A:!0,I:!0,H:!1}),{I:!0}),In(),xn,Tn,$n])},createScrollbarsSetup=(xe,$e,Ie,Fe,Ue,qe)=>{let At,Dt,Lt,jt,hn,vn=noop$7,bn=0;const _n=jn=>jn.pointerType==="mouse",[wn,kn]=selfClearTimeout(),[Cn,Sn]=selfClearTimeout(100),[xn,En]=selfClearTimeout(100),[Tn,An]=selfClearTimeout(()=>bn),[$n,Pn]=createScrollbarsSetupElements(xe,Ue,Fe,createScrollbarsSetupEvents($e,Ue,Fe,jn=>_n(jn)&&Dn())),{ht:Nn,Kt:Mn,yt:In}=Ue,{Bt:On,Ut:Rn,Nt:Bn,qt:Vn}=$n,Ln=(jn,Gn)=>{if(An(),jn)On(mt$1);else{const Wn=bind$3(On,mt$1,!0);bn>0&&!Gn?Tn(Wn):Wn()}},Dn=()=>{(Lt?!At:!jt)&&(Ln(!0),Cn(()=>{Ln(!1)}))},Hn=jn=>{On(yt$1,jn,!0),On(yt$1,jn,!1)},Fn=jn=>{_n(jn)&&(At=Lt,Lt&&Ln(!0))},zn=[An,Sn,En,kn,()=>vn(),addEventListener$1(Nn,"pointerover",Fn,{A:!0}),addEventListener$1(Nn,"pointerenter",Fn),addEventListener$1(Nn,"pointerleave",jn=>{_n(jn)&&(At=!1,Lt&&Ln(!1))}),addEventListener$1(Nn,"pointermove",jn=>{_n(jn)&&Dt&&Dn()}),addEventListener$1(Mn,"scroll",jn=>{wn(()=>{Bn(),Dn()}),qe(jn),Vn()})];return[()=>bind$3(runEachAndClear,push$1(zn,Pn())),({It:jn,Tt:Gn,Gt:Wn,Qt:Xn})=>{const{Zt:er,tn:rr,nn:Jn,sn:qn}=Xn||{},{Ct:Yn,dt:ar}=Wn||{},{ct:tr}=Ie,{M:or}=getEnvironment(),{G:sr,en:Kn}=Fe,[Zn,nr]=jn("showNativeOverlaidScrollbars"),[lr,ir]=jn("scrollbars.theme"),[kr,Cr]=jn("scrollbars.visibility"),[Er,dr]=jn("scrollbars.autoHide"),[br,_r]=jn("scrollbars.autoHideSuspend"),[Pr]=jn("scrollbars.autoHideDelay"),[vr,xr]=jn("scrollbars.dragScroll"),[Rr,Hr]=jn("scrollbars.clickScroll"),[Jr,Gr]=jn("overflow"),$r=ar&&!Gn,Br=Kn.x||Kn.y,Tr=er||rr||qn||Yn||Gn,cr=Jn||Cr||Gr,Sr=Zn&&or.x&&or.y,Dr=(mr,Lr,zr)=>{const Vr=mr.includes(A$1)&&(kr===z||kr==="auto"&&Lr===A$1);return On(ht$1,Vr,zr),Vr};if(bn=Pr,$r&&(br&&Br?(Hn(!1),vn(),xn(()=>{vn=addEventListener$1(Mn,"scroll",bind$3(Hn,!0),{A:!0})})):Hn(!0)),nr&&On(at$1,Sr),ir&&(On(hn),On(lr,!0),hn=lr),_r&&!br&&Hn(!0),dr&&(Dt=Er==="move",Lt=Er==="leave",jt=Er==="never",Ln(jt,!0)),xr&&On($t$1,vr),Hr&&On(Ot$1,Rr),cr){const mr=Dr(Jr.x,sr.x,!0),Lr=Dr(Jr.y,sr.y,!1);On(gt$1,!(mr&&Lr))}Tr&&(Rn(),Bn(),Vn(),On(wt$1,!Kn.x,!0),On(wt$1,!Kn.y,!1),On(_t$1,tr&&!In))},{},$n]},createStructureSetupElements=xe=>{const $e=getEnvironment(),{P:Ie,R:Fe}=$e,{elements:Ue}=Ie(),{host:qe,padding:At,viewport:Dt,content:Lt}=Ue,jt=isHTMLElement$1(xe),hn=jt?{}:xe,{elements:vn}=hn,{host:bn,padding:_n,viewport:wn,content:kn}=vn||{},Cn=jt?xe:hn.target,Sn=isBodyElement(Cn),xn=is(Cn,"textarea"),En=Cn.ownerDocument,Tn=En.documentElement,An=()=>En.defaultView||n,$n=bind$3(staticInitializationElement,[Cn]),Pn=bind$3(dynamicInitializationElement,[Cn]),Nn=bind$3(createDiv,""),Mn=bind$3($n,Nn,Dt),In=bind$3(Pn,Nn,Lt),On=Mn(wn),Rn=On===Cn,Bn=Rn&&Sn,Vn=!Rn&&In(kn),Ln=!Rn&&On===Vn,Dn=Bn?Tn:On,Hn=xn?$n(Nn,qe,bn):Cn,Fn=Bn?Dn:Hn,zn=!Rn&&Pn(Nn,At,_n),jn=!Ln&&Vn,Gn=[jn,Dn,zn,Fn].map(lr=>isHTMLElement$1(lr)&&!parent$2(lr)&&lr),Wn=lr=>lr&&inArray(Gn,lr),Xn=Wn(Dn)?Cn:Dn,er={vt:Cn,ht:Fn,ot:Dn,cn:zn,bt:jn,gt:Bn?Tn:Dn,Kt:Bn?En:Dn,rn:Sn?Tn:Xn,Jt:En,wt:xn,yt:Sn,Dt:jt,nt:Rn,ln:An,St:lr=>hasAttrClass(Dn,X$2,lr),Ot:(lr,ir)=>addRemoveAttrClass(Dn,X$2,lr,ir)},{vt:rr,ht:Jn,cn:qn,ot:Yn,bt:ar}=er,tr=[()=>{removeAttrs(Jn,[F$1,N$2]),removeAttrs(rr,N$2),Sn&&removeAttrs(Tn,[N$2,F$1])}],or=xn&&Wn(Jn);let sr=xn?rr:contents([ar,Yn,qn,Jn,rr].find(lr=>lr&&!Wn(lr)));const Kn=Bn?rr:ar||Yn,Zn=bind$3(runEachAndClear,tr);return[er,()=>{const lr=An(),ir=getFocusedElement(),kr=_r=>{appendChildren(parent$2(_r),contents(_r)),removeElements(_r)},Cr=_r=>addEventListener$1(_r,"focusin focusout focus blur",stopAndPrevent,{I:!0,H:!1}),Er="tabindex",dr=getAttr(Yn,Er),br=Cr(ir);return setAttrs(Jn,F$1,Rn?"":j),setAttrs(qn,tt$1,""),setAttrs(Yn,X$2,""),setAttrs(ar,nt$1,""),Rn||(setAttrs(Yn,Er,dr||"-1"),Sn&&setAttrs(Tn,B$1,"")),or&&(insertAfter(rr,Jn),push$1(tr,()=>{insertAfter(Jn,rr),removeElements(Jn)})),appendChildren(Kn,sr),appendChildren(Jn,qn),appendChildren(qn||Jn,!Rn&&Yn),appendChildren(Yn,ar),push$1(tr,[br,()=>{const _r=getFocusedElement(),Pr=Wn(Yn),vr=Pr&&_r===Yn?rr:_r,xr=Cr(vr);removeAttrs(qn,tt$1),removeAttrs(ar,nt$1),removeAttrs(Yn,X$2),Sn&&removeAttrs(Tn,B$1),dr?setAttrs(Yn,Er,dr):removeAttrs(Yn,Er),Wn(ar)&&kr(ar),Pr&&kr(Yn),Wn(qn)&&kr(qn),focusElement(vr),xr()}]),Fe&&!Rn&&(addAttrClass(Yn,X$2,G$1),push$1(tr,bind$3(removeAttrs,Yn,X$2))),focusElement(!Rn&&Sn&&ir===rr&&lr.top===lr?Yn:ir),br(),sr=0,Zn},Zn]},createTrinsicUpdateSegment=({bt:xe})=>({Gt:$e,an:Ie,Tt:Fe})=>{const{xt:Ue}=$e||{},{$t:qe}=Ie;xe&&(Ue||Fe)&&setStyles(xe,{[E$2]:qe&&"100%"})},createPaddingUpdateSegment=({ht:xe,cn:$e,ot:Ie,nt:Fe},Ue)=>{const[qe,At]=createCache({i:equalTRBL,o:topRightBottomLeft()},bind$3(topRightBottomLeft,xe,"padding",""));return({It:Dt,Gt:Lt,an:jt,Tt:hn})=>{let[vn,bn]=At(hn);const{R:_n}=getEnvironment(),{ft:wn,Ht:kn,Ct:Cn}=Lt||{},{ct:Sn}=jt,[xn,En]=Dt("paddingAbsolute");(wn||bn||(hn||kn))&&([vn,bn]=qe(hn));const An=!Fe&&(En||Cn||bn);if(An){const $n=!xn||!$e&&!_n,Pn=vn.r+vn.l,Nn=vn.t+vn.b,Mn={[O$1]:$n&&!Sn?-Pn:0,[$]:$n?-Nn:0,[S$1]:$n&&Sn?-Pn:0,top:$n?-vn.t:0,right:$n?Sn?-vn.r:"auto":0,left:$n?Sn?"auto":-vn.l:0,[H$1]:$n&&`calc(100% + ${Pn}px)`},In={[b$1]:$n?vn.t:0,[w$1]:$n?vn.r:0,[m$2]:$n?vn.b:0,[y]:$n?vn.l:0};setStyles($e||Ie,Mn),setStyles(Ie,In),assignDeep(Ue,{cn:vn,un:!$n,rt:$e?In:assignDeep({},Mn,In)})}return{_n:An}}},createOverflowUpdateSegment=(xe,$e)=>{const Ie=getEnvironment(),{ht:Fe,cn:Ue,ot:qe,nt:At,Kt:Dt,gt:Lt,yt:jt,Ot:hn,ln:vn}=xe,{R:bn}=Ie,_n=jt&&At,wn=bind$3(o$1,0),kn=["display","direction","flexDirection","writingMode"],Cn={i:equalWH,o:{w:0,h:0}},Sn={i:equalXY,o:{}},xn=jn=>{hn(K$1,!_n&&jn)},En=(jn,Gn)=>{const Wn=n.devicePixelRatio%1!==0?1:0,Xn={w:wn(jn.w-Gn.w),h:wn(jn.h-Gn.h)};return{w:Xn.w>Wn?Xn.w:0,h:Xn.h>Wn?Xn.h:0}},[Tn,An]=createCache(Cn,bind$3(getFractionalSize,qe)),[$n,Pn]=createCache(Cn,bind$3(R$1,qe)),[Nn,Mn]=createCache(Cn),[In]=createCache(Sn),[On,Rn]=createCache(Cn),[Bn]=createCache(Sn),[Vn]=createCache({i:(jn,Gn)=>equal(jn,Gn,kn),o:{}},()=>hasDimensions(qe)?getStyles(qe,kn):{}),[Ln,Dn]=createCache({i:(jn,Gn)=>equalXY(jn.T,Gn.T)&&equalXY(jn.D,Gn.D),o:getZeroScrollCoordinates()},()=>{xn(!0);const jn=getElementScroll(Lt),Gn=hn(Z$1,!0),Wn=addEventListener$1(Dt,A$1,qn=>{const Yn=getElementScroll(Lt);qn.isTrusted&&Yn.x===jn.x&&Yn.y===jn.y&&stopPropagation(qn)},{I:!0,A:!0});scrollElementTo(Lt,{x:0,y:0}),Gn();const Xn=getElementScroll(Lt),er=R$1(Lt);scrollElementTo(Lt,{x:er.w,y:er.h});const rr=getElementScroll(Lt);scrollElementTo(Lt,{x:rr.x-Xn.x<1&&-er.w,y:rr.y-Xn.y<1&&-er.h});const Jn=getElementScroll(Lt);return scrollElementTo(Lt,jn),i$1(()=>Wn()),{T:Xn,D:Jn}}),Hn=getStaticPluginModuleInstance(Tt$1),Fn=(jn,Gn)=>`${Gn?Y$1:W$1}${capitalizeFirstLetter(jn)}`,zn=jn=>{const Gn=Xn=>[z,I$2,A$1].map(er=>Fn(er,Xn)),Wn=Gn(!0).concat(Gn()).join(" ");hn(Wn),hn(keys$2(jn).map(Xn=>Fn(jn[Xn],Xn==="x")).join(" "),!0)};return({It:jn,Gt:Gn,an:Wn,Tt:Xn},{_n:er})=>{const{ft:rr,Ht:Jn,Ct:qn,dt:Yn,zt:ar}=Gn||{},tr=Hn&&Hn.tt(xe,$e,Wn,Ie,jn),{it:or,ut:sr,_t:Kn}=tr||{},[Zn,nr]=getShowNativeOverlaidScrollbars(jn,Ie),[lr,ir]=jn("overflow"),kr=overflowIsVisible(lr.x),Cr=overflowIsVisible(lr.y),Er=rr||er||Jn||qn||ar||nr;let dr=An(Xn),br=Pn(Xn),_r=Mn(Xn),Pr=Rn(Xn);if(nr&&bn&&hn(G$1,!Zn),Er){hasAttrClass(Fe,F$1,q$1)&&xn(!0);const[uo]=sr?sr():[],[go]=dr=Tn(Xn),[_o]=br=$n(Xn),Ao=M$1(qe),ko=_n&&getWindowSize(vn()),Do={w:wn(_o.w+go.w),h:wn(_o.h+go.h)},Ro={w:wn((ko?ko.w:Ao.w+wn(Ao.w-_o.w))+go.w),h:wn((ko?ko.h:Ao.h+wn(Ao.h-_o.h))+go.h)};uo&&uo(),Pr=On(Ro),_r=Nn(En(Do,Ro),Xn)}const[vr,xr]=Pr,[Rr,Hr]=_r,[Jr,Gr]=br,[$r,Br]=dr,[Tr,cr]=In({x:Rr.w>0,y:Rr.h>0}),Sr=kr&&Cr&&(Tr.x||Tr.y)||kr&&Tr.x&&!Tr.y||Cr&&Tr.y&&!Tr.x,Dr=er||qn||ar||Br||Gr||xr||Hr||ir||nr||Er,mr=createViewportOverflowState(Tr,lr),[Lr,zr]=Bn(mr.G),[,Vr]=Vn(Xn),Kr=qn||Yn||Vr||cr||Xn,[Yr,Ur]=Kr?Ln(Xn):Dn();return Dr&&(zr&&zn(mr.G),Kn&&or&&setStyles(qe,Kn(mr,Wn,or(mr,Jr,$r)))),xn(!1),addRemoveAttrClass(Fe,F$1,q$1,Sr),addRemoveAttrClass(Ue,tt$1,q$1,Sr),assignDeep($e,{G:Lr,Vt:{x:vr.w,y:vr.h},Rt:{x:Rr.w,y:Rr.h},en:Tr,Pt:sanitizeScrollCoordinates(Yr,Rr)}),{nn:zr,Zt:xr,tn:Hr,sn:Ur||Hr,dn:Kr}}},createStructureSetup=xe=>{const[$e,Ie,Fe]=createStructureSetupElements(xe),Ue={cn:{t:0,r:0,b:0,l:0},un:!1,rt:{[O$1]:0,[$]:0,[S$1]:0,[b$1]:0,[w$1]:0,[m$2]:0,[y]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},G:{x:I$2,y:I$2},en:{x:!1,y:!1},Pt:getZeroScrollCoordinates()},{vt:qe,gt:At,nt:Dt}=$e,{R:Lt,M:jt}=getEnvironment(),hn=!Lt&&(jt.x||jt.y),vn=[createTrinsicUpdateSegment($e),createPaddingUpdateSegment($e,Ue),createOverflowUpdateSegment($e,Ue)];return[Ie,bn=>{const _n={},kn=hn&&getElementScroll(At);return each$g(vn,Cn=>{assignDeep(_n,Cn(bn,_n)||{})}),scrollElementTo(At,kn),!Dt&&scrollElementTo(qe,0),_n},Ue,$e,Fe]},createSetups=(xe,$e,Ie,Fe,Ue)=>{const qe=createOptionCheck($e,{}),[At,Dt,Lt,jt,hn]=createStructureSetup(xe),[vn,bn,_n]=createObserversSetup(jt,Lt,qe,En=>{xn({},En)}),[wn,kn,,Cn]=createScrollbarsSetup(xe,$e,_n,Lt,jt,Ue),Sn=En=>keys$2(En).some(Tn=>!!En[Tn]),xn=(En,Tn)=>{if(Ie())return!1;const{fn:An,Tt:$n,At:Pn,pn:Nn}=En,Mn=An||{},In=!!$n,On={It:createOptionCheck($e,Mn,In),fn:Mn,Tt:In};if(Nn)return kn(On),!1;const Rn=Tn||bn(assignDeep({},On,{At:Pn})),Bn=Dt(assignDeep({},On,{an:_n,Gt:Rn}));kn(assignDeep({},On,{Gt:Rn,Qt:Bn}));const Vn=Sn(Rn),Ln=Sn(Bn),Dn=Vn||Ln||!isEmptyObject(Mn)||In;return Dn&&Fe(En,{Gt:Rn,Qt:Bn}),Dn};return[()=>{const{rn:En,gt:Tn}=jt,An=getElementScroll(En),$n=[vn(),At(),wn()];return scrollElementTo(Tn,An),bind$3(runEachAndClear,$n)},xn,()=>({vn:_n,hn:Lt}),{gn:jt,bn:Cn},hn]},OverlayScrollbars=(xe,$e,Ie)=>{const{N:Fe}=getEnvironment(),Ue=isHTMLElement$1(xe),qe=Ue?xe:xe.target,At=getInstance$1(qe);if($e&&!At){let Dt=!1;const Lt=[],jt={},hn=In=>{const On=removeUndefinedProperties(In),Rn=getStaticPluginModuleInstance(zt$1);return Rn?Rn(On,!0):On},vn=assignDeep({},Fe(),hn($e)),[bn,_n,wn]=createEventListenerHub(),[kn,Cn,Sn]=createEventListenerHub(Ie),xn=(In,On)=>{Sn(In,On),wn(In,On)},[En,Tn,An,$n,Pn]=createSetups(xe,vn,()=>Dt,({fn:In,Tt:On},{Gt:Rn,Qt:Bn})=>{const{ft:Vn,Ct:Ln,xt:Dn,Ht:Hn,Et:Fn,dt:zn}=Rn,{Zt:jn,tn:Gn,nn:Wn,sn:Xn}=Bn;xn("updated",[Mn,{updateHints:{sizeChanged:!!Vn,directionChanged:!!Ln,heightIntrinsicChanged:!!Dn,overflowEdgeChanged:!!jn,overflowAmountChanged:!!Gn,overflowStyleChanged:!!Wn,scrollCoordinatesChanged:!!Xn,contentMutation:!!Hn,hostMutation:!!Fn,appear:!!zn},changedOptions:In||{},force:!!On}])},In=>xn("scroll",[Mn,In])),Nn=In=>{removeInstance(qe),runEachAndClear(Lt),Dt=!0,xn("destroyed",[Mn,In]),_n(),Cn()},Mn={options(In,On){if(In){const Rn=On?Fe():{},Bn=getOptionsDiff(vn,assignDeep(Rn,hn(In)));isEmptyObject(Bn)||(assignDeep(vn,Bn),Tn({fn:Bn}))}return assignDeep({},vn)},on:kn,off:(In,On)=>{In&&On&&Cn(In,On)},state(){const{vn:In,hn:On}=An(),{ct:Rn}=In,{Vt:Bn,Rt:Vn,G:Ln,en:Dn,cn:Hn,un:Fn,Pt:zn}=On;return assignDeep({},{overflowEdge:Bn,overflowAmount:Vn,overflowStyle:Ln,hasOverflow:Dn,scrollCoordinates:{start:zn.T,end:zn.D},padding:Hn,paddingAbsolute:Fn,directionRTL:Rn,destroyed:Dt})},elements(){const{vt:In,ht:On,cn:Rn,ot:Bn,bt:Vn,gt:Ln,Kt:Dn}=$n.gn,{Ft:Hn,Wt:Fn}=$n.bn,zn=Gn=>{const{Mt:Wn,kt:Xn,Lt:er}=Gn;return{scrollbar:er,track:Xn,handle:Wn}},jn=Gn=>{const{jt:Wn,Xt:Xn}=Gn,er=zn(Wn[0]);return assignDeep({},er,{clone:()=>{const rr=zn(Xn());return Tn({pn:!0}),rr}})};return assignDeep({},{target:In,host:On,padding:Rn||Bn,viewport:Bn,content:Vn||Bn,scrollOffsetElement:Ln,scrollEventElement:Dn,scrollbarHorizontal:jn(Hn),scrollbarVertical:jn(Fn)})},update:In=>Tn({Tt:In,At:!0}),destroy:bind$3(Nn,!1),plugin:In=>jt[keys$2(In)[0]]};return push$1(Lt,[Pn]),addInstance(qe,Mn),registerPluginModuleInstances(Ht$1,OverlayScrollbars,[Mn,bn,jt]),cancelInitialization($n.gn.yt,!Ue&&xe.cancel)?(Nn(!0),Mn):(push$1(Lt,En()),xn("initialized",[Mn]),Mn.update(!0),Mn)}return At};OverlayScrollbars.plugin=xe=>{const $e=isArray$5(xe),Ie=$e?xe:[xe],Fe=Ie.map(Ue=>registerPluginModuleInstances(Ue,OverlayScrollbars)[0]);return addPlugins(Ie),$e?Fe:Fe[0]};OverlayScrollbars.valid=xe=>{const $e=xe&&xe.elements,Ie=isFunction$4($e)&&$e();return isPlainObject$3(Ie)&&!!getInstance$1(Ie.target)};OverlayScrollbars.env=()=>{const{k:xe,M:$e,R:Ie,V:Fe,B:Ue,F:qe,P:At,U:Dt,N:Lt,q:jt}=getEnvironment();return assignDeep({},{scrollbarsSize:xe,scrollbarsOverlaid:$e,scrollbarsHiding:Ie,scrollTimeline:Fe,staticDefaultInitialization:Ue,staticDefaultOptions:qe,getDefaultInitialization:At,setDefaultInitialization:Dt,getDefaultOptions:Lt,setDefaultOptions:jt})};const g=()=>{if(typeof window>"u"){const jt=()=>{};return[jt,jt]}let xe,$e;const Ie=window,Fe=typeof Ie.requestIdleCallback=="function",Ue=Ie.requestAnimationFrame,qe=Ie.cancelAnimationFrame,At=Fe?Ie.requestIdleCallback:Ue,Dt=Fe?Ie.cancelIdleCallback:qe,Lt=()=>{Dt(xe),qe($e)};return[(jt,hn)=>{Lt(),xe=At(Fe?()=>{Lt(),$e=Ue(jt)}:jt,typeof hn=="object"?hn:{timeout:2233})},Lt]},x$1=xe=>{let $e=null,Ie,Fe,Ue;const qe=shallowRef(xe||{}),[At,Dt]=g();return watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.defer)},Lt=>{Ue=Lt},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.options)},Lt=>{Ie=Lt,OverlayScrollbars.valid($e)&&$e.options(Ie||{},!0)},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.events)},Lt=>{Fe=Lt,OverlayScrollbars.valid($e)&&$e.on(Fe||{},!0)},{deep:!0,immediate:!0}),onUnmounted(()=>{Dt(),$e==null||$e.destroy()}),[Lt=>{if(OverlayScrollbars.valid($e))return $e;const jt=()=>$e=OverlayScrollbars(Lt,Ie||{},Fe||{});Ue?At(jt,Ue):jt()},()=>$e]},P$2=defineComponent({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:qe,options:At,events:Dt,defer:Lt}=toRefs(Fe),jt=shallowRef(null),hn=shallowRef(null),vn=ref(),[bn,_n]=x$1({options:At,events:vn,defer:Lt});return $e({osInstance:_n,getElement:()=>jt.value}),watchPostEffect(wn=>{const{value:kn}=jt,{value:Cn}=hn;kn&&(bn(qe.value==="body"?{target:kn,cancel:{body:null}}:{target:kn,elements:{viewport:Cn,content:Cn}}),wn(()=>{var Sn;return(Sn=_n())==null?void 0:Sn.destroy()}))}),watch(()=>unref(Dt),wn=>{const kn=wn||{};vn.value=Object.keys(Ue).reduce((Cn,Sn)=>{const xn=kn[Sn];return Cn[Sn]=[(...En)=>Ie(Ue[Sn],...En),...(Array.isArray(xn)?xn:[xn]).filter(Boolean)],Cn},{})},{deep:!0,immediate:!0}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(unref(qe)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:jt},{default:withCtx(()=>[unref(qe)==="body"?renderSlot(wn.$slots,"default",{key:0}):(openBlock(),createElementBlock("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:hn},[renderSlot(wn.$slots,"default")],512))]),_:3},512))}}),_hoisted_1$1d={flex:"~ items-center justify-between","p-4":"","border-b":"~ solid stone/15","text-6":""},_hoisted_2$N={key:0,flex:"~ items-center justify-end","px-3":"","py-2":"","border-t":"~ solid stone/15"},_sfc_main$2x=defineComponent({__name:"HSlideover",props:mergeModels({appear:{type:Boolean,default:!1},side:{default:"right"},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(xe,{emit:$e}){const Ie=xe,Fe=$e,Ue=useModel(xe,"modelValue"),qe=useSlots(),At=ref({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Dt=computed(()=>({enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200",enterFrom:Ie.side==="left"?"-translate-x-full":"translate-x-full",enterTo:"translate-x-0",leaveFrom:"translate-x-0",leaveTo:Ie.side==="left"?"-translate-x-full":"translate-x-full"}));function Lt(){Ue.value=!1,Fe("close")}return(jt,hn)=>{const vn=_sfc_main$2y;return openBlock(),createBlock(unref(Se$1),{as:"template",appear:jt.appear,show:Ue.value},{default:withCtx(()=>[createVNode$1(unref(Ye$1),{class:normalizeClass(["fixed inset-0 z-2000 flex",{"justify-end":jt.side==="right"}]),onClose:hn[0]||(hn[0]=bn=>!jt.preventClose&&Lt())},{default:withCtx(()=>[createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(At)),{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":jt.overlay}])},null,2)]),_:1},16,["appear"]),createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(Dt)),{default:withCtx(()=>[createVNode$1(unref(Ge$1),{relative:"","max-w-md":"","w-full":"","w-screen":"",flex:"","flex-1":"","flex-col":"","bg-white":"","dark-bg-stone-8":"","focus-outline-none":""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1d,[createVNode$1(unref(Ve),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:withCtx(()=>[createTextVNode(toDisplayString(jt.title),1)]),_:1}),createVNode$1(vn,{name:"i-carbon:close","cursor-pointer":"",onClick:Lt})]),createVNode$1(unref(Je$1),{"m-0":"","flex-1":"","of-y-hidden":""},{default:withCtx(()=>[createVNode$1(unref(P$2),{options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full p-4"},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3})]),_:3}),unref(qe).footer?(openBlock(),createElementBlock("div",_hoisted_2$N,[renderSlot(jt.$slots,"footer")])):createCommentVNode("",!0)]),_:3})]),_:3},16,["appear"])]),_:3},8,["class"])]),_:3},8,["appear","show"])}}});function mitt(xe){return{all:xe=xe||new Map,on:function($e,Ie){var Fe=xe.get($e);Fe?Fe.push(Ie):xe.set($e,[Ie])},off:function($e,Ie){var Fe=xe.get($e);Fe&&(Ie?Fe.splice(Fe.indexOf(Ie)>>>0,1):xe.set($e,[]))},emit:function($e,Ie){var Fe=xe.get($e);Fe&&Fe.slice().map(function(Ue){Ue(Ie)}),(Fe=xe.get("*"))&&Fe.slice().map(function(Ue){Ue($e,Ie)})}}}const eventBus=mitt();var define_SYSTEM_INFO_default={pkg:{version:"4.0.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",autoprefixer:"^10.4.19",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2024-12-12 23:07:13"};const _hoisted_1$1c={class:"px-4"},_hoisted_2$M=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 最后编译时间 ",-1),_hoisted_3$o={class:"my-4 text-center text-lg font-sans"},_hoisted_4$e={class:"px-4"},_hoisted_5$9=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 生产环境依赖 ",-1),_hoisted_6$6={class:"list-none pl-0 text-sm"},_hoisted_7$4={class:"font-bold"},_hoisted_8$4={class:"font-sans"},_hoisted_9$3={class:"px-4"},_hoisted_10$2=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 开发环境依赖 ",-1),_hoisted_11$2={class:"list-none pl-0 text-sm"},_hoisted_12$2={class:"font-bold"},_hoisted_13$2={class:"font-sans"},_sfc_main$2w=defineComponent({__name:"index",setup(xe){const $e=ref(!1),{pkg:Ie,lastBuildTime:Fe}=define_SYSTEM_INFO_default;return onMounted(()=>{eventBus.on("global-system-info-toggle",()=>{$e.value=!$e.value})}),(Ue,qe)=>{const At=_sfc_main$2x;return openBlock(),createBlock(At,{modelValue:unref($e),"onUpdate:modelValue":qe[0]||(qe[0]=Dt=>isRef($e)?$e.value=Dt:null),title:"系统信息"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1c,[_hoisted_2$M,createBaseVNode("div",_hoisted_3$o,toDisplayString(unref(Fe)),1)]),createBaseVNode("div",_hoisted_4$e,[_hoisted_5$9,createBaseVNode("ul",_hoisted_6$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).dependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_7$4,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_8$4,toDisplayString(Dt),1)]))),128))])]),createBaseVNode("div",_hoisted_9$3,[_hoisted_10$2,createBaseVNode("ul",_hoisted_11$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).devDependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_12$2,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_13$2,toDisplayString(Dt),1)]))),128))])])]),_:1},8,["modelValue"])}}}),_hoisted_1$1b=["disabled"],_sfc_main$2v=defineComponent({__name:"HButton",props:{block:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(xe){const $e=xe,Ie=computed(()=>["focus-outline-none focus-visible-outline-0 cursor-pointer disabled-cursor-not-allowed disabled-opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",$e.block?"w-full flex justify-center items-center":"inline-flex items-center",$e.outline?"shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark-bg-dark hover-not-disabled-bg-ui-primary/10 dark-hover-not-disabled-bg-ui-primary/10 focus-visible-ring-2":"shadow-sm text-ui-text bg-ui-primary hover-bg-ui-primary/75 disabled-bg-ui-primary/90 focus-visible-ring-inset focus-visible-ring-2"]);return(Fe,Ue)=>(openBlock(),createElementBlock("button",{disabled:Fe.disabled,class:normalizeClass(unref(Ie))},[renderSlot(Fe.$slots,"default")],10,_hoisted_1$1b))}});var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$2=root.Symbol,objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(xe){var $e=hasOwnProperty$d.call(xe,symToStringTag$1),Ie=xe[symToStringTag$1];try{xe[symToStringTag$1]=void 0;var Fe=!0}catch{}var Ue=nativeObjectToString$1.call(xe);return Fe&&($e?xe[symToStringTag$1]=Ie:delete xe[symToStringTag$1]),Ue}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(xe){return nativeObjectToString.call(xe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(xe){return xe==null?xe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(xe)?getRawTag(xe):objectToString(xe)}function isObjectLike(xe){return xe!=null&&typeof xe=="object"}var symbolTag$3="[object Symbol]";function isSymbol(xe){return typeof xe=="symbol"||isObjectLike(xe)&&baseGetTag(xe)==symbolTag$3}function arrayMap(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length,Ue=Array(Fe);++Ie<Fe;)Ue[Ie]=$e(xe[Ie],Ie,xe);return Ue}var isArray$4=Array.isArray,INFINITY$3=1/0,symbolProto$2=Symbol$2?Symbol$2.prototype:void 0,symbolToString=symbolProto$2?symbolProto$2.toString:void 0;function baseToString(xe){if(typeof xe=="string")return xe;if(isArray$4(xe))return arrayMap(xe,baseToString)+"";if(isSymbol(xe))return symbolToString?symbolToString.call(xe):"";var $e=xe+"";return $e=="0"&&1/xe==-INFINITY$3?"-0":$e}var reWhitespace=/\s/;function trimmedEndIndex(xe){for(var $e=xe.length;$e--&&reWhitespace.test(xe.charAt($e)););return $e}var reTrimStart=/^\s+/;function baseTrim(xe){return xe&&xe.slice(0,trimmedEndIndex(xe)+1).replace(reTrimStart,"")}function isObject$6(xe){var $e=typeof xe;return xe!=null&&($e=="object"||$e=="function")}var NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(xe){if(typeof xe=="number")return xe;if(isSymbol(xe))return NAN;if(isObject$6(xe)){var $e=typeof xe.valueOf=="function"?xe.valueOf():xe;xe=isObject$6($e)?$e+"":$e}if(typeof xe!="string")return xe===0?xe:+xe;xe=baseTrim(xe);var Ie=reIsBinary.test(xe);return Ie||reIsOctal.test(xe)?freeParseInt(xe.slice(2),Ie?2:8):reIsBadHex.test(xe)?NAN:+xe}function identity$2(xe){return xe}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(xe){if(!isObject$6(xe))return!1;var $e=baseGetTag(xe);return $e==funcTag$2||$e==genTag$1||$e==asyncTag||$e==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var xe=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return xe?"Symbol(src)_1."+xe:""}();function isMasked(xe){return!!maskSrcKey&&maskSrcKey in xe}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(xe){if(xe!=null){try{return funcToString$2.call(xe)}catch{}try{return xe+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$d=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$c=objectProto$d.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$c).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(xe){if(!isObject$6(xe)||isMasked(xe))return!1;var $e=isFunction$3(xe)?reIsNative:reIsHostCtor;return $e.test(toSource(xe))}function getValue$1(xe,$e){return xe==null?void 0:xe[$e]}function getNative(xe,$e){var Ie=getValue$1(xe,$e);return baseIsNative(Ie)?Ie:void 0}var WeakMap$2=getNative(root,"WeakMap"),objectCreate=Object.create,baseCreate=function(){function xe(){}return function($e){if(!isObject$6($e))return{};if(objectCreate)return objectCreate($e);xe.prototype=$e;var Ie=new xe;return xe.prototype=void 0,Ie}}();function apply(xe,$e,Ie){switch(Ie.length){case 0:return xe.call($e);case 1:return xe.call($e,Ie[0]);case 2:return xe.call($e,Ie[0],Ie[1]);case 3:return xe.call($e,Ie[0],Ie[1],Ie[2])}return xe.apply($e,Ie)}function noop$6(){}function copyArray(xe,$e){var Ie=-1,Fe=xe.length;for($e||($e=Array(Fe));++Ie<Fe;)$e[Ie]=xe[Ie];return $e}var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(xe){var $e=0,Ie=0;return function(){var Fe=nativeNow(),Ue=HOT_SPAN-(Fe-Ie);if(Ie=Fe,Ue>0){if(++$e>=HOT_COUNT)return arguments[0]}else $e=0;return xe.apply(void 0,arguments)}}function constant(xe){return function(){return xe}}var defineProperty=function(){try{var xe=getNative(Object,"defineProperty");return xe({},"",{}),xe}catch{}}(),baseSetToString=defineProperty?function(xe,$e){return defineProperty(xe,"toString",{configurable:!0,enumerable:!1,value:constant($e),writable:!0})}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length;++Ie<Fe&&$e(xe[Ie],Ie,xe)!==!1;);return xe}function baseFindIndex(xe,$e,Ie,Fe){for(var Ue=xe.length,qe=Ie+(Fe?1:-1);Fe?qe--:++qe<Ue;)if($e(xe[qe],qe,xe))return qe;return-1}function baseIsNaN(xe){return xe!==xe}function strictIndexOf(xe,$e,Ie){for(var Fe=Ie-1,Ue=xe.length;++Fe<Ue;)if(xe[Fe]===$e)return Fe;return-1}function baseIndexOf(xe,$e,Ie){return $e===$e?strictIndexOf(xe,$e,Ie):baseFindIndex(xe,baseIsNaN,Ie)}function arrayIncludes(xe,$e){var Ie=xe==null?0:xe.length;return!!Ie&&baseIndexOf(xe,$e,0)>-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(xe,$e){var Ie=typeof xe;return $e=$e??MAX_SAFE_INTEGER$2,!!$e&&(Ie=="number"||Ie!="symbol"&&reIsUint.test(xe))&&xe>-1&&xe%1==0&&xe<$e}function baseAssignValue(xe,$e,Ie){$e=="__proto__"&&defineProperty?defineProperty(xe,$e,{configurable:!0,enumerable:!0,value:Ie,writable:!0}):xe[$e]=Ie}function eq(xe,$e){return xe===$e||xe!==xe&&$e!==$e}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function assignValue(xe,$e,Ie){var Fe=xe[$e];(!(hasOwnProperty$b.call(xe,$e)&&eq(Fe,Ie))||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function copyObject(xe,$e,Ie,Fe){var Ue=!Ie;Ie||(Ie={});for(var qe=-1,At=$e.length;++qe<At;){var Dt=$e[qe],Lt=void 0;Lt===void 0&&(Lt=xe[Dt]),Ue?baseAssignValue(Ie,Dt,Lt):assignValue(Ie,Dt,Lt)}return Ie}var nativeMax$1=Math.max;function overRest(xe,$e,Ie){return $e=nativeMax$1($e===void 0?xe.length-1:$e,0),function(){for(var Fe=arguments,Ue=-1,qe=nativeMax$1(Fe.length-$e,0),At=Array(qe);++Ue<qe;)At[Ue]=Fe[$e+Ue];Ue=-1;for(var Dt=Array($e+1);++Ue<$e;)Dt[Ue]=Fe[Ue];return Dt[$e]=Ie(At),apply(xe,this,Dt)}}function baseRest(xe,$e){return setToString(overRest(xe,$e,identity$2),xe+"")}var MAX_SAFE_INTEGER$1=9007199254740991;function isLength(xe){return typeof xe=="number"&&xe>-1&&xe%1==0&&xe<=MAX_SAFE_INTEGER$1}function isArrayLike$1(xe){return xe!=null&&isLength(xe.length)&&!isFunction$3(xe)}function isIterateeCall(xe,$e,Ie){if(!isObject$6(Ie))return!1;var Fe=typeof $e;return(Fe=="number"?isArrayLike$1(Ie)&&isIndex($e,Ie.length):Fe=="string"&&$e in Ie)?eq(Ie[$e],xe):!1}function createAssigner(xe){return baseRest(function($e,Ie){var Fe=-1,Ue=Ie.length,qe=Ue>1?Ie[Ue-1]:void 0,At=Ue>2?Ie[2]:void 0;for(qe=xe.length>3&&typeof qe=="function"?(Ue--,qe):void 0,At&&isIterateeCall(Ie[0],Ie[1],At)&&(qe=Ue<3?void 0:qe,Ue=1),$e=Object($e);++Fe<Ue;){var Dt=Ie[Fe];Dt&&xe($e,Dt,Fe,qe)}return $e})}var objectProto$b=Object.prototype;function isPrototype(xe){var $e=xe&&xe.constructor,Ie=typeof $e=="function"&&$e.prototype||objectProto$b;return xe===Ie}function baseTimes(xe,$e){for(var Ie=-1,Fe=Array(xe);++Ie<xe;)Fe[Ie]=$e(Ie);return Fe}var argsTag$3="[object Arguments]";function baseIsArguments(xe){return isObjectLike(xe)&&baseGetTag(xe)==argsTag$3}var objectProto$a=Object.prototype,hasOwnProperty$a=objectProto$a.hasOwnProperty,propertyIsEnumerable$1=objectProto$a.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(xe){return isObjectLike(xe)&&hasOwnProperty$a.call(xe,"callee")&&!propertyIsEnumerable$1.call(xe,"callee")};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.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$1=nativeIsBuffer||stubFalse,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(xe){return isObjectLike(xe)&&isLength(xe.length)&&!!typedArrayTags[baseGetTag(xe)]}function baseUnary(xe){return function($e){return xe($e)}}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.process,nodeUtil=function(){try{var xe=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return xe||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,objectProto$9=Object.prototype,hasOwnProperty$9=objectProto$9.hasOwnProperty;function arrayLikeKeys(xe,$e){var Ie=isArray$4(xe),Fe=!Ie&&isArguments(xe),Ue=!Ie&&!Fe&&isBuffer$1(xe),qe=!Ie&&!Fe&&!Ue&&isTypedArray$2(xe),At=Ie||Fe||Ue||qe,Dt=At?baseTimes(xe.length,String):[],Lt=Dt.length;for(var jt in xe)($e||hasOwnProperty$9.call(xe,jt))&&!(At&&(jt=="length"||Ue&&(jt=="offset"||jt=="parent")||qe&&(jt=="buffer"||jt=="byteLength"||jt=="byteOffset")||isIndex(jt,Lt)))&&Dt.push(jt);return Dt}function overArg(xe,$e){return function(Ie){return xe($e(Ie))}}var nativeKeys=overArg(Object.keys,Object),objectProto$8=Object.prototype,hasOwnProperty$8=objectProto$8.hasOwnProperty;function baseKeys(xe){if(!isPrototype(xe))return nativeKeys(xe);var $e=[];for(var Ie in Object(xe))hasOwnProperty$8.call(xe,Ie)&&Ie!="constructor"&&$e.push(Ie);return $e}function keys$1(xe){return isArrayLike$1(xe)?arrayLikeKeys(xe):baseKeys(xe)}function nativeKeysIn(xe){var $e=[];if(xe!=null)for(var Ie in Object(xe))$e.push(Ie);return $e}var objectProto$7=Object.prototype,hasOwnProperty$7=objectProto$7.hasOwnProperty;function baseKeysIn(xe){if(!isObject$6(xe))return nativeKeysIn(xe);var $e=isPrototype(xe),Ie=[];for(var Fe in xe)Fe=="constructor"&&($e||!hasOwnProperty$7.call(xe,Fe))||Ie.push(Fe);return Ie}function keysIn(xe){return isArrayLike$1(xe)?arrayLikeKeys(xe,!0):baseKeysIn(xe)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(xe,$e){if(isArray$4(xe))return!1;var Ie=typeof xe;return Ie=="number"||Ie=="symbol"||Ie=="boolean"||xe==null||isSymbol(xe)?!0:reIsPlainProp.test(xe)||!reIsDeepProp.test(xe)||$e!=null&&xe in Object($e)}var nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete(xe){var $e=this.has(xe)&&delete this.__data__[xe];return this.size-=$e?1:0,$e}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty;function hashGet(xe){var $e=this.__data__;if(nativeCreate){var Ie=$e[xe];return Ie===HASH_UNDEFINED$2?void 0:Ie}return hasOwnProperty$6.call($e,xe)?$e[xe]:void 0}var objectProto$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty;function hashHas(xe){var $e=this.__data__;return nativeCreate?$e[xe]!==void 0:hasOwnProperty$5.call($e,xe)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(xe,$e){var Ie=this.__data__;return this.size+=this.has(xe)?0:1,Ie[xe]=nativeCreate&&$e===void 0?HASH_UNDEFINED$1:$e,this}function Hash(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e<Ie;){var Fe=xe[$e];this.set(Fe[0],Fe[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(xe,$e){for(var Ie=xe.length;Ie--;)if(eq(xe[Ie][0],$e))return Ie;return-1}var arrayProto$1=Array.prototype,splice=arrayProto$1.splice;function listCacheDelete(xe){var $e=this.__data__,Ie=assocIndexOf($e,xe);if(Ie<0)return!1;var Fe=$e.length-1;return Ie==Fe?$e.pop():splice.call($e,Ie,1),--this.size,!0}function listCacheGet$1(xe){var $e=this.__data__,Ie=assocIndexOf($e,xe);return Ie<0?void 0:$e[Ie][1]}function listCacheHas(xe){return assocIndexOf(this.__data__,xe)>-1}function listCacheSet$1(xe,$e){var Ie=this.__data__,Fe=assocIndexOf(Ie,xe);return Fe<0?(++this.size,Ie.push([xe,$e])):Ie[Fe][1]=$e,this}function ListCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e<Ie;){var Fe=xe[$e];this.set(Fe[0],Fe[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,"Map");function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(xe){var $e=typeof xe;return $e=="string"||$e=="number"||$e=="symbol"||$e=="boolean"?xe!=="__proto__":xe===null}function getMapData(xe,$e){var Ie=xe.__data__;return isKeyable($e)?Ie[typeof $e=="string"?"string":"hash"]:Ie.map}function mapCacheDelete(xe){var $e=getMapData(this,xe).delete(xe);return this.size-=$e?1:0,$e}function mapCacheGet(xe){return getMapData(this,xe).get(xe)}function mapCacheHas(xe){return getMapData(this,xe).has(xe)}function mapCacheSet(xe,$e){var Ie=getMapData(this,xe),Fe=Ie.size;return Ie.set(xe,$e),this.size+=Ie.size==Fe?0:1,this}function MapCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e<Ie;){var Fe=xe[$e];this.set(Fe[0],Fe[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(xe,$e){if(typeof xe!="function"||$e!=null&&typeof $e!="function")throw new TypeError(FUNC_ERROR_TEXT$2);var Ie=function(){var Fe=arguments,Ue=$e?$e.apply(this,Fe):Fe[0],qe=Ie.cache;if(qe.has(Ue))return qe.get(Ue);var At=xe.apply(this,Fe);return Ie.cache=qe.set(Ue,At)||qe,At};return Ie.cache=new(memoize.Cache||MapCache),Ie}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(xe){var $e=memoize(xe,function(Fe){return Ie.size===MAX_MEMOIZE_SIZE&&Ie.clear(),Fe}),Ie=$e.cache;return $e}var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped(function(xe){var $e=[];return xe.charCodeAt(0)===46&&$e.push(""),xe.replace(rePropName,function(Ie,Fe,Ue,qe){$e.push(Ue?qe.replace(reEscapeChar,"$1"):Fe||Ie)}),$e});function toString$2(xe){return xe==null?"":baseToString(xe)}function castPath(xe,$e){return isArray$4(xe)?xe:isKey(xe,$e)?[xe]:stringToPath(toString$2(xe))}var INFINITY$2=1/0;function toKey(xe){if(typeof xe=="string"||isSymbol(xe))return xe;var $e=xe+"";return $e=="0"&&1/xe==-INFINITY$2?"-0":$e}function baseGet(xe,$e){$e=castPath($e,xe);for(var Ie=0,Fe=$e.length;xe!=null&&Ie<Fe;)xe=xe[toKey($e[Ie++])];return Ie&&Ie==Fe?xe:void 0}function get$1(xe,$e,Ie){var Fe=xe==null?void 0:baseGet(xe,$e);return Fe===void 0?Ie:Fe}function arrayPush(xe,$e){for(var Ie=-1,Fe=$e.length,Ue=xe.length;++Ie<Fe;)xe[Ue+Ie]=$e[Ie];return xe}var spreadableSymbol=Symbol$2?Symbol$2.isConcatSpreadable:void 0;function isFlattenable(xe){return isArray$4(xe)||isArguments(xe)||!!(spreadableSymbol&&xe&&xe[spreadableSymbol])}function baseFlatten(xe,$e,Ie,Fe,Ue){var qe=-1,At=xe.length;for(Ie||(Ie=isFlattenable),Ue||(Ue=[]);++qe<At;){var Dt=xe[qe];$e>0&&Ie(Dt)?$e>1?baseFlatten(Dt,$e-1,Ie,Fe,Ue):arrayPush(Ue,Dt):Fe||(Ue[Ue.length]=Dt)}return Ue}function flatten(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,1):[]}function flatRest(xe){return setToString(overRest(xe,void 0,flatten),xe+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(xe){if(!isObjectLike(xe)||baseGetTag(xe)!=objectTag$3)return!1;var $e=getPrototype(xe);if($e===null)return!0;var Ie=hasOwnProperty$4.call($e,"constructor")&&$e.constructor;return typeof Ie=="function"&&Ie instanceof Ie&&funcToString.call(Ie)==objectCtorString}function baseSlice(xe,$e,Ie){var Fe=-1,Ue=xe.length;$e<0&&($e=-$e>Ue?0:Ue+$e),Ie=Ie>Ue?Ue:Ie,Ie<0&&(Ie+=Ue),Ue=$e>Ie?0:Ie-$e>>>0,$e>>>=0;for(var qe=Array(Ue);++Fe<Ue;)qe[Fe]=xe[Fe+$e];return qe}function castArray$1(){if(!arguments.length)return[];var xe=arguments[0];return isArray$4(xe)?xe:[xe]}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(xe){var $e=this.__data__,Ie=$e.delete(xe);return this.size=$e.size,Ie}function stackGet(xe){return this.__data__.get(xe)}function stackHas(xe){return this.__data__.has(xe)}var LARGE_ARRAY_SIZE$1=200;function stackSet(xe,$e){var Ie=this.__data__;if(Ie instanceof ListCache){var Fe=Ie.__data__;if(!Map$1||Fe.length<LARGE_ARRAY_SIZE$1-1)return Fe.push([xe,$e]),this.size=++Ie.size,this;Ie=this.__data__=new MapCache(Fe)}return Ie.set(xe,$e),this.size=Ie.size,this}function Stack(xe){var $e=this.__data__=new ListCache(xe);this.size=$e.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign(xe,$e){return xe&&copyObject($e,keys$1($e),xe)}function baseAssignIn(xe,$e){return xe&&copyObject($e,keysIn($e),xe)}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.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(xe,$e){if($e)return xe.slice();var Ie=xe.length,Fe=allocUnsafe?allocUnsafe(Ie):new xe.constructor(Ie);return xe.copy(Fe),Fe}function arrayFilter(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length,Ue=0,qe=[];++Ie<Fe;){var At=xe[Ie];$e(At,Ie,xe)&&(qe[Ue++]=At)}return qe}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(xe){return xe==null?[]:(xe=Object(xe),arrayFilter(nativeGetSymbols$1(xe),function($e){return propertyIsEnumerable.call(xe,$e)}))}:stubArray;function copySymbols(xe,$e){return copyObject(xe,getSymbols(xe),$e)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(xe){for(var $e=[];xe;)arrayPush($e,getSymbols(xe)),xe=getPrototype(xe);return $e}:stubArray;function copySymbolsIn(xe,$e){return copyObject(xe,getSymbolsIn(xe),$e)}function baseGetAllKeys(xe,$e,Ie){var Fe=$e(xe);return isArray$4(xe)?Fe:arrayPush(Fe,Ie(xe))}function getAllKeys(xe){return baseGetAllKeys(xe,keys$1,getSymbols)}function getAllKeysIn(xe){return baseGetAllKeys(xe,keysIn,getSymbolsIn)}var DataView$1=getNative(root,"DataView"),Promise$1=getNative(root,"Promise"),Set$1=getNative(root,"Set"),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$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$2),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$1&&getTag(new Map$1)!=mapTag$4||Promise$1&&getTag(Promise$1.resolve())!=promiseTag||Set$1&&getTag(new Set$1)!=setTag$4||WeakMap$2&&getTag(new WeakMap$2)!=weakMapTag$1)&&(getTag=function(xe){var $e=baseGetTag(xe),Ie=$e==objectTag$2?xe.constructor:void 0,Fe=Ie?toSource(Ie):"";if(Fe)switch(Fe){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 $e});var objectProto$2=Object.prototype,hasOwnProperty$3=objectProto$2.hasOwnProperty;function initCloneArray(xe){var $e=xe.length,Ie=new xe.constructor($e);return $e&&typeof xe[0]=="string"&&hasOwnProperty$3.call(xe,"index")&&(Ie.index=xe.index,Ie.input=xe.input),Ie}var Uint8Array$1=root.Uint8Array;function cloneArrayBuffer(xe){var $e=new xe.constructor(xe.byteLength);return new Uint8Array$1($e).set(new Uint8Array$1(xe)),$e}function cloneDataView(xe,$e){var Ie=$e?cloneArrayBuffer(xe.buffer):xe.buffer;return new xe.constructor(Ie,xe.byteOffset,xe.byteLength)}var reFlags=/\w*$/;function cloneRegExp(xe){var $e=new xe.constructor(xe.source,reFlags.exec(xe));return $e.lastIndex=xe.lastIndex,$e}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(xe){return symbolValueOf$1?Object(symbolValueOf$1.call(xe)):{}}function cloneTypedArray(xe,$e){var Ie=$e?cloneArrayBuffer(xe.buffer):xe.buffer;return new xe.constructor(Ie,xe.byteOffset,xe.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(xe,$e,Ie){var Fe=xe.constructor;switch($e){case arrayBufferTag$2:return cloneArrayBuffer(xe);case boolTag$2:case dateTag$2:return new Fe(+xe);case dataViewTag$2:return cloneDataView(xe,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(xe,Ie);case mapTag$3:return new Fe;case numberTag$2:case stringTag$2:return new Fe(xe);case regexpTag$2:return cloneRegExp(xe);case setTag$3:return new Fe;case symbolTag$2:return cloneSymbol(xe)}}function initCloneObject(xe){return typeof xe.constructor=="function"&&!isPrototype(xe)?baseCreate(getPrototype(xe)):{}}var mapTag$2="[object Map]";function baseIsMap(xe){return isObjectLike(xe)&&getTag(xe)==mapTag$2}var nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,setTag$2="[object Set]";function baseIsSet(xe){return isObjectLike(xe)&&getTag(xe)==setTag$2}var nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$3=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(xe,$e,Ie,Fe,Ue,qe){var At,Dt=$e&CLONE_DEEP_FLAG$2,Lt=$e&CLONE_FLAT_FLAG$1,jt=$e&CLONE_SYMBOLS_FLAG$3;if(Ie&&(At=Ue?Ie(xe,Fe,Ue,qe):Ie(xe)),At!==void 0)return At;if(!isObject$6(xe))return xe;var hn=isArray$4(xe);if(hn){if(At=initCloneArray(xe),!Dt)return copyArray(xe,At)}else{var vn=getTag(xe),bn=vn==funcTag||vn==genTag;if(isBuffer$1(xe))return cloneBuffer(xe,Dt);if(vn==objectTag$1||vn==argsTag$1||bn&&!Ue){if(At=Lt||bn?{}:initCloneObject(xe),!Dt)return Lt?copySymbolsIn(xe,baseAssignIn(At,xe)):copySymbols(xe,baseAssign(At,xe))}else{if(!cloneableTags[vn])return Ue?xe:{};At=initCloneByTag(xe,vn,Dt)}}qe||(qe=new Stack);var _n=qe.get(xe);if(_n)return _n;qe.set(xe,At),isSet(xe)?xe.forEach(function(Cn){At.add(baseClone(Cn,$e,Ie,Cn,xe,qe))}):isMap(xe)&&xe.forEach(function(Cn,Sn){At.set(Sn,baseClone(Cn,$e,Ie,Sn,xe,qe))});var wn=jt?Lt?getAllKeysIn:getAllKeys:Lt?keysIn:keys$1,kn=hn?void 0:wn(xe);return arrayEach(kn||xe,function(Cn,Sn){kn&&(Sn=Cn,Cn=xe[Sn]),assignValue(At,Sn,baseClone(Cn,$e,Ie,Sn,xe,qe))}),At}var CLONE_SYMBOLS_FLAG$2=4;function clone$5(xe){return baseClone(xe,CLONE_SYMBOLS_FLAG$2)}var CLONE_DEEP_FLAG$1=1,CLONE_SYMBOLS_FLAG$1=4;function cloneDeep(xe){return baseClone(xe,CLONE_DEEP_FLAG$1|CLONE_SYMBOLS_FLAG$1)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(xe){return this.__data__.set(xe,HASH_UNDEFINED),this}function setCacheHas(xe){return this.__data__.has(xe)}function SetCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.__data__=new MapCache;++$e<Ie;)this.add(xe[$e])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length;++Ie<Fe;)if($e(xe[Ie],Ie,xe))return!0;return!1}function cacheHas(xe,$e){return xe.has($e)}var COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays(xe,$e,Ie,Fe,Ue,qe){var At=Ie&COMPARE_PARTIAL_FLAG$5,Dt=xe.length,Lt=$e.length;if(Dt!=Lt&&!(At&&Lt>Dt))return!1;var jt=qe.get(xe),hn=qe.get($e);if(jt&&hn)return jt==$e&&hn==xe;var vn=-1,bn=!0,_n=Ie&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(qe.set(xe,$e),qe.set($e,xe);++vn<Dt;){var wn=xe[vn],kn=$e[vn];if(Fe)var Cn=At?Fe(kn,wn,vn,$e,xe,qe):Fe(wn,kn,vn,xe,$e,qe);if(Cn!==void 0){if(Cn)continue;bn=!1;break}if(_n){if(!arraySome($e,function(Sn,xn){if(!cacheHas(_n,xn)&&(wn===Sn||Ue(wn,Sn,Ie,Fe,qe)))return _n.push(xn)})){bn=!1;break}}else if(!(wn===kn||Ue(wn,kn,Ie,Fe,qe))){bn=!1;break}}return qe.delete(xe),qe.delete($e),bn}function mapToArray(xe){var $e=-1,Ie=Array(xe.size);return xe.forEach(function(Fe,Ue){Ie[++$e]=[Ue,Fe]}),Ie}function setToArray(xe){var $e=-1,Ie=Array(xe.size);return xe.forEach(function(Fe){Ie[++$e]=Fe}),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$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(xe,$e,Ie,Fe,Ue,qe,At){switch(Ie){case dataViewTag:if(xe.byteLength!=$e.byteLength||xe.byteOffset!=$e.byteOffset)return!1;xe=xe.buffer,$e=$e.buffer;case arrayBufferTag:return!(xe.byteLength!=$e.byteLength||!qe(new Uint8Array$1(xe),new Uint8Array$1($e)));case boolTag:case dateTag:case numberTag:return eq(+xe,+$e);case errorTag:return xe.name==$e.name&&xe.message==$e.message;case regexpTag:case stringTag:return xe==$e+"";case mapTag:var Dt=mapToArray;case setTag:var Lt=Fe&COMPARE_PARTIAL_FLAG$4;if(Dt||(Dt=setToArray),xe.size!=$e.size&&!Lt)return!1;var jt=At.get(xe);if(jt)return jt==$e;Fe|=COMPARE_UNORDERED_FLAG$2,At.set(xe,$e);var hn=equalArrays(Dt(xe),Dt($e),Fe,Ue,qe,At);return At.delete(xe),hn;case symbolTag:if(symbolValueOf)return symbolValueOf.call(xe)==symbolValueOf.call($e)}return!1}var COMPARE_PARTIAL_FLAG$3=1,objectProto$1=Object.prototype,hasOwnProperty$2=objectProto$1.hasOwnProperty;function equalObjects(xe,$e,Ie,Fe,Ue,qe){var At=Ie&COMPARE_PARTIAL_FLAG$3,Dt=getAllKeys(xe),Lt=Dt.length,jt=getAllKeys($e),hn=jt.length;if(Lt!=hn&&!At)return!1;for(var vn=Lt;vn--;){var bn=Dt[vn];if(!(At?bn in $e:hasOwnProperty$2.call($e,bn)))return!1}var _n=qe.get(xe),wn=qe.get($e);if(_n&&wn)return _n==$e&&wn==xe;var kn=!0;qe.set(xe,$e),qe.set($e,xe);for(var Cn=At;++vn<Lt;){bn=Dt[vn];var Sn=xe[bn],xn=$e[bn];if(Fe)var En=At?Fe(xn,Sn,bn,$e,xe,qe):Fe(Sn,xn,bn,xe,$e,qe);if(!(En===void 0?Sn===xn||Ue(Sn,xn,Ie,Fe,qe):En)){kn=!1;break}Cn||(Cn=bn=="constructor")}if(kn&&!Cn){var Tn=xe.constructor,An=$e.constructor;Tn!=An&&"constructor"in xe&&"constructor"in $e&&!(typeof Tn=="function"&&Tn instanceof Tn&&typeof An=="function"&&An instanceof An)&&(kn=!1)}return qe.delete(xe),qe.delete($e),kn}var COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty$1=objectProto.hasOwnProperty;function baseIsEqualDeep(xe,$e,Ie,Fe,Ue,qe){var At=isArray$4(xe),Dt=isArray$4($e),Lt=At?arrayTag:getTag(xe),jt=Dt?arrayTag:getTag($e);Lt=Lt==argsTag?objectTag:Lt,jt=jt==argsTag?objectTag:jt;var hn=Lt==objectTag,vn=jt==objectTag,bn=Lt==jt;if(bn&&isBuffer$1(xe)){if(!isBuffer$1($e))return!1;At=!0,hn=!1}if(bn&&!hn)return qe||(qe=new Stack),At||isTypedArray$2(xe)?equalArrays(xe,$e,Ie,Fe,Ue,qe):equalByTag(xe,$e,Lt,Ie,Fe,Ue,qe);if(!(Ie&COMPARE_PARTIAL_FLAG$2)){var _n=hn&&hasOwnProperty$1.call(xe,"__wrapped__"),wn=vn&&hasOwnProperty$1.call($e,"__wrapped__");if(_n||wn){var kn=_n?xe.value():xe,Cn=wn?$e.value():$e;return qe||(qe=new Stack),Ue(kn,Cn,Ie,Fe,qe)}}return bn?(qe||(qe=new Stack),equalObjects(xe,$e,Ie,Fe,Ue,qe)):!1}function baseIsEqual(xe,$e,Ie,Fe,Ue){return xe===$e?!0:xe==null||$e==null||!isObjectLike(xe)&&!isObjectLike($e)?xe!==xe&&$e!==$e:baseIsEqualDeep(xe,$e,Ie,Fe,baseIsEqual,Ue)}var COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch(xe,$e,Ie,Fe){var Ue=Ie.length,qe=Ue;if(xe==null)return!qe;for(xe=Object(xe);Ue--;){var At=Ie[Ue];if(At[2]?At[1]!==xe[At[0]]:!(At[0]in xe))return!1}for(;++Ue<qe;){At=Ie[Ue];var Dt=At[0],Lt=xe[Dt],jt=At[1];if(At[2]){if(Lt===void 0&&!(Dt in xe))return!1}else{var hn=new Stack,vn;if(!(vn===void 0?baseIsEqual(jt,Lt,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,Fe,hn):vn))return!1}}return!0}function isStrictComparable(xe){return xe===xe&&!isObject$6(xe)}function getMatchData(xe){for(var $e=keys$1(xe),Ie=$e.length;Ie--;){var Fe=$e[Ie],Ue=xe[Fe];$e[Ie]=[Fe,Ue,isStrictComparable(Ue)]}return $e}function matchesStrictComparable(xe,$e){return function(Ie){return Ie==null?!1:Ie[xe]===$e&&($e!==void 0||xe in Object(Ie))}}function baseMatches(xe){var $e=getMatchData(xe);return $e.length==1&&$e[0][2]?matchesStrictComparable($e[0][0],$e[0][1]):function(Ie){return Ie===xe||baseIsMatch(Ie,xe,$e)}}function baseHasIn(xe,$e){return xe!=null&&$e in Object(xe)}function hasPath(xe,$e,Ie){$e=castPath($e,xe);for(var Fe=-1,Ue=$e.length,qe=!1;++Fe<Ue;){var At=toKey($e[Fe]);if(!(qe=xe!=null&&Ie(xe,At)))break;xe=xe[At]}return qe||++Fe!=Ue?qe:(Ue=xe==null?0:xe.length,!!Ue&&isLength(Ue)&&isIndex(At,Ue)&&(isArray$4(xe)||isArguments(xe)))}function hasIn(xe,$e){return xe!=null&&hasPath(xe,$e,baseHasIn)}var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(xe,$e){return isKey(xe)&&isStrictComparable($e)?matchesStrictComparable(toKey(xe),$e):function(Ie){var Fe=get$1(Ie,xe);return Fe===void 0&&Fe===$e?hasIn(Ie,xe):baseIsEqual($e,Fe,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseProperty(xe){return function($e){return $e==null?void 0:$e[xe]}}function basePropertyDeep(xe){return function($e){return baseGet($e,xe)}}function property(xe){return isKey(xe)?baseProperty(toKey(xe)):basePropertyDeep(xe)}function baseIteratee(xe){return typeof xe=="function"?xe:xe==null?identity$2:typeof xe=="object"?isArray$4(xe)?baseMatchesProperty(xe[0],xe[1]):baseMatches(xe):property(xe)}function createBaseFor(xe){return function($e,Ie,Fe){for(var Ue=-1,qe=Object($e),At=Fe($e),Dt=At.length;Dt--;){var Lt=At[++Ue];if(Ie(qe[Lt],Lt,qe)===!1)break}return $e}}var baseFor=createBaseFor();function baseForOwn(xe,$e){return xe&&baseFor(xe,$e,keys$1)}function createBaseEach(xe,$e){return function(Ie,Fe){if(Ie==null)return Ie;if(!isArrayLike$1(Ie))return xe(Ie,Fe);for(var Ue=Ie.length,qe=-1,At=Object(Ie);++qe<Ue&&Fe(At[qe],qe,At)!==!1;);return Ie}}var baseEach=createBaseEach(baseForOwn),now=function(){return root.Date.now()},FUNC_ERROR_TEXT$1="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(xe,$e,Ie){var Fe,Ue,qe,At,Dt,Lt,jt=0,hn=!1,vn=!1,bn=!0;if(typeof xe!="function")throw new TypeError(FUNC_ERROR_TEXT$1);$e=toNumber($e)||0,isObject$6(Ie)&&(hn=!!Ie.leading,vn="maxWait"in Ie,qe=vn?nativeMax(toNumber(Ie.maxWait)||0,$e):qe,bn="trailing"in Ie?!!Ie.trailing:bn);function _n($n){var Pn=Fe,Nn=Ue;return Fe=Ue=void 0,jt=$n,At=xe.apply(Nn,Pn),At}function wn($n){return jt=$n,Dt=setTimeout(Sn,$e),hn?_n($n):At}function kn($n){var Pn=$n-Lt,Nn=$n-jt,Mn=$e-Pn;return vn?nativeMin(Mn,qe-Nn):Mn}function Cn($n){var Pn=$n-Lt,Nn=$n-jt;return Lt===void 0||Pn>=$e||Pn<0||vn&&Nn>=qe}function Sn(){var $n=now();if(Cn($n))return xn($n);Dt=setTimeout(Sn,kn($n))}function xn($n){return Dt=void 0,bn&&Fe?_n($n):(Fe=Ue=void 0,At)}function En(){Dt!==void 0&&clearTimeout(Dt),jt=0,Fe=Lt=Ue=Dt=void 0}function Tn(){return Dt===void 0?At:xn(now())}function An(){var $n=now(),Pn=Cn($n);if(Fe=arguments,Ue=this,Lt=$n,Pn){if(Dt===void 0)return wn(Lt);if(vn)return clearTimeout(Dt),Dt=setTimeout(Sn,$e),_n(Lt)}return Dt===void 0&&(Dt=setTimeout(Sn,$e)),At}return An.cancel=En,An.flush=Tn,An}function assignMergeValue(xe,$e,Ie){(Ie!==void 0&&!eq(xe[$e],Ie)||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function isArrayLikeObject(xe){return isObjectLike(xe)&&isArrayLike$1(xe)}function safeGet(xe,$e){if(!($e==="constructor"&&typeof xe[$e]=="function")&&$e!="__proto__")return xe[$e]}function toPlainObject(xe){return copyObject(xe,keysIn(xe))}function baseMergeDeep(xe,$e,Ie,Fe,Ue,qe,At){var Dt=safeGet(xe,Ie),Lt=safeGet($e,Ie),jt=At.get(Lt);if(jt){assignMergeValue(xe,Ie,jt);return}var hn=qe?qe(Dt,Lt,Ie+"",xe,$e,At):void 0,vn=hn===void 0;if(vn){var bn=isArray$4(Lt),_n=!bn&&isBuffer$1(Lt),wn=!bn&&!_n&&isTypedArray$2(Lt);hn=Lt,bn||_n||wn?isArray$4(Dt)?hn=Dt:isArrayLikeObject(Dt)?hn=copyArray(Dt):_n?(vn=!1,hn=cloneBuffer(Lt,!0)):wn?(vn=!1,hn=cloneTypedArray(Lt,!0)):hn=[]:isPlainObject$2(Lt)||isArguments(Lt)?(hn=Dt,isArguments(Dt)?hn=toPlainObject(Dt):(!isObject$6(Dt)||isFunction$3(Dt))&&(hn=initCloneObject(Lt))):vn=!1}vn&&(At.set(Lt,hn),Ue(hn,Lt,Fe,qe,At),At.delete(Lt)),assignMergeValue(xe,Ie,hn)}function baseMerge(xe,$e,Ie,Fe,Ue){xe!==$e&&baseFor($e,function(qe,At){if(Ue||(Ue=new Stack),isObject$6(qe))baseMergeDeep(xe,$e,At,Ie,baseMerge,Fe,Ue);else{var Dt=Fe?Fe(safeGet(xe,At),qe,At+"",xe,$e,Ue):void 0;Dt===void 0&&(Dt=qe),assignMergeValue(xe,At,Dt)}},keysIn)}function customDefaultsMerge(xe,$e,Ie,Fe,Ue,qe){return isObject$6(xe)&&isObject$6($e)&&(qe.set($e,xe),baseMerge(xe,$e,void 0,customDefaultsMerge,qe),qe.delete($e)),xe}var mergeWith=createAssigner(function(xe,$e,Ie,Fe){baseMerge(xe,$e,Ie,Fe)}),defaultsDeep=baseRest(function(xe){return xe.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,xe)});function last(xe){var $e=xe==null?0:xe.length;return $e?xe[$e-1]:void 0}function findLastIndex(xe,$e,Ie){var Fe=xe==null?0:xe.length;if(!Fe)return-1;var Ue=Fe-1;return baseFindIndex(xe,baseIteratee($e),Ue,!0)}function baseMap(xe,$e){var Ie=-1,Fe=isArrayLike$1(xe)?Array(xe.length):[];return baseEach(xe,function(Ue,qe,At){Fe[++Ie]=$e(Ue,qe,At)}),Fe}function map$2(xe,$e){var Ie=isArray$4(xe)?arrayMap:baseMap;return Ie(xe,baseIteratee($e))}function flatMap(xe,$e){return baseFlatten(map$2(xe,$e),1)}var INFINITY$1=1/0;function flattenDeep(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,INFINITY$1):[]}function fromPairs(xe){for(var $e=-1,Ie=xe==null?0:xe.length,Fe={};++$e<Ie;){var Ue=xe[$e];Fe[Ue[0]]=Ue[1]}return Fe}function parent$1(xe,$e){return $e.length<2?xe:baseGet(xe,baseSlice($e,0,-1))}function isEqual$1(xe,$e){return baseIsEqual(xe,$e)}function isNil(xe){return xe==null}function isUndefined$2(xe){return xe===void 0}var merge$2=createAssigner(function(xe,$e,Ie){baseMerge(xe,$e,Ie)});function baseUnset(xe,$e){return $e=castPath($e,xe),xe=parent$1(xe,$e),xe==null||delete xe[toKey(last($e))]}function customOmitClone(xe){return isPlainObject$2(xe)?void 0:xe}var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,omit=flatRest(function(xe,$e){var Ie={};if(xe==null)return Ie;var Fe=!1;$e=arrayMap($e,function(qe){return qe=castPath(qe,xe),Fe||(Fe=qe.length>1),qe}),copyObject(xe,getAllKeysIn(xe),Ie),Fe&&(Ie=baseClone(Ie,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var Ue=$e.length;Ue--;)baseUnset(Ie,$e[Ue]);return Ie});function baseSet(xe,$e,Ie,Fe){if(!isObject$6(xe))return xe;$e=castPath($e,xe);for(var Ue=-1,qe=$e.length,At=qe-1,Dt=xe;Dt!=null&&++Ue<qe;){var Lt=toKey($e[Ue]),jt=Ie;if(Lt==="__proto__"||Lt==="constructor"||Lt==="prototype")return xe;if(Ue!=At){var hn=Dt[Lt];jt=void 0,jt===void 0&&(jt=isObject$6(hn)?hn:isIndex($e[Ue+1])?[]:{})}assignValue(Dt,Lt,jt),Dt=Dt[Lt]}return xe}function basePickBy(xe,$e,Ie){for(var Fe=-1,Ue=$e.length,qe={};++Fe<Ue;){var At=$e[Fe],Dt=baseGet(xe,At);Ie(Dt,At)&&baseSet(qe,castPath(At,xe),Dt)}return qe}function basePick(xe,$e){return basePickBy(xe,$e,function(Ie,Fe){return hasIn(xe,Fe)})}var pick=flatRest(function(xe,$e){return xe==null?{}:basePick(xe,$e)});function set$2(xe,$e,Ie){return xe==null?xe:baseSet(xe,$e,Ie)}var FUNC_ERROR_TEXT="Expected a function";function throttle$3(xe,$e,Ie){var Fe=!0,Ue=!0;if(typeof xe!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject$6(Ie)&&(Fe="leading"in Ie?!!Ie.leading:Fe,Ue="trailing"in Ie?!!Ie.trailing:Ue),debounce(xe,$e,{leading:Fe,maxWait:$e,trailing:Ue})}var INFINITY=1/0,createSet=Set$1&&1/setToArray(new Set$1([,-0]))[1]==INFINITY?function(xe){return new Set$1(xe)}:noop$6,LARGE_ARRAY_SIZE=200;function baseUniq(xe,$e,Ie){var Fe=-1,Ue=arrayIncludes,qe=xe.length,At=!0,Dt=[],Lt=Dt;if(qe>=LARGE_ARRAY_SIZE){var jt=createSet(xe);if(jt)return setToArray(jt);At=!1,Ue=cacheHas,Lt=new SetCache}else Lt=Dt;e:for(;++Fe<qe;){var hn=xe[Fe],vn=hn;if(hn=hn!==0?hn:0,At&&vn===vn){for(var bn=Lt.length;bn--;)if(Lt[bn]===vn)continue e;Dt.push(hn)}else Ue(Lt,vn,Ie)||(Lt!==Dt&&Lt.push(vn),Dt.push(hn))}return Dt}var union=baseRest(function(xe){return baseUniq(baseFlatten(xe,1,isArrayLikeObject,!0))});const globalSettingsDefault={app:{colorScheme:"light",enablePermission:!1,enableProgress:!0,enableDynamicTitle:!1,routeBaseOn:"frontend"},home:{enable:!0,title:"主页",fullPath:"/"},layout:{enableMobileAdaptation:!1},menu:{baseOn:"frontend",menuMode:"side",switchMainMenuAndPageJump:!1,subMenuUniqueOpened:!0,subMenuCollapse:!1,enableSubMenuCollapseButton:!1,enableHotkeys:!1},topbar:{mode:"static"},tabbar:{enable:!1,enableIcon:!1,enableHotkeys:!1},toolbar:{breadcrumb:!0,navSearch:!0,fullscreen:!1,pageReload:!1,colorScheme:!1},mainPage:{enableHotkeys:!0},navSearch:{enableHotkeys:!0},copyright:{enable:!1,dates:"",company:"",website:"",beian:""}},globalSettings={menu:{menuMode:"single",enableSubMenuCollapseButton:!0,enableHotkeys:!1},app:{enableDynamicTitle:!0},topbar:{mode:"static"},toolbar:{fullscreen:!1,pageReload:!0},navSearch:{enableHotkeys:!1},copyright:{enable:!1}},settingsDefault=defaultsDeep(globalSettings,globalSettingsDefault);var isVue2=!1;/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */let activePinia;const setActivePinia=xe=>activePinia=xe,piniaSymbol=Symbol();function isPlainObject$1(xe){return xe&&typeof xe=="object"&&Object.prototype.toString.call(xe)==="[object Object]"&&typeof xe.toJSON!="function"}var MutationType;(function(xe){xe.direct="direct",xe.patchObject="patch object",xe.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const xe=effectScope(!0),$e=xe.run(()=>ref({}));let Ie=[],Fe=[];const Ue=markRaw({install(qe){setActivePinia(Ue),Ue._a=qe,qe.provide(piniaSymbol,Ue),qe.config.globalProperties.$pinia=Ue,Fe.forEach(At=>Ie.push(At)),Fe=[]},use(qe){return!this._a&&!isVue2?Fe.push(qe):Ie.push(qe),this},_p:Ie,_a:null,_e:xe,_s:new Map,state:$e});return Ue}const noop$5=()=>{};function addSubscription(xe,$e,Ie,Fe=noop$5){xe.push($e);const Ue=()=>{const qe=xe.indexOf($e);qe>-1&&(xe.splice(qe,1),Fe())};return!Ie&&getCurrentScope()&&onScopeDispose(Ue),Ue}function triggerSubscriptions(xe,...$e){xe.slice().forEach(Ie=>{Ie(...$e)})}const fallbackRunWithContext=xe=>xe();function mergeReactiveObjects(xe,$e){xe instanceof Map&&$e instanceof Map&&$e.forEach((Ie,Fe)=>xe.set(Fe,Ie)),xe instanceof Set&&$e instanceof Set&&$e.forEach(xe.add,xe);for(const Ie in $e){if(!$e.hasOwnProperty(Ie))continue;const Fe=$e[Ie],Ue=xe[Ie];isPlainObject$1(Ue)&&isPlainObject$1(Fe)&&xe.hasOwnProperty(Ie)&&!isRef(Fe)&&!isReactive(Fe)?xe[Ie]=mergeReactiveObjects(Ue,Fe):xe[Ie]=Fe}return xe}const skipHydrateSymbol=Symbol();function shouldHydrate(xe){return!isPlainObject$1(xe)||!xe.hasOwnProperty(skipHydrateSymbol)}const{assign:assign$1}=Object;function isComputed(xe){return!!(isRef(xe)&&xe.effect)}function createOptionsStore(xe,$e,Ie,Fe){const{state:Ue,actions:qe,getters:At}=$e,Dt=Ie.state.value[xe];let Lt;function jt(){Dt||(Ie.state.value[xe]=Ue?Ue():{});const hn=toRefs(Ie.state.value[xe]);return assign$1(hn,qe,Object.keys(At||{}).reduce((vn,bn)=>(vn[bn]=markRaw(computed(()=>{setActivePinia(Ie);const _n=Ie._s.get(xe);return At[bn].call(_n,_n)})),vn),{}))}return Lt=createSetupStore(xe,jt,$e,Ie,Fe,!0),Lt}function createSetupStore(xe,$e,Ie={},Fe,Ue,qe){let At;const Dt=assign$1({actions:{}},Ie),Lt={deep:!0};let jt,hn,vn=[],bn=[],_n;const wn=Fe.state.value[xe];!qe&&!wn&&(Fe.state.value[xe]={}),ref({});let kn;function Cn(Nn){let Mn;jt=hn=!1,typeof Nn=="function"?(Nn(Fe.state.value[xe]),Mn={type:MutationType.patchFunction,storeId:xe,events:_n}):(mergeReactiveObjects(Fe.state.value[xe],Nn),Mn={type:MutationType.patchObject,payload:Nn,storeId:xe,events:_n});const In=kn=Symbol();nextTick().then(()=>{kn===In&&(jt=!0)}),hn=!0,triggerSubscriptions(vn,Mn,Fe.state.value[xe])}const Sn=qe?function(){const{state:Mn}=Ie,In=Mn?Mn():{};this.$patch(On=>{assign$1(On,In)})}:noop$5;function xn(){At.stop(),vn=[],bn=[],Fe._s.delete(xe)}function En(Nn,Mn){return function(){setActivePinia(Fe);const In=Array.from(arguments),On=[],Rn=[];function Bn(Dn){On.push(Dn)}function Vn(Dn){Rn.push(Dn)}triggerSubscriptions(bn,{args:In,name:Nn,store:An,after:Bn,onError:Vn});let Ln;try{Ln=Mn.apply(this&&this.$id===xe?this:An,In)}catch(Dn){throw triggerSubscriptions(Rn,Dn),Dn}return Ln instanceof Promise?Ln.then(Dn=>(triggerSubscriptions(On,Dn),Dn)).catch(Dn=>(triggerSubscriptions(Rn,Dn),Promise.reject(Dn))):(triggerSubscriptions(On,Ln),Ln)}}const Tn={_p:Fe,$id:xe,$onAction:addSubscription.bind(null,bn),$patch:Cn,$reset:Sn,$subscribe(Nn,Mn={}){const In=addSubscription(vn,Nn,Mn.detached,()=>On()),On=At.run(()=>watch(()=>Fe.state.value[xe],Rn=>{(Mn.flush==="sync"?hn:jt)&&Nn({storeId:xe,type:MutationType.direct,events:_n},Rn)},assign$1({},Lt,Mn)));return In},$dispose:xn},An=reactive(Tn);Fe._s.set(xe,An);const Pn=(Fe._a&&Fe._a.runWithContext||fallbackRunWithContext)(()=>Fe._e.run(()=>(At=effectScope()).run($e)));for(const Nn in Pn){const Mn=Pn[Nn];if(isRef(Mn)&&!isComputed(Mn)||isReactive(Mn))qe||(wn&&shouldHydrate(Mn)&&(isRef(Mn)?Mn.value=wn[Nn]:mergeReactiveObjects(Mn,wn[Nn])),Fe.state.value[xe][Nn]=Mn);else if(typeof Mn=="function"){const In=En(Nn,Mn);Pn[Nn]=In,Dt.actions[Nn]=Mn}}return assign$1(An,Pn),assign$1(toRaw(An),Pn),Object.defineProperty(An,"$state",{get:()=>Fe.state.value[xe],set:Nn=>{Cn(Mn=>{assign$1(Mn,Nn)})}}),Fe._p.forEach(Nn=>{assign$1(An,At.run(()=>Nn({store:An,app:Fe._a,pinia:Fe,options:Dt})))}),wn&&qe&&Ie.hydrate&&Ie.hydrate(An.$state,wn),jt=!0,hn=!0,An}function defineStore(xe,$e,Ie){let Fe,Ue;const qe=typeof $e=="function";typeof xe=="string"?(Fe=xe,Ue=qe?Ie:$e):(Ue=xe,Fe=xe.id);function At(Dt,Lt){const jt=hasInjectionContext();return Dt=Dt||(jt?inject(piniaSymbol,null):null),Dt&&setActivePinia(Dt),Dt=activePinia,Dt._s.has(Fe)||(qe?createSetupStore(Fe,$e,Ue,Dt):createOptionsStore(Fe,Ue,Dt)),Dt._s.get(Fe)}return At.$id=Fe,At}const useSettingsStore=defineStore("settings",()=>{const xe=ref(settingsDefault),$e=window.matchMedia("(prefers-color-scheme: dark)"),Ie=ref();watch(()=>xe.value.app.colorScheme,wn=>{wn===""?$e.addEventListener("change",Fe):$e.removeEventListener("change",Fe)},{immediate:!0}),watch(()=>xe.value.app.colorScheme,Fe,{immediate:!0});function Fe(){let wn=xe.value.app.colorScheme;switch(wn===""&&(wn=$e.matches?"dark":"light"),Ie.value=wn,wn){case"light":document.documentElement.classList.remove("dark");break;case"dark":document.documentElement.classList.add("dark");break}}watch(()=>xe.value.menu.menuMode,wn=>{document.body.setAttribute("data-menu-mode",wn)},{immediate:!0});const Ue=ref("other"),qe=navigator.userAgent.toLowerCase();switch(!0){case qe.includes("mac os"):Ue.value="mac";break;case qe.includes("windows"):Ue.value="windows";break;case qe.includes("linux"):Ue.value="linux";break}const At=ref();function Dt(wn){At.value=wn}const Lt=ref("pc");function jt(wn){xe.value.layout.enableMobileAdaptation?/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?Lt.value="mobile":Lt.value=wn<1024?"mobile":"pc":Lt.value="pc"}function hn(){xe.value.menu.subMenuCollapse=!xe.value.menu.subMenuCollapse}const vn=ref(settingsDefault.menu.subMenuCollapse);watch(()=>xe.value.menu.subMenuCollapse,wn=>{Lt.value==="pc"&&(vn.value=wn)}),watch(Lt,wn=>{switch(wn){case"pc":xe.value.menu.subMenuCollapse=vn.value;break;case"mobile":xe.value.menu.subMenuCollapse=!0;break}document.body.setAttribute("data-mode",wn)},{immediate:!0});function bn(wn){xe.value.app.colorScheme=wn}function _n(wn,kn=!1){xe.value=defaultsDeep(wn,kn?settingsDefault:xe.value)}return{settings:xe,currentColorScheme:Ie,os:Ue,title:At,setTitle:Dt,mode:Lt,setMode:jt,subMenuCollapseLastStatus:vn,toggleSidebarCollapse:hn,setColorScheme:bn,updateSettings:_n}});/*!
  * vue-router v4.3.3
  * (c) 2024 Eduardo San Martin Morote
  * @license MIT
  */const isBrowser$1=typeof document<"u";function isESModule(xe){return xe.__esModule||xe[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(xe,$e){const Ie={};for(const Fe in $e){const Ue=$e[Fe];Ie[Fe]=isArray$3(Ue)?Ue.map(xe):xe(Ue)}return Ie}const noop$4=()=>{},isArray$3=Array.isArray,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(xe){return encodeURI(""+xe).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(xe){return commonEncode(xe).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(xe){return commonEncode(xe).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(xe){return encodeQueryValue(xe).replace(EQUAL_RE,"%3D")}function encodePath(xe){return commonEncode(xe).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(xe){return xe==null?"":encodePath(xe).replace(SLASH_RE,"%2F")}function decode$1(xe){try{return decodeURIComponent(""+xe)}catch{}return""+xe}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=xe=>xe.replace(TRAILING_SLASH_RE,"");function parseURL(xe,$e,Ie="/"){let Fe,Ue={},qe="",At="";const Dt=$e.indexOf("#");let Lt=$e.indexOf("?");return Dt<Lt&&Dt>=0&&(Lt=-1),Lt>-1&&(Fe=$e.slice(0,Lt),qe=$e.slice(Lt+1,Dt>-1?Dt:$e.length),Ue=xe(qe)),Dt>-1&&(Fe=Fe||$e.slice(0,Dt),At=$e.slice(Dt,$e.length)),Fe=resolveRelativePath(Fe??$e,Ie),{fullPath:Fe+(qe&&"?")+qe+At,path:Fe,query:Ue,hash:decode$1(At)}}function stringifyURL(xe,$e){const Ie=$e.query?xe($e.query):"";return $e.path+(Ie&&"?")+Ie+($e.hash||"")}function stripBase(xe,$e){return!$e||!xe.toLowerCase().startsWith($e.toLowerCase())?xe:xe.slice($e.length)||"/"}function isSameRouteLocation(xe,$e,Ie){const Fe=$e.matched.length-1,Ue=Ie.matched.length-1;return Fe>-1&&Fe===Ue&&isSameRouteRecord($e.matched[Fe],Ie.matched[Ue])&&isSameRouteLocationParams($e.params,Ie.params)&&xe($e.query)===xe(Ie.query)&&$e.hash===Ie.hash}function isSameRouteRecord(xe,$e){return(xe.aliasOf||xe)===($e.aliasOf||$e)}function isSameRouteLocationParams(xe,$e){if(Object.keys(xe).length!==Object.keys($e).length)return!1;for(const Ie in xe)if(!isSameRouteLocationParamsValue(xe[Ie],$e[Ie]))return!1;return!0}function isSameRouteLocationParamsValue(xe,$e){return isArray$3(xe)?isEquivalentArray(xe,$e):isArray$3($e)?isEquivalentArray($e,xe):xe===$e}function isEquivalentArray(xe,$e){return isArray$3($e)?xe.length===$e.length&&xe.every((Ie,Fe)=>Ie===$e[Fe]):xe.length===1&&xe[0]===$e}function resolveRelativePath(xe,$e){if(xe.startsWith("/"))return xe;if(!xe)return $e;const Ie=$e.split("/"),Fe=xe.split("/"),Ue=Fe[Fe.length-1];(Ue===".."||Ue===".")&&Fe.push("");let qe=Ie.length-1,At,Dt;for(At=0;At<Fe.length;At++)if(Dt=Fe[At],Dt!==".")if(Dt==="..")qe>1&&qe--;else break;return Ie.slice(0,qe).join("/")+"/"+Fe.slice(At).join("/")}var NavigationType;(function(xe){xe.pop="pop",xe.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(xe){xe.back="back",xe.forward="forward",xe.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(xe){if(!xe)if(isBrowser$1){const $e=document.querySelector("base");xe=$e&&$e.getAttribute("href")||"/",xe=xe.replace(/^\w+:\/\/[^\/]+/,"")}else xe="/";return xe[0]!=="/"&&xe[0]!=="#"&&(xe="/"+xe),removeTrailingSlash(xe)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(xe,$e){return xe.replace(BEFORE_HASH_RE,"#")+$e}function getElementPosition(xe,$e){const Ie=document.documentElement.getBoundingClientRect(),Fe=xe.getBoundingClientRect();return{behavior:$e.behavior,left:Fe.left-Ie.left-($e.left||0),top:Fe.top-Ie.top-($e.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(xe){let $e;if("el"in xe){const Ie=xe.el,Fe=typeof Ie=="string"&&Ie.startsWith("#"),Ue=typeof Ie=="string"?Fe?document.getElementById(Ie.slice(1)):document.querySelector(Ie):Ie;if(!Ue)return;$e=getElementPosition(Ue,xe)}else $e=xe;"scrollBehavior"in document.documentElement.style?window.scrollTo($e):window.scrollTo($e.left!=null?$e.left:window.scrollX,$e.top!=null?$e.top:window.scrollY)}function getScrollKey(xe,$e){return(history.state?history.state.position-$e:-1)+xe}const scrollPositions=new Map;function saveScrollPosition(xe,$e){scrollPositions.set(xe,$e)}function getSavedScrollPosition(xe){const $e=scrollPositions.get(xe);return scrollPositions.delete(xe),$e}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(xe,$e){const{pathname:Ie,search:Fe,hash:Ue}=$e,qe=xe.indexOf("#");if(qe>-1){let Dt=Ue.includes(xe.slice(qe))?xe.slice(qe).length:1,Lt=Ue.slice(Dt);return Lt[0]!=="/"&&(Lt="/"+Lt),stripBase(Lt,"")}return stripBase(Ie,xe)+Fe+Ue}function useHistoryListeners(xe,$e,Ie,Fe){let Ue=[],qe=[],At=null;const Dt=({state:bn})=>{const _n=createCurrentLocation(xe,location),wn=Ie.value,kn=$e.value;let Cn=0;if(bn){if(Ie.value=_n,$e.value=bn,At&&At===wn){At=null;return}Cn=kn?bn.position-kn.position:0}else Fe(_n);Ue.forEach(Sn=>{Sn(Ie.value,wn,{delta:Cn,type:NavigationType.pop,direction:Cn?Cn>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function Lt(){At=Ie.value}function jt(bn){Ue.push(bn);const _n=()=>{const wn=Ue.indexOf(bn);wn>-1&&Ue.splice(wn,1)};return qe.push(_n),_n}function hn(){const{history:bn}=window;bn.state&&bn.replaceState(assign({},bn.state,{scroll:computeScrollPosition()}),"")}function vn(){for(const bn of qe)bn();qe=[],window.removeEventListener("popstate",Dt),window.removeEventListener("beforeunload",hn)}return window.addEventListener("popstate",Dt),window.addEventListener("beforeunload",hn,{passive:!0}),{pauseListeners:Lt,listen:jt,destroy:vn}}function buildState(xe,$e,Ie,Fe=!1,Ue=!1){return{back:xe,current:$e,forward:Ie,replaced:Fe,position:window.history.length,scroll:Ue?computeScrollPosition():null}}function useHistoryStateNavigation(xe){const{history:$e,location:Ie}=window,Fe={value:createCurrentLocation(xe,Ie)},Ue={value:$e.state};Ue.value||qe(Fe.value,{back:null,current:Fe.value,forward:null,position:$e.length-1,replaced:!0,scroll:null},!0);function qe(Lt,jt,hn){const vn=xe.indexOf("#"),bn=vn>-1?(Ie.host&&document.querySelector("base")?xe:xe.slice(vn))+Lt:createBaseLocation()+xe+Lt;try{$e[hn?"replaceState":"pushState"](jt,"",bn),Ue.value=jt}catch(_n){console.error(_n),Ie[hn?"replace":"assign"](bn)}}function At(Lt,jt){const hn=assign({},$e.state,buildState(Ue.value.back,Lt,Ue.value.forward,!0),jt,{position:Ue.value.position});qe(Lt,hn,!0),Fe.value=Lt}function Dt(Lt,jt){const hn=assign({},Ue.value,$e.state,{forward:Lt,scroll:computeScrollPosition()});qe(hn.current,hn,!0);const vn=assign({},buildState(Fe.value,Lt,null),{position:hn.position+1},jt);qe(Lt,vn,!1),Fe.value=Lt}return{location:Fe,state:Ue,push:Dt,replace:At}}function createWebHistory(xe){xe=normalizeBase(xe);const $e=useHistoryStateNavigation(xe),Ie=useHistoryListeners(xe,$e.state,$e.location,$e.replace);function Fe(qe,At=!0){At||Ie.pauseListeners(),history.go(qe)}const Ue=assign({location:"",base:xe,go:Fe,createHref:createHref.bind(null,xe)},$e,Ie);return Object.defineProperty(Ue,"location",{enumerable:!0,get:()=>$e.location.value}),Object.defineProperty(Ue,"state",{enumerable:!0,get:()=>$e.state.value}),Ue}function createWebHashHistory(xe){return xe=location.host?xe||location.pathname+location.search:"",xe.includes("#")||(xe+="#"),createWebHistory(xe)}function isRouteLocation(xe){return typeof xe=="string"||xe&&typeof xe=="object"}function isRouteName(xe){return typeof xe=="string"||typeof xe=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(xe){xe[xe.aborted=4]="aborted",xe[xe.cancelled=8]="cancelled",xe[xe.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(xe,$e){return assign(new Error,{type:xe,[NavigationFailureSymbol]:!0},$e)}function isNavigationFailure(xe,$e){return xe instanceof Error&&NavigationFailureSymbol in xe&&($e==null||!!(xe.type&$e))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(xe,$e){const Ie=assign({},BASE_PATH_PARSER_OPTIONS,$e),Fe=[];let Ue=Ie.start?"^":"";const qe=[];for(const jt of xe){const hn=jt.length?[]:[90];Ie.strict&&!jt.length&&(Ue+="/");for(let vn=0;vn<jt.length;vn++){const bn=jt[vn];let _n=40+(Ie.sensitive?.25:0);if(bn.type===0)vn||(Ue+="/"),Ue+=bn.value.replace(REGEX_CHARS_RE,"\\$&"),_n+=40;else if(bn.type===1){const{value:wn,repeatable:kn,optional:Cn,regexp:Sn}=bn;qe.push({name:wn,repeatable:kn,optional:Cn});const xn=Sn||BASE_PARAM_PATTERN;if(xn!==BASE_PARAM_PATTERN){_n+=10;try{new RegExp(`(${xn})`)}catch(Tn){throw new Error(`Invalid custom RegExp for param "${wn}" (${xn}): `+Tn.message)}}let En=kn?`((?:${xn})(?:/(?:${xn}))*)`:`(${xn})`;vn||(En=Cn&&jt.length<2?`(?:/${En})`:"/"+En),Cn&&(En+="?"),Ue+=En,_n+=20,Cn&&(_n+=-8),kn&&(_n+=-20),xn===".*"&&(_n+=-50)}hn.push(_n)}Fe.push(hn)}if(Ie.strict&&Ie.end){const jt=Fe.length-1;Fe[jt][Fe[jt].length-1]+=.7000000000000001}Ie.strict||(Ue+="/?"),Ie.end?Ue+="$":Ie.strict&&(Ue+="(?:/|$)");const At=new RegExp(Ue,Ie.sensitive?"":"i");function Dt(jt){const hn=jt.match(At),vn={};if(!hn)return null;for(let bn=1;bn<hn.length;bn++){const _n=hn[bn]||"",wn=qe[bn-1];vn[wn.name]=_n&&wn.repeatable?_n.split("/"):_n}return vn}function Lt(jt){let hn="",vn=!1;for(const bn of xe){(!vn||!hn.endsWith("/"))&&(hn+="/"),vn=!1;for(const _n of bn)if(_n.type===0)hn+=_n.value;else if(_n.type===1){const{value:wn,repeatable:kn,optional:Cn}=_n,Sn=wn in jt?jt[wn]:"";if(isArray$3(Sn)&&!kn)throw new Error(`Provided param "${wn}" is an array but it is not repeatable (* or + modifiers)`);const xn=isArray$3(Sn)?Sn.join("/"):Sn;if(!xn)if(Cn)bn.length<2&&(hn.endsWith("/")?hn=hn.slice(0,-1):vn=!0);else throw new Error(`Missing required param "${wn}"`);hn+=xn}}return hn||"/"}return{re:At,score:Fe,keys:qe,parse:Dt,stringify:Lt}}function compareScoreArray(xe,$e){let Ie=0;for(;Ie<xe.length&&Ie<$e.length;){const Fe=$e[Ie]-xe[Ie];if(Fe)return Fe;Ie++}return xe.length<$e.length?xe.length===1&&xe[0]===80?-1:1:xe.length>$e.length?$e.length===1&&$e[0]===80?1:-1:0}function comparePathParserScore(xe,$e){let Ie=0;const Fe=xe.score,Ue=$e.score;for(;Ie<Fe.length&&Ie<Ue.length;){const qe=compareScoreArray(Fe[Ie],Ue[Ie]);if(qe)return qe;Ie++}if(Math.abs(Ue.length-Fe.length)===1){if(isLastScoreNegative(Fe))return 1;if(isLastScoreNegative(Ue))return-1}return Ue.length-Fe.length}function isLastScoreNegative(xe){const $e=xe[xe.length-1];return xe.length>0&&$e[$e.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(xe){if(!xe)return[[]];if(xe==="/")return[[ROOT_TOKEN]];if(!xe.startsWith("/"))throw new Error(`Invalid path "${xe}"`);function $e(_n){throw new Error(`ERR (${Ie})/"${jt}": ${_n}`)}let Ie=0,Fe=Ie;const Ue=[];let qe;function At(){qe&&Ue.push(qe),qe=[]}let Dt=0,Lt,jt="",hn="";function vn(){jt&&(Ie===0?qe.push({type:0,value:jt}):Ie===1||Ie===2||Ie===3?(qe.length>1&&(Lt==="*"||Lt==="+")&&$e(`A repeatable param (${jt}) must be alone in its segment. eg: '/:ids+.`),qe.push({type:1,value:jt,regexp:hn,repeatable:Lt==="*"||Lt==="+",optional:Lt==="*"||Lt==="?"})):$e("Invalid state to consume buffer"),jt="")}function bn(){jt+=Lt}for(;Dt<xe.length;){if(Lt=xe[Dt++],Lt==="\\"&&Ie!==2){Fe=Ie,Ie=4;continue}switch(Ie){case 0:Lt==="/"?(jt&&vn(),At()):Lt===":"?(vn(),Ie=1):bn();break;case 4:bn(),Ie=Fe;break;case 1:Lt==="("?Ie=2:VALID_PARAM_RE.test(Lt)?bn():(vn(),Ie=0,Lt!=="*"&&Lt!=="?"&&Lt!=="+"&&Dt--);break;case 2:Lt===")"?hn[hn.length-1]=="\\"?hn=hn.slice(0,-1)+Lt:Ie=3:hn+=Lt;break;case 3:vn(),Ie=0,Lt!=="*"&&Lt!=="?"&&Lt!=="+"&&Dt--,hn="";break;default:$e("Unknown state");break}}return Ie===2&&$e(`Unfinished custom RegExp for param "${jt}"`),vn(),At(),Ue}function createRouteRecordMatcher(xe,$e,Ie){const Fe=tokensToParser(tokenizePath(xe.path),Ie),Ue=assign(Fe,{record:xe,parent:$e,children:[],alias:[]});return $e&&!Ue.record.aliasOf==!$e.record.aliasOf&&$e.children.push(Ue),Ue}function createRouterMatcher(xe,$e){const Ie=[],Fe=new Map;$e=mergeOptions$1({strict:!1,end:!0,sensitive:!1},$e);function Ue(hn){return Fe.get(hn)}function qe(hn,vn,bn){const _n=!bn,wn=normalizeRouteRecord(hn);wn.aliasOf=bn&&bn.record;const kn=mergeOptions$1($e,hn),Cn=[wn];if("alias"in hn){const En=typeof hn.alias=="string"?[hn.alias]:hn.alias;for(const Tn of En)Cn.push(assign({},wn,{components:bn?bn.record.components:wn.components,path:Tn,aliasOf:bn?bn.record:wn}))}let Sn,xn;for(const En of Cn){const{path:Tn}=En;if(vn&&Tn[0]!=="/"){const An=vn.record.path,$n=An[An.length-1]==="/"?"":"/";En.path=vn.record.path+(Tn&&$n+Tn)}if(Sn=createRouteRecordMatcher(En,vn,kn),bn?bn.alias.push(Sn):(xn=xn||Sn,xn!==Sn&&xn.alias.push(Sn),_n&&hn.name&&!isAliasRecord(Sn)&&At(hn.name)),isMatchable(Sn)&&Lt(Sn),wn.children){const An=wn.children;for(let $n=0;$n<An.length;$n++)qe(An[$n],Sn,bn&&bn.children[$n])}bn=bn||Sn}return xn?()=>{At(xn)}:noop$4}function At(hn){if(isRouteName(hn)){const vn=Fe.get(hn);vn&&(Fe.delete(hn),Ie.splice(Ie.indexOf(vn),1),vn.children.forEach(At),vn.alias.forEach(At))}else{const vn=Ie.indexOf(hn);vn>-1&&(Ie.splice(vn,1),hn.record.name&&Fe.delete(hn.record.name),hn.children.forEach(At),hn.alias.forEach(At))}}function Dt(){return Ie}function Lt(hn){const vn=findInsertionIndex(hn,Ie);Ie.splice(vn,0,hn),hn.record.name&&!isAliasRecord(hn)&&Fe.set(hn.record.name,hn)}function jt(hn,vn){let bn,_n={},wn,kn;if("name"in hn&&hn.name){if(bn=Fe.get(hn.name),!bn)throw createRouterError(1,{location:hn});kn=bn.record.name,_n=assign(paramsFromLocation(vn.params,bn.keys.filter(xn=>!xn.optional).concat(bn.parent?bn.parent.keys.filter(xn=>xn.optional):[]).map(xn=>xn.name)),hn.params&&paramsFromLocation(hn.params,bn.keys.map(xn=>xn.name))),wn=bn.stringify(_n)}else if(hn.path!=null)wn=hn.path,bn=Ie.find(xn=>xn.re.test(wn)),bn&&(_n=bn.parse(wn),kn=bn.record.name);else{if(bn=vn.name?Fe.get(vn.name):Ie.find(xn=>xn.re.test(vn.path)),!bn)throw createRouterError(1,{location:hn,currentLocation:vn});kn=bn.record.name,_n=assign({},vn.params,hn.params),wn=bn.stringify(_n)}const Cn=[];let Sn=bn;for(;Sn;)Cn.unshift(Sn.record),Sn=Sn.parent;return{name:kn,path:wn,params:_n,matched:Cn,meta:mergeMetaFields(Cn)}}return xe.forEach(hn=>qe(hn)),{addRoute:qe,resolve:jt,removeRoute:At,getRoutes:Dt,getRecordMatcher:Ue}}function paramsFromLocation(xe,$e){const Ie={};for(const Fe of $e)Fe in xe&&(Ie[Fe]=xe[Fe]);return Ie}function normalizeRouteRecord(xe){return{path:xe.path,redirect:xe.redirect,name:xe.name,meta:xe.meta||{},aliasOf:void 0,beforeEnter:xe.beforeEnter,props:normalizeRecordProps(xe),children:xe.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in xe?xe.components||null:xe.component&&{default:xe.component}}}function normalizeRecordProps(xe){const $e={},Ie=xe.props||!1;if("component"in xe)$e.default=Ie;else for(const Fe in xe.components)$e[Fe]=typeof Ie=="object"?Ie[Fe]:Ie;return $e}function isAliasRecord(xe){for(;xe;){if(xe.record.aliasOf)return!0;xe=xe.parent}return!1}function mergeMetaFields(xe){return xe.reduce(($e,Ie)=>assign($e,Ie.meta),{})}function mergeOptions$1(xe,$e){const Ie={};for(const Fe in xe)Ie[Fe]=Fe in $e?$e[Fe]:xe[Fe];return Ie}function findInsertionIndex(xe,$e){let Ie=0,Fe=$e.length;for(;Ie!==Fe;){const qe=Ie+Fe>>1;comparePathParserScore(xe,$e[qe])<0?Fe=qe:Ie=qe+1}const Ue=getInsertionAncestor(xe);return Ue&&(Fe=$e.lastIndexOf(Ue,Fe-1)),Fe}function getInsertionAncestor(xe){let $e=xe;for(;$e=$e.parent;)if(isMatchable($e)&&comparePathParserScore(xe,$e)===0)return $e}function isMatchable({record:xe}){return!!(xe.name||xe.components&&Object.keys(xe.components).length||xe.redirect)}function parseQuery(xe){const $e={};if(xe===""||xe==="?")return $e;const Fe=(xe[0]==="?"?xe.slice(1):xe).split("&");for(let Ue=0;Ue<Fe.length;++Ue){const qe=Fe[Ue].replace(PLUS_RE," "),At=qe.indexOf("="),Dt=decode$1(At<0?qe:qe.slice(0,At)),Lt=At<0?null:decode$1(qe.slice(At+1));if(Dt in $e){let jt=$e[Dt];isArray$3(jt)||(jt=$e[Dt]=[jt]),jt.push(Lt)}else $e[Dt]=Lt}return $e}function stringifyQuery(xe){let $e="";for(let Ie in xe){const Fe=xe[Ie];if(Ie=encodeQueryKey(Ie),Fe==null){Fe!==void 0&&($e+=($e.length?"&":"")+Ie);continue}(isArray$3(Fe)?Fe.map(qe=>qe&&encodeQueryValue(qe)):[Fe&&encodeQueryValue(Fe)]).forEach(qe=>{qe!==void 0&&($e+=($e.length?"&":"")+Ie,qe!=null&&($e+="="+qe))})}return $e}function normalizeQuery(xe){const $e={};for(const Ie in xe){const Fe=xe[Ie];Fe!==void 0&&($e[Ie]=isArray$3(Fe)?Fe.map(Ue=>Ue==null?null:""+Ue):Fe==null?Fe:""+Fe)}return $e}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let xe=[];function $e(Fe){return xe.push(Fe),()=>{const Ue=xe.indexOf(Fe);Ue>-1&&xe.splice(Ue,1)}}function Ie(){xe=[]}return{add:$e,list:()=>xe.slice(),reset:Ie}}function registerGuard(xe,$e,Ie){const Fe=()=>{xe[$e].delete(Ie)};onUnmounted(Fe),onDeactivated(Fe),onActivated(()=>{xe[$e].add(Ie)}),xe[$e].add(Ie)}function onBeforeRouteLeave(xe){const $e=inject(matchedRouteKey,{}).value;$e&&registerGuard($e,"leaveGuards",xe)}function guardToPromiseFn(xe,$e,Ie,Fe,Ue,qe=At=>At()){const At=Fe&&(Fe.enterCallbacks[Ue]=Fe.enterCallbacks[Ue]||[]);return()=>new Promise((Dt,Lt)=>{const jt=bn=>{bn===!1?Lt(createRouterError(4,{from:Ie,to:$e})):bn instanceof Error?Lt(bn):isRouteLocation(bn)?Lt(createRouterError(2,{from:$e,to:bn})):(At&&Fe.enterCallbacks[Ue]===At&&typeof bn=="function"&&At.push(bn),Dt())},hn=qe(()=>xe.call(Fe&&Fe.instances[Ue],$e,Ie,jt));let vn=Promise.resolve(hn);xe.length<3&&(vn=vn.then(jt)),vn.catch(bn=>Lt(bn))})}function extractComponentsGuards(xe,$e,Ie,Fe,Ue=qe=>qe()){const qe=[];for(const At of xe)for(const Dt in At.components){let Lt=At.components[Dt];if(!($e!=="beforeRouteEnter"&&!At.instances[Dt]))if(isRouteComponent(Lt)){const hn=(Lt.__vccOpts||Lt)[$e];hn&&qe.push(guardToPromiseFn(hn,Ie,Fe,At,Dt,Ue))}else{let jt=Lt();qe.push(()=>jt.then(hn=>{if(!hn)return Promise.reject(new Error(`Couldn't resolve component "${Dt}" at "${At.path}"`));const vn=isESModule(hn)?hn.default:hn;At.components[Dt]=vn;const _n=(vn.__vccOpts||vn)[$e];return _n&&guardToPromiseFn(_n,Ie,Fe,At,Dt,Ue)()}))}}return qe}function isRouteComponent(xe){return typeof xe=="object"||"displayName"in xe||"props"in xe||"__vccOpts"in xe}function useLink(xe){const $e=inject(routerKey),Ie=inject(routeLocationKey),Fe=computed(()=>{const Lt=unref(xe.to);return $e.resolve(Lt)}),Ue=computed(()=>{const{matched:Lt}=Fe.value,{length:jt}=Lt,hn=Lt[jt-1],vn=Ie.matched;if(!hn||!vn.length)return-1;const bn=vn.findIndex(isSameRouteRecord.bind(null,hn));if(bn>-1)return bn;const _n=getOriginalPath(Lt[jt-2]);return jt>1&&getOriginalPath(hn)===_n&&vn[vn.length-1].path!==_n?vn.findIndex(isSameRouteRecord.bind(null,Lt[jt-2])):bn}),qe=computed(()=>Ue.value>-1&&includesParams(Ie.params,Fe.value.params)),At=computed(()=>Ue.value>-1&&Ue.value===Ie.matched.length-1&&isSameRouteLocationParams(Ie.params,Fe.value.params));function Dt(Lt={}){return guardEvent(Lt)?$e[unref(xe.replace)?"replace":"push"](unref(xe.to)).catch(noop$4):Promise.resolve()}return{route:Fe,href:computed(()=>Fe.value.href),isActive:qe,isExactActive:At,navigate:Dt}}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(xe,{slots:$e}){const Ie=reactive(useLink(xe)),{options:Fe}=inject(routerKey),Ue=computed(()=>({[getLinkClass(xe.activeClass,Fe.linkActiveClass,"router-link-active")]:Ie.isActive,[getLinkClass(xe.exactActiveClass,Fe.linkExactActiveClass,"router-link-exact-active")]:Ie.isExactActive}));return()=>{const qe=$e.default&&$e.default(Ie);return xe.custom?qe:h$5("a",{"aria-current":Ie.isExactActive?xe.ariaCurrentValue:null,href:Ie.href,onClick:Ie.navigate,class:Ue.value},qe)}}}),RouterLink=RouterLinkImpl;function guardEvent(xe){if(!(xe.metaKey||xe.altKey||xe.ctrlKey||xe.shiftKey)&&!xe.defaultPrevented&&!(xe.button!==void 0&&xe.button!==0)){if(xe.currentTarget&&xe.currentTarget.getAttribute){const $e=xe.currentTarget.getAttribute("target");if(/\b_blank\b/i.test($e))return}return xe.preventDefault&&xe.preventDefault(),!0}}function includesParams(xe,$e){for(const Ie in $e){const Fe=$e[Ie],Ue=xe[Ie];if(typeof Fe=="string"){if(Fe!==Ue)return!1}else if(!isArray$3(Ue)||Ue.length!==Fe.length||Fe.some((qe,At)=>qe!==Ue[At]))return!1}return!0}function getOriginalPath(xe){return xe?xe.aliasOf?xe.aliasOf.path:xe.path:""}const getLinkClass=(xe,$e,Ie)=>xe??$e??Ie,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(xe,{attrs:$e,slots:Ie}){const Fe=inject(routerViewLocationKey),Ue=computed(()=>xe.route||Fe.value),qe=inject(viewDepthKey,0),At=computed(()=>{let jt=unref(qe);const{matched:hn}=Ue.value;let vn;for(;(vn=hn[jt])&&!vn.components;)jt++;return jt}),Dt=computed(()=>Ue.value.matched[At.value]);provide(viewDepthKey,computed(()=>At.value+1)),provide(matchedRouteKey,Dt),provide(routerViewLocationKey,Ue);const Lt=ref();return watch(()=>[Lt.value,Dt.value,xe.name],([jt,hn,vn],[bn,_n,wn])=>{hn&&(hn.instances[vn]=jt,_n&&_n!==hn&&jt&&jt===bn&&(hn.leaveGuards.size||(hn.leaveGuards=_n.leaveGuards),hn.updateGuards.size||(hn.updateGuards=_n.updateGuards))),jt&&hn&&(!_n||!isSameRouteRecord(hn,_n)||!bn)&&(hn.enterCallbacks[vn]||[]).forEach(kn=>kn(jt))},{flush:"post"}),()=>{const jt=Ue.value,hn=xe.name,vn=Dt.value,bn=vn&&vn.components[hn];if(!bn)return normalizeSlot(Ie.default,{Component:bn,route:jt});const _n=vn.props[hn],wn=_n?_n===!0?jt.params:typeof _n=="function"?_n(jt):_n:null,Cn=h$5(bn,assign({},wn,$e,{onVnodeUnmounted:Sn=>{Sn.component.isUnmounted&&(vn.instances[hn]=null)},ref:Lt}));return normalizeSlot(Ie.default,{Component:Cn,route:jt})||Cn}}});function normalizeSlot(xe,$e){if(!xe)return null;const Ie=xe($e);return Ie.length===1?Ie[0]:Ie}const RouterView=RouterViewImpl;function createRouter(xe){const $e=createRouterMatcher(xe.routes,xe),Ie=xe.parseQuery||parseQuery,Fe=xe.stringifyQuery||stringifyQuery,Ue=xe.history,qe=useCallbacks(),At=useCallbacks(),Dt=useCallbacks(),Lt=shallowRef(START_LOCATION_NORMALIZED);let jt=START_LOCATION_NORMALIZED;isBrowser$1&&xe.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const hn=applyToParams.bind(null,qn=>""+qn),vn=applyToParams.bind(null,encodeParam),bn=applyToParams.bind(null,decode$1);function _n(qn,Yn){let ar,tr;return isRouteName(qn)?(ar=$e.getRecordMatcher(qn),tr=Yn):tr=qn,$e.addRoute(tr,ar)}function wn(qn){const Yn=$e.getRecordMatcher(qn);Yn&&$e.removeRoute(Yn)}function kn(){return $e.getRoutes().map(qn=>qn.record)}function Cn(qn){return!!$e.getRecordMatcher(qn)}function Sn(qn,Yn){if(Yn=assign({},Yn||Lt.value),typeof qn=="string"){const Zn=parseURL(Ie,qn,Yn.path),nr=$e.resolve({path:Zn.path},Yn),lr=Ue.createHref(Zn.fullPath);return assign(Zn,nr,{params:bn(nr.params),hash:decode$1(Zn.hash),redirectedFrom:void 0,href:lr})}let ar;if(qn.path!=null)ar=assign({},qn,{path:parseURL(Ie,qn.path,Yn.path).path});else{const Zn=assign({},qn.params);for(const nr in Zn)Zn[nr]==null&&delete Zn[nr];ar=assign({},qn,{params:vn(Zn)}),Yn.params=vn(Yn.params)}const tr=$e.resolve(ar,Yn),or=qn.hash||"";tr.params=hn(bn(tr.params));const sr=stringifyURL(Fe,assign({},qn,{hash:encodeHash(or),path:tr.path})),Kn=Ue.createHref(sr);return assign({fullPath:sr,hash:or,query:Fe===stringifyQuery?normalizeQuery(qn.query):qn.query||{}},tr,{redirectedFrom:void 0,href:Kn})}function xn(qn){return typeof qn=="string"?parseURL(Ie,qn,Lt.value.path):assign({},qn)}function En(qn,Yn){if(jt!==qn)return createRouterError(8,{from:Yn,to:qn})}function Tn(qn){return Pn(qn)}function An(qn){return Tn(assign(xn(qn),{replace:!0}))}function $n(qn){const Yn=qn.matched[qn.matched.length-1];if(Yn&&Yn.redirect){const{redirect:ar}=Yn;let tr=typeof ar=="function"?ar(qn):ar;return typeof tr=="string"&&(tr=tr.includes("?")||tr.includes("#")?tr=xn(tr):{path:tr},tr.params={}),assign({query:qn.query,hash:qn.hash,params:tr.path!=null?{}:qn.params},tr)}}function Pn(qn,Yn){const ar=jt=Sn(qn),tr=Lt.value,or=qn.state,sr=qn.force,Kn=qn.replace===!0,Zn=$n(ar);if(Zn)return Pn(assign(xn(Zn),{state:typeof Zn=="object"?assign({},or,Zn.state):or,force:sr,replace:Kn}),Yn||ar);const nr=ar;nr.redirectedFrom=Yn;let lr;return!sr&&isSameRouteLocation(Fe,tr,ar)&&(lr=createRouterError(16,{to:nr,from:tr}),Gn(tr,tr,!0,!1)),(lr?Promise.resolve(lr):In(nr,tr)).catch(ir=>isNavigationFailure(ir)?isNavigationFailure(ir,2)?ir:jn(ir):Fn(ir,nr,tr)).then(ir=>{if(ir){if(isNavigationFailure(ir,2))return Pn(assign({replace:Kn},xn(ir.to),{state:typeof ir.to=="object"?assign({},or,ir.to.state):or,force:sr}),Yn||nr)}else ir=Rn(nr,tr,!0,Kn,or);return On(nr,tr,ir),ir})}function Nn(qn,Yn){const ar=En(qn,Yn);return ar?Promise.reject(ar):Promise.resolve()}function Mn(qn){const Yn=er.values().next().value;return Yn&&typeof Yn.runWithContext=="function"?Yn.runWithContext(qn):qn()}function In(qn,Yn){let ar;const[tr,or,sr]=extractChangingRecords(qn,Yn);ar=extractComponentsGuards(tr.reverse(),"beforeRouteLeave",qn,Yn);for(const Zn of tr)Zn.leaveGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,qn,Yn))});const Kn=Nn.bind(null,qn,Yn);return ar.push(Kn),Jn(ar).then(()=>{ar=[];for(const Zn of qe.list())ar.push(guardToPromiseFn(Zn,qn,Yn));return ar.push(Kn),Jn(ar)}).then(()=>{ar=extractComponentsGuards(or,"beforeRouteUpdate",qn,Yn);for(const Zn of or)Zn.updateGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,qn,Yn))});return ar.push(Kn),Jn(ar)}).then(()=>{ar=[];for(const Zn of sr)if(Zn.beforeEnter)if(isArray$3(Zn.beforeEnter))for(const nr of Zn.beforeEnter)ar.push(guardToPromiseFn(nr,qn,Yn));else ar.push(guardToPromiseFn(Zn.beforeEnter,qn,Yn));return ar.push(Kn),Jn(ar)}).then(()=>(qn.matched.forEach(Zn=>Zn.enterCallbacks={}),ar=extractComponentsGuards(sr,"beforeRouteEnter",qn,Yn,Mn),ar.push(Kn),Jn(ar))).then(()=>{ar=[];for(const Zn of At.list())ar.push(guardToPromiseFn(Zn,qn,Yn));return ar.push(Kn),Jn(ar)}).catch(Zn=>isNavigationFailure(Zn,8)?Zn:Promise.reject(Zn))}function On(qn,Yn,ar){Dt.list().forEach(tr=>Mn(()=>tr(qn,Yn,ar)))}function Rn(qn,Yn,ar,tr,or){const sr=En(qn,Yn);if(sr)return sr;const Kn=Yn===START_LOCATION_NORMALIZED,Zn=isBrowser$1?history.state:{};ar&&(tr||Kn?Ue.replace(qn.fullPath,assign({scroll:Kn&&Zn&&Zn.scroll},or)):Ue.push(qn.fullPath,or)),Lt.value=qn,Gn(qn,Yn,ar,Kn),jn()}let Bn;function Vn(){Bn||(Bn=Ue.listen((qn,Yn,ar)=>{if(!rr.listening)return;const tr=Sn(qn),or=$n(tr);if(or){Pn(assign(or,{replace:!0}),tr).catch(noop$4);return}jt=tr;const sr=Lt.value;isBrowser$1&&saveScrollPosition(getScrollKey(sr.fullPath,ar.delta),computeScrollPosition()),In(tr,sr).catch(Kn=>isNavigationFailure(Kn,12)?Kn:isNavigationFailure(Kn,2)?(Pn(Kn.to,tr).then(Zn=>{isNavigationFailure(Zn,20)&&!ar.delta&&ar.type===NavigationType.pop&&Ue.go(-1,!1)}).catch(noop$4),Promise.reject()):(ar.delta&&Ue.go(-ar.delta,!1),Fn(Kn,tr,sr))).then(Kn=>{Kn=Kn||Rn(tr,sr,!1),Kn&&(ar.delta&&!isNavigationFailure(Kn,8)?Ue.go(-ar.delta,!1):ar.type===NavigationType.pop&&isNavigationFailure(Kn,20)&&Ue.go(-1,!1)),On(tr,sr,Kn)}).catch(noop$4)}))}let Ln=useCallbacks(),Dn=useCallbacks(),Hn;function Fn(qn,Yn,ar){jn(qn);const tr=Dn.list();return tr.length?tr.forEach(or=>or(qn,Yn,ar)):console.error(qn),Promise.reject(qn)}function zn(){return Hn&&Lt.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((qn,Yn)=>{Ln.add([qn,Yn])})}function jn(qn){return Hn||(Hn=!qn,Vn(),Ln.list().forEach(([Yn,ar])=>qn?ar(qn):Yn()),Ln.reset()),qn}function Gn(qn,Yn,ar,tr){const{scrollBehavior:or}=xe;if(!isBrowser$1||!or)return Promise.resolve();const sr=!ar&&getSavedScrollPosition(getScrollKey(qn.fullPath,0))||(tr||!ar)&&history.state&&history.state.scroll||null;return nextTick().then(()=>or(qn,Yn,sr)).then(Kn=>Kn&&scrollToPosition(Kn)).catch(Kn=>Fn(Kn,qn,Yn))}const Wn=qn=>Ue.go(qn);let Xn;const er=new Set,rr={currentRoute:Lt,listening:!0,addRoute:_n,removeRoute:wn,hasRoute:Cn,getRoutes:kn,resolve:Sn,options:xe,push:Tn,replace:An,go:Wn,back:()=>Wn(-1),forward:()=>Wn(1),beforeEach:qe.add,beforeResolve:At.add,afterEach:Dt.add,onError:Dn.add,isReady:zn,install(qn){const Yn=this;qn.component("RouterLink",RouterLink),qn.component("RouterView",RouterView),qn.config.globalProperties.$router=Yn,Object.defineProperty(qn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(Lt)}),isBrowser$1&&!Xn&&Lt.value===START_LOCATION_NORMALIZED&&(Xn=!0,Tn(Ue.location).catch(or=>{}));const ar={};for(const or in START_LOCATION_NORMALIZED)Object.defineProperty(ar,or,{get:()=>Lt.value[or],enumerable:!0});qn.provide(routerKey,Yn),qn.provide(routeLocationKey,shallowReactive(ar)),qn.provide(routerViewLocationKey,Lt);const tr=qn.unmount;er.add(qn),qn.unmount=function(){er.delete(qn),er.size<1&&(jt=START_LOCATION_NORMALIZED,Bn&&Bn(),Bn=null,Lt.value=START_LOCATION_NORMALIZED,Xn=!1,Hn=!1),tr()}}};function Jn(qn){return qn.reduce((Yn,ar)=>Yn.then(()=>Mn(ar)),Promise.resolve())}return rr}function extractChangingRecords(xe,$e){const Ie=[],Fe=[],Ue=[],qe=Math.max($e.matched.length,xe.matched.length);for(let At=0;At<qe;At++){const Dt=$e.matched[At];Dt&&(xe.matched.find(jt=>isSameRouteRecord(jt,Dt))?Fe.push(Dt):Ie.push(Dt));const Lt=xe.matched[At];Lt&&($e.matched.find(jt=>isSameRouteRecord(jt,Lt))||Ue.push(Lt))}return[Ie,Fe,Ue]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const _hoisted_1$1a={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},_hoisted_2$L={class:"flex flex-col gap-4"},_hoisted_3$n=createBaseVNode("h1",{class:"m-0 text-6xl font-sans"}," 403 ",-1),_hoisted_4$d=createBaseVNode("div",{class:"desc mx-0 text-xl text-stone-5"}," 抱歉，你无权访问该页面 ",-1),_sfc_main$2u=defineComponent({name:"NotAllowed",__name:"index",setup(xe){const $e=useRouter(),Ie=useSettingsStore(),Fe=ref({inter:Number.NaN,countdown:5});onUnmounted(()=>{Fe.value.inter&&window.clearInterval(Fe.value.inter)}),onMounted(()=>{Fe.value.inter=window.setInterval(()=>{Fe.value.countdown--,Fe.value.countdown===0&&(Fe.value.inter&&window.clearInterval(Fe.value.inter),Ue())},1e3)});function Ue(){$e.push(Ie.settings.home.fullPath)}return(qe,At)=>{const Dt=_sfc_main$2y,Lt=_sfc_main$2v;return openBlock(),createElementBlock("div",_hoisted_1$1a,[createVNode$1(Dt,{name:"403",class:"text-[300px] lg-text-[400px]"}),createBaseVNode("div",_hoisted_2$L,[_hoisted_3$n,_hoisted_4$d,createBaseVNode("div",null,[createVNode$1(Lt,{onClick:Ue},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Fe).countdown)+" 秒后，返回首页 ",1)]),_:1})])])])}}});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(xe){return xe&&xe.__esModule&&Object.prototype.hasOwnProperty.call(xe,"default")?xe.default:xe}function getAugmentedNamespace(xe){if(xe.__esModule)return xe;var $e=xe.default;if(typeof $e=="function"){var Ie=function Fe(){return this instanceof Fe?Reflect.construct($e,arguments,this.constructor):$e.apply(this,arguments)};Ie.prototype=$e.prototype}else Ie={};return Object.defineProperty(Ie,"__esModule",{value:!0}),Object.keys(xe).forEach(function(Fe){var Ue=Object.getOwnPropertyDescriptor(xe,Fe);Object.defineProperty(Ie,Fe,Ue.get?Ue:{enumerable:!0,get:function(){return xe[Fe]}})}),Ie}var eruda={exports:{}};/*! eruda v3.0.1 https://eruda.liriliri.io/ */(function(module,exports){(function(xe,$e){module.exports=$e()})(self,function(){return function(){var __webpack_modules__={422:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Yn}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(9340),At=Ie(2963),Dt=Ie(1120),Lt=Ie(2461),jt=Ie.n(Lt),hn=Ie(3990),vn=Ie.n(hn),bn=Ie(6768),_n=Ie.n(bn),wn=Ie(4331),kn=Ie.n(wn),Cn=Ie(5610),Sn=Ie.n(Cn),xn=Ie(7483),En=Ie.n(xn),Tn=Ie(6341),An=Ie.n(Tn),$n=Ie(3875),Pn=Ie.n($n),Nn=Ie(6954),Mn=Ie.n(Nn);Ie(9585);function In(tr){var or="luna-".concat(tr,"-");function sr(Kn){return jt()(kn()(Kn).split(/\s+/),function(Zn){return An()(Zn,or)?Zn:Zn.replace(/[\w-]+/,function(nr){return"".concat(or).concat(nr)})}).join(" ")}return function(Kn){if(/<[^>]*>/g.test(Kn))try{var Zn=En().parse(Kn);return On(Zn,function(nr){nr.attrs&&nr.attrs.class&&(nr.attrs.class=sr(nr.attrs.class))}),En().stringify(Zn)}catch{return sr(Kn)}return sr(Kn)}}function On(tr,or){for(var sr=0,Kn=tr.length;sr<Kn;sr++){var Zn=tr[sr];or(Zn),Zn.content&&On(Zn.content,or)}}Sn();function Rn(){var tr=Mn()();return tr==="os x"?"mac":tr}var Bn=Ie(1443),Vn=Ie.n(Bn),Ln=Ie(1512),Dn=Ie.n(Ln),Hn=Ie(3783),Fn=Ie.n(Hn),zn=Ie(6329),jn=Ie.n(zn),Gn=Ie(4193),Wn=Ie.n(Gn),Xn=Ie(5852),er=Ie.n(Xn);function rr(tr){var or=function(){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}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}var Jn=function(tr){(0,qe.Z)(sr,tr);var or=rr(sr);function sr(Kn,Zn){var nr,lr=Zn.compName,ir=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,kr=ir===void 0?"light":ir;return(0,Fe.Z)(this,sr),(nr=or.call(this)).subComponents=[],nr.compName=lr,nr.c=In(lr),nr.options={},nr.container=Kn,nr.$container=Dn()(Kn),nr.$container.addClass(["luna-".concat(lr),nr.c("platform-".concat(Rn()))]),nr.on("optionChange",function(Cr,Er,dr){var br=nr.c;Cr==="theme"&&(nr.$container.rmClass(br("theme-".concat(dr))).addClass(br("theme-".concat(Er))),Fn()(nr.subComponents,function(_r){return _r.setOption("theme",Er)}))}),nr.setOption("theme",kr),nr}return(0,Ue.Z)(sr,[{key:"destroy",value:function(){this.destroySubComponents();var Kn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Kn("platform-".concat(Rn()))).rmClass(Kn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Kn,Zn){var nr=this,lr=this.options,ir={};typeof Kn=="string"?ir[Kn]=Zn:ir=Kn,Fn()(ir,function(kr,Cr){var Er=lr[Cr];lr[Cr]=kr,nr.emit("optionChange",Cr,kr,Er)})}},{key:"getOption",value:function(Kn){return this.options[Kn]}},{key:"addSubComponent",value:function(Kn){Kn.setOption("theme",this.options.theme),this.subComponents.push(Kn)}},{key:"removeSubComponent",value:function(Kn){er()(this.subComponents,function(Zn){return Zn===Kn})}},{key:"destroySubComponents",value:function(){Fn()(this.subComponents,function(Kn){return Kn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Kn){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Wn()(Kn,Zn),jn()(this.options,Kn)}},{key:"find",value:function(Kn){return this.$container.find(this.c(Kn))}}]),sr}(Vn());function qn(tr){var or=function(){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}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}xe=Ie.hmd(xe);var Yn=function(tr){(0,qe.Z)(sr,tr);var or=qn(sr);function sr(Kn){var Zn,nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,sr),(Zn=or.call(this,Kn,{compName:"box-model"})).initOptions(nr),Zn.options.element&&Zn.render(),Zn.bindEvent(),Zn}return(0,Ue.Z)(sr,[{key:"bindEvent",value:function(){var Kn=this;this.on("optionChange",function(Zn){Zn==="element"&&Kn.render()})}},{key:"render",value:function(){var Kn=this.c,Zn=this.getBoxModelData();this.$container.html(['<div class="'.concat(Kn("box-model"),'">'),Zn.position?'<div class="'.concat(Kn("position"),'">'):"",Zn.position?'<div class="'.concat(Kn("label"),'">position</div><div class="').concat(Kn("top"),'">').concat(Zn.position.top,'</div><br><div class="').concat(Kn("left"),'">').concat(Zn.position.left,"</div>"):"",'<div class="'.concat(Kn("margin"),'">'),'<div class="'.concat(Kn("label"),'">margin</div><div class="').concat(Kn("top"),'">').concat(Zn.margin.top,'</div><br><div class="').concat(Kn("left"),'">').concat(Zn.margin.left,"</div>"),'<div class="'.concat(Kn("border"),'">'),'<div class="'.concat(Kn("label"),'">border</div><div class="').concat(Kn("top"),'">').concat(Zn.border.top,'</div><br><div class="').concat(Kn("left"),'">').concat(Zn.border.left,"</div>"),'<div class="'.concat(Kn("padding"),'">'),'<div class="'.concat(Kn("label"),'">padding</div><div class="').concat(Kn("top"),'">').concat(Zn.padding.top,'</div><br><div class="').concat(Kn("left"),'">').concat(Zn.padding.left,"</div>"),'<div class="'.concat(Kn("content"),'">'),"<span>".concat(Zn.content.width,"</span>&nbsp;×&nbsp;<span>").concat(Zn.content.height,"</span>"),"</div>",'<div class="'.concat(Kn("right"),'">').concat(Zn.padding.right,'</div><br><div class="').concat(Kn("bottom"),'">').concat(Zn.padding.bottom,"</div>"),"</div>",'<div class="'.concat(Kn("right"),'">').concat(Zn.border.right,'</div><br><div class="').concat(Kn("bottom"),'">').concat(Zn.border.bottom,"</div>"),"</div>",'<div class="'.concat(Kn("right"),'">').concat(Zn.margin.right,'</div><br><div class="').concat(Kn("bottom"),'">').concat(Zn.margin.bottom,"</div>"),"</div>",Zn.position?'<div class="'.concat(Kn("right"),'">').concat(Zn.position.right,'</div><br><div class="').concat(Kn("bottom"),'">').concat(Zn.position.bottom,"</div>"):"",Zn.position?"</div>":"","</div>"].join(""))}},{key:"getBoxModelData",value:function(){var Kn=this.options.element,Zn=window.getComputedStyle(Kn);function nr(ir){var kr=["top","left","right","bottom"];return ir!=="position"&&(kr=jt()(kr,function(Cr){return"".concat(ir,"-").concat(Cr)})),ir==="border"&&(kr=jt()(kr,function(Cr){return"".concat(Cr,"-width")})),{top:ar(Zn[kr[0]],ir),left:ar(Zn[kr[1]],ir),right:ar(Zn[kr[2]],ir),bottom:ar(Zn[kr[3]],ir)}}var lr={margin:nr("margin"),border:nr("border"),padding:nr("padding"),content:{width:ar(Zn.width),height:ar(Zn.height)}};return Zn.position!=="static"&&(lr.position=nr("position")),lr}}]),sr}(Jn);function ar(tr,or){if(vn()(tr))return tr;if(!_n()(tr))return"‒";var sr,Kn=(sr=tr,Pn()(sr.replace("px","")));return isNaN(Kn)?tr:or==="position"?Kn:Kn===0?"‒":Kn}(function(tr,or){try{tr.exports=or,tr.exports.default=or}catch{}})(xe,Yn)},8816:function(xe,$e,Ie){Ie.d($e,{Z:function(){return qa}});var Fe=Ie(168),Ue=Ie(181);function qe(vo,No){return function(mo){if(Array.isArray(mo))return mo}(vo)||function(mo,hr){var fr=mo==null?null:typeof Symbol<"u"&&mo[Symbol.iterator]||mo["@@iterator"];if(fr!=null){var Nr,jr,ao,eo,lo=[],fo=!0,bo=!1;try{if(ao=(fr=fr.call(mo)).next,hr===0){if(Object(fr)!==fr)return;fo=!1}else for(;!(fo=(Nr=ao.call(fr)).done)&&(lo.push(Nr.value),lo.length!==hr);fo=!0);}catch(Io){bo=!0,jr=Io}finally{try{if(!fo&&fr.return!=null&&(eo=fr.return(),Object(eo)!==eo))return}finally{if(bo)throw jr}}return lo}}(vo,No)||(0,Ue.Z)(vo,No)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(5671),Dt=Ie(3144),Lt=Ie(1752),jt=Ie(9340),hn=Ie(2963),vn=Ie(1120),bn=Ie(7326),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(3367),Cn=Ie.n(kn),Sn=Ie(6341),xn=Ie.n(Sn),En=Ie(6930),Tn=Ie.n(En),An=Ie(4187),$n=Ie.n(An),Pn=Ie(3783),Nn=Ie.n(Pn),Mn=Ie(4858),In=Ie.n(Mn),On=Ie(8887),Rn=Ie.n(On),Bn=Ie(7756),Vn=Ie.n(Bn),Ln=Ie(3023),Dn=Ie.n(Ln);function Hn(vo){return vo.constructor&&vo.constructor.name?vo.constructor.name:Dn()({}.toString.call(vo).replace(/(\[object )|]/g,""))}var Fn=Ie(2461),zn=Ie.n(Fn),jn=Ie(4331),Gn=Ie.n(jn),Wn=Ie(5610),Xn=Ie.n(Wn),er=Ie(7483),rr=Ie.n(er),Jn=Ie(3990),qn=Ie.n(Jn),Yn=Ie(3875),ar=Ie.n(Yn),tr=Ie(6954),or=Ie.n(tr),sr=Ie(9585),Kn=Ie.n(sr);function Zn(vo){var No="luna-".concat(vo,"-");function mo(hr){return zn()(Gn()(hr).split(/\s+/),function(fr){return xn()(fr,No)?fr:fr.replace(/[\w-]+/,function(Nr){return"".concat(No).concat(Nr)})}).join(" ")}return function(hr){if(/<[^>]*>/g.test(hr))try{var fr=rr().parse(hr);return nr(fr,function(Nr){Nr.attrs&&Nr.attrs.class&&(Nr.attrs.class=mo(Nr.attrs.class))}),rr().stringify(fr)}catch{return mo(hr)}return mo(hr)}}function nr(vo,No){for(var mo=0,hr=vo.length;mo<hr;mo++){var fr=vo[mo];No(fr),fr.content&&nr(fr.content,No)}}Xn();var lr=Zn("console");function ir(vo){var No,mo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},hr=mo.topObj,fr=mo.level,Nr=fr===void 0?0:fr,jr=mo.getterVal,ao=jr!==void 0&&jr,eo=mo.unenumerable,lo=eo===void 0||eo,fo="",bo="",Io=[],Lo=[],Ho="";hr=hr||vo;var Jo={getterVal:ao,unenumerable:lo,level:Nr+1},Mo=Nr===0,Go='<span class="'.concat(lr("key"),'">'),ra='<span class="'.concat(lr("number"),'">'),ta='<span class="'.concat(lr("null"),'">'),Ea='<span class="'.concat(lr("string"),'">'),Na='<span class="'.concat(lr("boolean"),'">'),Ma='<span class="'.concat(lr("special"),'">'),va=function(Uo){return wn()(Uo).replace(/\\n/g,"↵").replace(/\\f|\\r|\\t/g,"").replace(/\\/g,"")},la="</span>";function ua(Uo){return Uo=Cn()(Uo),xn()(kr,Uo)||Tn()(Uo,"Array[")?Ma+va(Uo)+la:(Uo.length>100&&(Uo=Vn()(Uo,100,{separator:" ",ellipsis:"…"})),Ea+va('"'.concat(Uo,'"'))+la)}function ga(Uo){if(No>5)Ho=", …";else{var Ba=function(Ti){return Go+va(Ti)+la}(Er(Uo));if(!ao){var Xa=Object.getOwnPropertyDescriptor(vo,Uo);if(Xa&&Xa.get)return Io.push("".concat(Ba,": ").concat(ua("(...)"))),void No++}Io.push("".concat(Ba,": ").concat(ir(hr[Uo],Jo))),No++}}try{bo={}.toString.call(vo)}catch{bo="[object Object]"}var ba,Ia=bo=="[object Array]",Oa=bo=="[object Object]",Ta=bo=="[object Number]",Ra=bo=="[object RegExp]",Ha=bo=="[object Symbol]",wa=bo=="[object Function]",Da=bo=="[object Boolean]";if(bo=="[object String]")fo=ua(Er(vo));else if(Ra)ba=Er(vo.toString()),fo=Ea+ba+la;else if(wa)fo=ua("ƒ");else if(Ia)if(Mo){fo="[";var ja=vo.length,Za="";ja>100&&(ja=100,Za=", …");for(var La=0;La<ja;La++)Io.push("".concat(ir(vo[La],Jo)));fo+=Io.join(", ")+Za+"]"}else fo="Array(".concat(vo.length,")");else if(Oa)Cr(vo)&&(vo=Object.getPrototypeOf(vo)),Lo=lo?Object.getOwnPropertyNames(vo):Object.keys(vo),Mo?(No=1,fo="{",Nn()(Lo,ga),fo+=Io.join(", ")+Ho+"}"):(fo=Hn(vo))==="Object"&&(fo="{…}");else if(Ta)fo=vo+"",fo=In()(fo,"Infinity")||fo==="NaN"?'"'.concat(fo,'"'):ra+fo+la;else if(Da)fo=Na+(vo?"true":"false")+la;else if(vo===null)fo=function(Uo){return ta+Uo+la}("null");else if(Ha)fo=ua("Symbol");else if(vo===void 0)fo=ua("undefined");else try{Cr(vo)&&(vo=Object.getPrototypeOf(vo)),Mo?(No=1,fo="{",Lo=lo?Object.getOwnPropertyNames(vo):Object.keys(vo),Nn()(Lo,ga),fo+=Io.join(", ")+Ho+"}"):(fo=Hn(vo))==="Object"&&(fo="{…}")}catch{fo=ua(vo)}return fo}var kr=["(...)","undefined","Symbol","Object","ƒ"];function Cr(vo){var No=Rn()(Object.getOwnPropertyNames(vo)),mo=Object.getPrototypeOf(vo);return No&&mo&&mo!==Object.prototype}function Er(vo){return $n()(vo).replace(/\\'/g,"'").replace(/\t/g,"\\t")}var dr,br=Ie(8299),_r=Ie(5564),Pr=Ie(8209),vr=Ie(242),xr=Ie.n(vr),Rr=Ie(5166),Hr=Ie.n(Rr),Jr=Ie(6768),Gr=Ie.n(Jr),$r=Ie(2749),Br=Ie.n($r),Tr=Ie(6997),cr=Ie.n(Tr),Sr=Ie(4193),Dr=Ie.n(Sr),mr=Ie(9833),Lr=Ie.n(mr),zr=Ie(9296),Vr=Ie.n(zr),Kr=Ie(8099),Yr=Ie.n(Kr),Ur=Ie(6156),uo=Ie.n(Ur),go=Ie(1286),_o=Ie.n(go),Ao=Ie(4777),ko=Ie.n(Ao),Do=Ie(1352),Ro=Ie.n(Do),Ko=Ie(6472),Yo=Ie.n(Ko),To=Ie(42),So=Ie.n(To),yo=Ie(4675),Zr=Ie.n(yo),Mr=Ie(3063),Or=Ie.n(Mr),yr=Ie(2533),so=Ie.n(yr),$o=Ie(1512),xo=Ie.n($o),ho=Ie(8613),po=Ie.n(ho),ro=Ie(1443),qr=Ie.n(ro),Qr=Ie(6049),Ir=Ie.n(Qr),Xr=Ie(4400),to=Ie.n(Xr),oo=Ie(2327),co=Ie.n(oo),wo=Ie(9963),Co=Ie.n(wo),Po=Ie(6837),Vo=Ie.n(Po),Fo=Ie(3988),jo=Ie.n(Fo),qo=Ie(3651),oa=Ie.n(qo),Qo=Ie(6053),aa=Ie.n(Qo),ia=Ie(1907),Xo=Ie.n(ia),pa=Ie(4891),ea=Ie.n(pa),Sa=Ie(5229),na=Ie.n(Sa),fa=Ie(4696),ma=Ie.n(fa),$a=Ie(9804),Va=Ie.n($a),ha=Ie(1754),Ga=Ie.n(ha);function ai(vo){var No=function(){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}}();return function(){var mo,hr=(0,vn.Z)(vo);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var ii=/https?:\/\/([0-9.\-A-Za-z]+)(?::(\d+))?\/[A-Z.a-z0-9/]*\.js/g,za={comment:"",string:"",number:"",keyword:"",operator:""},si=function(vo){(0,jt.Z)(mo,vo);var No=ai(mo);function mo(hr,fr){var Nr,jr=fr.type,ao=jr===void 0?"log":jr,eo=fr.args,lo=eo===void 0?[]:eo,fo=fr.id,bo=fr.group,Io=fr.targetGroup,Lo=fr.header,Ho=fr.ignoreFilter,Jo=Ho!==void 0&&Ho,Mo=fr.accessGetter,Go=fr.unenumerable,ra=fr.lazyEvaluation;(0,At.Z)(this,mo),(Nr=No.call(this)).container=po()("div"),Nr.count=1,Nr.width=0,Nr.height=0,Nr.isHidden=!1,Nr.columns=[],Nr.elements={},Nr.objects={},Nr.console=hr,Nr.type=ao,Nr.group=bo,Nr.targetGroup=Io,Nr.args=lo,Nr.id=fo,Nr.header=Lo,Nr.ignoreFilter=Jo,Nr.collapsed=!1,Nr.container.log=(0,bn.Z)(Nr),Nr.height=0,Nr.width=0,Nr.$container=xo()(Nr.container),Nr.accessGetter=Mo,Nr.unenumerable=Go,Nr.lazyEvaluation=ra;var ta="info";switch(ao){case"debug":ta="verbose";break;case"error":ta="error";break;case"warn":ta="warning"}return Nr.level=ta,Nr.resizeSensor=new(xr())(Nr.container),Nr.onResize=Ir()(function(){Kn()(Nr.container)?Nr.isHidden=!0:(Nr.isHidden||Nr.updateSize(!1),Nr.isHidden=!1)},16),Nr.formatMsg(),Nr.group&&Nr.checkGroup(),Nr.bindEvent(),Nr}return(0,Dt.Z)(mo,[{key:"checkGroup",value:function(){for(var hr=this.group,fr=!1;hr;){if(hr.collapsed){fr=!0;break}hr=hr.parent}return fr!==this.collapsed&&(this.collapsed=fr,!0)}},{key:"updateIcon",value:function(hr){var fr=this.console.c;return this.$container.find(fr(".icon-container")).find(fr(".icon")).rmAttr("class").addClass([fr("icon"),fr("icon-".concat(hr))]),this}},{key:"addCount",value:function(){this.count++;var hr=this.$container,fr=this.count,Nr=this.console.c,jr=hr.find(Nr(".count-container")),ao=hr.find(Nr(".icon-container")),eo=jr.find(Nr(".count"));return fr===2&&jr.rmClass(Nr("hidden")),eo.text(Cn()(fr)),ao.addClass(Nr("hidden")),this}},{key:"groupEnd",value:function(){var hr=this.$container,fr=this.console.c;return hr.find(".".concat(fr("nesting-level"),":not(.").concat(fr("group-closed"),")")).last().addClass(fr("group-closed")),this}},{key:"updateTime",value:function(hr){var fr=this.$container.find(this.console.c(".time-container"));return this.header&&(fr.find("span").eq(0).text(hr),this.header.time=hr),this}},{key:"isAttached",value:function(){return!!this.container.parentNode}},{key:"isSimple",value:function(){return!aa()(this.args,function(hr){return Hr()(hr)})}},{key:"updateSize",value:function(){var hr=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],fr=this.container.getBoundingClientRect(),Nr=fr.width,jr=fr.height-1;this.height!==jr&&(this.height=jr,hr||this.emit("updateHeight")),this.width!==Nr&&(this.width=Nr)}},{key:"html",value:function(){return this.container.outerHTML}},{key:"text",value:function(){return this.content.textContent||""}},{key:"select",value:function(){this.$container.addClass(this.console.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.console.c("selected"))}},{key:"copy",value:function(){var hr=this.args,fr="";Nn()(hr,function(Nr,jr){jr!==0&&(fr+=" "),Hr()(Nr)?fr+=to()(Nr):fr+=Cn()(Nr)}),co()(fr)}},{key:"bindEvent",value:function(){var hr=this,fr=this.console.c,Nr=this;this.resizeSensor.addListener(this.onResize),this.$container.on("click",fr(".dom-viewer"),function(jr){return jr.stopPropagation()}).on("click",fr(".preview"),function(jr){jr.stopPropagation();var ao=xo()(this).find(fr(".preview-icon-container")).find(fr(".icon")),eo="caret-down";ao.hasClass(fr("icon-caret-down"))&&(eo="caret-right"),ao.rmAttr("class").addClass([fr("icon"),fr("icon-".concat(eo))]),Nr.renderObjectViewer(this)}).on("click",function(){return hr.click()})}},{key:"renderEl",value:function(){var hr=this.elements,fr=this.console.c,Nr=this;this.$container.find(fr(".dom-viewer")).each(function(){var jr=xo()(this).data("id");new Pr.Z(this,{node:hr[jr],theme:Nr.console.getOption("theme")})})}},{key:"renderObjectViewer",value:function(hr){var fr=this.console,Nr=this.unenumerable,jr=this.accessGetter,ao=this.lazyEvaluation,eo=fr.c,lo=xo()(hr),fo=lo.data("id");if(fo){var bo=this.objects[fo],Io=lo.find(eo(".json"));if(Io.hasClass(eo("hidden"))){if(Io.data("init")!=="true"){if(ao){var Lo=new br.Z(Io.get(0),{unenumerable:Nr,accessGetter:jr});Lo.setOption("theme",fr.getOption("theme")),Lo.set(bo)}else{var Ho=new br.q(Io.get(0));Ho.setOption("theme",fr.getOption("theme")),Ho.set(bo)}Io.data("init","true")}Io.rmClass(eo("hidden"))}else Io.addClass(eo("hidden"))}}},{key:"renderTable",value:function(hr){var fr=this,Nr="__LunaConsoleValue",jr=this.columns,ao=this.$container,eo=this.console,lo=eo.c,fo=ao.find(lo(".data-grid")),bo=hr[0],Io=new _r.Z(fo.get(0),{columns:Yr()([{id:"(index)",title:"(index)",sortable:!0}],zn()(jr,function(Lo){return{id:Lo,title:Lo===Nr?"Value":Lo,sortable:!0}})),theme:eo.getOption("theme")});Nn()(bo,function(Lo,Ho){var Jo={"(index)":Cn()(Ho)};jr.forEach(function(Mo){Hr()(Lo)?Jo[Mo]=Mo===Nr?"":fr.formatTableVal(Lo[Mo]):cr()(Lo)&&(Jo[Mo]=Mo===Nr?fr.formatTableVal(Lo):"")}),Io.append(Jo)})}},{key:"extractObj",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Nr=arguments.length>2?arguments[2]:void 0,jr=this.accessGetter,ao=this.unenumerable;Dr()(fr,{accessGetter:jr,unenumerable:ao,symbol:ao,timeout:1e3}),function(eo,lo,fo){var bo=Co()(eo,lo);Vo()(function(){return fo(bo)})}(hr,fr,function(eo){return Nr(JSON.parse(eo))})}},{key:"click",value:function(){var hr=this.type,fr=this.$container,Nr=this.console,jr=Nr.c;switch(hr){case"log":case"warn":case"info":case"debug":case"output":case"table":case"dir":break;case"group":case"groupCollapsed":Nr.toggleGroup(this);break;case"error":fr.find(jr(".stack")).toggleClass(jr("hidden"))}}},{key:"formatMsg",value:function(){var hr=this.args,fr=this.type,Nr=this.id,jr=this.header,ao=this.group,eo=this.console.c;hr=Zr()(hr);var lo,fo,bo="";switch(fr!=="group"&&fr!=="groupCollapsed"||hr.length===0&&(hr=["console.group"]),fr){case"log":case"info":case"debug":bo=this.formatCommon(hr);break;case"dir":bo=this.formatDir(hr);break;case"warn":lo="warn",bo=this.formatCommon(hr);break;case"error":Gr()(hr[0])&&hr.length!==1&&(hr=this.substituteStr(hr)),fo=hr[0],lo="error",fo=Br()(fo)?fo:new Error(this.formatCommon(hr)),bo=this.formatErr(fo);break;case"table":bo=this.formatTable(hr);break;case"html":bo=hr[0];break;case"input":bo=this.formatJs(hr[0]),lo="input";break;case"output":bo=this.formatCommon(hr),lo="output";break;case"groupCollapsed":bo=this.formatCommon(hr),lo="caret-right";break;case"group":bo=this.formatCommon(hr),lo="caret-down"}xn()(["log","debug","warn"],fr)&&this.isSimple()&&(bo=jo()(bo,function(Io){return'<a href="'.concat(Io,'" target="_blank">').concat(Io,"</a>")})),bo=this.render({msg:bo,type:fr,icon:lo,id:Nr,header:jr,group:ao}),this.$container.addClass("".concat(eo("log-container"))).html(bo),fr==="table"&&(Rn()(this.columns)||this.renderTable(hr)),Rn()(this.elements)||this.renderEl(),this.$content=this.$container.find(eo(".log-content")),this.content=this.$content.get(0)}},{key:"render",value:function(hr){var fr=this.console.c,Nr="",jr="";if(hr.group)for(var ao=hr.group.indentLevel,eo=0;eo<ao;eo++)jr+='<div class="'.concat(fr("nesting-level"),'"></div>');hr.header&&(Nr+=Xo()(dr||(dr=(0,Fe.Z)([`
      <div class="`,`">
        `,`
        <div class="`,`">
          <span>`,"</span> <span>",`</span>
        </div>
      </div>`])),fr("header"),jr,fr("time-from-container"),hr.header.time,hr.header.from));var lo="";return hr.icon&&(lo='<div class="'.concat(fr("icon-container"),'"><span class="').concat(fr("icon icon-"+hr.icon),'"></span></div>')),Nr+=`
    <div class="`.concat(fr(hr.type+" log-item"),`">
      `).concat(jr,`
      `).concat(lo,`
      <div class="`).concat(fr("count-container hidden"),`">
        <div class="`).concat(fr("count"),`"></div>
      </div>    
      <div class="`).concat(fr("log-content-wrapper"),`">
        <div class="`).concat(fr("log-content"),'">').concat(hr.msg,`</div>
      </div>
    </div>`)}},{key:"formatTable",value:function(hr){var fr=hr[0],Nr=hr[1],jr=[];return Gr()(Nr)&&(Nr=Ro()(Nr)),Yo()(Nr)||(Nr=null),Hr()(fr)?(Nn()(fr,function(ao){cr()(ao)?jr.push("__LunaConsoleValue"):Hr()(ao)&&(jr=jr.concat(so()(ao)))}),(jr=So()(jr)).sort(),Nr&&(jr=jr.filter(function(ao){return xn()(Nr,ao)})),jr.length>20&&(jr=jr.slice(0,20)),Rn()(jr)?this.formatCommon(hr):(this.columns=jr,this.console.c('<div class="data-grid"></div>')+this.formatPreview(fr))):this.formatCommon(hr)}},{key:"formatErr",value:function(hr){var fr=hr.stack?hr.stack.split(`
`):[],Nr="".concat(hr.message||fr[0],"<br/>");return fr=fr.map(function(jr){return wn()(jr)}),Nr+'<div class="'.concat(this.console.c("stack hidden"),'">').concat(fr.slice(1).join("<br/>"),"</div>").replace(ii,function(jr){return'<a href="'.concat(jr,'" target="_blank">').concat(jr,"</a>")})}},{key:"formatCommon",value:function(hr){var fr=this.console.c,Nr=Gr()(hr[0])&&hr.length!==1;Nr&&(hr=this.substituteStr(hr));for(var jr=0,ao=hr.length;jr<ao;jr++){var eo=hr[jr];Lr()(eo)?hr[jr]=this.formatEl(eo):ko()(eo)?hr[jr]=this.formatFn(eo):Ga()(eo)?hr[jr]='<span class="'.concat(fr("regexp"),'">').concat(wn()(Cn()(eo)),"</span>"):Hr()(eo)?hr[jr]=this.formatPreview(eo):_o()(eo)?hr[jr]='<span class="'.concat(fr("undefined"),'">undefined</span>'):uo()(eo)?hr[jr]='<span class="'.concat(fr("null"),'">null</span>'):qn()(eo)?hr[jr]='<span class="'.concat(fr("number"),'">').concat(Cn()(eo),"</span>"):typeof eo=="bigint"?hr[jr]='<span class="'.concat(fr("number"),'">').concat(Cn()(eo),"n</span>"):ma()(eo)?hr[jr]='<span class="'.concat(fr("boolean"),'">').concat(Cn()(eo),"</span>"):Va()(eo)?hr[jr]='<span class="'.concat(fr("symbol"),'">').concat(wn()(Cn()(eo)),"</span>"):(eo=Cn()(eo),jr===0&&Nr||(eo=wn()(eo)),eo.length>5e3&&(eo=Vn()(eo,5e3,{separator:" ",ellipsis:"…"})),hr[jr]=eo)}return hr.join(" ")}},{key:"formatDir",value:function(hr){return Hr()(hr[0])?this.formatPreview(hr[0]):this.formatCommon(hr)}},{key:"formatTableVal",value:function(hr){var fr=this.console.c;return Hr()(hr)?"{…}":cr()(hr)?ea()('<div class="'.concat(fr("preview"),'">').concat(ir(hr),"</div>")):Cn()(hr)}},{key:"formatPreview",value:function(hr){var fr=this,Nr=this.console.c,jr=na()();this.lazyEvaluation?this.objects[jr]=hr:this.extractObj(hr,{},function(lo){fr.objects[jr]=lo});var ao=xn()(["dir","table"],this.type),eo=Hn(hr);return eo==="Array"&&hr.length>1?(eo="(".concat(hr.length,")"),ao&&(eo="Array".concat(eo))):eo==="RegExp"?eo=Cn()(hr):Lr()(hr)&&(eo=this.formatElName(hr)),'<div class="'.concat(Nr("preview"),'" data-id="').concat(jr,'">')+'<div class="'.concat(Nr("preview-container"),'">')+'<div class="'.concat(Nr("preview-icon-container"),'"><span class="').concat(Nr("icon icon-caret-right"),'"></span></div>')+'<span class="'.concat(Nr("preview-content-container"),'">')+'<span class="'.concat(Nr("descriptor"),'">').concat(wn()(eo),"</span> ")+'<span class="'.concat(Nr("object-preview"),'">').concat(ao?"":ir(hr,{getterVal:this.accessGetter,unenumerable:!1}),"</span>")+"</span></div>"+'<div class="'.concat(Nr("json hidden"),'"></div></div>')}},{key:"substituteStr",value:function(hr){var fr=wn()(hr[0]),Nr=!1,jr="";hr.shift();for(var ao=0,eo=fr.length;ao<eo;ao++){var lo=fr[ao];if(lo==="%"&&hr.length!==0){ao++;var fo=hr.shift();switch(fr[ao]){case"i":case"d":jr+=Vr()(fo);break;case"f":jr+=ar()(fo);break;case"s":jr+=Cn()(fo);break;case"O":Hr()(fo)?jr+=this.formatPreview(fo):jr+=Cn()(fo);break;case"o":Lr()(fo)?jr+=this.formatEl(fo):Hr()(fo)?jr+=this.formatPreview(fo):jr+=Cn()(fo);break;case"c":if(fr.length<=ao+1)break;Nr&&(jr+="</span>"),Nr=!0,jr+='<span style="'.concat(Aa(fo),'">');break;default:ao--,hr.unshift(fo),jr+=lo}}else jr+=lo}return Nr&&(jr+="</span>"),hr.unshift(jr),hr}},{key:"formatJs",value:function(hr){return'<pre class="'.concat(this.console.c("code"),'">').concat(this.console.c(oa()(hr,"js",za)),"</pre>")}},{key:"formatFn",value:function(hr){return'<pre style="display:inline">'.concat(this.formatJs(hr.toString()),"</pre>")}},{key:"formatElName",value:function(hr){var fr=hr.id,Nr=hr.className,jr=hr.tagName.toLowerCase();if(fr!==""&&(jr+="#".concat(fr)),Gr()(Nr)){var ao="";Nn()(Nr.split(/\s+/g),function(eo){eo.trim()!==""&&(ao+=".".concat(eo))}),jr+=ao}return jr}},{key:"formatEl",value:function(hr){var fr=na()();return this.elements[fr]=hr,this.console.c('<div class="dom-viewer" data-id="'.concat(fr,'"></div>'))}}]),mo}(qr());function Aa(vo){var No=(vo=Or()(vo)).split(";"),mo={};Nn()(No,function(fr){if(xn()(fr,":")){var Nr=qe(fr.split(":"),2),jr=Nr[0],ao=Nr[1];mo[Gn()(jr)]=Gn()(ao)}}),mo.display="inline-block",mo["max-width"]="100%",delete mo.width,delete mo.height;var hr="";return Nn()(mo,function(fr,Nr){hr+="".concat(Nr,":").concat(fr,";")}),hr}var li=Ie(1194),Ua=Ie.n(li),ci=Ie(8847),Ca=Ie.n(ci),di=Ie(6329),Wa=Ie.n(di),fi=Ie(9001),Pa=Ie.n(fi),pi=Ie(9702),hi=Ie.n(pi),mi=Ie(2439),sa=Ie.n(mi),vi=Ie(8933),Bo=Ie.n(vi),gi=Ie(4407),ya=Ie.n(gi),yi=Ie(5852),bi=Ie.n(yi);function _i(vo){var No=function(){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}}();return function(){var mo,hr=(0,vn.Z)(vo);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var xa,wi=function(vo){(0,jt.Z)(mo,vo);var No=_i(mo);function mo(hr,fr){var Nr,jr,ao=fr.compName,eo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,lo=eo===void 0?"light":eo;return(0,At.Z)(this,mo),(Nr=No.call(this)).subComponents=[],Nr.compName=ao,Nr.c=Zn(ao),Nr.options={},Nr.container=hr,Nr.$container=xo()(hr),Nr.$container.addClass(["luna-".concat(ao),Nr.c("platform-".concat((jr=or()(),jr==="os x"?"mac":jr)))]),Nr.on("optionChange",function(fo,bo,Io){var Lo=Nr.c;fo==="theme"&&(Nr.$container.rmClass(Lo("theme-".concat(Io))).addClass(Lo("theme-".concat(bo))),Nn()(Nr.subComponents,function(Ho){return Ho.setOption("theme",bo)}))}),Nr.setOption("theme",lo),Nr}return(0,Dt.Z)(mo,[{key:"destroy",value:function(){var hr=this;this.destroySubComponents();var fr=this.$container,Nr=fr.attr("class");Nn()(Nr.split(/\s+/),function(jr){Tn()(jr,"luna-".concat(hr.compName))&&fr.rmClass(jr)}),fr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(hr,fr){var Nr=this,jr=this.options,ao={};typeof hr=="string"?ao[hr]=fr:ao=hr,Nn()(ao,function(eo,lo){var fo=jr[lo];jr[lo]=eo,Nr.emit("optionChange",lo,eo,fo)})}},{key:"getOption",value:function(hr){return this.options[hr]}},{key:"addSubComponent",value:function(hr){hr.setOption("theme",this.options.theme),this.subComponents.push(hr)}},{key:"removeSubComponent",value:function(hr){bi()(this.subComponents,function(fr){return fr===hr})}},{key:"destroySubComponents",value:function(){Nn()(this.subComponents,function(hr){return hr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dr()(hr,fr),Wa()(this.options,hr)}},{key:"find",value:function(hr){return this.$container.find(this.c(hr))}}]),mo}(qr()),ki=Ie(1571),Ka=Ie.n(ki);function Si(vo){var No=function(){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}}();return function(){var mo,hr=(0,vn.Z)(vo);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}xe=Ie.hmd(xe);var Ya=navigator.userAgent,Ci=Ya.indexOf("Android")>-1||Ya.indexOf("Adr")>-1,xi=0,qa=function(vo){(0,jt.Z)(mo,vo);var No=Si(mo);function mo(hr){var fr,Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,At.Z)(this,mo),(fr=No.call(this,hr,{compName:"console"},Nr)).spaceHeight=0,fr.topSpaceHeight=0,fr.bottomSpaceHeight=0,fr.lastScrollTop=0,fr.lastTimestamp=0,fr.speedToleranceFactor=100,fr.maxSpeedTolerance=2e3,fr.minSpeedTolerance=100,fr.logs=[],fr.displayLogs=[],fr.timer={},fr.counter={},fr.asyncList=[],fr.asyncTimer=null,fr.isAtBottom=!0,fr.groupStack=new(Pa()),fr.selectedLog=null,fr.onScroll=function(){var jr=fr.container,ao=jr.scrollHeight,eo=jr.offsetHeight,lo=jr.scrollTop;if(!(lo<=0||eo+lo>ao)){var fo=!1;(ao===eo||lo===ao-eo)&&(fo=!0),fr.isAtBottom=fo;var bo=fr.lastScrollTop,Io=fr.lastTimestamp,Lo=Ca()(),Ho=Lo-Io,Jo=lo-bo,Mo=Math.abs(Jo/Ho)*fr.speedToleranceFactor;Ho>1e3&&(Mo=1e3),Mo>fr.maxSpeedTolerance&&(Mo=fr.maxSpeedTolerance),Mo<fr.minSpeedTolerance&&(Mo=fr.minSpeedTolerance),fr.lastScrollTop=lo,fr.lastTimestamp=Lo;var Go=0,ra=0;bo<lo?(Go=fr.minSpeedTolerance,ra=Mo):(Go=Mo,ra=fr.minSpeedTolerance),fr.topSpaceHeight<lo-Go&&fr.topSpaceHeight+fr.el.offsetHeight>lo+eo+ra||fr.renderViewport({topTolerance:2*Go,bottomTolerance:2*ra})}},fr.initTpl(),fr.initOptions(Nr,{maxNum:0,asyncRender:!0,showHeader:!1,filter:"",level:["verbose","info","warning","error"],accessGetter:!1,unenumerable:!0,lazyEvaluation:!0}),fr.$el=fr.find(".logs"),fr.el=fr.$el.get(0),fr.$fakeEl=fr.find(".fake-logs"),fr.fakeEl=fr.$fakeEl.get(0),fr.$space=fr.find(".logs-space"),fr.space=fr.$space.get(0),Ci&&(fr.speedToleranceFactor=800,fr.maxSpeedTolerance=3e3,fr.minSpeedTolerance=800),fr.resizeSensor=new(xr())(hr),fr.renderViewport=sa()(function(jr){fr._renderViewport(jr)},16),fr.global={copy:function(jr){Gr()(jr)||(jr=JSON.stringify(jr,null,2)),co()(jr)},$:function(jr){return document.querySelector(jr)},$$:function(jr){return Ro()(document.querySelectorAll(jr))},$x:function(jr){return Bo()(jr)},clear:function(){fr.clear()},dir:function(jr){fr.dir(jr)},table:function(jr,ao){fr.table(jr,ao)},keys:so()},fr.bindEvent(),fr}return(0,Dt.Z)(mo,[{key:"setGlobal",value:function(hr,fr){this.global[hr]=fr}},{key:"destroy",value:function(){this.$container.off("scroll",this.onScroll),this.resizeSensor.destroy(),(0,Lt.Z)((0,vn.Z)(mo.prototype),"destroy",this).call(this)}},{key:"count",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.counter;_o()(fr[hr])?fr[hr]=1:fr[hr]++,this.info("".concat(hr,": ").concat(fr[hr]))}},{key:"countReset",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.counter[hr]=0}},{key:"assert",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];Rn()(fr)||fr.shift()||(fr.length===0&&fr.unshift("console.assert"),fr.unshift("Assertion failed: "),this.insert("error",fr))}},{key:"log",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];Rn()(fr)||this.insert("log",fr)}},{key:"debug",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];Rn()(fr)||this.insert("debug",fr)}},{key:"dir",value:function(hr){_o()(hr)||this.insert("dir",[hr])}},{key:"table",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];Rn()(fr)||this.insert("table",fr)}},{key:"time",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";if(this.timer[hr])return this.insert("warn",["Timer '".concat(hr,"' already exists")]);this.timer[hr]=Ua()()}},{key:"timeLog",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.timer[hr];if(!fr)return this.insert("warn",["Timer '".concat(hr,"' does not exist")]);this.info("".concat(hr,": ").concat(Ua()()-fr,"ms"))}},{key:"timeEnd",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.timeLog(hr),delete this.timer[hr]}},{key:"clear",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.logs=[],this.displayLogs=[],this.selectLog(null),this.lastLog=void 0,this.counter={},this.timer={},this.groupStack=new(Pa()),this.asyncList=[],this.asyncTimer&&(clearTimeout(this.asyncTimer),this.asyncTimer=null),hr?this.render():this.insert("log",["%cConsole was cleared","color:#808080;font-style:italic;"])}},{key:"info",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];Rn()(fr)||this.insert("info",fr)}},{key:"error",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];Rn()(fr)||this.insert("error",fr)}},{key:"warn",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];Rn()(fr)||this.insert("warn",fr)}},{key:"group",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];this.insert({type:"group",args:fr,ignoreFilter:!0})}},{key:"groupCollapsed",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];this.insert({type:"groupCollapsed",args:fr,ignoreFilter:!0})}},{key:"groupEnd",value:function(){this.insert("groupEnd")}},{key:"evaluate",value:function(hr){this.insert({type:"input",args:[hr],ignoreFilter:!0});try{this.output(this.evalJs(hr))}catch(fr){this.insert({type:"error",ignoreFilter:!0,args:[fr]})}}},{key:"html",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr<hr;Nr++)fr[Nr]=arguments[Nr];this.insert("html",fr)}},{key:"toggleGroup",value:function(hr){hr.targetGroup.collapsed?this.openGroup(hr):this.collapseGroup(hr)}},{key:"output",value:function(hr){this.insert({type:"output",args:[hr],ignoreFilter:!0})}},{key:"render",value:function(){var hr=this.logs,fr=this.selectedLog;this.$el.html(""),this.isAtBottom=!0,this.updateBottomSpace(0),this.updateTopSpace(0),this.displayLogs=[];for(var Nr=0,jr=hr.length;Nr<jr;Nr++)this.attachLog(hr[Nr]);fr&&(xn()(this.displayLogs,fr)||this.selectLog(null))}},{key:"insert",value:function(hr,fr){var Nr,jr=this.options,ao=jr.showHeader,eo=jr.asyncRender;if(ao&&(Nr={time:Ei(),from:Fa()}),eo)return this.insertAsync(hr,fr,Nr);this.insertSync(hr,fr,Nr)}},{key:"insertAsync",value:function(hr,fr,Nr){this.asyncList.push([hr,fr,Nr]),this.handleAsyncList()}},{key:"insertSync",value:function(hr,fr,Nr){var jr,ao=this,eo=this.logs,lo=this.groupStack,fo=this.options,bo=fo.maxNum,Io=fo.accessGetter,Lo=fo.unenumerable,Ho=fo.lazyEvaluation;if((jr=Gr()(hr)?{type:hr,args:fr,header:Nr}:hr).type==="groupEnd")return this.lastLog.groupEnd(),void this.groupStack.pop();if(lo.size>0&&(jr.group=lo.peek()),Wa()(jr,{id:++xi,accessGetter:Io,unenumerable:Lo,lazyEvaluation:Ho}),jr.type==="group"||jr.type==="groupCollapsed"){var Jo={id:na()("group"),collapsed:!1,parent:lo.peek(),indentLevel:lo.size+1};jr.type==="groupCollapsed"&&(Jo.collapsed=!0),jr.targetGroup=Jo,lo.push(Jo)}var Mo=new si(this,jr);Mo.on("updateHeight",function(){ao.isAtBottom=!1,ao.renderViewport()});var Go=this.lastLog;if(Go&&!xn()(["html","group","groupCollapsed"],Mo.type)&&Go.type===Mo.type&&Mo.isSimple()&&Go.text()===Mo.text()?(Go.addCount(),Mo.header&&Go.updateTime(Mo.header.time),Mo=Go,this.detachLog(Go)):(eo.push(Mo),this.lastLog=Mo),bo!==0&&eo.length>bo){var ra=eo[0];this.detachLog(ra),eo.shift()}this.attachLog(Mo),this.emit("insert",Mo)}},{key:"updateTopSpace",value:function(hr){this.topSpaceHeight=hr,this.el.style.top=hr+"px"}},{key:"updateBottomSpace",value:function(hr){this.bottomSpaceHeight=hr}},{key:"updateSpace",value:function(hr){this.spaceHeight!==hr&&(this.spaceHeight=hr,this.space.style.height=hr+"px")}},{key:"detachLog",value:function(hr){var fr=this.displayLogs,Nr=fr.indexOf(hr);Nr>-1&&(fr.splice(Nr,1),this.renderViewport())}},{key:"attachLog",value:function(hr){if(this.filterLog(hr)&&!hr.collapsed){var fr=this.displayLogs;if(fr.length===0)return fr.push(hr),void this.renderViewport();var Nr=hi()(fr);if(hr.id>Nr.id)return fr.push(hr),void this.renderViewport();for(var jr,ao=0,eo=fr.length-1,lo=0;ao<=eo;){if((jr=fr[lo=ao+Math.floor((eo-ao)/2)]).id===hr.id)return;jr.id<hr.id?ao=lo+1:eo=lo-1}jr.id<hr.id?fr.splice(lo+1,0,hr):fr.splice(lo,0,hr),this.renderViewport()}}},{key:"handleAsyncList",value:function(){var hr=this,fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:20,Nr=this.asyncList;this.asyncTimer||(this.asyncTimer=setTimeout(function(){hr.asyncTimer=null;var jr,ao,eo=!1,lo=Nr.length;lo<1e3?(ao=200,jr=400):lo<5e3?(ao=500,jr=800):lo<1e4?(ao=800,jr=1e3):lo<25e3?(ao=1e3,jr=1200):lo<5e4?(ao=1500,jr=1500):(ao=2e3,jr=2500),ao>lo&&(ao=lo,eo=!0);for(var fo=0;fo<ao;fo++){var bo=qe(Nr.shift(),3),Io=bo[0],Lo=bo[1],Ho=bo[2];hr.insertSync(Io,Lo,Ho)}eo||Ka()(function(){return hr.handleAsyncList(jr)})},fr))}},{key:"injectGlobal",value:function(){Nn()(this.global,function(hr,fr){window[fr]||(window[fr]=hr)})}},{key:"clearGlobal",value:function(){Nn()(this.global,function(hr,fr){window[fr]&&window[fr]===hr&&delete window[fr]})}},{key:"evalJs",value:function(hr){var fr;this.injectGlobal();try{fr=eval.call(window,"(".concat(hr,")"))}catch{fr=eval.call(window,hr)}return this.setGlobal("$_",fr),this.clearGlobal(),fr}},{key:"filterLog",value:function(hr){var fr=this.options.level,Nr=this.options.filter;if(hr.ignoreFilter)return!0;if(!xn()(fr,hr.level))return!1;if(Nr){if(ko()(Nr))return Nr(hr);if(Ga()(Nr))return Nr.test(Or()(hr.text()));if(Gr()(Nr)&&(Nr=Gn()(Nr)))return xn()(Or()(hr.text()),Or()(Nr))}return!0}},{key:"collapseGroup",value:function(hr){hr.targetGroup.collapsed=!0,hr.updateIcon("caret-right"),this.updateGroup(hr)}},{key:"openGroup",value:function(hr){hr.targetGroup.collapsed=!1,hr.updateIcon("caret-down"),this.updateGroup(hr)}},{key:"updateGroup",value:function(hr){for(var fr=hr.targetGroup,Nr=this.logs,jr=Nr.length,ao=Nr.indexOf(hr)+1;ao<jr;){var eo=Nr[ao];if(!eo.checkGroup()&&eo.group===fr)break;eo.collapsed?this.detachLog(eo):this.attachLog(eo),ao++}}},{key:"selectLog",value:function(hr){var fr;this.selectedLog&&(this.selectedLog.deselect(),this.selectedLog=null),uo()(hr)?this.emit("deselect"):(this.selectedLog=hr,(fr=this.selectedLog)===null||fr===void 0||fr.select(),this.emit("select",hr))}},{key:"bindEvent",value:function(){var hr=this,fr=this.$el,Nr=this.c;this.resizeSensor.addListener(this.renderViewport);var jr=this;fr.on("click",Nr(".log-container"),function(){jr.selectLog(this.log)}),this.on("optionChange",function(ao,eo){var lo=hr.logs;switch(ao){case"maxNum":eo>0&&lo.length>eo&&(hr.logs=lo.slice(lo.length-eo),hr.render());break;case"filter":hr.render();break;case"level":hr.options.level=Ro()(eo),hr.render()}}),this.$container.on("scroll",this.onScroll)}},{key:"_renderViewport",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fr=hr.topTolerance,Nr=fr===void 0?500:fr,jr=hr.bottomTolerance,ao=jr===void 0?500:jr,eo=this.el,lo=this.container,fo=this.space;if(!Kn()(lo)){for(var bo=lo.scrollTop,Io=lo.offsetHeight,Lo=fo.getBoundingClientRect().width,Ho=bo-Nr,Jo=bo+Io+ao,Mo=this.displayLogs,Go=0,ra=0,ta=0,Ea=Mo.length,Na=this.fakeEl,Ma=document.createDocumentFragment(),va=[],la=0;la<Ea;la++){var ua=Mo[la],ga=ua.width;ua.height!==0&&ga===Lo||(Ma.appendChild(ua.container),va.push(ua))}if(va.length>0){Na.appendChild(Ma);for(var ba=0,Ia=va.length;ba<Ia;ba++)va[ba].updateSize();Na.textContent=""}for(var Oa=document.createDocumentFragment(),Ta=0;Ta<Ea;Ta++){var Ra=Mo[Ta],Ha=Ra.container,wa=Ra.height;ta>Jo?ra+=wa:ta+wa>Ho?Oa.appendChild(Ha):ta<Ho&&(Go+=wa),ta+=wa}for(this.updateSpace(ta),this.updateTopSpace(Go),this.updateBottomSpace(ra);eo.firstChild;)eo.lastChild&&eo.removeChild(eo.lastChild);eo.appendChild(Oa);var Da=lo.scrollHeight;this.isAtBottom&&bo<=Da-Io&&(lo.scrollTop=1e7)}}},{key:"initTpl",value:function(){this.$container.html(this.c(Xo()(xa||(xa=(0,Fe.Z)([`
      <div class="logs-space">
        <div class="fake-logs"></div>
        <div class="logs"></div>
      </div>
    `])))))}}]),mo}(wi),Ei=function(){return ya()("HH:MM:ss ")};function Fa(){for(var vo=new Error,No="",mo=vo.stack?vo.stack.split(`
`):"",hr=0,fr=mo.length;hr<fr;hr++)if((No=mo[hr]).indexOf("winConsole")>-1&&hr<fr-1){No=mo[hr+1];break}return No}(function(vo,No){try{vo.exports=No,vo.exports.default=No}catch{}})(xe,qa)},5564:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Ro}});var Fe=Ie(168),Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(1752),Lt=Ie(9340),jt=Ie(2963),hn=Ie(1120),vn=Ie(1512),bn=Ie.n(vn),_n=Ie(1907),wn=Ie.n(_n),kn=Ie(1443),Cn=Ie.n(kn),Sn=Ie(2461),xn=Ie.n(Sn),En=Ie(4331),Tn=Ie.n(En),An=Ie(5610),$n=Ie.n(An),Pn=Ie(7483),Nn=Ie.n(Pn),Mn=(Ie(3990),Ie(6341)),In=Ie.n(Mn),On=Ie(3875),Rn=Ie.n(On),Bn=Ie(6954),Vn=Ie.n(Bn);Ie(9585);function Ln(To){var So="luna-".concat(To,"-");function yo(Zr){return xn()(Tn()(Zr).split(/\s+/),function(Mr){return In()(Mr,So)?Mr:Mr.replace(/[\w-]+/,function(Or){return"".concat(So).concat(Or)})}).join(" ")}return function(Zr){if(/<[^>]*>/g.test(Zr))try{var Mr=Nn().parse(Zr);return Dn(Mr,function(Or){Or.attrs&&Or.attrs.class&&(Or.attrs.class=yo(Or.attrs.class))}),Nn().stringify(Mr)}catch{return yo(Zr)}return yo(Zr)}}function Dn(To,So){for(var yo=0,Zr=To.length;yo<Zr;yo++){var Mr=To[yo];So(Mr),Mr.content&&Dn(Mr.content,So)}}var Hn="ontouchstart"in $n(),Fn="PointerEvent"in $n(),zn={start:"touchstart",move:"touchmove",end:"touchend"},jn={start:"mousedown",move:"mousemove",end:"mouseup"},Gn={start:"pointerdown",move:"pointermove",end:"pointerup"};function Wn(To){return Fn?Gn[To]:Hn?zn[To]:jn[To]}function Xn(To,So){var yo="clientX";return So[yo]?So[yo]:So.changedTouches?So.changedTouches[0][yo]:0}function er(To){return Rn()(To.replace("px",""))}var rr=Ie(3783),Jn=Ie.n(rr),qn=Ie(6329),Yn=Ie.n(qn),ar=Ie(4193),tr=Ie.n(ar),or=Ie(5852),sr=Ie.n(or),Kn=Ie(6930),Zn=Ie.n(Kn);function nr(To){var So=function(){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}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}var lr,ir=function(To){(0,Lt.Z)(yo,To);var So=nr(yo);function yo(Zr,Mr){var Or,yr,so=Mr.compName,$o=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,xo=$o===void 0?"light":$o;return(0,Ue.Z)(this,yo),(Or=So.call(this)).subComponents=[],Or.compName=so,Or.c=Ln(so),Or.options={},Or.container=Zr,Or.$container=bn()(Zr),Or.$container.addClass(["luna-".concat(so),Or.c("platform-".concat((yr=Vn()(),yr==="os x"?"mac":yr)))]),Or.on("optionChange",function(ho,po,ro){var qr=Or.c;ho==="theme"&&(Or.$container.rmClass(qr("theme-".concat(ro))).addClass(qr("theme-".concat(po))),Jn()(Or.subComponents,function(Qr){return Qr.setOption("theme",po)}))}),Or.setOption("theme",xo),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){var Zr=this;this.destroySubComponents();var Mr=this.$container,Or=Mr.attr("class");Jn()(Or.split(/\s+/),function(yr){Zn()(yr,"luna-".concat(Zr.compName))&&Mr.rmClass(yr)}),Mr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Zr,Mr){var Or=this,yr=this.options,so={};typeof Zr=="string"?so[Zr]=Mr:so=Zr,Jn()(so,function($o,xo){var ho=yr[xo];yr[xo]=$o,Or.emit("optionChange",xo,$o,ho)})}},{key:"getOption",value:function(Zr){return this.options[Zr]}},{key:"addSubComponent",value:function(Zr){Zr.setOption("theme",this.options.theme),this.subComponents.push(Zr)}},{key:"removeSubComponent",value:function(Zr){sr()(this.subComponents,function(Mr){return Mr===Zr})}},{key:"destroySubComponents",value:function(){Jn()(this.subComponents,function(Zr){return Zr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Zr){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};tr()(Zr,Mr),Yn()(this.options,Zr)}},{key:"find",value:function(Zr){return this.$container.find(this.c(Zr))}}]),yo}(Cn()),kr=Ie(8901),Cr=Ie.n(kr),Er=Ie(8613),dr=Ie.n(Er),br=Ie(3367),_r=Ie.n(br),Pr=Ie(9833),vr=Ie.n(Pr),xr=Ie(1286),Rr=Ie.n(xr),Hr=Ie(242),Jr=Ie.n(Hr),Gr=Ie(2439),$r=Ie.n(Gr),Br=Ie(6156),Tr=Ie.n(Br),cr=Ie(4777),Sr=Ie.n(cr),Dr=Ie(1754),mr=Ie.n(Dr),Lr=Ie(6768),zr=Ie.n(Lr),Vr=Ie(3063),Kr=Ie.n(Vr),Yr=Ie(9882),Ur=Ie.n(Yr),uo=Ie(9853),go=Ie.n(uo),_o=Ie(6435),Ao=Ie.n(_o);function ko(To){var So=function(){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}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}xe=Ie.hmd(xe);var Do=bn()(document),Ro=function(To){(0,Lt.Z)(yo,To);var So=ko(yo);function yo(Zr,Mr){var Or;(0,Ue.Z)(this,yo),(Or=So.call(this,Zr,{compName:"data-grid"},Mr)).resizeIdx=0,Or.resizeStartX=0,Or.resizeStartLeft=0,Or.resizeDeltaX=0,Or.nodes=[],Or.colWidthsInitialized=!1,Or.colMap={},Or.selectedNode=null,Or.isAscending=!0,Or.colWidths=[],Or.onResizeColMove=function(ho){var po=(0,At.Z)(Or),ro=po.resizeIdx,qr=po.$resizers,Qr=po.colWidths,Ir=po.$colgroup,Xr=Xn("x",ho=ho.origEvent)-Or.resizeStartX,to=Qr[ro],oo=Qr[ro+1],co=Ao()(24-to,0),wo=go()(oo-24,0);Xr=Ur()(Xr,co,wo),Ir.each(function(){var Po=bn()(this).find("col");Po.eq(ro).css("width",to+Xr+"px"),Po.eq(ro+1).css("width",oo-Xr+"px")}),Or.resizeDeltaX=Xr;var Co=Or.resizeStartLeft+Xr;qr.eq(ro).css("left","".concat(Co,"px"))},Or.onResizeColEnd=function(ho){Or.onResizeColMove(ho);var po=(0,At.Z)(Or),ro=po.c,qr=po.colWidths,Qr=po.resizeIdx,Ir=po.resizeDeltaX,Xr=Or.options.columns,to=Xr[Qr],oo=Xr[Qr+1],co=qr[Qr]+Ir,wo=co+(qr[Qr+1]-Ir),Co=to.weight+oo.weight,Po=Co*(co/wo),Vo=Co-Po;to.weight=Po,oo.weight=Vo,Or.applyColWeights(),bn()(document.body).rmClass(ro("resizing")),Do.off(Wn("move"),Or.onResizeColMove),Do.off(Wn("end"),Or.onResizeColEnd)},Or.$container.attr("tabindex","0"),Or.resizeSensor=new(Jr())(Zr),Or.onResize=$r()(function(){Or.updateHeight(),Or.updateWeights()},16),Mr.height&&(Mr.maxHeight=Mr.height,Mr.minHeight=Mr.height),Or.initOptions(Mr,{minHeight:41,maxHeight:1/0,filter:""});var yr=Or.options,so=yr.columns,$o=yr.minHeight,xo=yr.maxHeight;return Jn()(so,function(ho){tr()(ho,{sortable:!1}),Or.colMap[ho.id]=ho}),xo<$o&&Or.setOption("maxHeight",$o),Or.initTpl(),Or.$headerRow=Or.find(".header").find("tr"),Or.$fillerRow=Or.find(".filler-row"),Or.fillerRow=Or.$fillerRow.get(0),Or.$tableBody=Or.find(".data").find("tbody"),Or.tableBody=Or.$tableBody.get(0),Or.$colgroup=Or.$container.find("colgroup"),Or.$dataContainer=Or.find(".data-container"),Or.renderHeader(),Or.renderResizers(),Or.updateWeights(),Or.updateHeight(),Or.bindEvent(),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(yo.prototype),"destroy",this).call(this),this.resizeSensor.destroy(),this.$container.rmAttr("tabindex")}},{key:"remove",value:function(Zr){var Mr=this.nodes,Or=Mr.indexOf(Zr);Or>-1&&(Zr.detach(),Mr.splice(Or,1),Zr===this.selectedNode&&this.selectNode(Mr[Or]||Mr[Or-1]||null),this.updateHeight())}},{key:"append",value:function(Zr,Mr){var Or=new Ko(this,Zr,Mr);return this.nodes.push(Or),this.sortId?this.sortNodes(this.sortId,this.isAscending):this.filterNode(Or)&&(this.tableBody.insertBefore(Or.container,this.fillerRow),this.updateHeight()),Or}},{key:"clear",value:function(){Jn()(this.nodes,function(Zr){return Zr.detach()}),this.nodes=[],this.selectNode(null),this.updateHeight()}},{key:"updateHeight",value:function(){var Zr=this.$fillerRow,Mr=this.c,Or=this.$container,yr=this.options,so=yr.maxHeight,$o=yr.minHeight;this.$dataContainer.css({height:"auto"});var xo=this.$headerRow.offset().height+er(Or.css("border-top-width"))+er(Or.css("border-bottom-width"));($o-=xo)<0&&($o=0),so-=xo;var ho=this.$dataContainer.find(Mr(".node")),po=ho.length,ro=0;po>0&&(ro=ho.offset().height*po),ro>$o?Zr.hide():Zr.show(),ro<$o?ro=$o:ro>=so&&(ro=so),this.$dataContainer.css({height:ro})}},{key:"selectNode",value:function(Zr){var Mr;(Tr()(Zr)||Zr!=null&&Zr.selectable)&&(this.selectedNode&&(this.selectedNode.deselect(),this.selectedNode=null),Tr()(Zr)?this.emit("deselect"):(this.selectedNode=Zr,(Mr=this.selectedNode)===null||Mr===void 0||Mr.select(),this.emit("select",Zr)))}},{key:"onResizeColStart",value:function(Zr){var Mr=this.c,Or=this.resizeIdx,yr=this.$resizers;Zr.stopPropagation(),Zr.preventDefault(),Zr=Zr.origEvent,this.resizeStartX=Xn("x",Zr),this.resizeStartLeft=er(yr.eq(Or).css("left")),bn()(document.body).addClass(Mr("resizing")),Do.on(Wn("move"),this.onResizeColMove),Do.on(Wn("end"),this.onResizeColEnd)}},{key:"bindEvent",value:function(){var Zr=this,Mr=this.c,Or=this.$headerRow,yr=this.$tableBody,so=this.$resizers;this.resizeSensor.addListener(this.onResize);var $o=this;yr.on("click",Mr(".node"),function(){$o.selectNode(this.dataGridNode)}),Or.on("click",Mr(".sortable"),function(xo){xo.stopPropagation();var ho=bn()(this),po=ho.data("id"),ro=ho.data("order")!=="descending";ho.data("order",ro?"descending":"ascending"),$o.sortNodes(po,ro),Or.find("th").each(function(){var qr=bn()(this);qr.data("id")!==po&&qr.rmAttr("data-order")})}),so.on(Wn("start"),function(xo){var ho=bn()(this);$o.resizeIdx=Rn()(ho.data("idx")),$o.onResizeColStart(xo)}),this.on("optionChange",function(xo){switch(xo){case"minHeight":case"maxHeight":Zr.updateHeight();break;case"filter":Zr.renderData()}})}},{key:"sortNodes",value:function(Zr,Mr){var Or=this.colMap[Zr].comparator||Yo;this.nodes.sort(function(yr,so){var $o=yr.data[Zr],xo=so.data[Zr];return vr()($o)&&($o=$o.innerText),vr()(xo)&&(xo=xo.innerText),Mr?Or($o,xo):Or(xo,$o)}),this.renderData(),this.sortId=Zr,this.isAscending=Mr}},{key:"updateWeights",value:function(){var Zr=this.container,Mr=this.$headerRow,Or=this.options.columns,yr=Zr.offsetWidth;if(!this.colWidthsInitialized&&yr){for(var so=0,$o=Or.length;so<$o;so++){var xo=Or[so];if(!xo.weight){var ho=Mr.find("th").get(so).offsetWidth;xo.weight=100*ho/yr}}this.colWidthsInitialized=!0}this.applyColWeights()}},{key:"applyColWeights",value:function(){var Zr=this.container,Mr=this.$colgroup,Or=this.options.columns,yr=Zr.offsetWidth;if(!(yr<=0)){for(var so=0,$o=Or.length,xo=0;xo<$o;xo++)so+=Or[xo].weight;var ho="",po=0,ro=0;this.colWidths=[];for(var qr=0;qr<$o;qr++){var Qr=(po+=Or[qr].weight)*yr/so|0,Ir=Math.max(Qr-ro,14);ro=Qr,ho+='<col style="width:'.concat(Ir,'px"></col>'),this.colWidths[qr]=Ir}Mr.html(ho),this.positionResizers()}}},{key:"positionResizers",value:function(){for(var Zr=this.colWidths,Mr=[],Or=Zr.length-1,yr=0;yr<Or;yr++)Mr[yr]=(Mr[yr-1]||0)+Zr[yr];for(var so=0;so<Or;so++)this.$resizers.eq(so).css("left",Mr[so]+"px")}},{key:"renderData",value:function(){var Zr=this,Mr=this.tableBody,Or=this.nodes,yr=this.fillerRow;Jn()(Or,function(so){return so.detach()}),Jn()(Or,function(so){Zr.filterNode(so)&&Mr.insertBefore(so.container,yr)}),this.selectedNode&&!this.filterNode(this.selectedNode)&&this.selectNode(null),this.updateHeight()}},{key:"filterNode",value:function(Zr){var Mr=this.options.filter;if(Mr){if(Sr()(Mr))return Mr(Zr);if(mr()(Mr))return Mr.test(Zr.text());if(zr()(Mr)&&(Mr=Tn()(Mr)))return In()(Kr()(Zr.text()),Kr()(Mr))}return!0}},{key:"renderHeader",value:function(){var Zr=this.c,Mr="",Or="";Jn()(this.options.columns,function(yr){var so=Cr()(yr.title);yr.sortable?Mr+=Zr('<th class="sortable" data-id="'.concat(yr.id,'">').concat(so,"</th>")):Mr+="<th>".concat(so,"</th>"),Or+="<td></td>"}),this.$headerRow.html(Mr),this.$fillerRow.html(Or)}},{key:"renderResizers",value:function(){for(var Zr="",Mr=this.options.columns.length-1,Or=0;Or<Mr;Or++)Zr+=this.c('<div class="resizer" data-idx="'.concat(Or,'"></div>'));this.$container.append(Zr),this.$resizers=this.find(".resizer")}},{key:"initTpl",value:function(){this.$container.html(this.c(wn()(lr||(lr=(0,Fe.Z)([`
        <div class="header-container">
          <table class="header">
            <colgroup></colgroup>
            <tbody>
              <tr></tr>
            </tbody>
          </table>
        </div>
        <div class="data-container">
          <table class="data">
            <colgroup></colgroup>
            <tbody>
              <tr class="filler-row"></tr>
            </tbody>
          </table>
        </div>
      `])))))}}]),yo}(ir),Ko=function(){function To(So,yo){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{selectable:!1};(0,Ue.Z)(this,To),this.container=dr()("tr"),this.selectable=!1,this.container.dataGridNode=this,this.$container=bn()(this.container),this.$container.addClass(So.c("node")),this.dataGrid=So,this.data=yo,Zr.selectable&&(this.selectable=Zr.selectable),this.render()}return(0,qe.Z)(To,[{key:"text",value:function(){return this.$container.text()}},{key:"detach",value:function(){this.$container.remove()}},{key:"select",value:function(){this.$container.addClass(this.dataGrid.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.dataGrid.c("selected"))}},{key:"render",value:function(){var So=this.data,yo=this.$container,Zr=this.container,Mr=this.dataGrid.getOption("columns");yo.html(""),Jn()(Mr,function(Or){var yr=dr()("td"),so=So[Or.id];Rr()(so)||(vr()(so)?yr.appendChild(so):yr.innerText=_r()(so)),Zr.appendChild(yr)})}}]),To}();function Yo(To,So){if(To=_r()(To),So=_r()(So),Zn()(To,"_")&&!Zn()(So,"_"))return 1;if(Zn()(So,"_")&&!Zn()(To,"_"))return-1;for(var yo,Zr,Mr,Or,yr=/^\d+|^\D+/;;){if(!To)return So?-1:0;if(!So)return 1;if(yo=To.match(yr)[0],Zr=So.match(yr)[0],Mr=!isNaN(yo),Or=!isNaN(Zr),Mr&&!Or)return-1;if(Or&&!Mr)return 1;if(Mr&&Or){var so=yo-Zr;if(so)return so;if(yo.length!==Zr.length)return+yo||+Zr?Zr.length-yo.length:yo.length-Zr.length}else if(yo!==Zr)return yo<Zr?-1:1;To=To.substring(yo.length),So=So.substring(Zr.length)}}(function(To,So){try{To.exports=So,To.exports.default=So}catch{}})(xe,Ro)},8209:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Hr}});var Fe=Ie(168),Ue=Ie(4942),qe=Ie(5671),At=Ie(3144),Dt=Ie(7326),Lt=Ie(9340),jt=Ie(2963),hn=Ie(1120),vn=Ie(1443),bn=Ie.n(vn),_n=Ie(1512),wn=Ie.n(_n),kn=Ie(2461),Cn=Ie.n(kn),Sn=Ie(4331),xn=Ie.n(Sn),En=Ie(5610),Tn=Ie.n(En),An=Ie(7483),$n=Ie.n(An),Pn=(Ie(3990),Ie(6341)),Nn=Ie.n(Pn),Mn=(Ie(3875),Ie(6954)),In=Ie.n(Mn);Ie(9585);function On($r){var Br="luna-".concat($r,"-");function Tr(cr){return Cn()(xn()(cr).split(/\s+/),function(Sr){return Nn()(Sr,Br)?Sr:Sr.replace(/[\w-]+/,function(Dr){return"".concat(Br).concat(Dr)})}).join(" ")}return function(cr){if(/<[^>]*>/g.test(cr))try{var Sr=$n().parse(cr);return Rn(Sr,function(Dr){Dr.attrs&&Dr.attrs.class&&(Dr.attrs.class=Tr(Dr.attrs.class))}),$n().stringify(Sr)}catch{return Tr(cr)}return Tr(cr)}}function Rn($r,Br){for(var Tr=0,cr=$r.length;Tr<cr;Tr++){var Sr=$r[Tr];Br(Sr),Sr.content&&Rn(Sr.content,Br)}}var Bn="ontouchstart"in Tn();function Vn(){var $r=In()();return $r==="os x"?"mac":$r}var Ln=Ie(3783),Dn=Ie.n(Ln),Hn=Ie(6329),Fn=Ie.n(Hn),zn=Ie(4193),jn=Ie.n(zn),Gn=Ie(5852),Wn=Ie.n(Gn);function Xn($r){var Br=function(){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}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}var er,rr=function($r){(0,Lt.Z)(Tr,$r);var Br=Xn(Tr);function Tr(cr,Sr){var Dr,mr=Sr.compName,Lr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,zr=Lr===void 0?"light":Lr;return(0,qe.Z)(this,Tr),(Dr=Br.call(this)).subComponents=[],Dr.compName=mr,Dr.c=On(mr),Dr.options={},Dr.container=cr,Dr.$container=wn()(cr),Dr.$container.addClass(["luna-".concat(mr),Dr.c("platform-".concat(Vn()))]),Dr.on("optionChange",function(Vr,Kr,Yr){var Ur=Dr.c;Vr==="theme"&&(Dr.$container.rmClass(Ur("theme-".concat(Yr))).addClass(Ur("theme-".concat(Kr))),Dn()(Dr.subComponents,function(uo){return uo.setOption("theme",Kr)}))}),Dr.setOption("theme",zr),Dr}return(0,At.Z)(Tr,[{key:"destroy",value:function(){this.destroySubComponents();var cr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(cr,Sr){var Dr=this,mr=this.options,Lr={};typeof cr=="string"?Lr[cr]=Sr:Lr=cr,Dn()(Lr,function(zr,Vr){var Kr=mr[Vr];mr[Vr]=zr,Dr.emit("optionChange",Vr,zr,Kr)})}},{key:"getOption",value:function(cr){return this.options[cr]}},{key:"addSubComponent",value:function(cr){cr.setOption("theme",this.options.theme),this.subComponents.push(cr)}},{key:"removeSubComponent",value:function(cr){Wn()(this.subComponents,function(Sr){return Sr===cr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(cr){return cr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(cr){var Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(cr,Sr),Fn()(this.options,cr)}},{key:"find",value:function(cr){return this.$container.find(this.c(cr))}}]),Tr}(bn()),Jn=Ie(8613),qn=Ie.n(Jn),Yn=Ie(5972),ar=Ie.n(Yn),tr=Ie(1907),or=Ie.n(tr),sr=Ie(1352),Kn=Ie.n(sr),Zn=Ie(2289),nr=Ie.n(Zn),lr=Ie(3651),ir=Ie.n(lr),kr=Ie(7756),Cr=Ie.n(kr),Er=Ie(8901),dr=Ie.n(Er),br=Ie(1672),_r=Ie.n(br);function Pr($r,Br){var Tr=Object.keys($r);if(Object.getOwnPropertySymbols){var cr=Object.getOwnPropertySymbols($r);Br&&(cr=cr.filter(function(Sr){return Object.getOwnPropertyDescriptor($r,Sr).enumerable})),Tr.push.apply(Tr,cr)}return Tr}function vr($r){for(var Br=1;Br<arguments.length;Br++){var Tr=arguments[Br]!=null?arguments[Br]:{};Br%2?Pr(Object(Tr),!0).forEach(function(cr){(0,Ue.Z)($r,cr,Tr[cr])}):Object.getOwnPropertyDescriptors?Object.defineProperties($r,Object.getOwnPropertyDescriptors(Tr)):Pr(Object(Tr)).forEach(function(cr){Object.defineProperty($r,cr,Object.getOwnPropertyDescriptor(Tr,cr))})}return $r}function xr($r){var Br=function(){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}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}xe=Ie.hmd(xe);var Rr={comment:"",string:"",number:"",keyword:"",operator:""},Hr=function($r){(0,Lt.Z)(Tr,$r);var Br=xr(Tr);function Tr(cr){var Sr,Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,qe.Z)(this,Tr),(Sr=Br.call(this,cr,{compName:"dom-viewer"},Dr)).isExpanded=!1,Sr.childNodes=[],Sr.childNodeDomViewers=[],Sr.toggle=function(){Sr.isExpanded?Sr.collapse():Sr.expand()},Sr.initOptions(Dr,{node:document.documentElement,parent:null,isEndTag:!1,rootContainer:cr,rootDomViewer:(0,Dt.Z)(Sr),ignore:function(){return!1}}),Sr.initTpl(),Sr.bindEvent(),Sr.options.isEndTag||Sr.initObserver(),Sr}return(0,At.Z)(Tr,[{key:"select",value:function(cr){var Sr=this.c,Dr=this.options;if(!cr||cr&&Dr.node===cr)return this.$tag.hasClass(Sr("selected"))?void 0:(wn()(this.options.rootContainer).find(Sr(".selected")).rmClass(Sr("selected")).rmAttr("tabindex"),this.$tag.attr("tabindex","0").get(0).focus(),this.$tag.addClass(Sr("selected")),void Dr.rootDomViewer.emit("select",Dr.node));if(cr.nodeType===Node.ELEMENT_NODE)for(var mr=cr,Lr=cr.parentElement;Lr;){if(Lr===Dr.node){this.expand(),this.childNodeDomViewers[this.childNodes.indexOf(mr)].select(cr);break}mr=Lr,Lr=Lr.parentElement}}},{key:"attach",value:function(){this.container.appendChild(this.$tag.get(0)),this.$children&&this.container.appendChild(this.$children.get(0))}},{key:"isAttached",value:function(){return!!this.$tag.get(0).parentNode}},{key:"detach",value:function(){this.$tag.remove(),this.$children&&this.$children.remove()}},{key:"expand",value:function(){this.isExpandable()&&!this.isExpanded&&(this.isExpanded=!0,this.renderExpandTag(),this.renderChildNodes())}},{key:"collapse",value:function(){this.isExpandable()&&this.isExpanded&&(this.isExpanded=!1,this.renderCollapseTag())}},{key:"destroy",value:function(){var cr=this.c;this.$tag.hasClass(cr("selected"))&&this.options.rootDomViewer.emit("deselect"),this.detach(),this.observer&&this.observer.disconnect(),this.destroySubComponents(),this.options.rootDomViewer===this&&this.$container.rmClass("luna-dom-viewer").rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.emit("destroy"),this.removeAllListeners()}},{key:"renderExpandTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;cr.html(this.renderHtmlTag(vr(vr({},Jr(Dr)),{},{hasTail:!1,hasToggleButton:!0}))),cr.addClass(Sr("expanded")),this.$children.rmClass(Sr("hidden"))}},{key:"renderCollapseTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;this.$children.addClass(Sr("hidden")),this.$tag.html(this.renderHtmlTag(vr(vr({},Jr(Dr)),{},{hasTail:!0,hasToggleButton:!0}))),cr.rmClass(Sr("expanded"))}},{key:"initObserver",value:function(){var cr=this;this.observer=new(nr())(function(Sr){Dn()(Sr,function(Dr){cr.handleMutation(Dr)})}),this.observer.observe(this.options.node,{attributes:!0,childList:!0,characterData:!0})}},{key:"handleMutation",value:function(cr){var Sr=this.$tag,Dr=this.c,mr=this.options,Lr=mr.node,zr=mr.ignore;if(Nn()(["attributes","childList"],cr.type)){if(cr.type==="childList"){if(_r()(cr.addedNodes,zr)&&_r()(cr.removedNodes,zr))return;this.renderChildNodes()}this.isExpandable()?this.isExpanded?this.renderExpandTag():this.renderCollapseTag():(this.$children.addClass(Dr("hidden")),Sr.html(this.renderHtmlTag(vr(vr({},Jr(Lr)),{},{hasTail:!1}))))}else cr.type==="characterData"&&(Lr.nodeType===Node.TEXT_NODE?Sr.html(this.renderTextNode(Lr)):Lr.nodeType===Node.COMMENT_NODE&&Sr.html(this.renderHtmlComment(Lr.nodeValue)))}},{key:"bindEvent",value:function(){var cr=this,Sr=this.c,Dr=this.$tag;this.options.node.nodeType===Node.ELEMENT_NODE&&Dr.on("click",Sr(".toggle"),function(mr){mr.stopPropagation(),cr.toggle()}),Bn?Dr.on("click",function(){return cr.select()}):Dr.on("mousedown",function(){return cr.select()})}},{key:"isExpandable",value:function(){return this.options.node.nodeType===Node.ELEMENT_NODE&&this.getChildNodes().length>0}},{key:"getChildNodes",value:function(){var cr=this.options,Sr=cr.rootContainer,Dr=cr.ignore,mr=this.options.node,Lr=Kn()(mr.childNodes);return Lr=ar()(Lr,function(zr){if(zr.nodeType===Node.TEXT_NODE||zr.nodeType===Node.COMMENT_NODE){var Vr=zr.nodeValue;if(xn()(Vr)==="")return!1}return zr!==Sr&&!Dr(zr)})}},{key:"initTpl",value:function(){var cr=this.container,Sr=this.c,Dr=this.options,mr=Dr.node,Lr=Dr.isEndTag,zr=wn()(qn()("li"));if(zr.addClass(Sr("tree-item")),this.$tag=zr,Lr)zr.html(Sr('<span class="html-tag" style="margin-left: -15px;">&lt;<span class="tag-name">/'.concat(mr.tagName.toLocaleLowerCase(),'</span>&gt;</span><span class="selection"></span>')));else if(mr.nodeType===Node.ELEMENT_NODE){var Vr=this.isExpandable(),Kr=vr(vr({},Jr(mr)),{},{hasTail:Vr,hasToggleButton:Vr});zr.html(this.renderHtmlTag(Kr))}else if(mr.nodeType===Node.TEXT_NODE)zr.html(this.renderTextNode(mr));else{if(mr.nodeType!==Node.COMMENT_NODE)return;var Yr=mr.nodeValue;if(Yr.trim()==="")return;zr.html(this.renderHtmlComment(Yr))}if(cr.appendChild(zr.get(0)),mr.nodeType===mr.ELEMENT_NODE){var Ur=wn()(qn()("ul"));Ur.addClass([Sr("children"),Sr("hidden")]),cr.appendChild(Ur.get(0)),this.$children=Ur}}},{key:"renderChildNodes",value:function(){var cr=this,Sr=this.options.node,Dr=this.options,mr=Dr.rootContainer,Lr=Dr.ignore,zr=Dr.rootDomViewer,Vr=this.$children.get(0),Kr=this.childNodes,Yr=this.childNodeDomViewers;Dn()(Yr,function(go){go.detach(),cr.removeSubComponent(go)}),this.endTagDomViewer&&this.endTagDomViewer.detach();var Ur=this.getChildNodes();this.childNodes=Ur;var uo=[];this.childNodeDomViewers=uo,Dn()(Ur,function(go,_o){var Ao,ko=Kr.indexOf(go);(Ao=ko>-1?Yr[ko]:new Tr(Vr,{node:go,parent:cr,rootContainer:mr,rootDomViewer:zr,ignore:Lr})).attach(),uo[_o]=Ao,cr.addSubComponent(Ao)}),Dn()(Yr,function(go){go.isAttached()||go.destroy()}),Sr&&(this.endTagDomViewer?this.endTagDomViewer.attach():(this.endTagDomViewer=new Tr(Vr,{node:Sr,parent:this,isEndTag:!0,rootContainer:mr,rootDomViewer:zr,ignore:Lr}),this.addSubComponent(this.endTagDomViewer)))}},{key:"renderHtmlTag",value:function(cr){var Sr=Cn()(cr.attributes,function(Lr){var zr=Lr.name,Vr=Lr.value,Kr=Lr.isLink;return`<span class="attribute">
          <span class="attribute-name">`.concat(dr()(zr),"</span>").concat(Vr?'="<span class="attribute-value'.concat(Kr?" attribute-underline":"",'">').concat(dr()(Vr),'</span>"'):"","</span>")}).join(""),Dr="";cr.hasTail?Dr="".concat(cr.hasTail?"…":"",'<span class="html-tag">&lt;<span class="tag-name">/').concat(cr.tagName,"</span>&gt;</span>"):this.isExpandable()||(Dr='<span class="html-tag">&lt;<span class="tag-name">/'.concat(cr.tagName,"</span>&gt;</span>"));var mr="";return cr.hasToggleButton&&(mr='<div class="toggle "><span class="icon icon-arrow-right"></span><span class="icon icon-arrow-down"></span></div>'),this.c(or()(er||(er=(0,Fe.Z)([`
      `,`
      <span class="html-tag">&lt;<span class="tag-name">`,"</span>","&gt;</span>",`
      <span class="selection"></span>`])),mr,cr.tagName,Sr,Dr))}},{key:"renderTextNode",value:function(cr){var Sr=this.c,Dr=cr.nodeValue,mr=cr.parentElement,Lr='<span class="text-node">',zr='</span><span class="selection"></span>';if(mr&&Dr.length<1e4){if(mr.tagName==="STYLE")return Sr("".concat(Lr).concat(ir()(Dr,"css",Rr)).concat(zr));if(mr.tagName==="SCRIPT")return Sr("".concat(Lr).concat(ir()(Dr,"js",Rr)).concat(zr))}return Sr('"'.concat(Lr).concat(dr()(Cr()(Dr,1e4,{separator:" ",ellipsis:"…"}))).concat(zr,'"'))}},{key:"renderHtmlComment",value:function(cr){return this.c('<span class="html-comment">&lt;!-- '.concat(dr()(cr),' --&gt;</span><span class="selection"></span>'))}}]),Tr}(rr);function Jr($r){var Br={tagName:"",attributes:[]};Br.tagName=$r.tagName.toLocaleLowerCase();var Tr=[];return Dn()($r.attributes,function(cr){var Sr=cr.name,Dr=cr.value;Tr.push({name:Sr,value:Dr,isLink:Gr($r,Sr)})}),Br.attributes=Tr,Br}function Gr($r,Br){var Tr=$r.tagName;return(Tr==="SCRIPT"||Tr==="IMAGE"||Tr==="VIDEO"||Tr==="AUDIO")&&Br==="src"||Tr==="LINK"&&Br==="href"}(function($r,Br){try{$r.exports=Br,$r.exports.default=Br}catch{}})(xe,Hr)},129:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Zn}});var Fe=Ie(907),Ue=Ie(181);function qe(Er){return function(dr){if(Array.isArray(dr))return(0,Fe.Z)(dr)}(Er)||function(dr){if(typeof Symbol<"u"&&dr[Symbol.iterator]!=null||dr["@@iterator"]!=null)return Array.from(dr)}(Er)||(0,Ue.Z)(Er)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(168),Dt=Ie(5671),Lt=Ie(3144),jt=Ie(7326),hn=Ie(1752),vn=Ie(9340),bn=Ie(2963),_n=Ie(1120),wn=Ie(1443),kn=Ie.n(wn),Cn=Ie(1512),Sn=Ie.n(Cn),xn=Ie(2461),En=Ie.n(xn),Tn=Ie(4331),An=Ie.n(Tn),$n=Ie(5610),Pn=Ie.n($n),Nn=Ie(7483),Mn=Ie.n(Nn),In=(Ie(3990),Ie(6341)),On=Ie.n(In),Rn=(Ie(3875),Ie(6954)),Bn=Ie.n(Rn);Ie(9585);function Vn(Er){var dr="luna-".concat(Er,"-");function br(_r){return En()(An()(_r).split(/\s+/),function(Pr){return On()(Pr,dr)?Pr:Pr.replace(/[\w-]+/,function(vr){return"".concat(dr).concat(vr)})}).join(" ")}return function(_r){if(/<[^>]*>/g.test(_r))try{var Pr=Mn().parse(_r);return Ln(Pr,function(vr){vr.attrs&&vr.attrs.class&&(vr.attrs.class=br(vr.attrs.class))}),Mn().stringify(Pr)}catch{return br(_r)}return br(_r)}}function Ln(Er,dr){for(var br=0,_r=Er.length;br<_r;br++){var Pr=Er[br];dr(Pr),Pr.content&&Ln(Pr.content,dr)}}Pn();var Dn=Ie(3783),Hn=Ie.n(Dn),Fn=Ie(6329),zn=Ie.n(Fn),jn=Ie(4193),Gn=Ie.n(jn),Wn=Ie(5852),Xn=Ie.n(Wn),er=Ie(6930),rr=Ie.n(er);function Jn(Er){var dr=function(){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}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}var qn,Yn=function(Er){(0,vn.Z)(br,Er);var dr=Jn(br);function br(_r,Pr){var vr,xr,Rr=Pr.compName,Hr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Jr=Hr===void 0?"light":Hr;return(0,Dt.Z)(this,br),(vr=dr.call(this)).subComponents=[],vr.compName=Rr,vr.c=Vn(Rr),vr.options={},vr.container=_r,vr.$container=Sn()(_r),vr.$container.addClass(["luna-".concat(Rr),vr.c("platform-".concat((xr=Bn()(),xr==="os x"?"mac":xr)))]),vr.on("optionChange",function(Gr,$r,Br){var Tr=vr.c;Gr==="theme"&&(vr.$container.rmClass(Tr("theme-".concat(Br))).addClass(Tr("theme-".concat($r))),Hn()(vr.subComponents,function(cr){return cr.setOption("theme",$r)}))}),vr.setOption("theme",Jr),vr}return(0,Lt.Z)(br,[{key:"destroy",value:function(){var _r=this;this.destroySubComponents();var Pr=this.$container,vr=Pr.attr("class");Hn()(vr.split(/\s+/),function(xr){rr()(xr,"luna-".concat(_r.compName))&&Pr.rmClass(xr)}),Pr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(_r,Pr){var vr=this,xr=this.options,Rr={};typeof _r=="string"?Rr[_r]=Pr:Rr=_r,Hn()(Rr,function(Hr,Jr){var Gr=xr[Jr];xr[Jr]=Hr,vr.emit("optionChange",Jr,Hr,Gr)})}},{key:"getOption",value:function(_r){return this.options[_r]}},{key:"addSubComponent",value:function(_r){_r.setOption("theme",this.options.theme),this.subComponents.push(_r)}},{key:"removeSubComponent",value:function(_r){Xn()(this.subComponents,function(Pr){return Pr===_r})}},{key:"destroySubComponents",value:function(){Hn()(this.subComponents,function(_r){return _r.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(_r){var Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Gn()(_r,Pr),zn()(this.options,_r)}},{key:"find",value:function(_r){return this.$container.find(this.c(_r))}}]),br}(kn()),ar=Ie(1907),tr=Ie.n(ar),or=Ie(8613),sr=Ie.n(or);function Kn(Er){var dr=function(){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}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}xe=Ie.hmd(xe);var Zn=function(Er){(0,vn.Z)(br,Er);var dr=Kn(br);function br(_r){var Pr,vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Dt.Z)(this,br),(Pr=dr.call(this,_r,{compName:"modal"},vr)).render=function(){var xr=(0,jt.Z)(Pr),Rr=xr.options,Hr=xr.c,Jr=xr.$body;Rr.title?(Jr.rmClass(Hr("no-title")),Pr.$title.text(Rr.title)):Jr.addClass(Hr("no-title")),Rr.footer?(Jr.rmClass(Hr("no-footer")),Pr.$footer.html("").append(Rr.footer)):Jr.addClass(Hr("no-footer")),Rr.showClose?Pr.$close.show():Pr.$close.hide(),Pr.$body.css("width",Rr.width+"px"),Pr.$content.html("").append(Rr.content)},Pr.hide(),Pr.initOptions(vr,{title:"",content:"",footer:"",showClose:!0,width:Cr()}),Pr.initTpl(),Pr.$title=Pr.find(".title"),Pr.$content=Pr.find(".content"),Pr.$body=Pr.find(".body"),Pr.$footer=Pr.find(".footer"),Pr.$close=Pr.find(".icon-close"),Pr.bindEvent(),Pr}return(0,Lt.Z)(br,[{key:"show",value:function(){this.render(),this.$container.rmClass(this.c("hidden"))}},{key:"hide",value:function(){this.$container.addClass(this.c("hidden"))}},{key:"destroy",value:function(){(0,hn.Z)((0,_n.Z)(br.prototype),"destroy",this).call(this),this.$container.rmClass(this.c("hidden"))}},{key:"bindEvent",value:function(){var _r=this;this.$body.on("click",this.c(".icon-close"),function(){return _r.hide()}),this.on("optionChange",this.render)}},{key:"initTpl",value:function(){this.$container.html(this.c(tr()(qn||(qn=(0,At.Z)([`
      <div class="body">
        <span class="icon icon-close"></span>
        <div class="title"></div>
        <div class="content"></div>
        <div class="footer"></div>
      </div>
      `])))))}}],[{key:"alert",value:function(_r){var Pr=ir(),vr=Pr.c;Pr.setOption({title:"",content:_r,width:Cr(),footer:kr({OK:{type:"primary",onclick:function(){Pr.hide()}}},vr)}),Pr.show()}},{key:"confirm",value:function(_r){return new Promise(function(Pr){var vr=ir(),xr=vr.c;vr.setOption({title:"",content:_r,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){vr.hide(),Pr(!1)}},OK:{type:"primary",onclick:function(){vr.hide(),Pr(!0)}}},xr)}),vr.show()})}},{key:"prompt",value:function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(vr){var xr=ir(),Rr=xr.c,Hr=sr()("input"+Rr(".input"),{value:Pr});function Jr(){xr.hide(),vr(Hr.value)}Sn()(Hr).on("keypress",function($r){($r=$r.origEvent).key==="Enter"&&Jr()}),xr.setOption({title:_r,content:Hr,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){xr.hide(),vr(null)}},OK:{type:"primary",onclick:Jr}},Rr)}),xr.show();var Gr=Hr.value.length;Hr.setSelectionRange(Gr,Gr),Hr.focus()})}},{key:"setContainer",value:function(_r){lr=_r}}]),br}(Yn),nr=null,lr=null;function ir(){return lr||(lr=sr()("div"),document.body.append(lr)),nr||(nr=new Zn(lr,{showClose:!1})),nr}function kr(Er,dr){var br=En()(Er,function(_r,Pr){return sr()(dr(".button")+dr("."+_r.type),{onclick:_r.onclick},Pr)});return sr().apply(void 0,[dr(".button-group"),{}].concat(qe(br)))}function Cr(){return window.innerWidth<500?window.innerWidth-32:500}(function(Er,dr){try{Er.exports=dr,Er.exports.default=dr}catch{}})(xe,Zn)},8299:function(xe,$e,Ie){Ie.d($e,{q:function(){return yr},Z:function(){return xo}});var Fe=Ie(1002),Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(1752),Lt=Ie(9340),jt=Ie(2963),hn=Ie(1120),vn=Ie(415),bn=Ie.n(vn),_n=Ie(3990),wn=Ie.n(_n),kn=Ie(4696),Cn=Ie.n(kn),Sn=Ie(3063),xn=Ie.n(Sn),En=Ie(5166),Tn=Ie.n(En),An=Ie(6472),$n=Ie.n(An),Pn=Ie(3023),Nn=Ie.n(Pn),Mn=Ie(2533),In=Ie.n(Mn),On=Ie(3783),Rn=Ie.n(On),Bn=Ie(300),Vn=Ie.n(Bn),Ln=Ie(4321),Dn=Ie.n(Ln),Hn=Ie(3085),Fn=Ie.n(Hn),zn=Ie(1512),jn=Ie.n(zn),Gn=Ie(801),Wn=Ie.n(Gn),Xn=Ie(7756),er=Ie.n(Xn),rr=Ie(6768),Jn=Ie.n(rr),qn=Ie(1116),Yn=Ie.n(qn),ar=Ie(5972),tr=Ie.n(ar),or=Ie(996),sr=Ie.n(or),Kn=Ie(3367),Zn=Ie.n(Kn),nr=Ie(1214),lr=Ie.n(nr),ir=Ie(6339),kr=Ie.n(ir),Cr=Ie(6329),Er=Ie.n(Cr),dr=function(){function ho(){(0,Ue.Z)(this,ho),this.id=0,this.visited=[]}return(0,qe.Z)(ho,[{key:"set",value:function(po,ro){var qr=this.visited,Qr=this.id,Ir={id:Qr,val:po};return Er()(Ir,ro),qr.push(Ir),this.id++,Qr}},{key:"get",value:function(po){for(var ro=this.visited,qr=0,Qr=ro.length;qr<Qr;qr++){var Ir=ro[qr];if(po===Ir.val)return Ir}return!1}}]),ho}(),br=Ie(4331),_r=Ie.n(br),Pr=Ie(8901),vr=Ie.n(Pr),xr=function(ho){return vr()(Zn()(ho)).replace(/\n/g,"↵").replace(/\f|\r|\t/g,"")};function Rr(ho){return ho.length>500&&(ho=ho.slice(0,500)+"..."),"ƒ "+_r()(function(po){var ro=po.match(Hr);return ro?ro[0]:po}(ho).replace("function",""))}var Hr=/function(.*?)\((.*?)\)/,Jr=Ie(6930),Gr=Ie.n(Jr),$r=Ie(5229),Br=Ie.n($r),Tr=Ie(3875),cr=Ie.n(Tr),Sr=Ie(9433),Dr=Ie.n(Sr),mr=Ie(1443),Lr=Ie.n(mr),zr=Ie(2461),Vr=Ie.n(zr),Kr=Ie(5610),Yr=Ie.n(Kr),Ur=Ie(7483),uo=Ie.n(Ur),go=Ie(6341),_o=Ie.n(go),Ao=Ie(6954),ko=Ie.n(Ao);Ie(9585);function Do(ho){var po="luna-".concat(ho,"-");function ro(qr){return Vr()(_r()(qr).split(/\s+/),function(Qr){return _o()(Qr,po)?Qr:Qr.replace(/[\w-]+/,function(Ir){return"".concat(po).concat(Ir)})}).join(" ")}return function(qr){if(/<[^>]*>/g.test(qr))try{var Qr=uo().parse(qr);return Ro(Qr,function(Ir){Ir.attrs&&Ir.attrs.class&&(Ir.attrs.class=ro(Ir.attrs.class))}),uo().stringify(Qr)}catch{return ro(qr)}return ro(qr)}}function Ro(ho,po){for(var ro=0,qr=ho.length;ro<qr;ro++){var Qr=ho[ro];po(Qr),Qr.content&&Ro(Qr.content,po)}}Yr();function Ko(){var ho=ko()();return ho==="os x"?"mac":ho}var Yo=Ie(4193),To=Ie.n(Yo),So=Ie(5852),yo=Ie.n(So);function Zr(ho){var po=function(){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}}();return function(){var ro,qr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(qr,arguments,Qr)}else ro=qr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var Mr=function(ho){(0,Lt.Z)(ro,ho);var po=Zr(ro);function ro(qr,Qr){var Ir,Xr=Qr.compName,to=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,oo=to===void 0?"light":to;return(0,Ue.Z)(this,ro),(Ir=po.call(this)).subComponents=[],Ir.compName=Xr,Ir.c=Do(Xr),Ir.options={},Ir.container=qr,Ir.$container=jn()(qr),Ir.$container.addClass(["luna-".concat(Xr),Ir.c("platform-".concat(Ko()))]),Ir.on("optionChange",function(co,wo,Co){var Po=Ir.c;co==="theme"&&(Ir.$container.rmClass(Po("theme-".concat(Co))).addClass(Po("theme-".concat(wo))),Rn()(Ir.subComponents,function(Vo){return Vo.setOption("theme",wo)}))}),Ir.setOption("theme",oo),Ir}return(0,qe.Z)(ro,[{key:"destroy",value:function(){this.destroySubComponents();var qr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(qr("platform-".concat(Ko()))).rmClass(qr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(qr,Qr){var Ir=this,Xr=this.options,to={};typeof qr=="string"?to[qr]=Qr:to=qr,Rn()(to,function(oo,co){var wo=Xr[co];Xr[co]=oo,Ir.emit("optionChange",co,oo,wo)})}},{key:"getOption",value:function(qr){return this.options[qr]}},{key:"addSubComponent",value:function(qr){qr.setOption("theme",this.options.theme),this.subComponents.push(qr)}},{key:"removeSubComponent",value:function(qr){yo()(this.subComponents,function(Qr){return Qr===qr})}},{key:"destroySubComponents",value:function(){Rn()(this.subComponents,function(qr){return qr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(qr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};To()(qr,Qr),Er()(this.options,qr)}},{key:"find",value:function(qr){return this.$container.find(this.c(qr))}}]),ro}(Lr());function Or(ho){var po=function(){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}}();return function(){var ro,qr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(qr,arguments,Qr)}else ro=qr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var yr=function(ho){(0,Lt.Z)(ro,ho);var po=Or(ro);function ro(qr){var Qr;return(0,Ue.Z)(this,ro),(Qr=po.call(this,qr,{compName:"object-viewer"})).onItemClick=function(Ir){var Xr=(0,At.Z)(Qr),to=Xr.map,oo=Xr.c,co=jn()(Ir.curTarget),wo=co.data("object-id"),Co=co.find("span").eq(0);if(!co.data("first-level")&&(wo&&(co.find("ul").html(Qr.objToHtml(to[wo],!1)),co.rmAttr("data-object-id")),Ir.stopImmediatePropagation(),Co.hasClass(oo("expanded")))){var Po=co.find("ul").eq(0);Co.hasClass(oo("collapsed"))?(Co.rmClass(oo("collapsed")),Po.show()):(Co.addClass(oo("collapsed")),Po.hide()),Qr.emit("change")}},Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(qr){Jn()(qr)&&(qr=JSON.parse(qr)),this.data={id:Br()("json"),enumerable:{0:qr}},this.map={},so(this.map,this.data),this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(qr,Qr){var Ir=this,Xr="";return Rn()(["enumerable","unenumerable","symbol"],function(to){if(qr[to]){var oo=In()(qr[to]);kr()(oo);for(var co=0,wo=oo.length;co<wo;co++){var Co=oo[co];Xr+=Ir.createEl(Co,qr[to][Co],to,Qr)}}}),qr.proto&&(Xr===""?Xr=this.objToHtml(qr.proto):Xr+=this.createEl("[[Prototype]]",qr.proto,"proto")),Xr}},{key:"createEl",value:function(qr,Qr,Ir){var Xr=arguments.length>3&&arguments[3]!==void 0&&arguments[3],to=this.c,oo=(0,Fe.Z)(Qr);if(Qr===null)return"<li>".concat(Fo(qr),'<span class="').concat(to("null"),'">null</span></li>');if(wn()(Qr)||Cn()(Qr))return"<li>".concat(Fo(qr),'<span class="').concat(to(oo),'">').concat(xr(Qr),"</span></li>");if(Qr.type==="RegExp"&&(oo="regexp"),Qr.type==="Number"&&(oo="number"),Qr.type==="Number"||Qr.type==="RegExp")return"<li>".concat(Fo(qr),'<span class="').concat(to(oo),'">').concat(xr(Qr.value),"</span></li>");if(Qr.type==="Undefined"||Qr.type==="Symbol")return"<li>".concat(Fo(qr),'<span class="').concat(to("special"),'">').concat(xn()(Qr.type),"</span></li>");if(Qr==="(...)")return"<li>".concat(Fo(qr),'<span class="').concat(to("special"),'">').concat(Qr,"</span></li>");if(Tn()(Qr)){var co=Qr.id,wo=Qr.reference,Co=function(jo){var qo=jo.type,oa=jo.value;if(qo)return qo==="Function"?Rr(oa):qo==="Array"&&jo.unenumerable?"Array(".concat(jo.unenumerable.length,")"):jo.type}(Qr)||Nn()(oo),Po=Xr?"":'<span class="'.concat(to("expanded collapsed"),'"><span class="').concat(to("icon icon-caret-right"),'"></span><span class="').concat(to("icon icon-caret-down"),'"></span></span>'),Vo="<li ".concat(Xr?'data-first-level="true"':""," ").concat('data-object-id="'+(wo||co)+'"',">").concat(Po).concat(Fo(qr),'<span class="').concat(to("open"),'">').concat(Xr?"":Co,'</span><ul class="').concat(to(oo),'" ').concat(Xr?"":'style="display:none"',">");return Xr&&(Vo+=this.objToHtml(this.map[co])),Vo+'</ul><span class="'.concat(to("close"),'"></span></li>')}function Fo(jo){if(Xr||Tn()(Qr)&&Qr.jsonSplitArr)return"";var qo=to("key");return Ir==="unenumerable"||Ir==="symbol"?qo=to("key-lighter"):Ir==="proto"&&(qo=to("key-special")),'<span class="'.concat(qo,'">').concat(xr(jo),"</span>: ")}return Jn()(Qr)&&Qr.length>1e4&&(Qr=er()(Qr,50,{separator:" ",ellipsis:"…"})),"<li>".concat(Fo(qr),'<span class="').concat(to((0,Fe.Z)(Qr)),'">"').concat(xr(Qr),'"</span></li>')}},{key:"render",value:function(){var qr=this.map[this.data.id];this.$container.html(this.objToHtml(qr,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);function so(ho,po){var ro=po.id;if(ro||ro===0){if(po.type&&Gr()(po.type,"Array")&&po.enumerable){var qr=function(oo,co,wo){var Co=[],Po={};return Rn()(oo.enumerable,function(Vo,Fo){var jo=cr()(Fo);Dr()(jo)?Po[Fo]=Vo:Co[jo]=Vo}),Co.enumerable=Po,Co.type=wo,Co.id=co,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(po,ro,po.type);qr.length>100&&(po=function(oo){var co=0,wo={};Rn()(sr()(oo,100),function(Po){var Vo={},Fo=co;Vo.type="["+Fo,Vo.enumerable={},Rn()(Po,function(qo){Vo.enumerable[co]=qo,co+=1});var jo=co-1;Vo.type+=(jo-Fo>0?" … "+jo:"")+"]",Vo.id=Br()("json"),Vo.jsonSplitArr=!0,wo[co]=Vo});var Co={};return Co.enumerable=wo,Co.id=oo.id,Co.type=oo.type,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(qr))}ho[ro]=po;var Qr=[];Rn()(["enumerable","unenumerable","symbol"],function(oo){if(po[oo])for(var co in po[oo])Qr.push(po[oo][co])}),po.proto&&Qr.push(po.proto);for(var Ir=0,Xr=Qr.length;Ir<Xr;Ir++){var to=Qr[Ir];Tn()(to)&&so(ho,to)}}}function $o(ho){var po=function(){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}}();return function(){var ro,qr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(qr,arguments,Qr)}else ro=qr.apply(this,arguments);return(0,jt.Z)(this,ro)}}xe=Ie.hmd(xe);var xo=function(ho){(0,Lt.Z)(ro,ho);var po=$o(ro);function ro(qr){var Qr,Ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,ro),(Qr=po.call(this,qr,{compName:"object-viewer"})).onItemClick=function(Xr){var to=(0,At.Z)(Qr),oo=to.map,co=to.c,wo=jn()(Xr.curTarget),Co=wo.data("object-id"),Po=wo.find("span").eq(0);if(!wo.data("first-level")&&(Co&&(wo.find("ul").html(Qr.objToHtml(oo[Co],!1)),wo.rmAttr("data-object-id")),Xr.stopImmediatePropagation(),Po.hasClass(co("expanded")))){var Vo=wo.find("ul").eq(0);Po.hasClass(co("collapsed"))?(Po.rmClass(co("collapsed")),Vo.show()):(Po.addClass(co("collapsed")),Vo.hide()),Qr.emit("change")}},Qr.initOptions(Ir,{unenumerable:!1,accessGetter:!1}),Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(qr){this.data=[qr],this.visitor=new dr,this.map={},this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(qr,Qr){var Ir=this,Xr=this.visitor,to=qr,oo=!1,co=Xr.get(qr);co&&co.self&&(to=co.self);var wo="",Co=["enumerable"],Po=In()(qr),Vo=[],Fo=[],jo=[],qo={};if(this.options.unenumerable&&!Qr&&(Co.push("unenumerable"),Co.push("symbol"),Vo=Wn()(Yn()(qr,{prototype:!1,unenumerable:!0}),Po),Fo=tr()(Yn()(qr,{prototype:!1,symbol:!0}),function(Xo){return(0,Fe.Z)(Xo)==="symbol"})),$n()(qr)&&qr.length>100){Co.unshift("virtual"),oo=!0;var oa=0,Qo={};Rn()(sr()(qr,100),function(Xo){var pa=Object.create(null),ea=oa,Sa="["+ea;Rn()(Xo,function(fa){pa[oa]=fa,Qo[oa]=!0,oa++});var na=oa-1;qo[Sa+=(na-ea>0?" … "+na:"")+"]"]=pa}),jo=In()(qo),Po=tr()(Po,function(Xo){return!Qo[Xo]})}Rn()(Co,function(Xo){var pa=[];pa=Xo==="symbol"?Fo:Xo==="unenumerable"?Vo:Xo==="virtual"?jo:Po,oo||kr()(pa);for(var ea=0,Sa=pa.length;ea<Sa;ea++){var na=Zn()(pa[ea]),fa="",ma=Object.getOwnPropertyDescriptor(qr,na),$a=ma&&ma.get,Va=ma&&ma.set;if($a&&!Ir.options.accessGetter)fa="(...)";else try{fa=Xo==="virtual"?qo[na]:to[na],Dn()(fa)&&fa.catch(lr())}catch(ha){fa=ha instanceof Error?ha.message:Zn()(ha)}wo+=Ir.createEl(na,qr,fa,Xo,Qr),$a&&(wo+=Ir.createEl("get ".concat(na),qr,ma.get,Xo,Qr)),Va&&(wo+=Ir.createEl("set ".concat(na),qr,ma.set,Xo,Qr))}});var aa=bn()(qr);if(!Qr&&aa)if(wo===""){var ia=Xr.set(aa,{self:qr});this.map[ia]=aa,wo=this.objToHtml(aa)}else wo+=this.createEl("[[Prototype]]",to||qr,aa,"proto");return wo}},{key:"createEl",value:function(qr,Qr,Ir,Xr){var to=arguments.length>4&&arguments[4]!==void 0&&arguments[4],oo=this.visitor,co=this.c,wo=(0,Fe.Z)(Ir),Co=Fn()(Ir,!1);if(Xr==="virtual"&&(Co=qr),Ir===null)return"<li>".concat(Qo(qr),'<span class="').concat(co("null"),'">null</span></li>');if(wn()(Ir)||Cn()(Ir))return"<li>".concat(Qo(qr),'<span class="').concat(co(wo),'">').concat(xr(Ir),"</span></li>");if(Co==="RegExp"&&(wo="regexp"),Co==="Number"&&(wo="number"),Co==="Undefined"||Co==="Symbol")return"<li>".concat(Qo(qr),'<span class="').concat(co("special"),'">').concat(xn()(Co),"</span></li>");if(Ir==="(...)")return"<li>".concat(Qo(qr),'<span class="').concat(co("special"),'">').concat(Ir,"</span></li>");if(Tn()(Ir)){var Po,Vo=oo.get(Ir);if(Vo)Po=Vo.id;else{var Fo={};Xr==="proto"&&(Fo.self=Qr),Po=oo.set(Ir,Fo),this.map[Po]=Ir}var jo="Object";jo=wo==="regexp"?'<span class="'.concat(co(wo),'">').concat(xr(Ir)):xr(function(aa,ia){if(ia)return ia==="Function"?Rr(Vn()(aa)):ia==="Array"?"Array(".concat(aa.length,")"):ia}(Ir,Co)||Nn()(wo));var qo=to?"":'<span class="'.concat(co("expanded collapsed"),'"><span class="').concat(co("icon icon-caret-right"),'"></span><span class="').concat(co("icon icon-caret-down"),'"></span></span>'),oa="<li ".concat(to?'data-first-level="true"':""," ").concat('data-object-id="'+Po+'"',">").concat(qo).concat(Qo(qr),'<span class="').concat(co("open"),'">').concat(to?"":jo,'</span><ul class="').concat(co(wo),'" ').concat(to?"":'style="display:none"',">");return to&&(oa+=this.objToHtml(Ir)),oa+'</ul><span class="'.concat(co("close"),'"></span></li>')}function Qo(aa){if(to||Tn()(Ir)&&Xr==="virtual")return"";var ia=co("key");return Xr==="unenumerable"||Xr==="symbol"?ia=co("key-lighter"):Xr==="proto"&&(ia=co("key-special")),'<span class="'.concat(ia,'">').concat(xr(aa),"</span>: ")}return Jn()(Ir)&&Ir.length>1e4&&(Ir=er()(Ir,50,{separator:" ",ellipsis:"…"})),"<li>".concat(Qo(qr),'<span class="').concat(co((0,Fe.Z)(Ir)),'">"').concat(xr(Ir),'"</span></li>')}},{key:"render",value:function(){this.$container.html(this.objToHtml(this.data,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);xo.Static=yr,function(ho,po){try{ho.exports=po,ho.exports.default=po}catch{}}(xe,xo)},8692:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Rr}});var Fe=Ie(7326),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1512),hn=Ie.n(jt),vn=Ie(8613),bn=Ie.n(vn),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(5229),Cn=Ie.n(kn),Sn=Ie(5166),xn=Ie.n(Sn),En=Ie(4193),Tn=Ie.n(En),An=Ie(2461),$n=Ie.n(An),Pn=Ie(3875),Nn=Ie.n(Pn),Mn=Ie(3367),In=Ie.n(Mn),On=Ie(4777),Rn=Ie.n(On),Bn=Ie(9702),Vn=Ie.n(Bn),Ln=Ie(1754),Dn=Ie.n(Ln),Hn=Ie(6768),Fn=Ie.n(Hn),zn=Ie(4331),jn=Ie.n(zn),Gn=Ie(6341),Wn=Ie.n(Gn),Xn=Ie(3063),er=Ie.n(Xn),rr=Ie(6156),Jn=Ie.n(rr),qn=Ie(3783),Yn=Ie.n(qn),ar=Ie(1443),tr=Ie.n(ar),or=Ie(5610),sr=Ie.n(or),Kn=Ie(7483),Zn=Ie.n(Kn),nr=(Ie(3990),Ie(6954)),lr=Ie.n(nr);Ie(9585);function ir(mr){var Lr="luna-".concat(mr,"-");function zr(Vr){return $n()(jn()(Vr).split(/\s+/),function(Kr){return Wn()(Kr,Lr)?Kr:Kr.replace(/[\w-]+/,function(Yr){return"".concat(Lr).concat(Yr)})}).join(" ")}return function(Vr){if(/<[^>]*>/g.test(Vr))try{var Kr=Zn().parse(Vr);return kr(Kr,function(Yr){Yr.attrs&&Yr.attrs.class&&(Yr.attrs.class=zr(Yr.attrs.class))}),Zn().stringify(Kr)}catch{return zr(Vr)}return zr(Vr)}}function kr(mr,Lr){for(var zr=0,Vr=mr.length;zr<Vr;zr++){var Kr=mr[zr];Lr(Kr),Kr.content&&kr(Kr.content,Lr)}}sr();function Cr(){var mr=lr()();return mr==="os x"?"mac":mr}var Er=Ie(6329),dr=Ie.n(Er),br=Ie(5852),_r=Ie.n(br);function Pr(mr){var Lr=function(){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}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}var vr=function(mr){(0,At.Z)(zr,mr);var Lr=Pr(zr);function zr(Vr,Kr){var Yr,Ur=Kr.compName,uo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,go=uo===void 0?"light":uo;return(0,Ue.Z)(this,zr),(Yr=Lr.call(this)).subComponents=[],Yr.compName=Ur,Yr.c=ir(Ur),Yr.options={},Yr.container=Vr,Yr.$container=hn()(Vr),Yr.$container.addClass(["luna-".concat(Ur),Yr.c("platform-".concat(Cr()))]),Yr.on("optionChange",function(_o,Ao,ko){var Do=Yr.c;_o==="theme"&&(Yr.$container.rmClass(Do("theme-".concat(ko))).addClass(Do("theme-".concat(Ao))),Yn()(Yr.subComponents,function(Ro){return Ro.setOption("theme",Ao)}))}),Yr.setOption("theme",go),Yr}return(0,qe.Z)(zr,[{key:"destroy",value:function(){this.destroySubComponents();var Vr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Vr("platform-".concat(Cr()))).rmClass(Vr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Vr,Kr){var Yr=this,Ur=this.options,uo={};typeof Vr=="string"?uo[Vr]=Kr:uo=Vr,Yn()(uo,function(go,_o){var Ao=Ur[_o];Ur[_o]=go,Yr.emit("optionChange",_o,go,Ao)})}},{key:"getOption",value:function(Vr){return this.options[Vr]}},{key:"addSubComponent",value:function(Vr){Vr.setOption("theme",this.options.theme),this.subComponents.push(Vr)}},{key:"removeSubComponent",value:function(Vr){_r()(this.subComponents,function(Kr){return Kr===Vr})}},{key:"destroySubComponents",value:function(){Yn()(this.subComponents,function(Vr){return Vr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Vr){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Tn()(Vr,Kr),dr()(this.options,Vr)}},{key:"find",value:function(Vr){return this.$container.find(this.c(Vr))}}]),zr}(tr());function xr(mr){var Lr=function(){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}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}xe=Ie.hmd(xe);var Rr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){var Kr,Yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,zr),(Kr=Lr.call(this,Vr,{compName:"setting"},Yr)).items=[],Kr.selectedItem=null,Kr.initOptions(Yr,{separatorCollapse:!0,filter:""}),Kr.bindEvent(),Kr}return(0,qe.Z)(zr,[{key:"appendTitle",value:function(Vr){var Kr=new Jr(this,Vr);return this.append(Kr),Kr}},{key:"appendSeparator",value:function(){var Vr=this.items,Kr=this.options.separatorCollapse,Yr=Vn()(Vr);if(Kr&&Yr instanceof Gr)return Yr;var Ur=new Gr(this);return this.append(Ur),Ur}},{key:"appendNumber",value:function(Vr,Kr,Yr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var go=new Br(this,Vr,Kr,Yr,Ur,uo);return this.append(go),go}},{key:"appendButton",value:function(Vr,Kr,Yr){Rn()(Kr)&&(Yr=Kr,Kr="");var Ur=new Dr(this,Vr,Kr,Yr);return this.append(Ur),Ur}},{key:"appendInput",value:function(Vr,Kr,Yr){var Ur=new $r(this,Vr,Kr,Yr,arguments.length>3&&arguments[3]!==void 0?arguments[3]:"");return this.append(Ur),Ur}},{key:"appendCheckbox",value:function(Vr,Kr,Yr,Ur){Ur||(Ur=Yr,Yr="");var uo=new cr(this,Vr,Kr,Yr,Ur);return this.append(uo),uo}},{key:"appendSelect",value:function(Vr,Kr,Yr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var go=new Sr(this,Vr,Kr,Yr,Ur,uo);return this.append(go),go}},{key:"remove",value:function(Vr){var Kr=this.items,Yr=Kr.indexOf(Vr);Yr>-1&&(Vr.detach(),Kr.splice(Yr,1),Vr===this.selectedItem&&this.selectItem(null))}},{key:"clear",value:function(){Yn()(this.items,function(Vr){return Vr.detach()}),this.items=[],this.selectItem(null)}},{key:"selectItem",value:function(Vr){var Kr;this.selectedItem&&(this.selectedItem.deselect(),this.selectedItem=null),Jn()(Vr)||(this.selectedItem=Vr,(Kr=this.selectedItem)===null||Kr===void 0||Kr.select())}},{key:"renderSettings",value:function(){var Vr=this,Kr=this.items;Yn()(Kr,function(Yr){return Yr.detach()}),Yn()(Kr,function(Yr){Vr.filterItem(Yr)&&Vr.$container.append(Yr.container)})}},{key:"bindEvent",value:function(){var Vr=this,Kr=this.c;this.on("optionChange",function(Ur){Ur==="filter"&&Vr.renderSettings()});var Yr=this;this.$container.on("click",Kr(".item"),function(){Yr.selectItem(this.settingItem)})}},{key:"filterItem",value:function(Vr){var Kr=this.options.filter;if(Kr){if(Rn()(Kr))return Kr(Vr);if(Dn()(Kr))return Kr.test(Vr.text());if(Fn()(Kr)&&(Kr=jn()(Kr)))return Wn()(er()(Vr.text()),er()(Kr))}return!0}},{key:"append",value:function(Vr){this.items.push(Vr),this.filterItem(Vr)&&this.$container.append(Vr.container)}}]),zr}(vr),Hr=function(){function mr(Lr,zr,Vr,Kr){(0,Ue.Z)(this,mr),this.container=bn()("div",{tabindex:"0"}),this.setting=Lr,this.container.settingItem=this,this.$container=hn()(this.container),this.$container.addClass(Lr.c("item")).addClass(Lr.c("item-".concat(Kr))),this.key=zr,this.value=Vr}return(0,qe.Z)(mr,[{key:"select",value:function(){this.$container.addClass(this.setting.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.setting.c("selected"))}},{key:"detach",value:function(){this.$container.remove()}},{key:"text",value:function(){return this.$container.text()}},{key:"onChange",value:function(Lr){this.setting.emit("change",this.key,Lr,this.value),this.value=Lr}}]),mr}(),Jr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr){var Yr;return(0,Ue.Z)(this,zr),(Yr=Lr.call(this,Vr,"","","title")).$container.text(Kr),Yr}return(0,qe.Z)(zr)}(Hr),Gr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){return(0,Ue.Z)(this,zr),Lr.call(this,Vr,"","","separator")}return(0,qe.Z)(zr)}(Hr),$r=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo){var go;(0,Ue.Z)(this,zr),go=Lr.call(this,Vr,Kr,Yr,"input");var _o=Vr.c;go.$container.html('<div class="'.concat(_o("title"),'">').concat(wn()(Ur),`</div>
      <div class="`).concat(_o("description"),'">').concat(uo,`</div>
      <div class="`).concat(_o("control"),`">
        <input type="text"></input>
      </div>`));var Ao=go.$container.find("input");return Ao.val(Yr),Ao.on("change",function(){return go.onChange(Ao.val())}),go}return(0,qe.Z)(zr)}(Hr),Br=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo){var go,_o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};(0,Ue.Z)(this,zr),go=Lr.call(this,Vr,Kr,Yr,"number"),Tn()(_o,{min:0,max:10,step:1});var Ao=(0,Fe.Z)(go).$container,ko=Vr.c,Do=!!_o.range;delete _o.range;var Ro=_o.min,Ko=_o.max,Yo='<input type="'.concat(Do?"range":"number",'"').concat($n()(_o,function(Zr,Mr){return" ".concat(Mr,'="').concat(Zr,'"')}),"></input>");Do&&(Yo="".concat(Ro,'<div class="').concat(ko("range-container"),`">
        <div class="`).concat(ko("range-track"),`">
          <div class="`).concat(ko("range-track-bar"),`">
            <div class="`).concat(ko("range-track-progress"),'" style="width: ').concat(Tr(Yr,Ro,Ko),`%;"></div>
          </div>
        </div>
        `).concat(Yo,`
      </div><span class="`).concat(ko("value"),'">').concat(Yr,"</span>/").concat(Ko)),Ao.html('<div class="'.concat(ko("title"),'">').concat(wn()(Ur),`</div>
      <div class="`).concat(ko("description"),'">').concat(uo,`</div>
      <div class="`).concat(ko("control"),'">').concat(Yo,"</div>"));var To=Ao.find(ko(".value")),So=Ao.find("input"),yo=Ao.find(ko(".range-track-progress"));return So.val(In()(Yr)),So.on("change",function(){var Zr=Nn()(So.val());go.onChange(Zr)}),So.on("input",function(){var Zr=Nn()(So.val());yo.css("width",Tr(Zr,Ro,Ko)+"%"),To.text(In()(Zr))}),go}return(0,qe.Z)(zr)}(Hr),Tr=function(mr,Lr,zr){return((mr-Lr)/(zr-Lr)*100).toFixed(2)},cr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo){var go;(0,Ue.Z)(this,zr),go=Lr.call(this,Vr,Kr,Yr,"checkbox");var _o=Vr.c,Ao=Cn()(Vr.c("checkbox-"));go.$container.html('<div class="'.concat(_o("title"),'">').concat(wn()(Ur),`</div>
      <div class="`).concat(_o("control"),`">
        <input type="checkbox" id="`).concat(Ao,`"></input>
        <label for="`).concat(Ao,'">').concat(uo,`</label>
      </div>`));var ko=go.$container.find("input"),Do=ko.get(0);return Do.checked=Yr,ko.on("change",function(){return go.onChange(Do.checked)}),go}return(0,qe.Z)(zr)}(Hr),Sr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo,go){var _o;(0,Ue.Z)(this,zr),_o=Lr.call(this,Vr,Kr,Yr,"select");var Ao=Vr.c;_o.$container.html('<div class="'.concat(Ao("title"),'">').concat(wn()(Ur),`</div>
      <div class="`).concat(Ao("description"),'">').concat(uo,`</div>
      <div class="`).concat(Ao("control"),`">
        <div class="`).concat(Ao("select"),`">
          <select>
            `).concat($n()(go,function(Do,Ro){return'<option value="'.concat(wn()(Do),'"').concat(Do===Yr?" selected":"",">").concat(wn()(Ro),"</option>")}).join(""),`
          </select>
        </div>
      </div>`));var ko=_o.$container.find("select");return ko.on("change",function(){return _o.onChange(ko.val())}),_o}return(0,qe.Z)(zr)}(Hr),Dr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur){var uo;return(0,Ue.Z)(this,zr),Yr||(Yr=Kr,Kr=""),(uo=Lr.call(this,Vr,"","","button")).$container.html(Vr.c('<div class="title">'.concat(wn()(Kr),`</div>
      <div class="control">
        <button>`).concat(wn()(Yr),`</button>
      </div>`))),uo.$container.find("button").on("click",Ur),uo}return(0,qe.Z)(zr)}(Hr);(function(mr,Lr){try{mr.exports=Lr,mr.exports.default=Lr}catch{}})(xe,Rr)},7638:function(xe,$e,Ie){Ie.d($e,{Z:function(){return or}});var Fe=Ie(168),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1443),hn=Ie.n(jt),vn=Ie(1512),bn=Ie.n(vn),_n=Ie(2461),wn=Ie.n(_n),kn=Ie(4331),Cn=Ie.n(kn),Sn=Ie(5610),xn=Ie.n(Sn),En=Ie(7483),Tn=Ie.n(En),An=Ie(3990),$n=Ie.n(An),Pn=Ie(6341),Nn=Ie.n(Pn),Mn=(Ie(3875),Ie(6954)),In=Ie.n(Mn);Ie(9585);function On(sr){var Kn="luna-".concat(sr,"-");function Zn(nr){return wn()(Cn()(nr).split(/\s+/),function(lr){return Nn()(lr,Kn)?lr:lr.replace(/[\w-]+/,function(ir){return"".concat(Kn).concat(ir)})}).join(" ")}return function(nr){if(/<[^>]*>/g.test(nr))try{var lr=Tn().parse(nr);return Rn(lr,function(ir){ir.attrs&&ir.attrs.class&&(ir.attrs.class=Zn(ir.attrs.class))}),Tn().stringify(lr)}catch{return Zn(nr)}return Zn(nr)}}function Rn(sr,Kn){for(var Zn=0,nr=sr.length;Zn<nr;Zn++){var lr=sr[Zn];Kn(lr),lr.content&&Rn(lr.content,Kn)}}var Bn;xn();function Vn(){var sr=In()();return sr==="os x"?"mac":sr}var Ln=Ie(3783),Dn=Ie.n(Ln),Hn=Ie(6329),Fn=Ie.n(Hn),zn=Ie(4193),jn=Ie.n(zn),Gn=Ie(5852),Wn=Ie.n(Gn);function Xn(sr){var Kn=function(){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}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}var er,rr=function(sr){(0,At.Z)(Zn,sr);var Kn=Xn(Zn);function Zn(nr,lr){var ir,kr=lr.compName,Cr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Er=Cr===void 0?"light":Cr;return(0,Ue.Z)(this,Zn),(ir=Kn.call(this)).subComponents=[],ir.compName=kr,ir.c=On(kr),ir.options={},ir.container=nr,ir.$container=bn()(nr),ir.$container.addClass(["luna-".concat(kr),ir.c("platform-".concat(Vn()))]),ir.on("optionChange",function(dr,br,_r){var Pr=ir.c;dr==="theme"&&(ir.$container.rmClass(Pr("theme-".concat(_r))).addClass(Pr("theme-".concat(br))),Dn()(ir.subComponents,function(vr){return vr.setOption("theme",br)}))}),ir.setOption("theme",Er),ir}return(0,qe.Z)(Zn,[{key:"destroy",value:function(){this.destroySubComponents();var nr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(nr("platform-".concat(Vn()))).rmClass(nr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(nr,lr){var ir=this,kr=this.options,Cr={};typeof nr=="string"?Cr[nr]=lr:Cr=nr,Dn()(Cr,function(Er,dr){var br=kr[dr];kr[dr]=Er,ir.emit("optionChange",dr,Er,br)})}},{key:"getOption",value:function(nr){return this.options[nr]}},{key:"addSubComponent",value:function(nr){nr.setOption("theme",this.options.theme),this.subComponents.push(nr)}},{key:"removeSubComponent",value:function(nr){Wn()(this.subComponents,function(lr){return lr===nr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(nr){return nr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(nr){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(nr,lr),Fn()(this.options,nr)}},{key:"find",value:function(nr){return this.$container.find(this.c(nr))}}]),Zn}(hn()),Jn=Ie(1907),qn=Ie.n(Jn),Yn=Ie(8901),ar=Ie.n(Yn);function tr(sr){var Kn=function(){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}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}xe=Ie.hmd(xe);var or=function(sr){(0,At.Z)(Zn,sr);var Kn=tr(Zn);function Zn(nr){var lr,ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,Zn),(lr=Kn.call(this,nr,{compName:"tab"},ir)).initOptions(ir,{height:30}),lr.initTpl(),lr.$tabs=lr.find(".tabs"),lr.tabs=lr.$tabs.get(0),lr.$slider=lr.find(".slider"),lr.bindEvent(),lr.updateHeight(),lr}return(0,qe.Z)(Zn,[{key:"length",get:function(){return this.$tabs.find(this.c(".item")).length}},{key:"insert",value:function(nr,lr){var ir=this.c,kr=this.$tabs,Cr=this.options.height-1,Er=kr.find(ir(".item")),dr=Er.length,br='<div class="'.concat(this.c("item"),'" data-id="').concat(ar()(lr.id),'" style="height: ').concat(Cr,"px; line-height: ").concat(Cr,'px;">').concat(ar()(lr.title),"</div>");nr>dr-1?kr.append(br):Er.eq(nr).before(br),this.updateSlider()}},{key:"append",value:function(nr){this.insert(this.length,nr)}},{key:"remove",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);if(kr.data("id")===nr){if(kr.hasClass(lr("selected")))if(ir.length>0){var Cr=ir.$tabs.find(lr(".item")).eq(0).data("id");ir.select(Cr)}else ir.emit("deselect");kr.remove()}}),this.updateSlider()}},{key:"select",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);kr.data("id")===nr?(kr.addClass(lr("selected")),ir.updateSlider(),ir.scrollToSelected(),ir.emit("select",nr)):kr.rmClass(lr("selected"))})}},{key:"scrollToSelected",value:function(){var nr,lr=this.$tabs,ir=this.tabs,kr=this.c,Cr=lr.find(kr(".selected")).get(0),Er=Cr.offsetLeft,dr=Cr.offsetWidth,br=ir.offsetWidth,_r=ir.scrollLeft;Er<_r?nr=Er:Er+dr>br+_r&&(nr=Er+dr-br),$n()(nr)&&(ir.scrollLeft=nr)}},{key:"hideScrollbar",value:function(){var nr=this.$tabs;if(getComputedStyle(this.tabs,"::-webkit-scrollbar").display!=="none"){var lr=function(){if($n()(Bn))return Bn;if(!document)return 16;var ir=document.createElement("div"),kr=document.createElement("div");ir.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),kr.setAttribute("style","height: 200px"),ir.appendChild(kr);var Cr=document.body||document.documentElement;return Cr.appendChild(ir),Bn=ir.offsetWidth-ir.clientWidth,Cr.removeChild(ir),Bn}();nr.css("height",this.options.height-1+lr+"px")}}},{key:"updateSlider",value:function(){var nr=this.$slider,lr=this.$tabs,ir=this.c,kr=lr.find(ir(".selected")).get(0);kr?nr.css({width:kr.offsetWidth,left:kr.offsetLeft-lr.get(0).scrollLeft}):nr.css({width:0})}},{key:"updateHeight",value:function(){var nr=this.options.height,lr=nr-1;this.find(".tabs-container").css("height",nr+"px"),this.find(".item").css({height:lr,lineHeight:lr}),this.hideScrollbar()}},{key:"bindEvent",value:function(){var nr=this,lr=this.tabs,ir=this.c;this.on("optionChange",function(Cr){Cr==="height"&&nr.updateHeight()});var kr=this;this.$tabs.on("wheel",function(Cr){Cr.preventDefault(),lr.scrollLeft+=Cr.origEvent.deltaY}).on("click",ir(".item"),function(){var Cr=bn()(this);kr.select(Cr.data("id"))}).on("scroll",function(){nr.updateSlider()})}},{key:"initTpl",value:function(){this.$container.html(this.c(qn()(er||(er=(0,Fe.Z)([`
        <div class="tabs-container">
          <div class="tabs"></div>
        </div>
        <div class="slider"></div>
      `])))))}}]),Zn}(rr);(function(sr,Kn){try{sr.exports=Kn,sr.exports.default=Kn}catch{}})(xe,or)},7049:function(xe,$e,Ie){Ie.d($e,{Z:function(){return dr}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(7326),At=Ie(1752),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(1443),vn=Ie.n(hn),bn=Ie(1512),_n=Ie.n(bn),wn=Ie(2461),kn=Ie.n(wn),Cn=Ie(4331),Sn=Ie.n(Cn),xn=Ie(5610),En=Ie.n(xn),Tn=Ie(7483),An=Ie.n(Tn),$n=(Ie(3990),Ie(6341)),Pn=Ie.n($n),Nn=(Ie(3875),Ie(6954)),Mn=Ie.n(Nn);Ie(9585);function In(_r){var Pr="luna-".concat(_r,"-");function vr(xr){return kn()(Sn()(xr).split(/\s+/),function(Rr){return Pn()(Rr,Pr)?Rr:Rr.replace(/[\w-]+/,function(Hr){return"".concat(Pr).concat(Hr)})}).join(" ")}return function(xr){if(/<[^>]*>/g.test(xr))try{var Rr=An().parse(xr);return On(Rr,function(Hr){Hr.attrs&&Hr.attrs.class&&(Hr.attrs.class=vr(Hr.attrs.class))}),An().stringify(Rr)}catch{return vr(xr)}return vr(xr)}}function On(_r,Pr){for(var vr=0,xr=_r.length;vr<xr;vr++){var Rr=_r[vr];Pr(Rr),Rr.content&&On(Rr.content,Pr)}}var Rn="ontouchstart"in En();function Bn(){var _r=Mn()();return _r==="os x"?"mac":_r}var Vn=Ie(3783),Ln=Ie.n(Vn),Dn=Ie(6329),Hn=Ie.n(Dn),Fn=Ie(4193),zn=Ie.n(Fn),jn=Ie(5852),Gn=Ie.n(jn);function Wn(_r){var Pr=function(){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}}();return function(){var vr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;vr=Reflect.construct(xr,arguments,Rr)}else vr=xr.apply(this,arguments);return(0,Lt.Z)(this,vr)}}var Xn=function(_r){(0,Dt.Z)(vr,_r);var Pr=Wn(vr);function vr(xr,Rr){var Hr,Jr=Rr.compName,Gr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,$r=Gr===void 0?"light":Gr;return(0,Fe.Z)(this,vr),(Hr=Pr.call(this)).subComponents=[],Hr.compName=Jr,Hr.c=In(Jr),Hr.options={},Hr.container=xr,Hr.$container=_n()(xr),Hr.$container.addClass(["luna-".concat(Jr),Hr.c("platform-".concat(Bn()))]),Hr.on("optionChange",function(Br,Tr,cr){var Sr=Hr.c;Br==="theme"&&(Hr.$container.rmClass(Sr("theme-".concat(cr))).addClass(Sr("theme-".concat(Tr))),Ln()(Hr.subComponents,function(Dr){return Dr.setOption("theme",Tr)}))}),Hr.setOption("theme",$r),Hr}return(0,Ue.Z)(vr,[{key:"destroy",value:function(){this.destroySubComponents();var xr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(xr("platform-".concat(Bn()))).rmClass(xr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(xr,Rr){var Hr=this,Jr=this.options,Gr={};typeof xr=="string"?Gr[xr]=Rr:Gr=xr,Ln()(Gr,function($r,Br){var Tr=Jr[Br];Jr[Br]=$r,Hr.emit("optionChange",Br,$r,Tr)})}},{key:"getOption",value:function(xr){return this.options[xr]}},{key:"addSubComponent",value:function(xr){xr.setOption("theme",this.options.theme),this.subComponents.push(xr)}},{key:"removeSubComponent",value:function(xr){Gn()(this.subComponents,function(Rr){return Rr===xr})}},{key:"destroySubComponents",value:function(){Ln()(this.subComponents,function(xr){return xr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(xr){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};zn()(xr,Rr),Hn()(this.options,xr)}},{key:"find",value:function(xr){return this.$container.find(this.c(xr))}}]),vr}(vn()),er=Ie(9702),rr=Ie.n(er),Jn=Ie(8887),qn=Ie.n(Jn),Yn=Ie(2439),ar=Ie.n(Yn),tr=Ie(6049),or=Ie.n(tr),sr=Ie(2327),Kn=Ie.n(sr),Zn=Ie(8901),nr=Ie.n(Zn),lr=Ie(7387),ir=Ie.n(lr),kr=Ie(6677),Cr=Ie.n(kr);function Er(_r){var Pr=function(){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}}();return function(){var vr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;vr=Reflect.construct(xr,arguments,Rr)}else vr=xr.apply(this,arguments);return(0,Lt.Z)(this,vr)}}xe=Ie.hmd(xe);var dr=function(_r){(0,Dt.Z)(vr,_r);var Pr=Er(vr);function vr(xr){var Rr,Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,vr),(Rr=Pr.call(this,xr,{compName:"text-viewer"},Hr)).lineNum=0,Rr.copy=function(){var Jr=(0,qe.Z)(Rr).c,Gr=Rr.options,$r=Gr.text,Br=Gr.escape;Kn()(Br?$r:ir()(Cr()($r)));var Tr=Rr.$copy.find(Jr(".icon"));Tr.addClass(Jr("icon-check")).rmClass(Jr("icon-copy")),setTimeout(function(){Tr.rmClass(Jr("icon-check")).addClass(Jr("icon-copy"))},1e3)},Rr._updateCopyPos=function(){var Jr=(0,qe.Z)(Rr).container;Rr.$copy.css({top:Jr.scrollTop+5,right:5-Jr.scrollLeft})},Rr.initOptions(Hr,{text:"",escape:!0,showLineNumbers:!0,wrapLongLines:!0,maxHeight:1/0}),Rr.render=ar()(function(){return Rr._render()},16),Rr.updateCopyPos=or()(function(){return Rr._updateCopyPos()},300),Rr.initTpl(),Rr.$text=Rr.find(".text"),Rr.$copy=Rr.find(".copy"),Rn&&Rr.$copy.css("opacity","1"),Rr.options.text&&Rr.render(),Rr.bindEvent(),Rr.updateHeight(),Rr}return(0,Ue.Z)(vr,[{key:"append",value:function(xr){var Rr=this,Hr=this.options,Jr=this.$copy,Gr=this.c,$r=this.$text,Br=Hr.showLineNumbers;if(this.options.text+=xr,!Br)return this.$text.append(Hr.escape?nr()(xr):xr);var Tr=function(Sr){return Sr.length===0?[]:Sr.split(br)}(xr);qn()(Tr)&&(Tr=["&nbsp;"]),Sn()(rr()(Tr))||Tr.pop();var cr="";Ln()(Tr,function(Sr,Dr){Rr.lineNum+=1,cr+='<div class="'.concat(Gr("table-row"),'"><div class="').concat(Gr("line-number"),'">').concat(Rr.lineNum,'</div><div class="').concat(Gr("line-text"),'">').concat(Hr.escape?nr()(Sr):Sr||" ","</div></div>")}),$r.find(Gr(".table")).append(cr),Jr.hide(),$r.offset().height>40&&Jr.show(),this.updateCopyPos()}},{key:"destroy",value:function(){this.$container.off("scroll",this.updateCopyPos),(0,At.Z)((0,jt.Z)(vr.prototype),"destroy",this).call(this)}},{key:"updateHeight",value:function(){var xr=this.options.maxHeight;xr>0&&xr!==1/0?this.$text.css("max-height",xr):this.$text.css("max-height","none")}},{key:"initTpl",value:function(){this.$container.html(this.c('<div class="text"></div><div class="copy"><span class="icon icon-copy"></span></div>'))}},{key:"bindEvent",value:function(){var xr=this;this.on("optionChange",function(Rr){Rr==="maxHeight"?xr.updateHeight():xr.render()}),this.$container.on("scroll",this.updateCopyPos),this.$copy.on("click",this.copy)}},{key:"_render",value:function(){var xr=this.c,Rr=this.$text,Hr=this.options,Jr=Hr.text,Gr=Hr.wrapLongLines,$r=Hr.showLineNumbers;Gr?Rr.addClass(xr("wrap-long-lines")):Rr.rmClass(xr("wrap-long-lines")),$r?Rr.addClass(xr("line-numbers")):Rr.rmClass(xr("line-numbers")),Rr.html('<div class="'.concat(xr("table"),'"></div>')),this.lineNum=0,this.options.text="",this.append(Jr)}}]),vr}(Xn),br=/\r\n|\r|\n/g;(function(_r,Pr){try{_r.exports=Pr,_r.exports.default=Pr}catch{}})(xe,dr)},6672:function(xe,$e,Ie){Ie.d($e,{Z:function(){return js}});var Fe={};Ie.r(Fe),Ie.d(Fe,{classPrefix:function(){return yr},drag:function(){return Qr},escapeJsonStr:function(){return Yo},evalCss:function(){return Or},eventClient:function(){return Ir},eventPage:function(){return Xr},getFileName:function(){return So},hasSafeArea:function(){return Ko},isChobitsuEl:function(){return Mr},isErudaEl:function(){return Zr},pxToNum:function(){return yo},safeStorage:function(){return To}});var Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(4942),vn=Ie(1443),bn=Ie.n(vn),_n=new(bn());_n.ADD="ADD",_n.SHOW="SHOW",_n.SCALE="SCALE";var wn=_n,kn=Ie(1752),Cn=Ie(7496),Sn=Ie.n(Cn)()({init:function(wr){this._$el=wr},show:function(){return this._$el.show(),this},hide:function(){return this._$el.hide(),this},destroy:function(){this._$el.remove()}}),xn=Ie(1512),En=Ie.n(xn),Tn=Ie(125),An=Ie.n(Tn),$n=Ie(5229),Pn=Ie.n($n),Nn=Ie(3783),Mn=Ie.n(Nn),In=Ie(5972),On=Ie.n(In),Rn=Ie(6768),Bn=Ie.n(Rn),Vn=Ie(6341),Ln=Ie.n(Vn),Dn=Ie(4675),Hn=Ie.n(Dn),Fn=Ie(3367),zn=Ie.n(Fn),jn=Ie(2533),Gn=Ie.n(jn),Wn=Ie(7622),Xn=Ie.n(Wn),er=Ie(4193),rr=Ie.n(er),Jn=Ie(6329),qn=Ie.n(Jn),Yn=Ie(6472),ar=Ie.n(Yn),tr=["background","foreground","selectForeground","accent","highlight","border","primary","contrast","varColor","stringColor","keywordColor","numberColor","operatorColor","linkColor","textColor","tagNameColor","functionColor","attributeNameColor","commentColor"],or=tr.length;function sr(wr){for(var gr={},pr=0;pr<or;pr++)gr[tr[pr]]=wr[pr];return gr}function Kn(wr){return ar()(wr)&&(wr=sr(wr)),wr.darkerBackground||(wr.darkerBackground=wr.contrast),qn()({consoleWarnBackground:"#332a00",consoleWarnForeground:"#ffcb6b",consoleWarnBorder:"#650",consoleErrorBackground:"#290000",consoleErrorForeground:"#ff8080",consoleErrorBorder:"#5c0000",light:"#ccc",dark:"#aaa"},wr)}function Zn(wr){return ar()(wr)&&(wr=sr(wr)),wr.darkerBackground||(wr.darkerBackground=wr.contrast),qn()({consoleWarnBackground:"#fffbe5",consoleWarnForeground:"#5c5c00",consoleWarnBorder:"#fff5c2",consoleErrorBackground:"#fff0f0",consoleErrorForeground:"#f00",consoleErrorBorder:"#ffd6d6",light:"#fff",dark:"#eee"},wr)}var nr=["Dark","Material Oceanic","Material Darker","Material Palenight","Material Deep Ocean","Monokai Pro","Dracula","Arc Dark","Atom One Dark","Solarized Dark","Night Owl"],lr={Light:Zn({darkerBackground:"#f3f3f3",background:"#fff",foreground:"#333",selectForeground:"#333",accent:"#1a73e8",highlight:"#eaeaea",border:"#ccc",primary:"#333",contrast:"#f2f7fd",varColor:"#c80000",stringColor:"#1a1aa6",keywordColor:"#881280",numberColor:"#1c00cf",operatorColor:"#808080",linkColor:"#1155cc",textColor:"#8097bd",tagNameColor:"#881280",functionColor:"#222",attributeNameColor:"#994500",commentColor:"#236e25",cssProperty:"#c80000"}),Dark:Kn({darkerBackground:"#333",background:"#242424",foreground:"#a5a5a5",selectForeground:"#eaeaea",accent:"#555",highlight:"#000",border:"#3d3d3d",primary:"#ccc",contrast:"#0b2544",varColor:"#e36eec",stringColor:"#f29766",keywordColor:"#9980ff",numberColor:"#9980ff",operatorColor:"#7f7f7f",linkColor:"#ababab",textColor:"#42597f",tagNameColor:"#5db0d7",functionColor:"#d5d5d5",attributeNameColor:"#9bbbdc",commentColor:"#747474"}),"Material Oceanic":Kn(["#263238","#B0BEC5","#FFFFFF","#009688","#425B67","#2A373E","#607D8B","#1E272C","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#B0BEC5","#f07178","#82aaff","#ffcb6b","#546e7a"]),"Material Darker":Kn(["#212121","#B0BEC5","#FFFFFF","#FF9800","#3F3F3F","#292929","#727272","#1A1A1A","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#B0BEC5","#f07178","#82aaff","#ffcb6b","#616161"]),"Material Lighter":Zn(["#FAFAFA","#546E7A","#546e7a","#00BCD4","#E7E7E8","#d3e1e8","#94A7B0","#F4F4F4","#272727","#91B859","#7C4DFF","#F76D47","#39ADB5","#39ADB5","#546E7A","#E53935","#6182B8","#F6A434","#AABFC9"]),"Material Palenight":Kn(["#292D3E","#A6ACCD","#FFFFFF","#ab47bc","#444267","#2b2a3e","#676E95","#202331","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#A6ACCD","#f07178","#82aaff","#ffcb6b","#676E95"]),"Material Deep Ocean":Kn(["#0F111A","#8F93A2","#FFFFFF","#84ffff","#1F2233","#41465b","#4B526D","#090B10","#eeffff","#c3e88d","#c792ea","#f78c6c","#89ddff","#80cbc4","#8F93A2","#f07178","#82aaff","#ffcb6b","#717CB4"]),"Monokai Pro":Kn(["#2D2A2E","#fcfcfa","#FFFFFF","#ffd866","#5b595c","#423f43","#939293","#221F22","#FCFCFA","#FFD866","#FF6188","#AB9DF2","#FF6188","#78DCE8","#fcfcfa","#FF6188","#A9DC76","#78DCE8","#727072"]),Dracula:Kn(["#282A36","#F8F8F2","#8BE9FD","#FF79C5","#6272A4","#21222C","#6272A4","#191A21","#F8F8F2","#F1FA8C","#FF79C6","#BD93F9","#FF79C6","#F1FA8C","#F8F8F2","#FF79C6","#50FA78","#50FA7B","#6272A4"]),"Arc Dark":Kn(["#2f343f","#D3DAE3","#FFFFFF","#42A5F5","#3F3F46","#404552","#8b9eb5","#262b33","#CF6A4C","#8F9D6A","#9B859D","#CDA869","#A7A7A7","#7587A6","#D3DAE3","#CF6A4C","#7587A6","#F9EE98","#747C84"]),"Atom One Dark":Kn(["#282C34","#979FAD","#FFFFFF","#2979ff","#383D48","#2e3239","#979FAD","#21252B","#D19A66","#98C379","#C679DD","#D19A66","#61AFEF","#56B6C2","#979FAD","#F07178","#61AEEF","#E5C17C","#59626F"]),"Atom One Light":Zn(["#FAFAFA","#232324","#232324","#2979ff","#EAEAEB","#DBDBDC","#9D9D9F","#FFFFFF","#986801","#50A14E","#A626A4","#986801","#4078F2","#0184BC","#232324","#E4564A","#4078F2","#C18401","#A0A1A7"]),"Solarized Dark":Kn(["#002B36","#839496","#FFFFFF","#d33682","#11353F","#0D3640","#586e75","#00252E","#268BD2","#2AA198","#859900","#D33682","#93A1A1","#268BD2","#839496","#268BD2","#B58900","#B58900","#657B83"]),"Solarized Light":Zn(["#fdf6e3","#586e75","#002b36","#d33682","#F6F0DE","#f7f2e2","#93a1a1","#eee8d5","#268BD2","#2AA198","#859900","#D33682","#657B83","#268BD2","#586e75","#268BD2","#B58900","#657B83","#93A1A1"]),Github:Zn(["#F7F8FA","#5B6168","#FFFFFF","#79CB60","#CCE5FF","#DFE1E4","#292D31","#FFFFFF","#24292E","#032F62","#D73A49","#005CC5","#D73A49","#005CC5","#5B6168","#22863A","#6F42C1","#6F42C1","#6A737D"]),"Night Owl":Kn(["#011627","#b0bec5","#ffffff","#7e57c2","#152C3B","#2a373e","#607d8b","#001424","#addb67","#ecc48d","#c792ea","#f78c6c","#c792ea","#80CBC4","#b0bec5","#7fdbca","#82AAFF","#FAD430","#637777"]),"Light Owl":Zn(["#FAFAFA","#546e7a","#403f53","#269386","#E0E7EA","#efefef","#403F53","#FAFAFA","#0C969B","#c96765","#994cc3","#aa0982","#7d818b","#994cc3","#546e7a","#994cc3","#4876d6","#4876d6","#637777"])},ir=[],kr=1,Cr=lr.Light,Er=function wr(gr,pr){gr=zn()(gr);for(var Un=0,Qn=ir.length;Un<Qn;Un++)if(ir[Un].css===gr)return;pr=pr||wr.container||document.head;var ur=document.createElement("style");ur.type="text/css",pr.appendChild(ur);var Ar={css:gr,el:ur,container:pr};return br(Ar),ir.push(Ar),Ar};function dr(){Mn()(ir,function(wr){return br(wr)})}function br(wr){var gr=wr.css,pr=wr.el;gr=(gr=gr.replace(/(\d+)px/g,function(Qn,ur){return+ur*kr+"px"})).replace(/_/g,"eruda-");var Un=Gn()(lr.Light);Mn()(Un,function(Qn){gr=gr.replace(new RegExp("var\\(--".concat(Xn()(Qn),"\\)"),"g"),Cr[Qn])}),pr.innerText=gr}Er.setScale=function(wr){kr=wr,dr()},Er.setTheme=function(wr){Cr=Bn()(wr)?lr[wr]||lr.Light:rr()(wr,lr.Light),dr()},Er.getCurTheme=function(){return Cr},Er.getThemes=function(){return lr},Er.clear=function(){Mn()(ir,function(wr){var gr=wr.container,pr=wr.el;return gr.removeChild(pr)}),ir=[]},Er.remove=function(wr){ir=On()(ir,function(gr){return gr!==wr}),wr.container.removeChild(wr.el)};var _r=Er,Pr=Ie(8692);function vr(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var xr=function(wr){(0,Dt.Z)(pr,wr);var gr=vr(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=gr.call(this))._style=_r(Ie(8011)),Un.name="settings",Un._settings=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._setting=new Pr.Z(Un.get(0)),this._bindEvent()}},{key:"remove",value:function(Un,Qn){var ur=this;if(Bn()(Un)){var Ar=this;this._$el.find(".luna-setting-item-title").each(function(){En()(this).text()===Un&&Ar._setting.remove(this.settingItem)})}else this._settings=On()(this._settings,function(Fr){return Fr.config!==Un||Fr.key!==Qn||(ur._setting.remove(Fr.item),!1)});return this._cleanSeparator(),this}},{key:"destroy",value:function(){this._setting.destroy(),(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"clear",value:function(){this._settings=[],this._setting.clear()}},{key:"switch",value:function(Un,Qn,ur){var Ar=this._genId(),Fr=this._setting.appendCheckbox(Ar,!!Un.get(Qn),ur);return this._settings.push({config:Un,key:Qn,id:Ar,item:Fr}),this}},{key:"select",value:function(Un,Qn,ur,Ar){var Fr=this._genId(),Wr={};Mn()(Ar,function(io){return Wr[io]=io});var no=this._setting.appendSelect(Fr,Un.get(Qn),"",ur,Wr);return this._settings.push({config:Un,key:Qn,id:Fr,item:no}),this}},{key:"range",value:function(Un,Qn,ur,Ar){var Fr=Ar.min,Wr=Fr===void 0?0:Fr,no=Ar.max,io=no===void 0?1:no,Eo=Ar.step,Oo=Eo===void 0?.1:Eo,zo=this._genId(),Wo=this._setting.appendNumber(zo,Un.get(Qn),ur,{max:io,min:Wr,step:Oo,range:!0});return this._settings.push({config:Un,key:Qn,min:Wr,max:io,step:Oo,id:zo,item:Wo}),this}},{key:"button",value:function(Un,Qn){return this._setting.appendButton(Un,Qn),this}},{key:"separator",value:function(){return this._setting.appendSeparator(),this}},{key:"text",value:function(Un){return this._setting.appendTitle(Un),this}},{key:"_cleanSeparator",value:function(){var Un=Hn()(this._$el.get(0).children);function Qn(Fr){return Ln()(Fr.getAttribute("class"),"luna-setting-item-separator")}for(var ur=0,Ar=Un.length;ur<Ar-1;ur++)Qn(Un[ur])&&Qn(Un[ur+1])&&En()(Un[ur]).remove()}},{key:"_genId",value:function(){return Pn()("eruda-settings")}},{key:"_getSetting",value:function(Un){var Qn;return Mn()(this._settings,function(ur){ur.id===Un&&(Qn=ur)}),Qn}},{key:"_bindEvent",value:function(){var Un=this;this._setting.on("change",function(Qn,ur){var Ar=Un._getSetting(Qn);Ar.config.set(Ar.key,ur)})}}],[{key:"createCfg",value:function(Un,Qn){return new(An())("eruda-"+Un,Qn)}}]),pr}(Sn),Rr=Ie(6837),Hr=Ie.n(Rr),Jr=Ie(442),Gr=Ie.n(Jr),$r=Ie(6334),Br=Ie.n($r),Tr=Ie(4187),cr=Ie.n(Tr),Sr=Ie(1286),Dr=Ie.n(Sr),mr=Ie(9702),Lr=Ie.n(mr),zr=Ie(2461),Vr=Ie.n(zr),Kr=Ie(5026),Yr=Ie.n(Kr),Ur=Ie(5610),uo=Ie.n(Ur),go=Ie(3875),_o=Ie.n(go),Ao=Ie(4331),ko=Ie.n(Ao),Do=Ie(7483),Ro=Ie.n(Do);function Ko(){var wr=!1,gr=document.createElement("div");if(CSS.supports("padding-bottom: env(safe-area-inset-bottom)")?(gr.style.paddingBottom="env(safe-area-inset-bottom)",wr=!0):CSS.supports("padding-bottom: constant(safe-area-inset-bottom)")&&(gr.style.paddingBottom="constant(safe-area-inset-bottom)",wr=!0),wr){document.body.appendChild(gr);var pr=parseInt(window.getComputedStyle(gr).paddingBottom);if(document.body.removeChild(gr),pr>0)return!0}return!1}function Yo(wr){return cr()(wr).replace(/\\'/g,"'").replace(/\t/g,"\\t")}function To(wr,gr){var pr;switch(Dr()(gr)&&(gr=!0),wr){case"local":pr=window.localStorage;break;case"session":pr=window.sessionStorage}try{var Un="test-localStorage-"+Date.now();pr.setItem(Un,Un);var Qn=pr.getItem(Un);if(pr.removeItem(Un),Qn!==Un)throw new Error}catch{return gr?Yr():void 0}return pr}function So(wr){var gr=Lr()(wr.split("/"));return gr===""&&(gr=(wr=new(Br())(wr)).hostname),gr}function yo(wr){return _o()(wr.replace("px",""))}function Zr(wr){for(;wr;){if(wr.id==="eruda")return!0;wr=wr.parentNode}return!1}function Mr(wr){for(;wr;){var gr="";if(wr.getAttribute&&(gr=wr.getAttribute("class")||""),Ln()(gr,"__chobitsu-hide__"))return!0;wr=wr.parentNode}return!1}var Or=_r;function yr(wr){if(/<[^>]*>/g.test(wr))try{var gr=Ro().parse(wr);return so(gr,function(pr){pr.attrs&&pr.attrs.class&&(pr.attrs.class=$o(pr.attrs.class))}),Ro().stringify(gr)}catch{return $o(wr)}return $o(wr)}function so(wr,gr){for(var pr=0,Un=wr.length;pr<Un;pr++){var Qn=wr[pr];gr(Qn),Qn.content&&so(Qn.content,gr)}}function $o(wr){var gr="eruda-";return Vr()(ko()(wr).split(/\s+/),function(pr){return Ln()(pr,gr)?pr:pr.replace(/[\w-]+/,function(Un){return"".concat(gr).concat(Un)})}).join(" ")}var xo="ontouchstart"in uo(),ho="PointerEvent"in uo(),po={start:"touchstart",move:"touchmove",end:"touchend"},ro={start:"mousedown",move:"mousemove",end:"mouseup"},qr={start:"pointerdown",move:"pointermove",end:"pointerup"};function Qr(wr){return ho?qr[wr]:xo?po[wr]:ro[wr]}function Ir(wr,gr){var pr=wr==="x"?"clientX":"clientY";return gr[pr]?gr[pr]:gr.changedTouches?gr.changedTouches[0][pr]:0}function Xr(wr,gr){var pr=wr==="x"?"pageX":"pageY";return gr[pr]?gr[pr]:gr.changedTouches?gr.changedTouches[0][pr]:0}function to(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var oo,co=En()(document),wo=function(wr){(0,Dt.Z)(pr,wr);var gr=to(pr);function pr(Un){var Qn;return(0,Ue.Z)(this,pr),Qn=gr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_onDragStart",function(ur){var Ar=Qn._$el;Ar.addClass(yr("active")),Qn._isClick=!0,ur=ur.origEvent,Qn._startX=Ir("x",ur),Qn._oldX=yo(Ar.css("left")),Qn._oldY=yo(Ar.css("top")),Qn._startY=Ir("y",ur),co.on(Qr("move"),Qn._onDragMove),co.on(Qr("end"),Qn._onDragEnd)}),(0,hn.Z)((0,At.Z)(Qn),"_onDragMove",function(ur){var Ar=Qn._$el.get(0).offsetWidth,Fr=Qn._$container.get(0).offsetWidth,Wr=Qn._$container.get(0).offsetHeight,no=Ir("x",ur=ur.origEvent)-Qn._startX,io=Ir("y",ur)-Qn._startY;(Math.abs(no)>3||Math.abs(io)>3)&&(Qn._isClick=!1);var Eo=Qn._oldX+no,Oo=Qn._oldY+io;Eo<0?Eo=0:Eo>Fr-Ar&&(Eo=Fr-Ar),Oo<0?Oo=0:Oo>Wr-Ar&&(Oo=Wr-Ar),Qn._$el.css({left:Eo,top:Oo})}),(0,hn.Z)((0,At.Z)(Qn),"_onDragEnd",function(ur){var Ar=Qn._$el;Qn._isClick&&Qn.emit("click"),Qn._onDragMove(ur),co.off(Qr("move"),Qn._onDragMove),co.off(Qr("end"),Qn._onDragEnd);var Fr=Qn.config;Fr.get("rememberPos")&&Fr.set("pos",{x:yo(Ar.css("left")),y:yo(Ar.css("top"))}),Ar.rmClass("eruda-active")}),Qn._style=_r(Ie(9195)),Qn._$container=Un,Qn._initTpl(),Qn._bindEvent(),Qn._registerListener(),Qn}return(0,qe.Z)(pr,[{key:"hide",value:function(){this._$el.hide()}},{key:"show",value:function(){this._$el.show()}},{key:"setPos",value:function(Un){this._isOutOfRange(Un)&&(Un=this._getDefPos()),this._$el.css({left:Un.x,top:Un.y}),this.config.set("pos",Un)}},{key:"getPos",value:function(){return this.config.get("pos")}},{key:"destroy",value:function(){_r.remove(this._style),this._unregisterListener(),this._$el.remove()}},{key:"_isOutOfRange",value:function(Un){Un=Un||this.config.get("pos");var Qn=this._getDefPos();return Un.x>Qn.x+10||Un.x<0||Un.y<0||Un.y>Qn.y+10}},{key:"_registerListener",value:function(){var Un=this;this._scaleListener=function(){return Hr()(function(){Un._isOutOfRange()&&Un._resetPos()})},wn.on(wn.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){wn.off(wn.SCALE,this._scaleListener)}},{key:"_initTpl",value:function(){var Un=this._$container;Un.append(yr('<div class="entry-btn"><span class="icon-tool"></span></div>')),this._$el=Un.find(".eruda-entry-btn")}},{key:"_resetPos",value:function(Un){var Qn=this.config,ur=Qn.get("pos"),Ar=this._getDefPos();Qn.get("rememberPos")&&!Un||(ur=Ar),this.setPos(ur)}},{key:"_bindEvent",value:function(){var Un=this;this._$el.on(Qr("start"),this._onDragStart),Gr().on("change",function(){return Un._resetPos(!0)}),window.addEventListener("resize",function(){return Un._resetPos()})}},{key:"initCfg",value:function(Un){var Qn=this.config=xr.createCfg("entry-button",{rememberPos:!0,pos:this._getDefPos()});Un.switch(Qn,"rememberPos","Remember Entry Button Position"),this._resetPos()}},{key:"_getDefPos",value:function(){var Un=this._$el.get(0).offsetWidth+10;return{x:window.innerWidth-Un,y:window.innerHeight-Un}}}]),pr}(bn()),Co=Ie(4989),Po=oo=new(Ie.n(Co)())("[Eruda]","warn");oo.formatter=function(wr,gr){return gr.unshift(this.name),gr};var Vo=Ie(3990),Fo=Ie.n(Vo),jo=Ie(2520),qo=Ie.n(jo),oa=Ie(6930),Qo=Ie.n(oa),aa=Ie(4270),ia=Ie.n(aa),Xo=Ie(6093),pa=Ie.n(Xo),ea=Ie(129),Sa=Ie(7638);function na(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var fa=function(wr){(0,Dt.Z)(pr,wr);var gr=na(pr);function pr(Un){var Qn,ur=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).defaults,Ar=ur===void 0?{}:ur;return(0,Ue.Z)(this,pr),Qn=gr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_checkSafeArea",function(){var Fr=(0,At.Z)(Qn).$container;Ko()?Fr.addClass(yr("safe-area")):Fr.rmClass(yr("safe-area"))}),(0,hn.Z)((0,At.Z)(Qn),"_updateTabHeight",function(Fr){Qn._tab.setOption("height",40*Fr),Hr()(function(){Qn._tab.updateSlider()})}),Qn._defCfg=qn()({transparency:1,displaySize:80,theme:qo()()?"Dark":"Light"},Ar),Qn._style=_r(Ie(13)),Qn.$container=Un,Qn._isShow=!1,Qn._opacity=1,Qn._tools={},Qn._isResizing=!1,Qn._resizeTimer=null,Qn._resizeStartY=0,Qn._resizeStartSize=0,Qn._initTpl(),Qn._initTab(),Qn._initNotification(),Qn._initModal(),ia()(function(){return Qn._checkSafeArea()}),Qn._bindEvent(),Qn}return(0,qe.Z)(pr,[{key:"show",value:function(){var Un=this;return this._isShow=!0,this._$el.show(),this._tab.updateSlider(),setTimeout(function(){Un._$el.css("opacity",Un._opacity)},50),this.emit("show"),this}},{key:"hide",value:function(){var Un=this;return this._isShow=!1,this.emit("hide"),this._$el.css({opacity:0}),setTimeout(function(){return Un._$el.hide()},300),this}},{key:"toggle",value:function(){return this._isShow?this.hide():this.show()}},{key:"add",value:function(Un){var Qn=this._tab;if(!(Un instanceof Sn)){var ur=new Sn,Ar=ur.init,Fr=ur.show,Wr=ur.hide,no=ur.destroy;rr()(Un,{init:Ar,show:Fr,hide:Wr,destroy:no})}var io=Un.name;return io?(io=io.toLowerCase(),this._tools[io]?Po.warn("Tool ".concat(io," already exists")):(this._$tools.prepend('<div id="'.concat(yr(io),'" class="').concat(yr(io+" tool"),'"></div>')),Un.init(this._$tools.find(".".concat(yr(io),".").concat(yr("tool"))),this),Un.active=!1,this._tools[io]=Un,io==="settings"?Qn.append({id:io,title:io}):Qn.insert(Qn.length-1,{id:io,title:io}),this)):Po.error("You must specify a name for a tool")}},{key:"remove",value:function(Un){var Qn=this._tools;if(!Qn[Un])return Po.warn("Tool ".concat(Un," doesn't exist"));this._tab.remove(Un);var ur=Qn[Un];if(delete Qn[Un],ur.active){var Ar=Gn()(Qn);Ar.length>0&&this.showTool(Qn[Lr()(Ar)].name)}return ur.destroy(),this}},{key:"removeAll",value:function(){var Un=this;return Mn()(this._tools,function(Qn){return Un.remove(Qn.name)}),this}},{key:"get",value:function(Un){var Qn=this._tools[Un];if(Qn)return Qn}},{key:"showTool",value:function(Un){if(this._curTool===Un)return this;this._curTool=Un;var Qn=this._tools,ur=Qn[Un];if(ur){var Ar={};return Mn()(Qn,function(Fr){Fr.active&&(Ar=Fr,Fr.active=!1,Fr.hide())}),ur.active=!0,ur.show(),this._tab.select(Un),this.emit("showTool",Un,Ar),this}}},{key:"initCfg",value:function(Un){var Qn=this,ur=this.config=xr.createCfg("dev-tools",this._defCfg);this._setTransparency(ur.get("transparency")),this._setDisplaySize(ur.get("displaySize")),this._setTheme(ur.get("theme")),ur.on("change",function(Ar,Fr){switch(Ar){case"transparency":return Qn._setTransparency(Fr);case"displaySize":return Qn._setDisplaySize(Fr);case"theme":return Qn._setTheme(Fr)}}),Un.separator().select(ur,"theme","Theme",Gn()(_r.getThemes())).range(ur,"transparency","Transparency",{min:.2,max:1,step:.01}).range(ur,"displaySize","Display Size",{min:40,max:100,step:1}).button("Restore defaults and reload",function(){var Ar=To("local"),Fr=JSON.parse(JSON.stringify(Ar));Mn()(Fr,function(Wr,no){Bn()(Wr)&&Qo()(no,"eruda")&&Ar.removeItem(no)}),window.location.reload()}).separator()}},{key:"notify",value:function(Un,Qn){this._notification.notify(Un,Qn)}},{key:"destroy",value:function(){_r.remove(this._style),this.removeAll(),this._tab.destroy(),this._$el.remove(),window.removeEventListener("resize",this._checkSafeArea),wn.off(wn.SCALE,this._updateTabHeight)}},{key:"_setTheme",value:function(Un){var Qn=this.$container;(function(ur){return Ln()(nr,ur)})(Un)?Qn.addClass(yr("dark")):Qn.rmClass(yr("dark")),_r.setTheme(Un)}},{key:"_setTransparency",value:function(Un){Fo()(Un)&&(this._opacity=Un,this._isShow&&this._$el.css({opacity:Un}))}},{key:"_setDisplaySize",value:function(Un){Fo()(Un)&&this._$el.css({height:Un+"%"})}},{key:"_initTpl",value:function(){var Un=this.$container;Un.append(yr(`
      <div class="dev-tools">
        <div class="resizer"></div>
        <div class="tab"></div>
        <div class="tools"></div>
        <div class="notification"></div>
        <div class="modal"></div>
      </div>
      `)),this._$el=Un.find(yr(".dev-tools")),this._$tools=this._$el.find(yr(".tools"))}},{key:"_initTab",value:function(){var Un=this;this._tab=new Sa.Z(this._$el.find(yr(".tab")).get(0),{height:40}),this._tab.on("select",function(Qn){return Un.showTool(Qn)})}},{key:"_initNotification",value:function(){this._notification=new(pa())(this._$el.find(yr(".notification")).get(0),{position:{x:"center",y:"top"}})}},{key:"_initModal",value:function(){ea.Z.setContainer(this._$el.find(yr(".modal")).get(0))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$el.find(yr(".resizer")),ur=this._$el.find(yr(".nav-bar")),Ar=En()(document),Fr=function(no){if(Un._isResizing){no.preventDefault(),no.stopPropagation(),no=no.origEvent;var io=(Un._resizeStartY-Ir("y",no))/window.innerHeight*100,Eo=Un._resizeStartSize+io;Eo<40?Eo=40:Eo>100&&(Eo=100),Un.config.set("displaySize",_o()(Eo.toFixed(2)))}},Wr=function no(){clearTimeout(Un._resizeTimer),Un._isResizing=!1,Qn.css("height",10),Ar.off(Qr("move"),Fr),Ar.off(Qr("end"),no)};Qn.css("height",10),Qn.on(Qr("start"),function(no){no.preventDefault(),no.stopPropagation(),no=no.origEvent,Un._isResizing=!0,Un._resizeStartSize=Un.config.get("displaySize"),Un._resizeStartY=Ir("y",no),Qn.css("height","100%"),Ar.on(Qr("move"),Fr),Ar.on(Qr("end"),Wr)}),ur.on("contextmenu",function(no){return no.preventDefault()}),this.$container.on("click",function(no){return no.stopPropagation()}),window.addEventListener("resize",this._checkSafeArea),wn.on(wn.SCALE,this._updateTabHeight)}}]),pr}(bn()),ma=Ie(1214),$a=Ie.n(ma),Va=Ie(4777),ha=Ie.n(Va),Ga=Ie(1754),ai=Ie.n(Ga),ii=Ie(5484),za=Ie.n(ii),si=Ie(3023),Aa=Ie.n(si),li=Ie(9585),Ua=Ie.n(li),ci=Ie(6156),Ca=Ie.n(ci),di=Ie(8816);function Wa(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}za().start();var fi=function(wr){(0,Dt.Z)(pr,wr);var gr=Wa(pr);function pr(){var Un,Qn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).name,ur=Qn===void 0?"console":Qn;return(0,Ue.Z)(this,pr),Un=gr.call(this),(0,hn.Z)((0,At.Z)(Un),"_handleShow",function(){Ua()(Un._$el.get(0))||Un._logger.renderViewport()}),(0,hn.Z)((0,At.Z)(Un),"_handleErr",function(Ar){Un._logger.error(Ar)}),bn().mixin((0,At.Z)(Un)),Un.name=ur,Un._selectedLog=null,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._appendTpl(),this._initCfg(),this._initLogger(),this._exposeLogger(),this._bindEvent()}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._handleShow()}},{key:"overrideConsole",value:function(){var Un=this,Qn=this._origConsole={},ur=window.console;return Pa.forEach(function(Ar){var Fr=Qn[Ar]=$a();ur[Ar]&&(Fr=Qn[Ar]=ur[Ar].bind(ur)),ur[Ar]=function(){Un[Ar].apply(Un,arguments),Fr.apply(void 0,arguments)}}),this}},{key:"setGlobal",value:function(Un,Qn){this._logger.setGlobal(Un,Qn)}},{key:"restoreConsole",value:function(){var Un=this;return this._origConsole?(Pa.forEach(function(Qn){return window.console[Qn]=Un._origConsole[Qn]}),delete this._origConsole,this):this}},{key:"catchGlobalErr",value:function(){return za().addListener(this._handleErr),this}},{key:"ignoreGlobalErr",value:function(){return za().rmListener(this._handleErr),this}},{key:"filter",value:function(Un){var Qn=this._$filterText,ur=this._logger;Bn()(Un)?(Qn.text(Un),ur.setOption("filter",ko()(Un))):ai()(Un)?(Qn.text(zn()(Un)),ur.setOption("filter",Un)):ha()(Un)&&(Qn.text("ƒ"),ur.setOption("filter",Un))}},{key:"destroy",value:function(){this._logger.destroy(),(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._container.off("show",this._handleShow),this._style&&_r.remove(this._style),this.ignoreGlobalErr(),this.restoreConsole(),this._rmCfg()}},{key:"_enableJsExecution",value:function(Un){var Qn=this._$el,ur=Qn.find(yr(".js-input"));Un?(ur.show(),Qn.rmClass(yr("js-input-hidden"))):(ur.hide(),Qn.addClass(yr("js-input-hidden")))}},{key:"_appendTpl",value:function(){var Un=this._$el;this._style=_r(Ie(3191)),Un.append(yr(`
      <div class="control">
        <span class="icon-clear clear-console"></span>
        <span class="level active" data-level="all">All</span>
        <span class="level" data-level="info">Info</span>
        <span class="level" data-level="warning">Warning</span>
        <span class="level" data-level="error">Error</span>
        <span class="filter-text"></span>
        <span class="icon-filter filter"></span>
        <span class="icon-copy icon-disabled copy"></span>
      </div>
      <div class="logs-container"></div>
      <div class="js-input">
        <div class="buttons">
          <div class="button cancel">Cancel</div>
          <div class="button execute">Execute</div>
        </div>
        <span class="icon-arrow-right"></span>
        <textarea></textarea>
      </div>
    `));var Qn=Un.find(yr(".js-input")),ur=Qn.find("textarea"),Ar=Qn.find(yr(".buttons"));qn()(this,{_$control:Un.find(yr(".control")),_$logs:Un.find(yr(".logs-container")),_$inputContainer:Qn,_$input:ur,_$inputBtns:Ar,_$filterText:Un.find(yr(".filter-text"))})}},{key:"_initLogger",value:function(){var Un=this.config,Qn=Un.get("maxLogNum");Qn=Qn==="infinite"?0:+Qn;var ur=this._$control.find(yr(".level")),Ar=new di.Z(this._$logs.get(0),{asyncRender:Un.get("asyncRender"),maxNum:Qn,showHeader:Un.get("displayExtraInfo"),unenumerable:Un.get("displayUnenumerable"),accessGetter:Un.get("displayGetterVal"),lazyEvaluation:Un.get("lazyEvaluation")});Ar.on("optionChange",function(Fr,Wr){Fr==="level"&&ur.each(function(){var no=En()(this),io=no.data("level");no[io===Wr||io==="all"&&ar()(Wr)?"addClass":"rmClass"](yr("active"))})}),Un.get("overrideConsole")&&this.overrideConsole(),this._logger=Ar}},{key:"_exposeLogger",value:function(){var Un=this,Qn=this._logger;["html"].concat(Pa).forEach(function(ur){return Un[ur]=function(){for(var Ar=arguments.length,Fr=new Array(Ar),Wr=0;Wr<Ar;Wr++)Fr[Wr]=arguments[Wr];return Qn[ur].apply(Qn,Fr),Un.emit.apply(Un,[ur].concat(Fr)),Un}})}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._container,ur=this._$input,Ar=this._$inputBtns,Fr=this._$control,Wr=this._logger,no=this.config;Fr.on("click",yr(".clear-console"),function(){return Wr.clear(!0)}).on("click",yr(".level"),function(){var io=En()(this).data("level");io==="all"&&(io=["verbose","info","warning","error"]),Wr.setOption("level",io)}).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(io){Ca()(io)||Un.filter(io)})}).on("click",yr(".copy"),function(){Un._selectedLog.copy(),Qn.notify("Copied")}),Ar.on("click",yr(".cancel"),function(){return Un._hideInput()}).on("click",yr(".execute"),function(){var io=ur.val().trim();io!==""&&(Wr.evaluate(io),ur.val("").get(0).blur(),Un._hideInput())}),ur.on("focusin",function(){return Un._showInput()}),Wr.on("insert",function(io){io.type==="error"&&no.get("displayIfErr")&&Qn.showTool("console").show()}),Wr.on("select",function(io){Un._selectedLog=io,Fr.find(yr(".icon-copy")).rmClass(yr("icon-disabled"))}),Wr.on("deselect",function(){Un._selectedLog=null,Fr.find(yr(".icon-copy")).addClass(yr("icon-disabled"))}),Qn.on("show",this._handleShow)}},{key:"_hideInput",value:function(){this._$inputContainer.rmClass(yr("active")),this._$inputBtns.css("display","none")}},{key:"_showInput",value:function(){this._$inputContainer.addClass(yr("active")),this._$inputBtns.css("display","flex")}},{key:"_rmCfg",value:function(){var Un=this.config,Qn=this._container.get("settings");Qn&&Qn.remove(Un,"asyncRender").remove(Un,"jsExecution").remove(Un,"catchGlobalErr").remove(Un,"overrideConsole").remove(Un,"displayExtraInfo").remove(Un,"displayUnenumerable").remove(Un,"displayGetterVal").remove(Un,"lazyEvaluation").remove(Un,"displayIfErr").remove(Un,"maxLogNum").remove(Aa()(this.name))}},{key:"_initCfg",value:function(){var Un=this,Qn=this._container,ur=this.config=xr.createCfg(this.name,{asyncRender:!0,catchGlobalErr:!0,jsExecution:!0,overrideConsole:!0,displayExtraInfo:!1,displayUnenumerable:!0,displayGetterVal:!0,lazyEvaluation:!0,displayIfErr:!1,maxLogNum:"infinite"});this._enableJsExecution(ur.get("jsExecution")),ur.get("catchGlobalErr")&&this.catchGlobalErr(),ur.on("change",function(Fr,Wr){var no=Un._logger;switch(Fr){case"asyncRender":return no.setOption("asyncRender",Wr);case"jsExecution":return Un._enableJsExecution(Wr);case"catchGlobalErr":return Wr?Un.catchGlobalErr():Un.ignoreGlobalErr();case"overrideConsole":return Wr?Un.overrideConsole():Un.restoreConsole();case"maxLogNum":return no.setOption("maxNum",Wr==="infinite"?0:+Wr);case"displayExtraInfo":return no.setOption("showHeader",Wr);case"displayUnenumerable":return no.setOption("unenumerable",Wr);case"displayGetterVal":return no.setOption("accessGetter",Wr);case"lazyEvaluation":return no.setOption("lazyEvaluation",Wr)}});var Ar=Qn.get("settings");Ar&&Ar.text(Aa()(this.name)).switch(ur,"asyncRender","Asynchronous Rendering").switch(ur,"jsExecution","Enable JavaScript Execution").switch(ur,"catchGlobalErr","Catch Global Errors").switch(ur,"overrideConsole","Override Console").switch(ur,"displayIfErr","Auto Display If Error Occurs").switch(ur,"displayExtraInfo","Display Extra Information").switch(ur,"displayUnenumerable","Display Unenumerable Properties").switch(ur,"displayGetterVal","Access Getter Value").switch(ur,"lazyEvaluation","Lazy Evaluation").select(ur,"maxLogNum","Max Log Number",["infinite","250","125","100","50","10"]).separator()}}]),pr}(Sn),Pa=["log","error","info","warn","dir","time","timeLog","timeEnd","clear","table","assert","count","countReset","debug","group","groupCollapsed","groupEnd"],pi=Ie(4677),hi=Ie.n(pi),mi=Ie(8887),sa=Ie.n(mi),vi=Ie(8901),Bo=Ie.n(vi),gi=Ie(2327),ya=Ie.n(gi),yi=Ie(4219),bi=Ie.n(yi),_i=Ie(7756),xa=Ie.n(_i);function wi(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ki=function(wr){(0,Dt.Z)(pr,wr);var gr=wi(pr);function pr(Un,Qn){var ur;return(0,Ue.Z)(this,pr),ur=gr.call(this),(0,hn.Z)((0,At.Z)(ur),"_copyRes",function(){var Ar=ur._detailData,Fr="".concat(Ar.method," ").concat(Ar.url," ").concat(Ar.status,`
`);sa()(Ar.data)||(Fr+=`
Request Data

`,Fr+="".concat(Ar.data,`
`)),sa()(Ar.reqHeaders)||(Fr+=`
Request Headers

`,Mn()(Ar.reqHeaders,function(Wr,no){return Fr+="".concat(no,": ").concat(Wr,`
`)})),sa()(Ar.resHeaders)||(Fr+=`
Response Headers

`,Mn()(Ar.resHeaders,function(Wr,no){return Fr+="".concat(no,": ").concat(Wr,`
`)})),Ar.resTxt&&(Fr+=`
`.concat(Ar.resTxt,`
`)),ya()(Fr),ur._devtools.notify("Copied")}),ur._$container=Un,ur._devtools=Qn,ur._detailData={},ur._bindEvent(),ur}return(0,qe.Z)(pr,[{key:"show",value:function(Un){Un.resTxt&&ko()(Un.resTxt)===""&&delete Un.resTxt,sa()(Un.resHeaders)&&delete Un.resHeaders,sa()(Un.reqHeaders)&&delete Un.reqHeaders;var Qn="";Un.data&&(Qn='<pre class="'.concat(yr("data"),'">').concat(Bo()(Un.data),"</pre>"));var ur="<tr><td>Empty</td></tr>";Un.reqHeaders&&(ur=Vr()(Un.reqHeaders,function(io,Eo){return`<tr>
          <td class="`.concat(yr("key"),'">').concat(Bo()(Eo),`</td>
          <td>`).concat(Bo()(io),`</td>
        </tr>`)}).join(""));var Ar="<tr><td>Empty</td></tr>";Un.resHeaders&&(Ar=Vr()(Un.resHeaders,function(io,Eo){return`<tr>
          <td class="`.concat(yr("key"),'">').concat(Bo()(Eo),`</td>
          <td>`).concat(Bo()(io),`</td>
        </tr>`)}).join(""));var Fr="";if(Un.resTxt){var Wr=Un.resTxt;Wr.length>Ka&&(Wr=xa()(Wr,Ka)),Fr='<pre class="'.concat(yr("response"),'">').concat(Bo()(Wr),"</pre>")}var no='<div class="'.concat(yr("control"),`">
      <span class="`).concat(yr("icon-arrow-left back"),`"></span>
      <span class="`).concat(yr("icon-delete back"),`"></span>
      <span class="`).concat(yr("url"),'">').concat(Bo()(Un.url),`</span>
      <span class="`).concat(yr("icon-copy copy-res"),`"></span>
    </div>
    <div class="`).concat(yr("http"),`">
      `).concat(Qn,`
      <div class="`).concat(yr("section"),`">
        <h2>Response Headers</h2>
        <table class="`).concat(yr("headers"),`">
          <tbody>
            `).concat(Ar,`
          </tbody>
        </table>
      </div>
      <div class="`).concat(yr("section"),`">
        <h2>Request Headers</h2>
        <table class="`).concat(yr("headers"),`">
          <tbody>
            `).concat(ur,`
          </tbody>
        </table>
      </div>
      `).concat(Fr,`
    </div>`);this._$container.html(no).show(),this._detailData=Un}},{key:"hide",value:function(){this._$container.hide(),this.emit("hide")}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._devtools;this._$container.on("click",yr(".back"),function(){return Un.hide()}).on("click",yr(".copy-res"),this._copyRes).on("click",yr(".http .response"),function(){var Ar=Un._detailData,Fr=Ar.resTxt;if(bi()(Fr))return ur("object",Fr);switch(Ar.subType){case"css":return ur("css",Fr);case"html":return ur("html",Fr);case"javascript":return ur("js",Fr);case"json":return ur("object",Fr)}return Ar.type==="image"?ur("img",Ar.url):void 0});var ur=function(Ar,Fr){var Wr=Qn.get("sources");Wr&&(Wr.set(Ar,Fr),Qn.showTool("sources"))}}}]),pr}(bn()),Ka=1e5,Si=Ie(2439),Ya=Ie.n(Si),Ci=Ie(9143),xi=Ie.n(Ci),qa=Ie(2139),Ei=Ie(8689),Fa=Ie(7935),vo=Ie(9119);function No(wr,gr){var pr=Object.keys(wr);if(Object.getOwnPropertySymbols){var Un=Object.getOwnPropertySymbols(wr);gr&&(Un=Un.filter(function(Qn){return Object.getOwnPropertyDescriptor(wr,Qn).enumerable})),pr.push.apply(pr,Un)}return pr}function mo(wr){for(var gr=1;gr<arguments.length;gr++){var pr=arguments[gr]!=null?arguments[gr]:{};gr%2?No(Object(pr),!0).forEach(function(Un){(0,hn.Z)(wr,Un,pr[Un])}):Object.getOwnPropertyDescriptors?Object.defineProperties(wr,Object.getOwnPropertyDescriptors(pr)):No(Object(pr)).forEach(function(Un){Object.defineProperty(wr,Un,Object.getOwnPropertyDescriptor(pr,Un))})}return wr}var hr=new(xi());hr.register("Network",qa),hr.register("Overlay",Ei),hr.register("DOM",mo(mo({},Fa),{},{getNodeId:Fa.getDOMNodeId,getNode:Fa.getDOMNode})),hr.register("Storage",vo);var fr=hr,Nr=Ie(5564),jr=Ie(242),ao=Ie.n(jr),eo=Ie(2765),lo=Ie.n(eo),fo=Ie(6954),bo=Ie.n(fo),Io=Ie(7913),Lo=Ie.n(Io);function Ho(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Jo=function(wr){(0,Dt.Z)(pr,wr);var gr=Ho(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=gr.call(this),(0,hn.Z)((0,At.Z)(Un),"_reqWillBeSent",function(Qn){if(Un._isRecording){var ur,Ar={name:So(Qn.request.url),url:Qn.request.url,status:"pending",type:"unknown",subType:"unknown",size:0,data:Qn.request.postData,method:Qn.request.method,startTime:1e3*Qn.timestamp,time:0,resTxt:"",done:!1,reqHeaders:Qn.request.headers||{},resHeaders:{}};Ar.render=function(){var Fr={name:Ar.name,method:Ar.method,status:Ar.status,type:Ar.subType,size:Ar.size,time:Ar.displayTime};ur?(ur.data=Fr,ur.render()):(ur=Un._requestDataGrid.append(Fr,{selectable:!0}),En()(ur.container).data("id",Qn.requestId)),Ar.hasErr&&En()(ur.container).addClass(yr("request-error"))},Ar.render(),Un._requests[Qn.requestId]=Ar}}),(0,hn.Z)((0,At.Z)(Un),"_resReceivedExtraInfo",function(Qn){var ur=Un._requests[Qn.requestId];Un._isRecording&&ur&&(ur.resHeaders=Qn.headers,Un._updateType(ur),ur.render())}),(0,hn.Z)((0,At.Z)(Un),"_resReceived",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=Qn.response,Fr=Ar.status,Wr=Ar.headers;ur.status=Fr,(Fr<200||Fr>=300)&&(ur.hasErr=!0),Wr&&(ur.resHeaders=Wr,Un._updateType(ur)),ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_loadingFinished",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=1e3*Qn.timestamp;ur.time=Ar-ur.startTime,ur.displayTime=hi()(ur.time),ur.size=Qn.encodedDataLength,ur.done=!0,ur.resTxt=fr.domain("Network").getResponseBody({requestId:Qn.requestId}).body,ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_copyCurl",function(){var Qn=Un._selectedRequest;ya()(function(ur){var Ar=bo()();Ar==="windows"&&(Ar="win");var Fr=[],Wr=Lo()(["accept-encoding","host","method","path","scheme","version"]),no=Ar==="win"?function(da){var ni=/[\r\n]/.test(da)?'^"':'"';return ni+da.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/[^a-zA-Z0-9\s_\-:=+~'\/.',?;()*`&]/g,"^$&").replace(/%(?=[a-zA-Z0-9_])/g,"%^").replace(/\r?\n/g,`^

`)+ni}:function(da){return/[\0-\x1F\x7F-\x9F!]|\'/.test(da)?"$'"+da.replace(/\\/g,"\\\\").replace(/\'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\0-\x1F\x7F-\x9F!]/g,function(ni){for(var ri=ni.charCodeAt(0).toString(16);ri.length<4;)ri="0"+ri;return"\\u"+ri})+"'":"'"+da+"'"};Fr.push(no(ur.url()).replace(/[[{}\]]/g,"\\$&"));var io="GET",Eo=[],Oo=ur.requestFormData();Oo&&(Eo.push("--data-raw "+no(Oo)),Wr["content-length"]=!0,io="POST"),ur.requestMethod!==io&&Fr.push("-X "+no(ur.requestMethod));for(var zo=ur.requestHeaders(),Wo=0;Wo<zo.length;Wo++){var Zo=zo[Wo],ca=Zo.name.replace(/^:/,"");Wr[ca.toLowerCase()]||Fr.push("-H "+no(ca+": "+Zo.value))}return(Fr=Fr.concat(Eo)).push("--compressed"),"curl "+Fr.join(Fr.length>=3?Ar==="win"?` ^
  `:` \\
  `:" ")}({requestMethod:Qn.method,url:function(){return Qn.url},requestFormData:function(){return Qn.data},requestHeaders:function(){var ur=Qn.reqHeaders||{};return qn()(ur,{"User-Agent":navigator.userAgent,Referer:location.href}),Vr()(ur,function(Ar,Fr){return{name:Fr,value:Ar}})}})),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleRecording",function(){Un._$control.find(yr(".record")).toggleClass(yr("recording")),Un._isRecording=!Un._isRecording}),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._selectedRequest&&(Un._splitMode&&Un._$network.css("width","50%"),Un._detail.show(Un._selectedRequest))}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),Un._style=_r(Ie(3180)),Un.name="network",Un._requests={},Un._selectedRequest=null,Un._isRecording=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._detail=new ki(this._$detail,Qn),this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._requestDataGrid=new Nr.Z(this._$requests.get(0),{columns:[{id:"name",title:"Name",sortable:!0,weight:30},{id:"method",title:"Method",sortable:!0,weight:14},{id:"status",title:"Status",sortable:!0,weight:14},{id:"type",title:"Type",sortable:!0,weight:14},{id:"size",title:"Size",sortable:!0,weight:14},{id:"time",title:"Time",sortable:!0,weight:14}]}),this._resizeSensor=new(ao())(Un.get(0)),this._bindEvent()}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._updateDataGridHeight()}},{key:"clear",value:function(){this._requests={},this._requestDataGrid.clear()}},{key:"requests",value:function(){var Un=[];return Mn()(this._requests,function(Qn){Un.push(Qn)}),Un}},{key:"_updateDataGridHeight",value:function(){var Un=this._$el.offset().height-this._$control.offset().height;this._requestDataGrid.setOption({minHeight:Un,maxHeight:Un})}},{key:"_updateType",value:function(Un){var Qn=function(Fr){if(!Fr)return"unknown";var Wr=Fr.split(";")[0].split("/");return{type:Wr[0],subType:Lr()(Wr)}}(Un.resHeaders["content-type"]||""),ur=Qn.type,Ar=Qn.subType;Un.type=ur,Un.subType=Ar}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-curl")),Ar=yr("icon-disabled");Qn.addClass(Ar),ur.addClass(Ar),this._selectedRequest&&(Qn.rmClass(Ar),ur.rmClass(Ar))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$control,ur=this._$filterText,Ar=this._requestDataGrid,Fr=this;Qn.on("click",yr(".clear-request"),function(){return Un.clear()}).on("click",yr(".show-detail"),this._showDetail).on("click",yr(".copy-curl"),this._copyCurl).on("click",yr(".record"),this._toggleRecording).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(no){Ca()(no)||(ur.text(no),Ar.setOption("filter",ko()(no)))})}),Ar.on("select",function(no){var io=En()(no.container).data("id"),Eo=Fr._requests[io];Un._selectedRequest=Eo,Un._updateButtons(),Un._splitMode&&Un._showDetail()}),Ar.on("deselect",function(){Un._selectedRequest=null,Un._updateButtons(),Un._detail.hide()}),this._resizeSensor.addListener(Ya()(function(){return Un._updateDataGridHeight()},15)),this._splitMediaQuery.on("match",function(){Un._detail.hide(),Un._splitMode=!0}),this._splitMediaQuery.on("unmatch",function(){Un._detail.hide(),Un._splitMode=!1}),this._detail.on("hide",function(){Un._splitMode&&Un._$network.css("width","100%")}),fr.domain("Network").enable();var Wr=fr.domain("Network");Wr.on("requestWillBeSent",this._reqWillBeSent),Wr.on("responseReceivedExtraInfo",this._resReceivedExtraInfo),Wr.on("responseReceived",this._resReceived),Wr.on("loadingFinished",this._loadingFinished),wn.on(wn.SCALE,this._updateScale)}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._resizeSensor.destroy(),_r.remove(this._style),this._splitMediaQuery.removeAllListeners();var Un=fr.domain("Network");Un.off("requestWillBeSent",this._reqWillBeSent),Un.off("responseReceivedExtraInfo",this._resReceivedExtraInfo),Un.off("responseReceived",this._resReceived),Un.off("loadingFinished",this._loadingFinished),wn.off(wn.SCALE,this._updateScale)}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`<div class="network">
        <div class="control">
          <span class="icon-record record recording"></span>
          <span class="icon-clear clear-request"></span>
          <span class="icon-eye icon-disabled show-detail"></span>
          <span class="icon-copy icon-disabled copy-curl"></span>
          <span class="filter-text"></span>
          <span class="icon-filter filter"></span>
        </div>
        <div class="requests"></div>
      </div>
      <div class="detail"></div>`)),this._$network=Un.find(yr(".network")),this._$detail=Un.find(yr(".detail")),this._$requests=Un.find(yr(".requests")),this._$control=Un.find(yr(".control")),this._$filterText=Un.find(yr(".filter-text"))}}]),pr}(Sn),Mo=Ie(9833),Go=Ie.n(Mo),ra=Ie(9956),ta=Ie.n(ra),Ea=Ie(8209),Na=Ie(3063),Ma=Ie.n(Na),va=Ie(3487),la=Ie.n(va),ua=Ie(42),ga=Ie.n(ua),ba=Ie(4696),Ia=Ie.n(ba),Oa=Ie(7653),Ta=Ie.n(Oa),Ra=Ie(8613),Ha=Ie.n(Ra),wa=Ie(2289),Da=Ie.n(wa),ja=Ie(3629),Za=Ie.n(ja);function La(wr){for(var gr={},pr=0,Un=wr.length;pr<Un;pr++){var Qn=wr[pr];wr[Qn]!=="initial"&&(gr[Qn]=wr[Qn])}return function(ur){return Za()(ur,{comparator:function(Ar,Fr){for(var Wr=Ar.length,no=Fr.length,io=Wr>no?no:Wr,Eo=0;Eo<io;Eo++){var Oo=Ti(Ar.charCodeAt(Eo),Fr.charCodeAt(Eo));if(Oo!==0)return Oo}return Wr>no?1:Wr<no?-1:0}})}(gr)}var Uo=Element.prototype,Ba=function(){return!1};Uo.webkitMatchesSelector?Ba=function(wr,gr){return wr.webkitMatchesSelector(gr)}:Uo.mozMatchesSelector&&(Ba=function(wr,gr){return wr.mozMatchesSelector(gr)});var Xa=function(){function wr(gr){(0,Ue.Z)(this,wr),this._el=gr}return(0,qe.Z)(wr,[{key:"getComputedStyle",value:function(){return La(window.getComputedStyle(this._el))}},{key:"getMatchedCSSRules",value:function(){var gr=this,pr=[];return Mn()(document.styleSheets,function(Un){try{if(!Un.cssRules)return}catch{return}Mn()(Un.cssRules,function(Qn){var ur=!1;try{ur=gr._elMatchesSel(Qn.selectorText)}catch{}ur&&pr.push({selectorText:Qn.selectorText,style:La(Qn.style)})})}),pr}},{key:"_elMatchesSel",value:function(gr){return Ba(this._el,gr)}}]),wr}();function Ti(wr,gr){return(wr=Ni(wr))>(gr=Ni(gr))?1:wr<gr?-1:0}function Ni(wr){return wr===45?123:wr}var Ui=Ie(422);function Mi(wr){var gr=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).noAttr,pr=gr!==void 0&&gr;if(wr.nodeType===Node.TEXT_NODE)return'<span class="'.concat(yr("tag-name-color"),'">(text)</span>');if(wr.nodeType===Node.COMMENT_NODE)return'<span class="'.concat(yr("tag-name-color"),'"><!--></span>');var Un=wr.id,Qn=wr.className,ur=wr.attributes,Ar='<span class="eruda-tag-name-color">'.concat(wr.tagName.toLowerCase(),"</span>");if(Un!==""&&(Ar+='<span class="eruda-function-color">#'.concat(Un,"</span>")),Bn()(Qn)){var Fr="";Mn()(Qn.split(/\s+/g),function(Wr){Wr.trim()!==""&&(Fr+=".".concat(Wr))}),Ar+='<span class="eruda-attribute-name-color">'.concat(Fr,"</span>")}return pr||Mn()(ur,function(Wr){var no=Wr.name;no!=="id"&&no!=="class"&&no!=="style"&&(Ar+=' <span class="eruda-attribute-name-color">'.concat(no,'</span><span class="eruda-operator-color">="</span><span class="eruda-string-color">').concat(Wr.value,'</span><span class="eruda-operator-color">"</span>'))}),Ar}var Wi=function(){function wr(gr,pr){var Un=this;(0,Ue.Z)(this,wr),(0,hn.Z)(this,"hide",function(){Un._$container.hide(),Un._disableObserver(),fr.domain("Overlay").hideHighlight()}),this._$container=gr,this._devtools=pr,this._curEl=document.documentElement,this._bindEvent(),this._initObserver(),this._initCfg(),this._initTpl()}return(0,qe.Z)(wr,[{key:"show",value:function(gr){this._curEl=gr,this._rmDefComputedStyle=!0,this._computedStyleSearchKeyword="",this._enableObserver(),this._render();var pr=fr.domain("DOM").getNodeId({node:gr}).nodeId;fr.domain("Overlay").highlightNode({nodeId:pr,highlightConfig:{showInfo:!0,contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}})}},{key:"destroy",value:function(){this._disableObserver(),this.restoreEventTarget(),this._rmCfg()}},{key:"overrideEventTarget",value:function(){var gr=Di(),pr=this._origAddEvent=gr.addEventListener,Un=this._origRmEvent=gr.removeEventListener;gr.addEventListener=function(Qn,ur,Ar){(function(Fr,Wr,no){var io=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!(!Go()(Fr)||!ha()(no)||!Ia()(io))){var Eo=Fr.erudaEvents=Fr.erudaEvents||{};Eo[Wr]=Eo[Wr]||[],Eo[Wr].push({listener:no,listenerStr:no.toString(),useCapture:io})}})(this,Qn,ur,Ar),pr.apply(this,arguments)},gr.removeEventListener=function(Qn,ur,Ar){(function(Fr,Wr,no){var io=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!(!Go()(Fr)||!ha()(no)||!Ia()(io))){var Eo=Fr.erudaEvents;if(!(!Eo||!Eo[Wr])){for(var Oo=Eo[Wr],zo=0,Wo=Oo.length;zo<Wo;zo++)if(Oo[zo].listener===no){Oo.splice(zo,1);break}Oo.length===0&&delete Eo[Wr],Gn()(Eo).length===0&&delete Fr.erudaEvents}}})(this,Qn,ur,Ar),Un.apply(this,arguments)}}},{key:"restoreEventTarget",value:function(){var gr=Di();this._origAddEvent&&(gr.addEventListener=this._origAddEvent),this._origRmEvent&&(gr.removeEventListener=this._origRmEvent)}},{key:"_initTpl",value:function(){var gr=this._$container,pr='<div class="'.concat(yr("control"),`">
      <span class="`).concat(yr("icon-arrow-left back"),`"></span>
      <span class="`).concat(yr("element-name"),`"></span>
      <span class="`).concat(yr("icon-refresh refresh"),`"></span>
    </div>
    <div class="`).concat(yr("element"),`">
      <div class="`).concat(yr("attributes section"),`"></div>
      <div class="`).concat(yr("styles section"),`"></div>
      <div class="`).concat(yr("computed-style section"),`"></div>
      <div class="`).concat(yr("listeners section"),`"></div>
    </div>`);gr.html(pr),this._$elementName=gr.find(yr(".element-name")),this._$attributes=gr.find(yr(".attributes")),this._$styles=gr.find(yr(".styles")),this._$listeners=gr.find(yr(".listeners")),this._$computedStyle=gr.find(yr(".computed-style"));var Un=Ha()("div");this._$boxModel=En()(Un),this._boxModel=new Ui.Z(Un)}},{key:"_toggleAllComputedStyle",value:function(){this._rmDefComputedStyle=!this._rmDefComputedStyle,this._render()}},{key:"_render",value:function(){var gr=this._getData(this._curEl),pr=this._$attributes,Un=this._$elementName,Qn=this._$styles,ur=this._$computedStyle,Ar=this._$listeners;Un.html(gr.name);var Fr="<tr><td>Empty</td></tr>";sa()(gr.attributes)||(Fr=Vr()(gr.attributes,function(zo){var Wo=zo.name,Zo=zo.value;return`<tr>
          <td class="`.concat(yr("attribute-name-color"),'">').concat(Bo()(Wo),`</td>
          <td class="`).concat(yr("string-color"),'">').concat(Zo,`</td>
        </tr>`)}).join("")),Fr=`<h2>Attributes</h2>
    <div class="`.concat(yr("table-wrapper"),`">
      <table>
        <tbody>
          `).concat(Fr,` 
        </tbody>
      </table>
    </div>`),pr.html(Fr);var Wr="";if(sa()(gr.styles))Qn.hide();else{var no=Vr()(gr.styles,function(zo){var Wo=zo.selectorText,Zo=zo.style;return Zo=Vr()(Zo,function(ca,da){return'<div class="'.concat(yr("rule"),'"><span>').concat(Bo()(da),"</span>: ").concat(ca,";</div>")}).join(""),'<div class="'.concat(yr("style-rules"),`">
          <div>`).concat(Bo()(Wo),` {</div>
            `).concat(Zo,`
          <div>}</div>
        </div>`)}).join("");Wr=`<h2>Styles</h2>
      <div class="`.concat(yr("style-wrapper"),`">
        `).concat(no,`
      </div>`),Qn.html(Wr).show()}var io="";if(gr.computedStyle){var Eo=yr(`<div class="btn toggle-all-computed-style">
        <span class="icon-expand"></span>
      </div>`);gr.rmDefComputedStyle&&(Eo=yr(`<div class="btn toggle-all-computed-style">
          <span class="icon-compress"></span>
        </div>`)),io=`<h2>
        Computed Style
        `.concat(Eo,`
        <div class="`).concat(yr("btn computed-style-search"),`">
          <span class="`).concat(yr("icon-filter"),`"></span>
        </div>
        `).concat(gr.computedStyleSearchKeyword?'<div class="'.concat(yr("btn filter-text"),'">').concat(Bo()(gr.computedStyleSearchKeyword),"</div>"):"",`
      </h2>
      <div class="`).concat(yr("box-model"),`"></div>
      <div class="`).concat(yr("table-wrapper"),`">
        <table>
          <tbody>
          `).concat(Vr()(gr.computedStyle,function(zo,Wo){return`<tr>
              <td class="`.concat(yr("key"),'">').concat(Bo()(Wo),`</td>
              <td>`).concat(zo,`</td>
            </tr>`)}).join(""),`
          </tbody>
        </table>
      </div>`),ur.html(io).show(),this._boxModel.setOption("element",this._curEl),ur.find(yr(".box-model")).append(this._$boxModel.get(0))}else ur.text("").hide();var Oo="";gr.listeners?(Oo=Vr()(gr.listeners,function(zo,Wo){return zo=Vr()(zo,function(Zo){var ca=Zo.useCapture,da=Zo.listenerStr;return"<li ".concat(ca?'class="'.concat(yr("capture"),'"'):"",">").concat(Bo()(da),"</li>")}).join(""),'<div class="'.concat(yr("listener"),`">
          <div class="`).concat(yr("listener-type"),'">').concat(Bo()(Wo),`</div>
          <ul class="`).concat(yr("listener-content"),`">
            `).concat(zo,`
          </ul>
        </div>`)}).join(""),Oo=`<h2>Event Listeners</h2>
      <div class="`.concat(yr("listener-wrapper"),`">
        `).concat(Oo,` 
      </div>`),Ar.html(Oo).show()):Ar.hide(),this._$container.show()}},{key:"_getData",value:function(gr){var pr={},Un=new Xa(gr),Qn=gr.className,ur=gr.id,Ar=gr.attributes,Fr=gr.tagName;pr.computedStyleSearchKeyword=this._computedStyleSearchKeyword,pr.attributes=Ki(Ar),pr.name=Mi({tagName:Fr,id:ur,className:Qn,attributes:Ar});var Wr=gr.erudaEvents;if(Wr&&Gn()(Wr).length!==0&&(pr.listeners=Wr),Xi(Fr))return pr;var no=Un.getComputedStyle(),io=Un.getMatchedCSSRules();io.unshift(function(Oo){for(var zo={selectorText:"element.style",style:{}},Wo=0,Zo=Oo.length;Wo<Zo;Wo++){var ca=Oo[Wo];zo.style[ca]=Oo[ca]}return zo}(gr.style)),io.forEach(function(Oo){return Ii(Oo.style)}),pr.styles=io,this._rmDefComputedStyle&&(no=function(Oo,zo){var Wo={},Zo=["display","width","height"];return Mn()(zo,function(ca){Zo=Zo.concat(Gn()(ca.style))}),Zo=ga()(Zo),Mn()(Oo,function(ca,da){Ln()(Zo,da)&&(Wo[da]=ca)}),Wo}(no,io)),pr.rmDefComputedStyle=this._rmDefComputedStyle;var Eo=Ma()(pr.computedStyleSearchKeyword);return Eo&&(no=la()(no,function(Oo,zo){return Ln()(zo,Eo)||Ln()(Oo,Eo)})),Ii(no),pr.computedStyle=no,pr}},{key:"_bindEvent",value:function(){var gr=this,pr=this._devtools;this._$container.on("click",yr(".toggle-all-computed-style"),function(){return gr._toggleAllComputedStyle()}).on("click",yr(".computed-style-search"),function(){ea.Z.prompt("Filter").then(function(Un){Ca()(Un)||(Un=ko()(Un),gr._computedStyleSearchKeyword=Un,gr._render())})}).on("click",".eruda-listener-content",function(){var Un=En()(this).text(),Qn=pr.get("sources");Qn&&(Qn.set("js",Un),pr.showTool("sources"))}).on("click",yr(".element-name"),function(){var Un=pr.get("sources");Un&&(Un.set("object",gr._curEl),pr.showTool("sources"))}).on("click",yr(".back"),this.hide).on("click",yr(".refresh"),function(){gr._render(),pr.notify("Refreshed")})}},{key:"_initObserver",value:function(){var gr=this;this._observer=new(Da())(function(pr){Mn()(pr,function(Un){return gr._handleMutation(Un)})})}},{key:"_enableObserver",value:function(){this._observer.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})}},{key:"_disableObserver",value:function(){this._observer.disconnect()}},{key:"_handleMutation",value:function(gr){if(!Zr(gr.target)&&gr.type==="attributes"){if(gr.target!==this._curEl)return;this._render()}}},{key:"_rmCfg",value:function(){var gr=this.config,pr=this._devtools.get("settings");pr&&pr.remove(gr,"overrideEventTarget").remove(gr,"observeElement").remove("Elements")}},{key:"_initCfg",value:function(){var gr=this,pr=this.config=xr.createCfg("elements",{overrideEventTarget:!0});pr.get("overrideEventTarget")&&this.overrideEventTarget(),pr.on("change",function(Qn,ur){if(Qn==="overrideEventTarget")return ur?gr.overrideEventTarget():gr.restoreEventTarget()});var Un=this._devtools.get("settings");Un&&(Un.text("Elements").switch(pr,"overrideEventTarget","Catch Event Listeners"),Un.separator())}}]),wr}();function Ii(wr){Mn()(wr,function(gr,pr){return wr[pr]=Oi(gr)})}var Ki=function(wr){return Vr()(wr,function(gr){var pr=gr.value,Un=gr.name;return pr=Bo()(pr),(Un==="src"||Un==="href")&&!Qo()(pr,"data")&&(pr=Ri(pr)),Un==="style"&&(pr=Oi(pr)),{name:Un,value:pr}})},Yi=/rgba?\((.*?)\)/g,qi=/url\("?(.*?)"?\)/g;function Oi(wr){return(wr=zn()(wr)).replace(Yi,'<span class="eruda-style-color" style="background-color: $&"></span>$&').replace(qi,function(gr,pr){return'url("'.concat(Ri(pr),'")')})}var Zi=["script","style","meta","title","link","head"],Xi=function(wr){return Zi.indexOf(wr.toLowerCase())>-1},Ri=function(wr){return'<a href="'.concat(wr,'" target="_blank">').concat(wr,"</a>")},Di=function(){return Ta()(window,"EventTarget.prototype")||window.Node.prototype};function Ji(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Qi=function(wr){(0,Dt.Z)(pr,wr);var gr=Ji(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=gr.call(this),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._isShow&&Un._curNode&&(Un._curNode.nodeType===Node.ELEMENT_NODE?Un._detail.show(Un._curNode):Un._detail.show(Un._curNode.parentNode))}),(0,hn.Z)((0,At.Z)(Un),"_back",function(){if(Un._curNode!==Un._htmlEl){for(var Qn=Un._curParentQueue,ur=Qn.shift();!Li(ur);)ur=Qn.shift();Un.set(ur)}}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),(0,hn.Z)((0,At.Z)(Un),"_deleteNode",function(){var Qn=Un._curNode;Qn.parentNode&&Qn.parentNode.removeChild(Qn)}),(0,hn.Z)((0,At.Z)(Un),"_copyNode",function(){var Qn=Un._curNode;Qn.nodeType===Node.ELEMENT_NODE?ya()(Qn.outerHTML):ya()(Qn.nodeValue),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleSelect",function(){Un._$el.find(yr(".select")).toggleClass(yr("active")),Un._selectElement=!Un._selectElement,Un._selectElement?(fr.domain("Overlay").setInspectMode({mode:"searchForNode",highlightConfig:{showInfo:!ta()(),showRulers:!1,showAccessibilityInfo:!ta()(),showExtensionLines:!1,contrastAlgorithm:"aa",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}}),Un._container.hide()):(fr.domain("Overlay").setInspectMode({mode:"none"}),fr.domain("Overlay").hideHighlight())}),(0,hn.Z)((0,At.Z)(Un),"_inspectNodeRequested",function(Qn){var ur=Qn.backendNodeId;Un._container.show(),Un._toggleSelect();var Ar=fr.domain("DOM").getNode({nodeId:ur}).node;Un.select(Ar)}),(0,hn.Z)((0,At.Z)(Un),"_setNode",function(Qn){if(Qn!==Un._curNode){Un._curNode=Qn,Un._renderCrumbs();for(var ur=[],Ar=Qn.parentNode;Ar;)ur.push(Ar),Ar=Ar.parentNode;Un._curParentQueue=ur,Un._splitMode&&Un._showDetail(),Un._updateButtons(),Un._updateHistory()}}),Un._style=_r(Ie(5896)),Un.name="elements",Un._selectElement=!1,Un._observeElement=!0,Un._history=[],bn().mixin((0,At.Z)(Un)),Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){var ur=this;(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._htmlEl=document.documentElement,this._detail=new Wi(this._$detail,Qn),this.config=this._detail.config,this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._domViewer=new Ea.Z(this._$domViewer.get(0),{node:this._htmlEl,ignore:function(Ar){return Zr(Ar)||Mr(Ar)}}),this._domViewer.expand(),this._bindEvent(),fr.domain("Overlay").enable(),Hr()(function(){return ur._updateHistory()})}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._isShow=!0,this._curNode?this._splitMode&&this._showDetail():this.select(document.body)}},{key:"hide",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"hide",this).call(this),this._isShow=!1,fr.domain("Overlay").hideHighlight()}},{key:"set",value:function(Un){return this.select(Un)}},{key:"select",value:function(Un){return this._domViewer.select(Un),this._setNode(Un),this.emit("change",Un),this}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),wn.off(wn.SCALE,this._updateScale),_r.remove(this._style),this._detail.destroy(),fr.domain("Overlay").off("inspectNodeRequested",this._inspectNodeRequested),fr.domain("Overlay").disable(),this._splitMediaQuery.removeAllListeners()}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-node")),Ar=Un.find(yr(".delete-node")),Fr=yr("icon-disabled");Qn.addClass(Fr),ur.addClass(Fr),Ar.addClass(Fr);var Wr=this._curNode;Wr&&(Wr!==document.documentElement&&Wr!==document.body&&Ar.rmClass(Fr),ur.rmClass(Fr),Wr.nodeType===Node.ELEMENT_NODE&&Qn.rmClass(Fr))}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`<div class="elements">
        <div class="control">
          <span class="icon icon-select select"></span>
          <span class="icon icon-eye show-detail"></span>
          <span class="icon icon-copy copy-node"></span>
          <span class="icon icon-delete delete-node"></span>
        </div>
        <div class="dom-viewer-container">
          <div class="dom-viewer"></div>
        </div>
        <div class="crumbs"></div>
      </div>
      <div class="detail"></div>`)),this._$detail=Un.find(yr(".detail")),this._$domViewer=Un.find(yr(".dom-viewer")),this._$control=Un.find(yr(".control")),this._$crumbs=Un.find(yr(".crumbs"))}},{key:"_renderCrumbs",value:function(){var Un=function(ur){for(var Ar=[],Fr=0;ur;)Ar.push({text:Mi(ur,{noAttr:!0}),idx:Fr++}),ur=ur.parentElement;return Ar.reverse()}(this._curNode),Qn="";sa()(Un)||(Qn=Vr()(Un,function(ur){var Ar=ur.text,Fr=ur.idx;return'<li class="'.concat(yr("crumb"),'" data-idx="').concat(Fr,'">').concat(Ar,"</div></li>")}).join("")),this._$crumbs.html(Qn)}},{key:"_bindEvent",value:function(){var Un=this,Qn=this;this._$el.on("click",yr(".crumb"),function(){for(var ur=_o()(En()(this).data("idx")),Ar=Qn._curNode;ur--&&Ar.parentElement;)Ar=Ar.parentElement;Li(Ar)&&Qn.select(Ar)}),this._$control.on("click",yr(".select"),this._toggleSelect).on("click",yr(".show-detail"),this._showDetail).on("click",yr(".copy-node"),this._copyNode).on("click",yr(".delete-node"),this._deleteNode),this._domViewer.on("select",this._setNode).on("deselect",this._back),fr.domain("Overlay").on("inspectNodeRequested",this._inspectNodeRequested),this._splitMediaQuery.on("match",function(){Un._splitMode=!0,Un._showDetail()}),this._splitMediaQuery.on("unmatch",function(){Un._splitMode=!1,Un._detail.hide()}),wn.on(wn.SCALE,this._updateScale)}},{key:"_updateHistory",value:function(){var Un=this._container.get("console");if(Un){var Qn=this._history;Qn.unshift(this._curNode),Qn.length>5&&Qn.pop();for(var ur=0;ur<5;ur++)Un.setGlobal("$".concat(ur),Qn[ur])}}}]),pr}(Sn),Li=function(wr){return Go()(wr)&&wr.parentNode},ts=Ie(8847),ns=Ie.n(ts),rs=Ie(9622),os=Ie.n(rs),Ja=null,as=[{name:"Border All",fn:function(){if(Ja)return _r.remove(Ja),void(Ja=null);Ja=_r("* { outline: 2px dashed #707d8b; outline-offset: -3px; }",document.head)},desc:"Add color borders to all elements"},{name:"Refresh Page",fn:function(){var wr=new(Br());wr.setQuery("timestamp",ns()()),window.location.replace(wr.toString())},desc:"Add timestamp to url and refresh"},{name:"Search Text",fn:function(){ea.Z.prompt("Enter the text").then(function(wr){wr&&ko()(wr)!==""&&function(gr){var pr=document.body,Un=new RegExp(gr,"ig");$i(pr,function(Qn){var ur=En()(Qn);if(ur.hasClass("eruda-search-highlight-block"))return document.createTextNode(ur.text())}),$i(pr,function(Qn){if(Qn.nodeType===3){var ur=Qn.nodeValue;if((ur=ur.replace(Un,function(Fr){return'<span class="eruda-keyword">'.concat(Fr,"</span>")}))!==Qn.nodeValue){var Ar=En()(document.createElement("div"));return Ar.html(ur),Ar.addClass("eruda-search-highlight-block"),Ar.get(0)}}})}(wr)})},desc:"Highlight given text on page"},{name:"Edit Page",fn:function(){var wr=document.body;wr.contentEditable=wr.contentEditable!=="true"},desc:"Toggle body contentEditable"},{name:"Fit Screen",fn:function(){var wr=document.body,gr=document.documentElement,pr=En()(wr);if(pr.data("scaled"))window.scrollTo(0,+pr.data("scaled")),pr.rmAttr("data-scaled"),pr.css("transform","none");else{var Un=Math.max(wr.scrollHeight,wr.offsetHeight,gr.clientHeight,gr.scrollHeight,gr.offsetHeight),Qn=Math.max(document.documentElement.clientHeight,window.innerHeight||0),ur=Qn/Un;pr.css("transform","scale(".concat(ur,")")),pr.data("scaled",window.scrollY),window.scrollTo(0,Un/2-Qn/2)}},desc:"Scale down the whole page to fit screen"},{name:"Load Monitor Plugin",fn:function(){ka("monitor")},desc:"Display page fps and memory"},{name:"Load Features Plugin",fn:function(){ka("features")},desc:"Browser feature detections"},{name:"Load Timing Plugin",fn:function(){ka("timing")},desc:"Show performance and resource timing"},{name:"Load Code Plugin",fn:function(){ka("code")},desc:"Edit and run JavaScript"},{name:"Load Benchmark Plugin",fn:function(){ka("benchmark")},desc:"Run JavaScript benchmarks"},{name:"Load Geolocation Plugin",fn:function(){ka("geolocation")},desc:"Test geolocation"},{name:"Load Orientation Plugin",fn:function(){ka("orientation")},desc:"Test orientation api"},{name:"Load Touches Plugin",fn:function(){ka("touches")},desc:"Visualize screen touches"}];function $i(wr,gr){var pr=wr.childNodes;if(!Zr(wr)){for(var Un=0,Qn=pr.length;Un<Qn;Un++){var ur=$i(pr[Un],gr);ur&&wr.replaceChild(ur,pr[Un])}return gr(wr)}}function ka(wr){var gr="eruda"+Aa()(wr);if(!window[gr]){var pr=location.protocol;Qo()(pr,"http")||(pr="http:"),os()("".concat(pr,"//cdn.jsdelivr.net/npm/eruda-").concat(wr,"@").concat(ss[wr]),function(Un){if(!Un||!window[gr])return Po.error("Fail to load plugin "+wr);wn.emit(wn.ADD,window[gr]),wn.emit(wn.SHOW,wr)})}}_r(Ie(7346),document.head);var ss={monitor:"1.0.0",features:"2.0.0",timing:"2.0.1",code:"2.1.0",benchmark:"2.0.1",geolocation:"2.0.0",dom:"2.0.0",orientation:"2.0.0",touches:"2.0.0"},ls=Ie(5852),us=Ie.n(ls);function cs(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ds=function(wr){(0,Dt.Z)(pr,wr);var gr=cs(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=gr.call(this))._style=_r(Ie(5571)),Un.name="snippets",Un._snippets=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._bindEvent(),this._addDefSnippets()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"add",value:function(Un,Qn,ur){return this._snippets.push({name:Un,fn:Qn,desc:ur}),this._render(),this}},{key:"remove",value:function(Un){return us()(this._snippets,function(Qn){return Qn.name===Un}),this._render(),this}},{key:"run",value:function(Un){for(var Qn=this._snippets,ur=0,Ar=Qn.length;ur<Ar;ur++)Qn[ur].name===Un&&this._run(ur);return this}},{key:"clear",value:function(){return this._snippets=[],this._render(),this}},{key:"_bindEvent",value:function(){var Un=this;this._$el.on("click",".eruda-run",function(){var Qn=En()(this).data("idx");Un._run(Qn)})}},{key:"_run",value:function(Un){this._snippets[Un].fn.call(null)}},{key:"_addDefSnippets",value:function(){var Un=this;Mn()(as,function(Qn){Un.add(Qn.name,Qn.fn,Qn.desc)})}},{key:"_render",value:function(){var Un=Vr()(this._snippets,function(Qn,ur){return'<div class="'.concat(yr("section run"),'" data-idx="').concat(ur,`">
        <h2 class="`).concat(yr("name"),'">').concat(Bo()(Qn.name),`
          <div class="`).concat(yr("btn"),`">
            <span class="`).concat(yr("icon-play"),`"></span>
          </div>
        </h2>
        <div class="`).concat(yr("description"),`">
          `).concat(Bo()(Qn.desc),`
        </div>
      </div>`)}).join("");this._renderHtml(Un)}},{key:"_renderHtml",value:function(Un){Un!==this._lastHtml&&(this._lastHtml=Un,this._$el.html(Un))}}]),pr}(Sn),fs=Ie(4224),ps=Ie.n(fs),hs=Ie(8991),Bi=Ie.n(hs),ms=Ie(1352),Ai=Ie.n(ms),vs=Ie(8099),gs=Ie.n(vs),Vi=function(){function wr(gr,pr,Un,Qn){var ur=this;(0,Ue.Z)(this,wr),(0,hn.Z)(this,"_updateGridHeight",function(Ar){ur._dataGrid.setOption({minHeight:60*Ar,maxHeight:223*Ar})}),this._type=Qn,this._$container=gr,this._devtools=pr,this._resources=Un,this._selectedItem=null,this._storeData=[],this._initTpl(),this._dataGrid=new Nr.Z(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}return(0,qe.Z)(wr,[{key:"destroy",value:function(){wn.off(wn.SCALE,this._updateGridHeight)}},{key:"refresh",value:function(){var gr=this._dataGrid;this._refreshStorage(),gr.clear(),Mn()(this._storeData,function(pr){var Un=pr.key,Qn=pr.val;gr.append({key:Un,value:Qn},{selectable:!0})})}},{key:"_refreshStorage",value:function(){var gr=this._resources,pr=To(this._type,!1);if(pr){var Un=[];pr=JSON.parse(JSON.stringify(pr)),Mn()(pr,function(Qn,ur){Bn()(Qn)&&(gr.config.get("hideErudaSetting")&&(Qo()(ur,"eruda")||ur==="active-eruda")||Un.push({key:ur,val:xa()(Qn,200)}))}),this._storeData=Un}}},{key:"_updateButtons",value:function(){var gr=this._$container,pr=gr.find(yr(".show-detail")),Un=gr.find(yr(".delete-storage")),Qn=gr.find(yr(".copy-storage")),ur=yr("btn-disabled");pr.addClass(ur),Un.addClass(ur),Qn.addClass(ur),this._selectedItem&&(pr.rmClass(ur),Un.rmClass(ur),Qn.rmClass(ur))}},{key:"_initTpl",value:function(){var gr=this._$container,pr=this._type;gr.html(yr(`<h2 class="title">
      `.concat(pr==="local"?"Local":"Session",` Storage
      <div class="btn refresh-storage">
        <span class="icon icon-refresh"></span>
      </div>
      <div class="btn show-detail btn-disabled">
        <span class="icon icon-eye"></span>
      </div>
      <div class="btn copy-storage btn-disabled">
        <span class="icon icon-copy"></span>
      </div>
      <div class="btn delete-storage btn-disabled">
        <span class="icon icon-delete"></span>
      </div>
      <div class="btn clear-storage">
        <span class="icon icon-clear"></span>
      </div>
      <div class="btn filter">
        <span class="icon icon-filter"></span>
      </div>
      <div class="btn filter-text"></div>
    </h2>
    <div class="data-grid"></div>`))),this._$dataGrid=gr.find(yr(".data-grid")),this._$filterText=gr.find(yr(".filter-text"))}},{key:"_getVal",value:function(gr){return this._type==="local"?localStorage.getItem(gr):sessionStorage.getItem(gr)}},{key:"_bindEvent",value:function(){var gr=this,pr=this._type,Un=this._devtools;function Qn(ur,Ar){var Fr=Un.get("sources");if(Fr)return Fr.set(ur,Ar),Un.showTool("sources"),!0}this._$container.on("click",yr(".refresh-storage"),function(){Un.notify("Refreshed"),gr.refresh()}).on("click",yr(".clear-storage"),function(){Mn()(gr._storeData,function(ur){pr==="local"?localStorage.removeItem(ur.key):sessionStorage.removeItem(ur.key)}),gr.refresh()}).on("click",yr(".show-detail"),function(){var ur=gr._selectedItem,Ar=gr._getVal(ur);try{Qn("object",JSON.parse(Ar))}catch{Qn("raw",Ar)}}).on("click",yr(".copy-storage"),function(){var ur=gr._selectedItem;ya()(gr._getVal(ur)),Un.notify("Copied")}).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(ur){Ca()(ur)||(ur=ko()(ur),gr._$filterText.text(ur),gr._dataGrid.setOption("filter",ur))})}).on("click",yr(".delete-storage"),function(){var ur=gr._selectedItem;pr==="local"?localStorage.removeItem(ur):sessionStorage.removeItem(ur),gr.refresh()}),this._dataGrid.on("select",function(ur){gr._selectedItem=ur.data.key,gr._updateButtons()}).on("deselect",function(){gr._selectedItem=null,gr._updateButtons()}),wn.on(wn.SCALE,this._updateGridHeight)}}]),wr}();function Qa(wr,gr){wr.rmClass(yr("ok")).rmClass(yr("danger")).rmClass(yr("warn")).addClass(yr(gr))}function ei(wr,gr){if(gr===0)return"";var pr=0,Un=0;switch(wr){case"cookie":pr=30,Un=60;break;case"script":pr=5,Un=10;break;case"stylesheet":pr=4,Un=8;break;case"image":pr=50,Un=100}return gr>=Un?"danger":gr>=pr?"warn":"ok"}var ys=function(){function wr(gr,pr){(0,Ue.Z)(this,wr),this._$container=gr,this._devtools=pr,this._selectedItem=null,this._initTpl(),this._dataGrid=new Nr.Z(this._$dataGrid.get(0),{columns:[{id:"key",title:"Key",weight:30},{id:"value",title:"Value",weight:90}],minHeight:60,maxHeight:223}),this._bindEvent()}return(0,qe.Z)(wr,[{key:"refresh",value:function(){var gr=this._$container,pr=this._dataGrid,Un=fr.domain("Network").getCookies().cookies,Qn=Vr()(Un,function(ur){return{key:ur.name,val:ur.value}});pr.clear(),Mn()(Qn,function(ur){var Ar=ur.key,Fr=ur.val;pr.append({key:Ar,value:Fr},{selectable:!0})}),Qa(gr,ei("cookie",Qn.length))}},{key:"_initTpl",value:function(){var gr=this._$container;gr.html(yr(`<h2 class="title">
      Cookie
      <div class="btn refresh-cookie">
        <span class="icon-refresh"></span>
      </div>
      <div class="btn show-detail btn-disabled">
        <span class="icon icon-eye"></span>
      </div>
      <div class="btn copy-cookie btn-disabled">
        <span class="icon icon-copy"></span>
      </div>
      <div class="btn delete-cookie btn-disabled">
        <span class="icon icon-delete"></span>
      </div>
      <div class="btn clear-cookie">
        <span class="icon-clear"></span>
      </div>
      <div class="btn filter" data-type="cookie">
        <span class="icon-filter"></span>
      </div>
      <div class="btn filter-text"></div>
    </h2>
    <div class="data-grid"></div>`)),this._$dataGrid=gr.find(yr(".data-grid")),this._$filterText=gr.find(yr(".filter-text"))}},{key:"_updateButtons",value:function(){var gr=this._$container,pr=gr.find(yr(".show-detail")),Un=gr.find(yr(".delete-cookie")),Qn=gr.find(yr(".copy-cookie")),ur=yr("btn-disabled");pr.addClass(ur),Un.addClass(ur),Qn.addClass(ur),this._selectedItem&&(pr.rmClass(ur),Un.rmClass(ur),Qn.rmClass(ur))}},{key:"_getVal",value:function(gr){for(var pr=fr.domain("Network").getCookies().cookies,Un=0,Qn=pr.length;Un<Qn;Un++)if(pr[Un].name===gr)return pr[Un].value;return""}},{key:"_bindEvent",value:function(){var gr=this,pr=this._devtools;function Un(Qn,ur){var Ar=pr.get("sources");if(Ar)return Ar.set(Qn,ur),pr.showTool("sources"),!0}this._$container.on("click",yr(".refresh-cookie"),function(){pr.notify("Refreshed"),gr.refresh()}).on("click",yr(".clear-cookie"),function(){fr.domain("Storage").clearDataForOrigin({storageTypes:"cookies"}),gr.refresh()}).on("click",yr(".delete-cookie"),function(){var Qn=gr._selectedItem;fr.domain("Network").deleteCookies({name:Qn}),gr.refresh()}).on("click",yr(".show-detail"),function(){var Qn=gr._selectedItem,ur=gr._getVal(Qn);try{Un("object",JSON.parse(ur))}catch{Un("raw",ur)}}).on("click",yr(".copy-cookie"),function(){var Qn=gr._selectedItem;ya()(gr._getVal(Qn)),pr.notify("Copied")}).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(Qn){Ca()(Qn)||(Qn=ko()(Qn),gr._filter=Qn,gr._$filterText.text(Qn),gr._dataGrid.setOption("filter",Qn))})}),this._dataGrid.on("select",function(Qn){gr._selectedItem=Qn.data.key,gr._updateButtons()}).on("deselect",function(){gr._selectedItem=null,gr._updateButtons()})}}]),wr}();function _s(wr,gr){var pr=typeof Symbol<"u"&&wr[Symbol.iterator]||wr["@@iterator"];if(!pr){if(Array.isArray(wr)||(pr=function(Wr,no){if(Wr){if(typeof Wr=="string")return zi(Wr,no);var io=Object.prototype.toString.call(Wr).slice(8,-1);if(io==="Object"&&Wr.constructor&&(io=Wr.constructor.name),io==="Map"||io==="Set")return Array.from(Wr);if(io==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(io))return zi(Wr,no)}}(wr))||gr){pr&&(wr=pr);var Un=0,Qn=function(){};return{s:Qn,n:function(){return Un>=wr.length?{done:!0}:{done:!1,value:wr[Un++]}},e:function(Wr){throw Wr},f:Qn}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ur,Ar=!0,Fr=!1;return{s:function(){pr=pr.call(wr)},n:function(){var Wr=pr.next();return Ar=Wr.done,Wr},e:function(Wr){Fr=!0,ur=Wr},f:function(){try{Ar||pr.return==null||pr.return()}finally{if(Fr)throw ur}}}}function zi(wr,gr){(gr==null||gr>wr.length)&&(gr=wr.length);for(var pr=0,Un=new Array(gr);pr<gr;pr++)Un[pr]=wr[pr];return Un}function ws(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ks=function(wr){(0,Dt.Z)(pr,wr);var gr=ws(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=gr.call(this))._style=_r(Ie(2488)),Un.name="resources",Un._hideErudaSetting=!1,Un._observeElement=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._localStorage=new Vi(this._$localStorage,Qn,this,"local"),this._sessionStorage=new Vi(this._$sessionStorage,Qn,this,"session"),this._cookie=new ys(this._$cookie,Qn),this._bindEvent(),this._initObserver(),this._initCfg()}},{key:"refresh",value:function(){return this.refreshLocalStorage().refreshSessionStorage().refreshCookie().refreshScript().refreshStylesheet().refreshIframe().refreshImage()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._localStorage.destroy(),this._sessionStorage.destroy(),this._disableObserver(),_r.remove(this._style),this._rmCfg()}},{key:"refreshScript",value:function(){var Un=[];En()("script").each(function(){var Wr=this.src;Wr!==""&&Un.push(Wr)});var Qn=ei("script",(Un=ga()(Un)).length),ur="<li>Empty</li>";sa()(Un)||(ur=Vr()(Un,function(Wr){return Wr=Bo()(Wr),'<li><a href="'.concat(Wr,'" target="_blank" class="').concat(yr("js-link"),'">').concat(Wr,"</a></li>")}).join(""));var Ar='<h2 class="'.concat(yr("title"),`">
      Script
      <div class="`).concat(yr("btn refresh-script"),`">
        <span class="`).concat(yr("icon-refresh"),`"></span>
      </div>
    </h2>
    <ul class="`).concat(yr("link-list"),`">
      `).concat(ur,`
    </ul>`),Fr=this._$script;return Qa(Fr,Qn),Fr.html(Ar),this}},{key:"refreshStylesheet",value:function(){var Un=[];En()("link").each(function(){this.rel==="stylesheet"&&Un.push(this.href)});var Qn=ei("stylesheet",(Un=ga()(Un)).length),ur="<li>Empty</li>";sa()(Un)||(ur=Vr()(Un,function(Wr){return Wr=Bo()(Wr),' <li><a href="'.concat(Wr,'" target="_blank" class="').concat(yr("css-link"),'">').concat(Wr,"</a></li>")}).join(""));var Ar='<h2 class="'.concat(yr("title"),`">
      Stylesheet
      <div class="`).concat(yr("btn refresh-stylesheet"),`">
        <span class="`).concat(yr("icon-refresh"),`"></span>
      </div>
    </h2>
    <ul class="`).concat(yr("link-list"),`">
      `).concat(ur,`
    </ul>`),Fr=this._$stylesheet;return Qa(Fr,Qn),Fr.html(Ar),this}},{key:"refreshIframe",value:function(){var Un=[];En()("iframe").each(function(){var Ar=En()(this).attr("src");Ar&&Un.push(Ar)}),Un=ga()(Un);var Qn="<li>Empty</li>";sa()(Un)||(Qn=Vr()(Un,function(Ar){return Ar=Bo()(Ar),'<li><a href="'.concat(Ar,'" target="_blank" class="').concat(yr("iframe-link"),'">').concat(Ar,"</a></li>")}).join(""));var ur='<h2 class="'.concat(yr("title"),`">
      Iframe
      <div class="`).concat(yr("btn refresh-iframe"),`">
        <span class="`).concat(yr("icon-refresh"),`"></span>
      </div>
    </h2>
    <ul class="`).concat(yr("link-list"),`">
      `).concat(Qn,`
    </ul>`);return this._$iframe.html(ur),this}},{key:"refreshLocalStorage",value:function(){return this._localStorage.refresh(),this}},{key:"refreshSessionStorage",value:function(){return this._sessionStorage.refresh(),this}},{key:"refreshCookie",value:function(){return this._cookie.refresh(),this}},{key:"refreshImage",value:function(){var Un=[],Qn=this._performance=window.webkitPerformance||window.performance;Qn&&Qn.getEntries?this._performance.getEntries().forEach(function(no){if(no.initiatorType==="img"||Cs(no.name)){if(Ln()(no.name,"exclude=true"))return;Un.push(no.name)}}):En()("img").each(function(){var no=En()(this),io=no.attr("src");no.data("exclude")!=="true"&&Un.push(io)}),(Un=ga()(Un)).sort();var ur=ei("image",Un.length),Ar="<li>Empty</li>";sa()(Un)||(Ar=Vr()(Un,function(no){return'<li class="'.concat(yr("image"),`">
          <img src="`).concat(Bo()(no),'" data-exclude="true" class="').concat(yr("img-link"),`"/>
        </li>`)}).join(""));var Fr='<h2 class="'.concat(yr("title"),`">
      Image
      <div class="`).concat(yr("btn refresh-image"),`">
        <span class="`).concat(yr("icon-refresh"),`"></span>
      </div>
    </h2>
    <ul class="`).concat(yr("image-list"),`">
      `).concat(Ar,`
    </ul>`),Wr=this._$image;return Qa(Wr,ur),Wr.html(Fr),this}},{key:"show",value:function(){return(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._observeElement&&this._enableObserver(),this.refresh()}},{key:"hide",value:function(){return this._disableObserver(),(0,kn.Z)((0,jt.Z)(pr.prototype),"hide",this).call(this)}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`<div class="section local-storage"></div>
      <div class="section session-storage"></div>
      <div class="section cookie"></div>
      <div class="section script"></div>
      <div class="section stylesheet"></div>
      <div class="section iframe"></div>
      <div class="section image"></div>`)),this._$localStorage=Un.find(yr(".local-storage")),this._$sessionStorage=Un.find(yr(".session-storage")),this._$cookie=Un.find(yr(".cookie")),this._$script=Un.find(yr(".script")),this._$stylesheet=Un.find(yr(".stylesheet")),this._$iframe=Un.find(yr(".iframe")),this._$image=Un.find(yr(".image"))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$el,ur=this._container;function Ar(Wr,no){var io=ur.get("sources");if(io)return io.set(Wr,no),ur.showTool("sources"),!0}function Fr(Wr){return function(no){if(ur.get("sources")){no.preventDefault();var io=En()(this).attr("href");Wr!=="iframe"&&ps()(location.href,io)?Bi()({url:io,success:function(Eo){Ar(Wr,Eo)},dataType:"raw"}):Ar("iframe",io)}}}Qn.on("click",".eruda-refresh-script",function(){ur.notify("Refreshed"),Un.refreshScript()}).on("click",".eruda-refresh-stylesheet",function(){ur.notify("Refreshed"),Un.refreshStylesheet()}).on("click",".eruda-refresh-iframe",function(){ur.notify("Refreshed"),Un.refreshIframe()}).on("click",".eruda-refresh-image",function(){ur.notify("Refreshed"),Un.refreshImage()}).on("click",".eruda-img-link",function(){Ar("img",En()(this).attr("src"))}).on("click",".eruda-css-link",Fr("css")).on("click",".eruda-js-link",Fr("js")).on("click",".eruda-iframe-link",Fr("iframe"))}},{key:"_rmCfg",value:function(){var Un=this.config,Qn=this._container.get("settings");Qn&&Qn.remove(Un,"hideErudaSetting").remove(Un,"observeElement").remove("Resources")}},{key:"_initCfg",value:function(){var Un=this,Qn=this.config=xr.createCfg("resources",{hideErudaSetting:!0,observeElement:!0});Qn.get("hideErudaSetting")&&(this._hideErudaSetting=!0),Qn.get("observeElement")||(this._observeElement=!1),Qn.on("change",function(ur,Ar){switch(ur){case"hideErudaSetting":return void(Un._hideErudaSetting=Ar);case"observeElement":return Un._observeElement=Ar,Ar?Un._enableObserver():Un._disableObserver()}}),this._container.get("settings").text("Resources").switch(Qn,"hideErudaSetting","Hide Eruda Setting").switch(Qn,"observeElement","Auto Refresh Elements").separator()}},{key:"_initObserver",value:function(){var Un=this;this._observer=new(Da())(function(Qn){Mn()(Qn,function(ur){Un._handleMutation(ur)})})}},{key:"_handleMutation",value:function(Un){var Qn=this;if(!Zr(Un.target)){var ur=function(no){var io=function(Eo){return Eo.tagName?Eo.tagName.toLowerCase():""}(no);switch(io){case"script":Qn.refreshScript();break;case"img":Qn.refreshImage();break;case"link":Qn.refreshStylesheet()}};if(Un.type==="attributes")ur(Un.target);else if(Un.type==="childList"){ur(Un.target);var Ar,Fr=Ai()(Un.addedNodes),Wr=_s(Fr=gs()(Fr,Ai()(Un.removedNodes)));try{for(Wr.s();!(Ar=Wr.n()).done;)ur(Ar.value)}catch(no){Wr.e(no)}finally{Wr.f()}}}}},{key:"_enableObserver",value:function(){this._observer.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})}},{key:"_disableObserver",value:function(){this._observer.disconnect()}}]),pr}(Sn),Ss=/\.(jpeg|jpg|gif|png)$/,Cs=function(wr){return Ss.test(wr)},xs=Ie(4541),Fi=Ie.n(xs),Hi=Fi()(),Es=[{name:"Location",val:function(){return Bo()(location.href)}},{name:"User Agent",val:navigator.userAgent},{name:"Device",val:["<table><tbody>",'<tr><td class="eruda-device-key">screen</td><td>'.concat(screen.width," * ").concat(screen.height,"</td></tr>"),"<tr><td>viewport</td><td>".concat(window.innerWidth," * ").concat(window.innerHeight,"</td></tr>"),"<tr><td>pixel ratio</td><td>".concat(window.devicePixelRatio,"</td></tr>"),"</tbody></table>"].join("")},{name:"System",val:["<table><tbody>",'<tr><td class="eruda-system-key">os</td><td>'.concat(bo()(),"</td></tr>"),"<tr><td>browser</td><td>".concat(Hi.name+" "+Hi.version,"</td></tr>"),"</tbody></table>"].join("")},{name:"About",val:'<a href="https://eruda.liriliri.io" target="_blank">Eruda v3.0.1</a>'},{name:"Backers",val:function(){return'<a rel="noreferrer noopener" href="https://opencollective.com/eruda" target="_blank"><img data-exclude="true" style="width: 100%;"src="https://opencollective.com/eruda/backers.svg?width='.concat(1.5*window.innerWidth,'&exclude=true"></a>')}}],Ts=Ie(550),$s=Ie.n(Ts);function As(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Ps=function(wr){(0,Dt.Z)(pr,wr);var gr=As(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=gr.call(this))._style=_r(Ie(879)),Un.name="info",Un._infos=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._addDefInfo(),this._bindEvent()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"add",value:function(Un,Qn){var ur=this._infos,Ar=!1;return Mn()(ur,function(Fr){Un===Fr.name&&(Fr.val=Qn,Ar=!0)}),Ar||ur.push({name:Un,val:Qn}),this._render(),this}},{key:"get",value:function(Un){var Qn,ur=this._infos;return Dr()(Un)?$s()(ur):(Mn()(ur,function(Ar){Un===Ar.name&&(Qn=Ar.val)}),Qn)}},{key:"remove",value:function(Un){for(var Qn=this._infos,ur=Qn.length-1;ur>=0;ur--)Qn[ur].name===Un&&Qn.splice(ur,1);return this._render(),this}},{key:"clear",value:function(){return this._infos=[],this._render(),this}},{key:"_addDefInfo",value:function(){var Un=this;Mn()(Es,function(Qn){return Un.add(Qn.name,Qn.val)})}},{key:"_render",value:function(){var Un=[];Mn()(this._infos,function(ur){var Ar=ur.name,Fr=ur.val;ha()(Fr)&&(Fr=Fr()),Un.push({name:Ar,val:Fr})});var Qn="<ul>".concat(Vr()(Un,function(ur){return'<li><h2 class="'.concat(yr("title"),'">').concat(Bo()(ur.name),'<span class="').concat(yr("icon-copy copy"),'"></span></h2><div class="').concat(yr("content"),'">').concat(ur.val,"</div></li>")}).join(""),"</ul>");this._renderHtml(Qn)}},{key:"_bindEvent",value:function(){var Un=this._container;this._$el.on("click",yr(".copy"),function(){var Qn=En()(this).parent().parent(),ur=Qn.find(yr(".title")).text(),Ar=Qn.find(yr(".content")).text();ya()("".concat(ur,": ").concat(Ar)),Un.notify("Copied")})}},{key:"_renderHtml",value:function(Un){Un!==this._lastHtml&&(this._lastHtml=Un,this._$el.html(Un))}}]),pr}(Sn),Ns=Ie(8299),Ms=Ie(8368),Is=Ie.n(Ms),Os=Ie(3651),Rs=Ie.n(Os),ji=Ie(7049);function Ds(wr){var gr=function(){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}}();return function(){var pr,Un=(0,jt.Z)(wr);if(gr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Ls=function(wr){(0,Dt.Z)(pr,wr);var gr=Ds(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=gr.call(this))._style=_r(Ie(1344)),Un.name="sources",Un._showLineNum=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._bindEvent(),this._initCfg()}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style),this._rmCfg()}},{key:"set",value:function(Un,Qn){if(Un==="img"){this._isFetchingData=!0;var ur=new Image,Ar=this;return ur.onload=function(){Ar._isFetchingData=!1,Ar._data={type:"img",val:{width:this.width,height:this.height,src:Qn}},Ar._render()},ur.onerror=function(){Ar._isFetchingData=!1},void(ur.src=Qn)}return this._data={type:Un,val:Qn},this._render(),this}},{key:"show",value:function(){return(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._data||this._isFetchingData||this._renderDef(),this}},{key:"_renderDef",value:function(){var Un=this;if(this._html)return this._data={type:"html",val:this._html},this._render();this._isGettingHtml||(this._isGettingHtml=!0,Bi()({url:location.href,success:function(Qn){return Un._html=Qn},error:function(){return Un._html="Sorry, unable to fetch source code:("},complete:function(){Un._isGettingHtml=!1,Un._renderDef()},dataType:"raw"}))}},{key:"_bindEvent",value:function(){var Un=this;this._container.on("showTool",function(Qn,ur){Qn!==Un.name&&ur.name===Un.name&&delete Un._data})}},{key:"_rmCfg",value:function(){var Un=this.config,Qn=this._container.get("settings");Qn&&Qn.remove(Un,"showLineNum").remove("Sources")}},{key:"_initCfg",value:function(){var Un=this,Qn=this.config=xr.createCfg("sources",{showLineNum:!0});Qn.get("showLineNum")||(this._showLineNum=!1),Qn.on("change",function(ur,Ar){ur!=="showLineNum"||(Un._showLineNum=Ar)}),this._container.get("settings").text("Sources").switch(Qn,"showLineNum","Show Line Numbers").separator()}},{key:"_render",value:function(){switch(this._isInit=!0,this._data.type){case"html":case"js":case"css":return this._renderCode();case"img":return this._renderImg();case"object":return this._renderObj();case"raw":return this._renderRaw();case"iframe":return this._renderIframe()}}},{key:"_renderImg",value:function(){var Un=this._data.val,Qn=Un.width,ur=Un.height,Ar=Un.src;this._renderHtml('<div class="'.concat(yr("image"),`">
      <div class="`).concat(yr("breadcrumb"),'">').concat(Bo()(Ar),`</div>
      <div class="`).concat(yr("img-container"),`" data-exclude="true">
        <img src="`).concat(Bo()(Ar),`">
      </div>
      <div class="`).concat(yr("img-info"),'">').concat(Bo()(Qn)," × ").concat(Bo()(ur),`</div>
    </div>`))}},{key:"_renderCode",value:function(){var Un=this._data;this._renderHtml('<div class="'.concat(yr("code"),'" data-type="').concat(Un.type,'"></div>'),!1);var Qn=Un.val,ur=Un.val.length;ur>ti&&(Qn=xa()(Qn,ti)),ur<Bs?(Qn=Rs()(Qn,Un.type,{comment:"",string:"",number:"",keyword:"",operator:""}),Mn()(["comment","string","number","keyword","operator"],function(Fr){Qn=Is()(Qn,'class="'.concat(Fr,'"'),'class="'.concat(yr(Fr),'"'))})):Qn=Bo()(Qn);var Ar=this._$el.find(yr(".code")).get(0);new ji.Z(Ar,{text:Qn,escape:!1,wrapLongLines:!0,showLineNumbers:Un.val.length<Gi&&this._showLineNum})}},{key:"_renderObj",value:function(){this._renderHtml('<ul class="'.concat(yr("json"),'"></ul>'),!1);var Un=this._data.val;try{Bn()(Un)&&(Un=JSON.parse(Un))}catch{}new Ns.Z(this._$el.find(".eruda-json").get(0),{unenumerable:!0,accessGetter:!0}).set(Un)}},{key:"_renderRaw",value:function(){var Un=this._data;this._renderHtml('<div class="'.concat(yr("raw-wrapper"),`">
      <div class="`).concat(yr("raw"),`"></div>
    </div>`));var Qn=Un.val,ur=this._$el.find(yr(".raw")).get(0);Qn.length>ti&&(Qn=xa()(Qn,ti)),new ji.Z(ur,{text:Qn,wrapLongLines:!0,showLineNumbers:Qn.length<Gi&&this._showLineNum})}},{key:"_renderIframe",value:function(){this._renderHtml('<iframe src="'.concat(Bo()(this._data.val),'"></iframe>'))}},{key:"_renderHtml",value:function(Un){var Qn=this;(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])&&Un===this._lastHtml||(this._lastHtml=Un,this._$el.html(Un),setTimeout(function(){return Qn._$el.get(0).scrollTop=0},0))}}]),pr}(Sn),Bs=3e4,Gi=8e4,ti=1e5,Vs=Ie(5166),zs=Ie.n(Vs),Fs=Ie(3514),Hs=Ie.n(Fs),js={init:function(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},gr=wr.container,pr=wr.tool,Un=wr.autoScale,Qn=Un===void 0||Un,ur=wr.useShadowDom,Ar=ur===void 0||ur,Fr=wr.defaults,Wr=Fr===void 0?{}:Fr;this._isInit||(this._isInit=!0,this._scale=1,this._initContainer(gr,Ar),this._initStyle(),this._initDevTools(Wr),this._initEntryBtn(),this._initSettings(),this._initTools(pr),this._registerListener(),Qn&&this._autoScale())},_isInit:!1,version:"3.0.1",util:Fe,chobitsu:fr,Tool:Sn,Console:fi,Elements:Qi,Network:Jo,Sources:Ls,Resources:ks,Info:Ps,Snippets:ds,Settings:xr,get:function(wr){if(this._checkInit()){if(wr==="entryBtn")return this._entryBtn;var gr=this._devTools;return wr?gr.get(wr):gr}},add:function(wr){if(this._checkInit())return ha()(wr)&&(wr=wr(this)),this._devTools.add(wr),this},remove:function(wr){return this._devTools.remove(wr),this},show:function(wr){if(this._checkInit()){var gr=this._devTools;return wr?gr.showTool(wr):gr.show(),this}},hide:function(){if(this._checkInit())return this._devTools.hide(),this},destroy:function(){this._devTools.destroy(),delete this._devTools,this._entryBtn.destroy(),delete this._entryBtn,this._unregisterListener(),En()(this._container).remove(),_r.clear(),this._isInit=!1,this._container=null,this._shadowRoot=null},scale:function(wr){return Fo()(wr)?(this._scale=wr,wn.emit(wn.SCALE,wr),this):this._scale},position:function(wr){var gr=this._entryBtn;return zs()(wr)?(gr.setPos(wr),this):gr.getPos()},_autoScale:function(){ta()()&&this.scale(1/Hs()())},_registerListener:function(){var wr=this;this._addListener=function(){return wr.add.apply(wr,arguments)},this._showListener=function(){return wr.show.apply(wr,arguments)},wn.on(wn.ADD,this._addListener),wn.on(wn.SHOW,this._showListener),wn.on(wn.SCALE,_r.setScale)},_unregisterListener:function(){wn.off(wn.ADD,this._addListener),wn.off(wn.SHOW,this._showListener),wn.off(wn.SCALE,_r.setScale)},_checkInit:function(){return this._isInit||Po.error('Please call "eruda.init()" first'),this._isInit},_initContainer:function(wr,gr){var pr,Un;wr||(wr=document.createElement("div"),document.documentElement.appendChild(wr)),wr.id="eruda",wr.style.all="initial",this._container=wr,gr&&(wr.attachShadow?pr=wr.attachShadow({mode:"open"}):wr.createShadowRoot&&(pr=wr.createShadowRoot()),pr&&(_r.container=document.head,_r(Ie(5357)+Ie(9327)+Ie(4821)+Ie(8903)+Ie(5777)),Un=document.createElement("div"),pr.appendChild(Un),this._shadowRoot=pr)),this._shadowRoot||(Un=document.createElement("div"),wr.appendChild(Un)),qn()(Un,{className:"eruda-container __chobitsu-hide__",contentEditable:!1}),Fi()().name==="ios"&&Un.setAttribute("ontouchstart",""),this._$el=En()(Un)},_initDevTools:function(wr){this._devTools=new fa(this._$el,{defaults:wr})},_initStyle:function(){var wr="eruda-style-container",gr=this._$el;this._shadowRoot?(_r.container=this._shadowRoot,_r(":host { all: initial }")):(gr.append('<div class="'.concat(wr,'"></div>')),_r.container=gr.find(".".concat(wr)).get(0)),_r(Ie(8020)+Ie(4821)+Ie(9327)+Ie(7591)+Ie(4987)+Ie(8903)+Ie(5512)+Ie(2156)+Ie(5777)+Ie(7871)+Ie(6833)+Ie(8516)+Ie(5357))},_initEntryBtn:function(){var wr=this;this._entryBtn=new wo(this._$el),this._entryBtn.on("click",function(){return wr._devTools.toggle()})},_initSettings:function(){var wr=this._devTools,gr=new xr;wr.add(gr),this._entryBtn.initCfg(gr),wr.initCfg(gr)},_initTools:function(){var wr=this,gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["console","elements","network","resources","sources","info","snippets"];gr=Ai()(gr);var pr=this._devTools;gr.forEach(function(Un){var Qn=wr[Aa()(Un)];try{Qn&&pr.add(new Qn)}catch(ur){Hr()(function(){Po.error("Something wrong when initializing tool ".concat(Un,":"),ur.message)})}}),pr.showTool(gr[0]||"settings")}}},2027:function(xe,$e,Ie){var Fe=Ie(6672).Z;xe.exports=Fe,xe.exports.default=Fe},6610:function(xe,$e,Ie){Ie.r($e),$e.default={}},9143:function(xe,$e,Ie){var Fe=this&&this.__awaiter||function(_n,wn,kn,Cn){return new(kn||(kn=Promise))(function(Sn,xn){function En($n){try{An(Cn.next($n))}catch(Pn){xn(Pn)}}function Tn($n){try{An(Cn.throw($n))}catch(Pn){xn(Pn)}}function An($n){var Pn;$n.done?Sn($n.value):(Pn=$n.value,Pn instanceof kn?Pn:new kn(function(Nn){Nn(Pn)})).then(En,Tn)}An((Cn=Cn.apply(_n,wn||[])).next())})},Ue=this&&this.__generator||function(_n,wn){var kn,Cn,Sn,xn,En={label:0,sent:function(){if(1&Sn[0])throw Sn[1];return Sn[1]},trys:[],ops:[]};return xn={next:Tn(0),throw:Tn(1),return:Tn(2)},typeof Symbol=="function"&&(xn[Symbol.iterator]=function(){return this}),xn;function Tn(An){return function($n){return function(Pn){if(kn)throw new TypeError("Generator is already executing.");for(;En;)try{if(kn=1,Cn&&(Sn=2&Pn[0]?Cn.return:Pn[0]?Cn.throw||((Sn=Cn.return)&&Sn.call(Cn),0):Cn.next)&&!(Sn=Sn.call(Cn,Pn[1])).done)return Sn;switch(Cn=0,Sn&&(Pn=[2&Pn[0],Sn.value]),Pn[0]){case 0:case 1:Sn=Pn;break;case 4:return En.label++,{value:Pn[1],done:!1};case 5:En.label++,Cn=Pn[1],Pn=[0];continue;case 7:Pn=En.ops.pop(),En.trys.pop();continue;default:if(Sn=En.trys,!((Sn=Sn.length>0&&Sn[Sn.length-1])||Pn[0]!==6&&Pn[0]!==2)){En=0;continue}if(Pn[0]===3&&(!Sn||Pn[1]>Sn[0]&&Pn[1]<Sn[3])){En.label=Pn[1];break}if(Pn[0]===6&&En.label<Sn[1]){En.label=Sn[1],Sn=Pn;break}if(Sn&&En.label<Sn[2]){En.label=Sn[2],En.ops.push(Pn);break}Sn[2]&&En.ops.pop(),En.trys.pop();continue}Pn=wn.call(_n,En)}catch(Nn){Pn=[6,Nn],Cn=0}finally{kn=Sn=0}if(5&Pn[0])throw Pn[1];return{value:Pn[0]?Pn[1]:void 0,done:!0}}([An,$n])}}},qe=this&&this.__importDefault||function(_n){return _n&&_n.__esModule?_n:{default:_n}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(3276)),Dt=qe(Ie(1214)),Lt=qe(Ie(5936)),jt=qe(Ie(3783)),hn=qe(Ie(1443)),vn=Ie(316),bn=function(){function _n(){var wn=this;this.resolves=new Map,this.domains=new Map,this.onMessage=Dt.default,At.default.on("message",function(kn){var Cn=JSON.parse(kn),Sn=wn.resolves.get(Cn.id);if(Sn&&Sn(Cn.result),!Cn.id){var xn=Cn.method.split("."),En=xn[0],Tn=xn[1],An=wn.domains.get(En);An&&An.emit(Tn,Cn.params)}wn.onMessage(kn)})}return _n.prototype.domain=function(wn){return this.domains.get(wn)},_n.prototype.setOnMessage=function(wn){this.onMessage=wn},_n.prototype.sendMessage=function(wn,kn){var Cn=this;kn===void 0&&(kn={});var Sn=Lt.default();return this.sendRawMessage(JSON.stringify({id:Sn,method:wn,params:kn})),new Promise(function(xn){Cn.resolves.set(Sn,xn)})},_n.prototype.sendRawMessage=function(wn){return Fe(this,void 0,void 0,function(){var kn,Cn,Sn,xn,En,Tn,An;return Ue(this,function($n){switch($n.label){case 0:kn=JSON.parse(wn),Cn=kn.method,Sn=kn.params,xn=kn.id,En={id:xn},$n.label=1;case 1:return $n.trys.push([1,3,,4]),Tn=En,[4,this.callMethod(Cn,Sn)];case 2:return Tn.result=$n.sent(),[3,4];case 3:return(An=$n.sent())instanceof vn.ErrorWithCode?En.error={message:An.message,code:An.code}:An instanceof Error&&(En.error={message:An.message}),[3,4];case 4:return At.default.emit("message",JSON.stringify(En)),[2]}})})},_n.prototype.register=function(wn,kn){var Cn=this.domains,Sn=Cn.get(wn);Sn||(Sn={},hn.default.mixin(Sn)),jt.default(kn,function(xn,En){Sn[En]=xn}),Cn.set(wn,Sn)},_n.prototype.callMethod=function(wn,kn){return Fe(this,void 0,void 0,function(){var Cn,Sn,xn,En;return Ue(this,function(Tn){if(Cn=wn.split("."),Sn=Cn[0],xn=Cn[1],(En=this.domain(Sn))&&En[xn])return[2,En[xn](kn)||{}];throw Error(wn+" unimplemented")})})},_n}();$e.default=bn},7935:function(xe,$e,Ie){var Fe=this&&this.__createBinding||(Object.create?function(Vn,Ln,Dn,Hn){Hn===void 0&&(Hn=Dn),Object.defineProperty(Vn,Hn,{enumerable:!0,get:function(){return Ln[Dn]}})}:function(Vn,Ln,Dn,Hn){Hn===void 0&&(Hn=Dn),Vn[Hn]=Ln[Dn]}),Ue=this&&this.__setModuleDefault||(Object.create?function(Vn,Ln){Object.defineProperty(Vn,"default",{enumerable:!0,value:Ln})}:function(Vn,Ln){Vn.default=Ln}),qe=this&&this.__importStar||function(Vn){if(Vn&&Vn.__esModule)return Vn;var Ln={};if(Vn!=null)for(var Dn in Vn)Dn!=="default"&&Object.hasOwnProperty.call(Vn,Dn)&&Fe(Ln,Vn,Dn);return Ue(Ln,Vn),Ln},At=this&&this.__importDefault||function(Vn){return Vn&&Vn.__esModule?Vn:{default:Vn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getDOMNode=$e.getDOMNodeId=$e.setOuterHTML=$e.setNodeValue=$e.setInspectedNode=$e.setAttributeValue=$e.setAttributesAsText=$e.resolveNode=$e.requestNode=$e.requestChildNodes=$e.removeNode=$e.pushNodesByBackendIdsToFrontend=$e.discardSearchResults=$e.pushNodesToFrontend=$e.getSearchResults=$e.performSearch=$e.moveTo=$e.getOuterHTML=$e.getDocument=$e.enable=$e.copyTo=$e.collectClassNamesFromSubtree=void 0;var Dt=At(Ie(3276)),Lt=qe(Ie(2049)),jt=Ie(2049),hn=qe(Ie(7923)),vn=At(Ie(6126)),bn=At(Ie(1512)),_n=At(Ie(6156)),wn=At(Ie(8887)),kn=At(Ie(7483)),Cn=At(Ie(2461)),Sn=At(Ie(42)),xn=At(Ie(6341)),En=At(Ie(3063)),Tn=At(Ie(3783)),An=At(Ie(1352)),$n=At(Ie(8933)),Pn=At(Ie(8099)),Nn=Ie(1628),Mn=Ie(316);$e.collectClassNamesFromSubtree=function(Vn){var Ln=jt.getNode(Vn.nodeId),Dn=[];return Bn(Ln,function(Hn){if(Hn.nodeType===1){var Fn=Hn.getAttribute("class");if(Fn)for(var zn=0,jn=Fn.split(/\s+/);zn<jn.length;zn++){var Gn=jn[zn];Dn.push(Gn)}}}),{classNames:Sn.default(Dn)}},$e.copyTo=function(Vn){var Ln=Vn.nodeId,Dn=Vn.targetNodeId,Hn=jt.getNode(Ln),Fn=jt.getNode(Dn),zn=Hn.cloneNode(!0);Fn.appendChild(zn)},$e.enable=function(){vn.default.observe(),Lt.clear()},$e.getDocument=function(){return{root:Lt.wrap(document,{depth:2})}},$e.getOuterHTML=function(Vn){return{outerHTML:jt.getNode(Vn.nodeId).outerHTML}},$e.moveTo=function(Vn){var Ln=Vn.nodeId,Dn=Vn.targetNodeId,Hn=jt.getNode(Ln);jt.getNode(Dn).appendChild(Hn)};var In=new Map;function On(Vn){for(var Ln=[Vn],Dn=Vn.parentNode;Dn&&(Ln.push(Dn),!(Fn=jt.getNodeId(Dn)));)Dn=Dn.parentNode;for(;Ln.length;){var Hn=Ln.pop(),Fn=jt.getNodeId(Hn);Dt.default.trigger("DOM.setChildNodes",{parentId:Fn,nodes:Lt.getChildNodes(Hn,1)})}return jt.getNodeId(Vn)}$e.performSearch=function(Vn){var Ln=En.default(Vn.query),Dn=[];try{Dn=Pn.default(Dn,An.default(document.querySelectorAll(Ln)))}catch{}try{Dn=Pn.default(Dn,$n.default(Ln))}catch{}Bn(document,function(Fn){var zn=Fn.nodeType;if(zn===1){var jn=Fn.localName;if(xn.default("<"+jn+" ",Ln)||xn.default("</"+jn+">",Ln))return void Dn.push(Fn);var Gn=[];Tn.default(Fn.attributes,function(er){var rr=er.name,Jn=er.value;return Gn.push(rr,Jn)});for(var Wn=0,Xn=Gn.length;Wn<Xn;Wn++)if(xn.default(En.default(Gn[Wn]),Ln)){Dn.push(Fn);break}}else zn===3&&xn.default(En.default(Fn.nodeValue),Ln)&&Dn.push(Fn)});var Hn=Mn.createId();return In.set(Hn,Dn),{searchId:Hn,resultCount:Dn.length}},$e.getSearchResults=function(Vn){var Ln=Vn.searchId,Dn=Vn.fromIndex,Hn=Vn.toIndex,Fn=In.get(Ln).slice(Dn,Hn);return{nodeIds:Cn.default(Fn,function(zn){var jn=jt.getNodeId(zn);return jn||On(zn)})}},$e.pushNodesToFrontend=On,$e.discardSearchResults=function(Vn){In.delete(Vn.searchId)},$e.pushNodesByBackendIdsToFrontend=function(Vn){return{nodeIds:Vn.backendNodeIds}},$e.removeNode=function(Vn){var Ln=jt.getNode(Vn.nodeId);bn.default(Ln).remove()},$e.requestChildNodes=function(Vn){var Ln=Vn.nodeId,Dn=Vn.depth,Hn=Dn===void 0?1:Dn,Fn=jt.getNode(Ln);Dt.default.trigger("DOM.setChildNodes",{parentId:Ln,nodes:Lt.getChildNodes(Fn,Hn)})},$e.requestNode=function(Vn){var Ln=hn.getObj(Vn.objectId);return{nodeId:jt.getNodeId(Ln)}},$e.resolveNode=function(Vn){var Ln=jt.getNode(Vn.nodeId);return{object:hn.wrap(Ln)}},$e.setAttributesAsText=function(Vn){var Ln,Dn=Vn.name,Hn=Vn.text,Fn=Vn.nodeId,zn=jt.getNode(Fn);Dn&&zn.removeAttribute(Dn),bn.default(zn).attr((Ln="<div "+(Ln=Hn)+"></div>",kn.default.parse(Ln)[0].attrs))},$e.setAttributeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.name,Hn=Vn.value;jt.getNode(Ln).setAttribute(Dn,Hn)};var Rn=[];function Bn(Vn,Ln){for(var Dn=Lt.filterNodes(Vn.childNodes),Hn=0,Fn=Dn.length;Hn<Fn;Hn++){var zn=Dn[Hn];Ln(zn),Bn(zn,Ln)}}$e.setInspectedNode=function(Vn){var Ln=jt.getNode(Vn.nodeId);Rn.unshift(Ln),Rn.length>5&&Rn.pop();for(var Dn=0;Dn<5;Dn++)Nn.setGlobal("$"+Dn,Rn[Dn])},$e.setNodeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.value;jt.getNode(Ln).nodeValue=Dn},$e.setOuterHTML=function(Vn){var Ln=Vn.nodeId,Dn=Vn.outerHTML;jt.getNode(Ln).outerHTML=Dn},$e.getDOMNodeId=function(Vn){var Ln=Vn.node;return{nodeId:Lt.getOrCreateNodeId(Ln)}},$e.getDOMNode=function(Vn){var Ln=Vn.nodeId;return{node:jt.getNode(Ln)}},vn.default.on("attributes",function(Vn,Ln){var Dn=jt.getNodeId(Vn);if(Dn){var Hn=Vn.getAttribute(Ln);_n.default(Hn)?Dt.default.trigger("DOM.attributeRemoved",{nodeId:Dn,name:Ln}):Dt.default.trigger("DOM.attributeModified",{nodeId:Dn,name:Ln,value:Hn})}}),vn.default.on("childList",function(Vn,Ln,Dn){var Hn=jt.getNodeId(Vn);if(Hn){if(Ln=Lt.filterNodes(Ln),Dn=Lt.filterNodes(Dn),!wn.default(Ln)){er();for(var Fn=0,zn=Ln.length;Fn<zn;Fn++){var jn=Ln[Fn],Gn=Lt.getPreviousNode(jn),Wn=Gn?jt.getNodeId(Gn):0,Xn={node:Lt.wrap(jn,{depth:0}),parentNodeId:Hn,previousNodeId:Wn};Dt.default.trigger("DOM.childNodeInserted",Xn)}}if(!wn.default(Dn))for(Fn=0,zn=Dn.length;Fn<zn;Fn++){if(jn=Dn[Fn],!jt.getNodeId(jn)){er();break}Dt.default.trigger("DOM.childNodeRemoved",{nodeId:jt.getNodeId(jn),parentNodeId:Hn})}}function er(){Dt.default.trigger("DOM.childNodeCountUpdated",{childNodeCount:Lt.wrap(Vn,{depth:0}).childNodeCount,nodeId:Hn})}}),vn.default.on("characterData",function(Vn){var Ln=jt.getNodeId(Vn);Ln&&Dt.default.trigger("DOM.characterDataModified",{characterData:Vn.nodeValue,nodeId:Ln})})},2139:function(xe,$e,Ie){var Fe=this&&this.__spreadArrays||function(){for(var kn=0,Cn=0,Sn=arguments.length;Cn<Sn;Cn++)kn+=arguments[Cn].length;var xn=Array(kn),En=0;for(Cn=0;Cn<Sn;Cn++)for(var Tn=arguments[Cn],An=0,$n=Tn.length;An<$n;An++,En++)xn[En]=Tn[An];return xn},Ue=this&&this.__importDefault||function(kn){return kn&&kn.__esModule?kn:{default:kn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getResponseBody=$e.enable=$e.getCookies=$e.deleteCookies=void 0;var qe=Ue(Ie(4331)),At=Ue(Ie(3783)),Dt=Ue(Ie(1420)),Lt=Ue(Ie(5031)),jt=Ue(Ie(8763)),hn=Ue(Ie(8740)),vn=Ue(Ie(6341)),bn=Ie(2636),_n=Ue(Ie(3276));$e.deleteCookies=function(kn){Lt.default(kn.name)},$e.getCookies=function(){var kn=[],Cn=document.cookie;return qe.default(Cn)!==""&&At.default(Cn.split(";"),function(Sn){Sn=Sn.split("=");var xn=qe.default(Sn.shift());Sn=Dt.default(Sn.join("=")),kn.push({name:xn,value:Sn})}),{cookies:kn}};var wn=new Map;$e.enable=jt.default(function(){var kn=window.XMLHttpRequest.prototype,Cn=kn.send,Sn=kn.open,xn=kn.setRequestHeader;kn.open=function(An,$n){if(!function(Mn){return!vn.default(Mn,"__chobitsu-hide__=true")}($n))return Sn.apply(this,arguments);var Pn=this,Nn=Pn.chobitsuRequest=new bn.XhrRequest(Pn,An,$n);Nn.on("send",function(Mn,In){var On={method:In.method,url:In.url,headers:In.reqHeaders};In.data&&(On.postData=In.data),_n.default.trigger("Network.requestWillBeSent",{requestId:Mn,type:"XHR",request:On,timestamp:In.time/1e3})}),Nn.on("headersReceived",function(Mn,In){_n.default.trigger("Network.responseReceivedExtraInfo",{requestId:Mn,blockedCookies:[],headers:In.resHeaders})}),Nn.on("done",function(Mn,In){_n.default.trigger("Network.responseReceived",{requestId:Mn,type:"XHR",response:{status:In.status},timestamp:In.time/1e3}),wn.set(Mn,In.resTxt),_n.default.trigger("Network.loadingFinished",{requestId:Mn,encodedDataLength:In.size,timestamp:In.time/1e3})}),Pn.addEventListener("readystatechange",function(){switch(Pn.readyState){case 2:return Nn.handleHeadersReceived();case 4:return Nn.handleDone()}}),Sn.apply(this,arguments)},kn.send=function(An){var $n=this.chobitsuRequest;$n&&$n.handleSend(An),Cn.apply(this,arguments)},kn.setRequestHeader=function(An,$n){var Pn=this.chobitsuRequest;Pn&&Pn.handleReqHeadersSet(An,$n),xn.apply(this,arguments)};var En=!1;if(window.fetch&&(En=hn.default(window.fetch)),!En&&navigator.serviceWorker&&(En=!0),En){var Tn=window.fetch;window.fetch=function(){for(var An=[],$n=0;$n<arguments.length;$n++)An[$n]=arguments[$n];var Pn=new(bn.FetchRequest.bind.apply(bn.FetchRequest,Fe([void 0],An)));Pn.on("send",function(Mn,In){var On={method:In.method,url:In.url,headers:In.reqHeaders};In.data&&(On.postData=In.data),_n.default.trigger("Network.requestWillBeSent",{requestId:Mn,type:"Fetch",request:On,timestamp:In.time/1e3})}),Pn.on("done",function(Mn,In){_n.default.trigger("Network.responseReceived",{requestId:Mn,type:"Fetch",response:{status:In.status,headers:In.resHeaders},timestamp:In.time/1e3}),wn.set(Mn,In.resTxt),_n.default.trigger("Network.loadingFinished",{requestId:Mn,encodedDataLength:In.size,timestamp:In.time/1e3})});var Nn=Tn.apply(void 0,An);return Pn.send(Nn),Nn}}}),$e.getResponseBody=function(kn){return{base64Encoded:!1,body:wn.get(kn.requestId)}}},8689:function(xe,$e,Ie){var Fe=this&&this.__createBinding||(Object.create?function(rr,Jn,qn,Yn){Yn===void 0&&(Yn=qn),Object.defineProperty(rr,Yn,{enumerable:!0,get:function(){return Jn[qn]}})}:function(rr,Jn,qn,Yn){Yn===void 0&&(Yn=qn),rr[Yn]=Jn[qn]}),Ue=this&&this.__setModuleDefault||(Object.create?function(rr,Jn){Object.defineProperty(rr,"default",{enumerable:!0,value:Jn})}:function(rr,Jn){rr.default=Jn}),qe=this&&this.__importStar||function(rr){if(rr&&rr.__esModule)return rr;var Jn={};if(rr!=null)for(var qn in rr)qn!=="default"&&Object.hasOwnProperty.call(rr,qn)&&Fe(Jn,rr,qn);return Ue(Jn,rr),Jn},At=this&&this.__importDefault||function(rr){return rr&&rr.__esModule?rr:{default:rr}};Object.defineProperty($e,"__esModule",{value:!0}),$e.setInspectMode=$e.setShowViewportSizeOnResize=$e.hideHighlight=$e.highlightNode=$e.disable=$e.enable=void 0;var Dt,Lt,jt=Ie(2049),hn=Ie(7935),vn=At(Ie(1512)),bn=At(Ie(8613)),_n=At(Ie(642)),wn=At(Ie(4193)),kn=At(Ie(6329)),Cn=At(Ie(3276)),Sn=At(Ie(5610)),xn=At(Ie(3474)),En=At(Ie(4210)),Tn=At(Ie(7715)),An=qe(Ie(7923)),$n=!1,Pn=!1,Nn=En.default("clip-path","polygon(50% 0px, 0px 100%, 100% 100%)"),Mn="ontouchstart"in Sn.default,In=Ie(2777).replace("/*# sourceMappingURL=luna-dom-highlighter.css.map*/","");function On(rr){var Jn,qn=rr.nodeId,Yn=rr.highlightConfig,ar=rr.objectId;qn&&(Jn=jt.getNode(qn)),ar&&(Jn=An.getObj(ar)),Jn.nodeType!==1&&Jn.nodeType!==3||(wn.default(Yn,{contentColor:"transparent",paddingColor:"transparent",borderColor:"transparent",marginColor:"transparent"}),Nn||kn.default(Yn,{showInfo:!1}),Dt.highlight(Jn,Yn))}function Rn(){Dt.hide()}$e.enable=function(){if(!Pn){var rr=bn.default("div",{class:"__chobitsu-hide__",style:{all:"initial"}});Lt=vn.default(rr),document.documentElement.appendChild(rr);var Jn=null,qn=null;if(rr.attachShadow?qn=rr.attachShadow({mode:"open"}):rr.createShadowRoot&&(qn=rr.createShadowRoot()),qn){var Yn=document.createElement("style");Yn.textContent=In,Yn.type="text/css",qn.appendChild(Yn),Jn=document.createElement("div"),qn.appendChild(Jn)}else Jn=document.createElement("div"),rr.appendChild(Jn),$n||(_n.default(In),$n=!0);Dt=new Tn.default(Jn,{monitorResize:xn.default(Sn.default.ResizeObserver),showInfo:Nn}),window.addEventListener("resize",Wn),Pn=!0}},$e.disable=function(){Dt.destroy(),Lt.remove(),window.removeEventListener("resize",Wn),Pn=!1},$e.highlightNode=On,$e.hideHighlight=Rn;var Bn=!1;$e.setShowViewportSizeOnResize=function(rr){Bn=rr.show};var Vn={},Ln="none";function Dn(rr){if(Mn){var Jn=rr.touches[0]||rr.changedTouches[0];return document.elementFromPoint(Jn.clientX,Jn.clientY)}return document.elementFromPoint(rr.clientX,rr.clientY)}$e.setInspectMode=function(rr){Vn=rr.highlightConfig,Ln=rr.mode};var Hn=-1;function Fn(rr){if(Ln!=="none"){var Jn=Dn(rr);if(Jn&&jt.isValidNode(Jn)){var qn=jt.getNodeId(Jn);qn||(qn=hn.pushNodesToFrontend(Jn)),On({nodeId:qn,highlightConfig:Vn}),qn!==Hn&&(Cn.default.trigger("Overlay.nodeHighlightRequested",{nodeId:qn}),Hn=qn)}}}function zn(rr){if(Ln!=="none"){rr.preventDefault(),rr.stopImmediatePropagation();var Jn=Dn(rr);Cn.default.trigger("Overlay.inspectNodeRequested",{backendNodeId:jt.getNodeId(Jn)}),Hn=-1,Rn()}}function jn(rr,Jn){document.documentElement.addEventListener(rr,Jn,!0)}Mn?(jn("touchstart",Fn),jn("touchmove",Fn),jn("touchend",zn)):(jn("mousemove",Fn),jn("mouseout",function(){Ln!=="none"&&Rn()}),jn("click",zn));var Gn=bn.default("div",{class:"__chobitsu-hide__",style:{position:"fixed",right:0,top:0,background:"#fff",fontSize:13,opacity:.5,padding:"4px 6px"}});function Wn(){Bn&&(er.text(window.innerWidth+"px × "+window.innerHeight+"px"),Xn?clearTimeout(Xn):document.documentElement.appendChild(Gn),Xn=setTimeout(function(){er.remove(),Xn=null},1e3))}var Xn,er=vn.default(Gn)},9119:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(hn){return hn&&hn.__esModule?hn:{default:hn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getTrustTokens=$e.clearDataForOrigin=$e.getUsageAndQuota=void 0;var Ue=Fe(Ie(3783)),qe=Fe(Ie(5031)),At=Fe(Ie(615)),Dt=Ie(2139),Lt=At.default("local"),jt=At.default("session");$e.getUsageAndQuota=function(){return{quota:0,usage:0,usageBreakdown:[]}},$e.clearDataForOrigin=function(hn){var vn=hn.storageTypes.split(",");Ue.default(vn,function(bn){if(bn==="cookies"){var _n=Dt.getCookies().cookies;Ue.default(_n,function(wn){var kn=wn.name;return qe.default(kn)})}else bn==="local_storage"&&(Lt.clear(),jt.clear())})},$e.getTrustTokens=function(){return{tokens:[]}}},3276:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(Dt,Lt){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(jt,hn){jt.__proto__=hn}||function(jt,hn){for(var vn in hn)hn.hasOwnProperty(vn)&&(jt[vn]=hn[vn])},Fe(Dt,Lt)},function(Dt,Lt){function jt(){this.constructor=Dt}Fe(Dt,Lt),Dt.prototype=Lt===null?Object.create(Lt):(jt.prototype=Lt.prototype,new jt)}),qe=this&&this.__importDefault||function(Dt){return Dt&&Dt.__esModule?Dt:{default:Dt}};Object.defineProperty($e,"__esModule",{value:!0});var At=function(Dt){function Lt(){return Dt!==null&&Dt.apply(this,arguments)||this}return Ue(Lt,Dt),Lt.prototype.trigger=function(jt,hn){this.emit("message",JSON.stringify({method:jt,params:hn}))},Lt}(qe(Ie(1443)).default);$e.default=new At},1628:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(vn){return vn&&vn.__esModule?vn:{default:vn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.setGlobal=void 0;var Ue=Fe(Ie(6768)),qe=Fe(Ie(2327)),At=Fe(Ie(1352)),Dt=Fe(Ie(2533)),Lt=Fe(Ie(8933)),jt=Fe(Ie(3783)),hn={copy:function(vn){Ue.default(vn)||(vn=JSON.stringify(vn,null,2)),qe.default(vn)},$:function(vn){return document.querySelector(vn)},$$:function(vn){return At.default(document.querySelectorAll(vn))},$x:function(vn){return Lt.default(vn)},keys:Dt.default};$e.setGlobal=function(vn,bn){hn[vn]=bn},$e.default=function(vn){var bn;jt.default(hn,function(_n,wn){window[wn]||(window[wn]=_n)});try{bn=eval.call(window,"("+vn+")")}catch{bn=eval.call(window,vn)}return jt.default(hn,function(_n,wn){window[wn]&&window[wn]===_n&&delete window[wn]}),bn}},6126:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(jt,hn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(vn,bn){vn.__proto__=bn}||function(vn,bn){for(var _n in bn)bn.hasOwnProperty(_n)&&(vn[_n]=bn[_n])},Fe(jt,hn)},function(jt,hn){function vn(){this.constructor=jt}Fe(jt,hn),jt.prototype=hn===null?Object.create(hn):(vn.prototype=hn.prototype,new vn)}),qe=this&&this.__importDefault||function(jt){return jt&&jt.__esModule?jt:{default:jt}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1443)),Dt=qe(Ie(3783)),Lt=function(jt){function hn(){var vn=jt.call(this)||this;return vn.observer=new MutationObserver(function(bn){Dt.default(bn,function(_n){return vn.handleMutation(_n)})}),vn}return Ue(hn,jt),hn.prototype.observe=function(){var vn=this.observer;vn.disconnect(),vn.observe(document.documentElement,{attributes:!0,childList:!0,characterData:!0,subtree:!0})},hn.prototype.handleMutation=function(vn){vn.type==="attributes"?this.emit("attributes",vn.target,vn.attributeName):vn.type==="childList"?this.emit("childList",vn.target,vn.addedNodes,vn.removedNodes):vn.type==="characterData"&&this.emit("characterData",vn.target)},hn}(At.default);$e.default=new Lt},2049:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(En){return En&&En.__esModule?En:{default:En}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getNode=$e.isValidNode=$e.filterNodes=$e.getPreviousNode=$e.getChildNodes=$e.wrap=$e.getNodeId=$e.clear=$e.getOrCreateNodeId=void 0;var Ue=Fe(Ie(2461)),qe=Fe(Ie(5972)),At=Fe(Ie(3783)),Dt=Fe(Ie(4331)),Lt=Fe(Ie(6341)),jt=Fe(Ie(6329)),hn=Ie(316),vn=new Map,bn=new Map,_n=1;function wn(En){var Tn=bn.get(En);return Tn||(Tn=_n++,bn.set(En,Tn),vn.set(Tn,En),Tn)}function kn(En,Tn){var An=(Tn===void 0?{}:Tn).depth,$n=An===void 0?1:An,Pn=wn(En),Nn={nodeName:En.nodeName,nodeType:En.nodeType,localName:En.localName||"",nodeValue:En.nodeValue||"",nodeId:Pn,backendNodeId:Pn};if(En.parentNode&&(Nn.parentId=wn(En.parentNode)),En.nodeType===10)return jt.default(Nn,{publicId:"",systemId:""});if(En.attributes){var Mn=[];At.default(En.attributes,function(Rn){var Bn=Rn.name,Vn=Rn.value;return Mn.push(Bn,Vn)}),Nn.attributes=Mn}var In=Sn(En.childNodes);Nn.childNodeCount=In.length;var On=Nn.childNodeCount===1&&In[0].nodeType===3;return($n>0||On)&&(Nn.children=Cn(En,$n)),Nn}function Cn(En,Tn){var An=Sn(En.childNodes);return Ue.default(An,function($n){return kn($n,{depth:Tn-1})})}function Sn(En){return qe.default(En,function(Tn){return xn(Tn)})}function xn(En){if(En.nodeType===1){var Tn=En.getAttribute("class")||"";if(Lt.default(Tn,"__chobitsu-hide__")||Lt.default(Tn,"html2canvas-container"))return!1}var An=!(En.nodeType===3&&Dt.default(En.nodeValue||"")==="");return An&&En.parentNode?xn(En.parentNode):An}$e.getOrCreateNodeId=wn,$e.clear=function(){vn.clear(),bn.clear()},$e.getNodeId=function(En){return bn.get(En)},$e.wrap=kn,$e.getChildNodes=Cn,$e.getPreviousNode=function(En){var Tn=En.previousSibling;if(Tn){for(;!xn(Tn)&&Tn.previousSibling;)Tn=Tn.previousSibling;return Tn&&xn(Tn)?Tn:void 0}},$e.filterNodes=Sn,$e.isValidNode=xn,$e.getNode=function(En){var Tn=vn.get(En);if(!Tn||Tn.nodeType===10)throw hn.createErr(-32e3,"Could not find node with given id");return Tn}},7923:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(jn){return jn&&jn.__esModule?jn:{default:jn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getProperties=$e.releaseObj=$e.getObj=$e.wrap=$e.clear=void 0;var Ue=Fe(Ie(3367)),qe=Fe(Ie(6156)),At=Fe(Ie(6472)),Dt=Fe(Ie(4777)),Lt=Fe(Ie(9833)),jt=Fe(Ie(2749)),hn=Fe(Ie(3708)),vn=Fe(Ie(7470)),bn=Fe(Ie(1754)),_n=Fe(Ie(3085)),wn=Fe(Ie(2533)),kn=Fe(Ie(300)),Cn=Fe(Ie(1116)),Sn=Fe(Ie(8740)),xn=Fe(Ie(415)),En=Fe(Ie(9804)),Tn=Fe(Ie(6257)),An=new Map,$n=new Map,Pn=new Map,Nn=new Map,Mn=1;function In(jn,Gn){var Wn=$n.get(jn);return Wn||(Wn=JSON.stringify({injectedScriptId:0,id:Mn++}),$n.set(jn,Wn),An.set(Wn,jn),Pn.set(Wn,Gn),Wn)}function On(jn,Gn){var Wn=Gn===void 0?{}:Gn,Xn=Wn.generatePreview,er=Xn!==void 0&&Xn,rr=Wn.self,Jn=rr===void 0?jn:rr,qn=Hn(jn),Yn=qn.type,ar=qn.subtype;return Yn==="undefined"?qn:Yn==="string"||Yn==="boolean"||ar==="null"?(qn.value=jn,qn):(qn.description=Dn(jn,Jn),Yn==="number"?(qn.value=jn,qn):Yn==="symbol"?(qn.objectId=In(jn,Jn),qn):(qn.className=Yn==="function"?"Function":ar==="array"?"Array":ar==="map"?"Map":ar==="set"?"Set":ar==="regexp"?"RegExp":ar==="error"?jn.name:_n.default(jn,!1),er&&(qn.preview=Vn(jn,Jn)),qn.objectId=In(jn,Jn),qn))}function Rn(jn){return An.get(jn)}$e.clear=function(){An.clear(),$n.clear(),Pn.clear()},$e.wrap=On,$e.getObj=Rn,$e.releaseObj=function(jn){var Gn=Rn(jn);$n.delete(Gn),Pn.delete(jn),An.delete(jn)},$e.getProperties=function(jn){for(var Gn=jn.accessorPropertiesOnly,Wn=jn.objectId,Xn=jn.ownProperties,er=jn.generatePreview,rr=[],Jn={prototype:!Xn,unenumerable:!0,symbol:!Gn},qn=An.get(Wn),Yn=Pn.get(Wn),ar=Cn.default(qn,Jn),tr=xn.default(qn),or=0,sr=ar.length;or<sr;or++){var Kn=ar[or],Zn=void 0;try{Zn=Yn[Kn]}catch{}var nr={name:Ue.default(Kn),isOwn:Tn.default(Yn,Kn)},lr=Object.getOwnPropertyDescriptor(qn,Kn);if(!lr&&tr&&(lr=Object.getOwnPropertyDescriptor(tr,Kn)),lr){if(Gn&&!lr.get&&!lr.set)continue;nr.configurable=lr.configurable,nr.enumerable=lr.enumerable,nr.writable=lr.writable,lr.get&&(nr.get=On(lr.get)),lr.set&&(nr.set=On(lr.set))}tr&&Tn.default(tr,Kn)&&nr.enumerable&&(nr.isOwn=!0);var ir=!0;!nr.isOwn&&nr.get&&(ir=!1),ir&&(En.default(Kn)?(nr.symbol=On(Kn),nr.value={type:"undefined"}):nr.value=On(Zn,{generatePreview:er})),Gn&&Dt.default(Zn)&&Sn.default(Zn)||rr.push(nr)}if(!tr||Xn||zn(qn)||rr.push({name:"__proto__",configurable:!0,enumerable:!1,isOwn:Tn.default(qn,"__proto__"),value:On(tr,{self:Yn}),writable:!1}),Gn)return{result:rr};var kr=[];if(tr&&!zn(qn)&&kr.push({name:"[[Prototype]]",value:On(tr,{self:Yn})}),hn.default(qn)||vn.default(qn)){var Cr=function(Er){for(var dr=Nn.get(Er),br=dr?Rn(dr):[],_r=Er.entries(),Pr=_r.next().value;Pr;)hn.default(Er)?br.push(new Fn(Pr[1],Pr[0])):br.push(new Fn(Pr[1])),Pr=_r.next().value;return br}(qn);kr.push({name:"[[Entries]]",value:On(Cr)})}return{internalProperties:kr,result:rr}};var Bn=5;function Vn(jn,Gn){Gn===void 0&&(Gn=jn);var Wn=Hn(jn);Wn.description=Dn(jn,Gn);var Xn=!1,er=[],rr=wn.default(jn),Jn=rr.length;Jn>Bn&&(Jn=Bn,Xn=!0);for(var qn=0;qn<Jn;qn++){var Yn=rr[qn];er.push(Ln(Yn,Gn[Yn]))}if(Wn.properties=er,hn.default(jn)){for(var ar=[],tr=(qn=0,jn.keys()),or=tr.next().value;or;){if(qn>Bn){Xn=!0;break}ar.push({key:Vn(or),value:Vn(jn.get(or))}),qn++,or=tr.next().value}Wn.entries=ar}else if(vn.default(jn)){var sr=[],Kn=(qn=0,jn.keys());for(or=Kn.next().value;or;){if(qn>Bn){Xn=!0;break}sr.push({value:Vn(or)}),qn++,or=Kn.next().value}Wn.entries=sr}return Wn.overflow=Xn,Wn}function Ln(jn,Gn){var Wn=Hn(Gn);Wn.name=jn;var Xn,er=Wn.subtype;return Xn=Wn.type==="object"?er==="null"?"null":er==="array"?"Array("+Gn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":_n.default(Gn,!1):Ue.default(Gn),Wn.value=Xn,Wn}function Dn(jn,Gn){Gn===void 0&&(Gn=jn);var Wn=Hn(jn),Xn=Wn.type,er=Wn.subtype;return Xn==="string"?jn:Xn==="number"||Xn==="symbol"?Ue.default(jn):Xn==="function"?kn.default(jn):er==="array"?"Array("+jn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":er==="regexp"?Ue.default(jn):er==="error"?jn.stack:er==="internal#entry"?jn.name?'{"'+Ue.default(jn.name)+'" => "'+Ue.default(jn.value)+'"}':'"'+Ue.default(jn.value)+'"':_n.default(jn,!1)}function Hn(jn){var Gn=typeof jn,Wn="object";if(jn instanceof Fn)Wn="internal#entry";else if(qe.default(jn))Wn="null";else if(At.default(jn))Wn="array";else if(bn.default(jn))Wn="regexp";else if(jt.default(jn))Wn="error";else if(hn.default(jn))Wn="map";else if(vn.default(jn))Wn="set";else try{Lt.default(jn)&&(Wn="node")}catch{}return{type:Gn,subtype:Wn}}var Fn=function(jn,Gn){Gn&&(this.name=Gn),this.value=jn};function zn(jn){return jn instanceof Fn||!!(jn[0]&&jn[0]instanceof Fn)}},2636:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(Bn,Vn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ln,Dn){Ln.__proto__=Dn}||function(Ln,Dn){for(var Hn in Dn)Dn.hasOwnProperty(Hn)&&(Ln[Hn]=Dn[Hn])},Fe(Bn,Vn)},function(Bn,Vn){function Ln(){this.constructor=Bn}Fe(Bn,Vn),Bn.prototype=Vn===null?Object.create(Vn):(Ln.prototype=Vn.prototype,new Ln)}),qe=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.fullUrl=$e.FetchRequest=$e.XhrRequest=void 0;var At=qe(Ie(1443)),Dt=qe(Ie(6768)),Lt=qe(Ie(9702)),jt=qe(Ie(6334)),hn=qe(Ie(8887)),vn=qe(Ie(4331)),bn=qe(Ie(8847)),_n=qe(Ie(3783)),wn=qe(Ie(6930)),kn=qe(Ie(3875)),Cn=Ie(316),Sn=function(Bn){function Vn(Ln,Dn,Hn){var Fn=Bn.call(this)||this;return Fn.xhr=Ln,Fn.reqHeaders={},Fn.method=Dn,Fn.url=Nn(Hn),Fn.id=Cn.createId(),Fn}return Ue(Vn,Bn),Vn.prototype.toJSON=function(){return{method:this.method,url:this.url,id:this.id}},Vn.prototype.handleSend=function(Ln){Dt.default(Ln)||(Ln=""),Ln={name:Mn(this.url),url:this.url,data:Ln,time:bn.default(),reqHeaders:this.reqHeaders,method:this.method},hn.default(this.reqHeaders)||(Ln.reqHeaders=this.reqHeaders),this.emit("send",this.id,Ln)},Vn.prototype.handleReqHeadersSet=function(Ln,Dn){Ln&&Dn&&(this.reqHeaders[Ln]=Dn)},Vn.prototype.handleHeadersReceived=function(){var Ln=this.xhr,Dn=In(Ln.getResponseHeader("Content-Type")||"");this.emit("headersReceived",this.id,{type:Dn.type,subType:Dn.subType,size:$n(Ln,!0,this.url),time:bn.default(),resHeaders:An(Ln)})},Vn.prototype.handleDone=function(){var Ln,Dn,Hn,Fn=this,zn=this.xhr,jn=zn.responseType,Gn="",Wn=function(){Fn.emit("done",Fn.id,{status:zn.status,size:$n(zn,!1,Fn.url),time:bn.default(),resTxt:Gn})},Xn=In(zn.getResponseHeader("Content-Type")||"");jn!=="blob"||Xn.type!=="text"&&Xn.subType!=="javascript"&&Xn.subType!=="json"?(jn!==""&&jn!=="text"||(Gn=zn.responseText),jn==="json"&&(Gn=JSON.stringify(zn.response)),Wn()):(Ln=zn.response,Dn=function(er,rr){rr&&(Gn=rr),Wn()},(Hn=new FileReader).onload=function(){Dn(null,Hn.result)},Hn.onerror=function(er){Dn(er)},Hn.readAsText(Ln))},Vn}(At.default);$e.XhrRequest=Sn;var xn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this)||this;return Ln instanceof window.Request&&(Ln=Ln.url),Hn.url=Nn(Ln),Hn.id=Cn.createId(),Hn.options=Dn,Hn.reqHeaders=Dn.headers||{},Hn.method=Dn.method||"GET",Hn}return Ue(Vn,Bn),Vn.prototype.send=function(Ln){var Dn=this,Hn=this.options,Fn=Dt.default(Hn.body)?Hn.body:"";this.emit("send",this.id,{name:Mn(this.url),url:this.url,data:Fn,reqHeaders:this.reqHeaders,time:bn.default(),method:this.method}),Ln.then(function(zn){var jn=In((zn=zn.clone()).headers.get("Content-Type"));return zn.text().then(function(Gn){var Wn={type:jn.type,subType:jn.subType,time:bn.default(),size:En(zn,Gn),resTxt:Gn,resHeaders:Tn(zn),status:zn.status};hn.default(Dn.reqHeaders)||(Wn.reqHeaders=Dn.reqHeaders),Dn.emit("done",Dn.id,Wn)}),zn})},Vn}(At.default);function En(Bn,Vn){var Ln=Bn.headers.get("Content-length");return Ln?kn.default(Ln):Rn(Vn)}function Tn(Bn){var Vn={};return Bn.headers.forEach(function(Ln,Dn){return Vn[Dn]=Ln}),Vn}function An(Bn){var Vn=Bn.getAllResponseHeaders().split(`
`),Ln={};return _n.default(Vn,function(Dn){if((Dn=vn.default(Dn))!==""){var Hn=Dn.split(":",2),Fn=Hn[0],zn=Hn[1];Ln[Fn]=vn.default(zn)}}),Ln}function $n(Bn,Vn,Ln){var Dn=0;function Hn(){if(!Vn){var Fn=Bn.responseType,zn="";Fn!==""&&Fn!=="text"||(zn=Bn.responseText),zn&&(Dn=Rn(zn))}}if(function(Fn){return!wn.default(Fn,On)}(Ln))Hn();else try{Dn=kn.default(Bn.getResponseHeader("Content-Length"))}catch{Hn()}return Dn===0&&Hn(),Dn}$e.FetchRequest=xn;var Pn=document.createElement("a");function Nn(Bn){return Pn.href=Bn,Pn.protocol+"//"+Pn.host+Pn.pathname+Pn.search+Pn.hash}function Mn(Bn){var Vn=Lt.default(Bn.split("/"));return Vn.indexOf("?")>-1&&(Vn=vn.default(Vn.split("?")[0])),Vn===""&&(Vn=new jt.default(Bn).hostname),Vn}function In(Bn){if(!Bn)return{type:"unknown",subType:"unknown"};var Vn=Bn.split(";")[0].split("/");return{type:Vn[0],subType:Lt.default(Vn)}}$e.fullUrl=Nn;var On=window.location.origin;function Rn(Bn){var Vn=encodeURIComponent(Bn).match(/%[89ABab]/g);return Bn.length+(Vn?Vn.length:0)}},316:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(xn,En){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Tn,An){Tn.__proto__=An}||function(Tn,An){for(var $n in An)An.hasOwnProperty($n)&&(Tn[$n]=An[$n])},Fe(xn,En)},function(xn,En){function Tn(){this.constructor=xn}Fe(xn,En),xn.prototype=En===null?Object.create(En):(Tn.prototype=En.prototype,new Tn)}),qe=this&&this.__awaiter||function(xn,En,Tn,An){return new(Tn||(Tn=Promise))(function($n,Pn){function Nn(On){try{In(An.next(On))}catch(Rn){Pn(Rn)}}function Mn(On){try{In(An.throw(On))}catch(Rn){Pn(Rn)}}function In(On){var Rn;On.done?$n(On.value):(Rn=On.value,Rn instanceof Tn?Rn:new Tn(function(Bn){Bn(Rn)})).then(Nn,Mn)}In((An=An.apply(xn,En||[])).next())})},At=this&&this.__generator||function(xn,En){var Tn,An,$n,Pn,Nn={label:0,sent:function(){if(1&$n[0])throw $n[1];return $n[1]},trys:[],ops:[]};return Pn={next:Mn(0),throw:Mn(1),return:Mn(2)},typeof Symbol=="function"&&(Pn[Symbol.iterator]=function(){return this}),Pn;function Mn(In){return function(On){return function(Rn){if(Tn)throw new TypeError("Generator is already executing.");for(;Nn;)try{if(Tn=1,An&&($n=2&Rn[0]?An.return:Rn[0]?An.throw||(($n=An.return)&&$n.call(An),0):An.next)&&!($n=$n.call(An,Rn[1])).done)return $n;switch(An=0,$n&&(Rn=[2&Rn[0],$n.value]),Rn[0]){case 0:case 1:$n=Rn;break;case 4:return Nn.label++,{value:Rn[1],done:!1};case 5:Nn.label++,An=Rn[1],Rn=[0];continue;case 7:Rn=Nn.ops.pop(),Nn.trys.pop();continue;default:if($n=Nn.trys,!(($n=$n.length>0&&$n[$n.length-1])||Rn[0]!==6&&Rn[0]!==2)){Nn=0;continue}if(Rn[0]===3&&(!$n||Rn[1]>$n[0]&&Rn[1]<$n[3])){Nn.label=Rn[1];break}if(Rn[0]===6&&Nn.label<$n[1]){Nn.label=$n[1],$n=Rn;break}if($n&&Nn.label<$n[2]){Nn.label=$n[2],Nn.ops.push(Rn);break}$n[2]&&Nn.ops.pop(),Nn.trys.pop();continue}Rn=En.call(xn,Nn)}catch(Bn){Rn=[6,Bn],An=0}finally{Tn=$n=0}if(5&Rn[0])throw Rn[1];return{value:Rn[0]?Rn[1]:void 0,done:!0}}([In,On])}}},Dt=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getBase64Content=$e.getTextContent=$e.getOrigin=$e.getUrl=$e.createErr=$e.ErrorWithCode=$e.getAbsoluteUrl=$e.createId=void 0;var Lt=Dt(Ie(5229)),jt=Dt(Ie(1216)),hn=Dt(Ie(6930)),vn=Dt(Ie(6334)),bn=Dt(Ie(1792)),_n=Dt(Ie(6610)),wn=jt.default(1e3,9999)+".";$e.createId=function(){return Lt.default(wn)},$e.getAbsoluteUrl=function(xn){var En=document.createElement("a");return En.href=xn,En.href};var kn=function(xn){function En(Tn,An){var $n=this.constructor,Pn=xn.call(this,An)||this;return Pn.code=Tn,Object.setPrototypeOf(Pn,$n.prototype),Pn}return Ue(En,xn),En}(Error);function Cn(xn,En,Tn){return Tn===void 0&&(Tn=""),qe(this,void 0,void 0,function(){var An;return At(this,function($n){switch($n.label){case 0:return $n.trys.push([0,2,,8]),(An=new vn.default(xn)).setQuery("__chobitsu-hide__","true"),[4,_n.default.get(An.toString(),{responseType:En})];case 1:return[2,$n.sent().data];case 2:if($n.sent(),!Tn)return[3,7];$n.label=3;case 3:return $n.trys.push([3,6,,7]),[4,_n.default.get(Sn(Tn,xn),{responseType:En})];case 4:return[4,$n.sent().data];case 5:return[2,$n.sent()];case 6:return $n.sent(),[3,7];case 7:return[3,8];case 8:return[2,En==="arraybuffer"?new ArrayBuffer(0):""]}})})}function Sn(xn,En){var Tn=new vn.default(xn);return Tn.setQuery("url",En),Tn.setQuery("__chobitsu-hide__","true"),Tn.toString()}$e.ErrorWithCode=kn,$e.createErr=function(xn,En){return new kn(xn,En)},$e.getUrl=function(){var xn=location.href;return hn.default(xn,"about:")?parent.location.href:xn},$e.getOrigin=function(){var xn=location.origin;return xn==="null"?parent.location.origin:xn},$e.getTextContent=function(xn,En){return En===void 0&&(En=""),qe(this,void 0,void 0,function(){return At(this,function(Tn){switch(Tn.label){case 0:return[4,Cn(xn,"text",En)];case 1:return[2,Tn.sent()]}})})},$e.getBase64Content=function(xn,En){return En===void 0&&(En=""),qe(this,void 0,void 0,function(){var Tn;return At(this,function(An){switch(An.label){case 0:return Tn=bn.default,[4,Cn(xn,"arraybuffer",En)];case 1:return[2,Tn.apply(void 0,[An.sent(),"base64"])]}})})}},3191:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_console{padding-top:40px;padding-bottom:24px;width:100%;height:100%}#_console._js-input-hidden{padding-bottom:0}#_console ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px 10px 10px 35px}#_console ._control [class*=' _icon-'],#_console ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_console ._control [class*=' _icon-']._active,#_console ._control [class*=' _icon-']:active,#_console ._control [class^='_icon-']._active,#_console ._control [class^='_icon-']:active{color:var(--accent)}#_console ._control ._icon-clear{padding-right:0;left:0}#_console ._control ._icon-copy{right:0}#_console ._control ._icon-filter{right:23px}#_console ._control ._level{cursor:pointer;font-size:12px;height:20px;display:inline-block;margin:0 2px;padding:0 4px;line-height:20px;transition:background-color .3s,color .3s}#_console ._control ._level._active{background:var(--highlight);color:var(--select-foreground)}#_console ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:55px;font-size:14px;text-overflow:ellipsis}#_console ._js-input{pointer-events:none;position:absolute;z-index:100;left:0;bottom:0;width:100%;border-top:1px solid var(--border);height:24px}#_console ._js-input ._icon-arrow-right{line-height:23px;color:var(--accent);position:absolute;left:10px;top:0;z-index:10}#_console ._js-input._active{height:100%;padding-top:40px;padding-bottom:40px;border-top:none}#_console ._js-input._active ._icon-arrow-right{display:none}#_console ._js-input._active textarea{overflow:auto;padding-left:10px}#_console ._js-input ._buttons{display:none;position:absolute;left:0;bottom:0;width:100%;height:40px;color:var(--primary);background:var(--darker-background);font-size:12px;border-top:1px solid var(--border)}#_console ._js-input ._buttons ._button{pointer-events:all;cursor:pointer;flex:1;text-align:center;border-right:1px solid var(--border);height:40px;line-height:40px;transition:background-color .3s,color .3s}#_console ._js-input ._buttons ._button:last-child{border-right:none}#_console ._js-input ._buttons ._button:active{color:var(--select-foreground);background:var(--highlight)}#_console ._js-input textarea{overflow:hidden;pointer-events:all;padding:3px 10px;padding-left:25px;outline:0;border:none;font-size:14px;width:100%;height:100%;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;resize:none;color:var(--primary);background:var(--background)}._safe-area #_console{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console._js-input-hidden{padding-bottom:0}._safe-area #_console ._js-input{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input._active{height:100%;padding-bottom:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons{height:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons ._button{height:calc(40px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},13:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._dev-tools{position:absolute;width:100%;height:100%;left:0;bottom:0;background:var(--background);z-index:500;display:none;padding-top:40px!important;opacity:0;transition:opacity .3s;border-top:1px solid var(--border)}._dev-tools ._resizer{position:absolute;width:100%;touch-action:none;left:0;top:-8px;cursor:row-resize;z-index:120}._dev-tools ._tools{overflow:auto;-webkit-overflow-scrolling:touch;height:100%;width:100%;position:relative}._dev-tools ._tools ._tool{position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;display:none}",""]),xe.exports=$e},5896:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_elements ._elements{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:40px;padding-bottom:24px;font-size:14px}#_elements ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px 0}#_elements ._control [class*=' _icon-'],#_elements ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_elements ._control [class*=' _icon-']._active,#_elements ._control [class*=' _icon-']:active,#_elements ._control [class^='_icon-']._active,#_elements ._control [class^='_icon-']:active{color:var(--accent)}#_elements ._control ._icon-eye{right:0}#_elements ._control ._icon-copy{right:23px}#_elements ._control ._icon-delete{right:46px}#_elements ._dom-viewer-container{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;padding:5px 0}#_elements ._crumbs{position:absolute;width:100%;height:24px;left:0;top:0;top:initial;line-height:24px;bottom:0;border-top:1px solid var(--border);background:var(--darker-background);color:var(--primary);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#_elements ._crumbs li{cursor:pointer;padding:0 7px;display:inline-block}#_elements ._crumbs li:hover,#_elements ._crumbs li:last-child{background:var(--highlight)}#_elements ._crumbs ._icon-arrow-right{font-size:12px;position:relative;top:1px}#_elements ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;padding-top:40px;display:none;background:var(--background)}#_elements ._detail ._control{padding:10px 35px}#_elements ._detail ._control ._element-name{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_elements ._detail ._control ._icon-arrow-left{left:0}#_elements ._detail ._control ._icon-refresh{right:0}#_elements ._detail ._element{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_elements ._section{border-bottom:1px solid var(--border);color:var(--foreground);margin:10px 0}#_elements ._section h2{color:var(--primary);background:var(--darker-background);border-top:1px solid var(--border);padding:10px;line-height:18px;font-size:14px;transition:background-color .3s}#_elements ._section h2 ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_elements ._section h2 ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_elements ._section h2 ._btn:active{color:var(--accent)}#_elements ._section h2 ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_elements ._section h2 ._btn._btn-disabled *{pointer-events:none}#_elements ._section h2._active-effect{cursor:pointer}#_elements ._section h2._active-effect:active{background:var(--highlight);color:var(--select-foreground)}#_elements ._attributes{font-size:12px}#_elements ._attributes a{color:var(--link-color)}#_elements ._attributes ._table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}#_elements ._attributes table td{padding:5px 10px}#_elements ._text-content{background:#fff}#_elements ._text-content ._content{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px}#_elements ._style-color{position:relative;top:1px;width:10px;height:10px;border-radius:50%;margin-right:2px;border:1px solid var(--border);display:inline-block}#_elements ._box-model{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;text-align:center;border-bottom:1px solid var(--color)}#_elements ._computed-style{font-size:12px}#_elements ._computed-style a{color:var(--link-color)}#_elements ._computed-style ._table-wrapper{overflow-y:auto;-webkit-overflow-scrolling:touch;max-height:200px;border-top:1px solid var(--border)}#_elements ._computed-style table td{padding:5px 10px}#_elements ._computed-style table td._key{white-space:nowrap;color:var(--var-color)}#_elements ._styles{font-size:12px}#_elements ._styles ._style-wrapper{padding:10px}#_elements ._styles ._style-wrapper ._style-rules{border:1px solid var(--border);padding:10px;margin-bottom:10px}#_elements ._styles ._style-wrapper ._style-rules ._rule{padding-left:2em;word-break:break-all}#_elements ._styles ._style-wrapper ._style-rules ._rule a{color:var(--link-color)}#_elements ._styles ._style-wrapper ._style-rules ._rule span{color:var(--var-color)}#_elements ._styles ._style-wrapper ._style-rules:last-child{margin-bottom:0}#_elements ._listeners{font-size:12px}#_elements ._listeners ._listener-wrapper{padding:10px}#_elements ._listeners ._listener-wrapper ._listener{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_elements ._listeners ._listener-wrapper ._listener ._listener-type{padding:10px;background:var(--darker-background);color:var(--primary)}#_elements ._listeners ._listener-wrapper ._listener ._listener-content li{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;border-top:none}._safe-area #_elements ._elements{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._crumbs{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._element{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_elements ._elements{width:50%}#_elements ._elements ._control ._icon-eye{display:none}#_elements ._elements ._control ._icon-copy{right:0}#_elements ._elements ._control ._icon-delete{right:23px}#_elements ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_elements ._detail ._control{padding-left:10px}#_elements ._detail ._control ._icon-arrow-left{display:none}}",""]),xe.exports=$e},9195:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._container ._entry-btn{touch-action:none;width:40px;height:40px;display:flex;background:#000;opacity:.3;border-radius:10px;position:relative;z-index:1000;transition:opacity .3s;color:#fff;font-size:25px;align-items:center;justify-content:center}._container ._entry-btn._active,._container ._entry-btn:active{opacity:.8}",""]),xe.exports=$e},879:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_info{overflow-y:auto;-webkit-overflow-scrolling:touch}#_info li{margin:10px;border:1px solid var(--border)}#_info li ._content,#_info li ._title{padding:10px}#_info li ._title{position:relative;padding-bottom:0;color:var(--accent)}#_info li ._title ._icon-copy{position:absolute;right:10px;top:14px;color:var(--primary);cursor:pointer;transition:color .3s}#_info li ._title ._icon-copy:active{color:var(--accent)}#_info li ._content{margin:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:var(--foreground);font-size:12px;word-break:break-all}#_info li ._content table{width:100%;border-collapse:collapse}#_info li ._content table td,#_info li ._content table th{border:1px solid var(--border);padding:10px}#_info li ._content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_info li ._content a{color:var(--link-color)}#_info li ._device-key,#_info li ._system-key{width:100px}._safe-area #_info{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},3180:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_network ._network{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:39px}#_network ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px;border-bottom:none}#_network ._control [class*=' _icon-'],#_network ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_network ._control [class*=' _icon-']._active,#_network ._control [class*=' _icon-']:active,#_network ._control [class^='_icon-']._active,#_network ._control [class^='_icon-']:active{color:var(--accent)}#_network ._control ._title{font-size:14px}#_network ._control ._icon-clear{left:23px}#_network ._control ._icon-eye{right:0}#_network ._control ._icon-copy{right:23px}#_network ._control ._icon-filter{right:46px}#_network ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:88px;font-size:14px;text-overflow:ellipsis}#_network ._control ._icon-record{left:0}#_network ._control ._icon-record._recording{color:var(--console-error-foreground);text-shadow:0 0 4px var(--console-error-foreground)}#_network ._request-error{color:var(--console-error-foreground)}#_network .luna-data-grid:focus .luna-data-grid-data-container ._request-error.luna-data-grid-selected{background:var(--console-error-background)}#_network .luna-data-grid{border-left:none;border-right:none}#_network ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;display:none;padding-top:40px;background:var(--background)}#_network ._detail ._control{padding:10px 35px;border-bottom:1px solid var(--border)}#_network ._detail ._control ._url{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_network ._detail ._control ._icon-arrow-left{left:0}#_network ._detail ._control ._icon-delete{left:0;display:none}#_network ._detail ._control ._icon-copy{right:0}#_network ._detail ._http{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_network ._detail ._http ._section{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:10px;margin-bottom:10px}#_network ._detail ._http ._section h2{background:var(--darker-background);color:var(--primary);padding:10px;line-height:18px;font-size:14px}#_network ._detail ._http ._section table{color:var(--foreground)}#_network ._detail ._http ._section table *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_network ._detail ._http ._section table td{font-size:12px;padding:5px 10px;word-break:break-all}#_network ._detail ._http ._section table ._key{white-space:nowrap;font-weight:700;color:var(--accent)}#_network ._detail ._http ._data,#_network ._detail ._http ._response{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:12px;margin:10px 0;white-space:pre-wrap;border-top:1px solid var(--border);color:var(--foreground);border-bottom:1px solid var(--border)}._safe-area #_network ._http{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_network ._network ._control ._icon-eye{display:none}#_network ._network ._control ._icon-copy{right:0}#_network ._network ._control ._icon-filter{right:23px}#_network ._network ._control ._filter-text{right:55px}#_network ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_network ._detail ._control ._icon-arrow-left{display:none}#_network ._detail ._control ._icon-delete{display:block}}",""]),xe.exports=$e},2488:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_resources{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:14px}#_resources ._section{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_resources ._section._warn{border:1px solid var(--console-warn-border)}#_resources ._section._warn ._title{background:var(--console-warn-background);color:var(--console-warn-foreground)}#_resources ._section._danger{border:1px solid var(--console-error-border)}#_resources ._section._danger ._title{background:var(--console-error-background);color:var(--console-error-foreground)}#_resources ._section._cookie,#_resources ._section._local-storage,#_resources ._section._session-storage{border:none}#_resources ._section._cookie ._title,#_resources ._section._local-storage ._title,#_resources ._section._session-storage ._title{border:1px solid var(--border);border-bottom:none}#_resources ._title{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background)}#_resources ._title ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_resources ._title ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_resources ._title ._btn:active{color:var(--accent)}#_resources ._title ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_resources ._title ._btn._btn-disabled *{pointer-events:none}#_resources ._link-list{font-size:12px;color:var(--foreground)}#_resources ._link-list li{padding:10px;word-break:break-all}#_resources ._link-list li a{color:var(--link-color)!important}#_resources ._image-list{color:var(--foreground);font-size:12px;display:flex;flex-wrap:wrap;padding:10px!important}#_resources ._image-list:after{content:'';display:block;clear:both}#_resources ._image-list li{flex-grow:1;cursor:pointer;overflow-y:hidden}#_resources ._image-list li._image{height:100px;font-size:0}#_resources ._image-list li img{height:100px;min-width:100%;-o-object-fit:cover;object-fit:cover}._safe-area #_resources{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},8011:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_settings{overflow-y:auto;-webkit-overflow-scrolling:touch}._safe-area #_settings{padding-bottom:calc(0px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},5571:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_snippets{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px}#_snippets ._section{margin-bottom:10px;border:1px solid var(--border);overflow:hidden;cursor:pointer}#_snippets ._section:active ._name{background:var(--highlight);color:var(--select-foreground)}#_snippets ._section ._name{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background);transition:background-color .3s}#_snippets ._section ._name ._btn{margin-left:10px;float:right;text-align:center;width:18px;height:18px;font-size:12px}#_snippets ._section ._description{font-size:12px;color:var(--foreground);padding:10px;transition:background-color .3s}._safe-area #_snippets{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},7346:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._search-highlight-block{display:inline}._search-highlight-block ._keyword{background:var(--console-warn-background);color:var(--console-warn-foreground)}",""]),xe.exports=$e},1344:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_sources{font-size:0;overflow-y:auto;-webkit-overflow-scrolling:touch;color:var(--foreground)}#_sources ._code-wrapper,#_sources ._raw-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;min-height:100%}#_sources ._code,#_sources ._raw{height:100%}#_sources ._code ._keyword,#_sources ._raw ._keyword{color:var(--keyword-color)}#_sources ._code ._comment,#_sources ._raw ._comment{color:var(--comment-color)}#_sources ._code ._number,#_sources ._raw ._number{color:var(--number-color)}#_sources ._code ._string,#_sources ._raw ._string{color:var(--string-color)}#_sources ._code ._operator,#_sources ._raw ._operator{color:var(--operator-color)}#_sources ._code[data-type=html] ._keyword,#_sources ._raw[data-type=html] ._keyword{color:var(--tag-name-color)}#_sources ._image{font-size:12px}#_sources ._image ._breadcrumb{background:var(--darker-background);color:var(--primary);-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;margin-bottom:10px;word-break:break-all;padding:10px;font-size:16px;min-height:40px;border-bottom:1px solid var(--border)}#_sources ._image ._img-container{text-align:center}#_sources ._image ._img-container img{max-width:100%}#_sources ._image ._img-info{text-align:center;margin:20px 0;color:var(--foreground)}#_sources ._json{padding:0 10px}#_sources ._json *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_sources iframe{width:100%;height:100%}",""]),xe.exports=$e},8020:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._container a,._container abbr,._container acronym,._container address,._container applet,._container article,._container aside,._container audio,._container b,._container big,._container blockquote,._container canvas,._container caption,._container center,._container cite,._container code,._container dd,._container del,._container details,._container dfn,._container dl,._container dt,._container em,._container embed,._container fieldset,._container figcaption,._container figure,._container footer,._container form,._container h1,._container h2,._container h3,._container h4,._container h5,._container h6,._container header,._container hgroup,._container i,._container iframe,._container img,._container ins,._container kbd,._container label,._container legend,._container li,._container mark,._container menu,._container nav,._container object,._container ol,._container output,._container p,._container pre,._container q,._container ruby,._container s,._container samp,._container section,._container small,._container span,._container strike,._container strong,._container sub,._container summary,._container sup,._container table,._container tbody,._container td,._container tfoot,._container th,._container thead,._container time,._container tr,._container tt,._container u,._container ul,._container var,._container video{margin:0;padding:0;border:0;font-size:100%}._container article,._container aside,._container details,._container figcaption,._container figure,._container footer,._container header,._container hgroup,._container menu,._container nav,._container section{display:block}._container body{line-height:1}._container ol,._container ul{list-style:none}._container blockquote,._container q{quotes:none}._container blockquote:after,._container blockquote:before,._container q:after,._container q:before{content:'';content:none}._container table{border-collapse:collapse;border-spacing:0}",""]),xe.exports=$e},8516:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`.luna-console{background:var(--background)}.luna-console-header{color:var(--link-color);border-bottom-color:var(--border)}.luna-console-nesting-level{border-right-color:var(--border)}.luna-console-nesting-level::before{border-bottom-color:var(--border)}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:var(--contrast)}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:var(--border)}.luna-console-log-item{border-bottom-color:var(--border);color:var(--foreground)}.luna-console-log-item a{color:var(--link-color)!important}.luna-console-log-item .luna-console-icon-container .luna-console-icon{color:var(--foreground)}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{color:#e8a400}.luna-console-log-item .luna-console-count{color:var(--select-foreground);background:var(--highlight)}.luna-console-log-item.luna-console-warn{color:var(--console-warn-foreground);background:var(--console-warn-background);border-color:var(--console-warn-border)}.luna-console-log-item.luna-console-error{background:var(--console-error-background);color:var(--console-error-foreground);border-color:var(--console-error-border)}.luna-console-log-item.luna-console-error .luna-console-count{background:var(--console-error-foreground)}.luna-console-log-item .luna-console-code .luna-console-key{color:var(--var-color)}.luna-console-log-item .luna-console-code .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-code .luna-console-null{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-string{color:var(--string-color)}.luna-console-log-item .luna-console-code .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-special{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-keyword{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-operator{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-comment{color:var(--comment-color)}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:var(--operator-color)}.luna-console-log-item .luna-console-log-content .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:var(--var-color)}.luna-console-preview .luna-console-key{color:var(--var-color)}.luna-console-preview .luna-console-number{color:var(--number-color)}.luna-console-preview .luna-console-null{color:var(--operator-color)}.luna-console-preview .luna-console-string{color:var(--string-color)}.luna-console-preview .luna-console-boolean{color:var(--keyword-color)}.luna-console-preview .luna-console-special{color:var(--operator-color)}.luna-console-preview .luna-console-keyword{color:var(--keyword-color)}.luna-console-preview .luna-console-operator{color:var(--operator-color)}.luna-console-preview .luna-console-comment{color:var(--comment-color)}.luna-object-viewer{color:var(--primary);font-size:12px!important}.luna-object-viewer-null{color:var(--operator-color)}.luna-object-viewer-regexp,.luna-object-viewer-string{color:var(--string-color)}.luna-object-viewer-number{color:var(--number-color)}.luna-object-viewer-boolean{color:var(--keyword-color)}.luna-object-viewer-special{color:var(--operator-color)}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:var(--var-color)}.luna-object-viewer-expanded:before{border-color:transparent;border-top-color:var(--foreground)}.luna-object-viewer-collapsed:before{border-top-color:transparent;border-left-color:var(--foreground)}.luna-notification{pointer-events:none!important;padding:10px;z-index:1000}.luna-notification-item{z-index:500;color:var(--foreground);background:var(--background);box-shadow:none;padding:5px 10px;border:1px solid var(--border)}.luna-notification-upper{margin-bottom:10px}.luna-notification-lower{margin-top:10px}.luna-data-grid{color:var(--foreground);background:var(--background);border-color:var(--border)}.luna-data-grid:focus .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--accent)}.luna-data-grid td,.luna-data-grid th{border-color:var(--border)}.luna-data-grid th{background:var(--darker-background)}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{color:var(--select-foreground);background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container tr:nth-child(even){background:var(--contrast)}.luna-dom-viewer{color:var(--foreground)}.luna-dom-viewer .luna-dom-viewer-html-tag,.luna-dom-viewer .luna-dom-viewer-tag-name{color:var(--tag-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-name{color:var(--attribute-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-value{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-html-comment{color:var(--comment-color)}.luna-dom-viewer .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:var(--contrast)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:var(--highlight)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:var(--accent);opacity:.2}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-key{color:var(--var-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-number{color:var(--number-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-null{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-string{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-boolean{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-special{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:var(--comment-color)}.luna-dom-viewer-children{margin:0;padding-left:15px!important}.luna-modal{z-index:9999999}.luna-modal-body,.luna-modal-input{color:var(--foreground);background:var(--background)}.luna-modal-input{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;border-color:var(--border)}.luna-modal-button-group .luna-modal-secondary{border-color:var(--border);color:var(--foreground);background:var(--background)}.luna-modal-button-group .luna-modal-primary{background:var(--accent)}.luna-modal-button-group .luna-modal-button:active::before{background:var(--accent)}.luna-tab{position:absolute;left:0;top:0;color:var(--foreground);background:var(--darker-background)}.luna-tab-tabs-container{border-color:var(--border)}.luna-tab-item.luna-tab-selected,.luna-tab-item:hover{background:var(--highlight);color:var(--select-foreground)}.luna-tab-slider{background:var(--accent)}.luna-text-viewer{color:var(--foreground);border:none;border-bottom:1px solid var(--border);background:var(--background);font-size:12px}.luna-text-viewer .luna-text-viewer-line-text{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-line-text *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-copy,.luna-text-viewer .luna-text-viewer-line-number{border-color:var(--border)}.luna-text-viewer .luna-text-viewer-copy .luna-text-viewer-icon-check{color:var(--accent)}.luna-text-viewer .luna-text-viewer-copy{background-color:var(--background)}.luna-setting{color:var(--foreground);background:var(--background)}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:var(--darker-background)}.luna-setting-item.luna-setting-selected:focus{outline:0}.luna-setting-item-title{font-size:14px}.luna-setting-item-separator{border-color:var(--border)}.luna-setting-item-checkbox input{border-color:var(--border)}.luna-setting-item-checkbox input:checked{background-color:var(--accent);border-color:var(--accent)}.luna-setting-item-select .luna-setting-select select{color:var(--foreground);border-color:var(--border);background:var(--background)}.luna-setting-item-select .luna-setting-select:after{border-top-color:var(--foreground)}.luna-setting-item-button button{color:var(--accent);background:var(--background);border-color:var(--border)}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:var(--darker-background)}.luna-setting-item-button button:active{border:1px solid var(--accent)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:var(--border)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{background:var(--accent)}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:var(--border);background:radial-gradient(circle at center,var(--dark) 0,var(--dark) 15%,var(--light) 22%,var(--light) 100%)}.luna-box-model{background:0 0}.luna-box-model-position{color:var(--foreground)}._container{min-width:320px;pointer-events:none;position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999999;color:var(--foreground);font-family:".SFNSDisplay-Regular","Helvetica Neue","Lucida Grande","Segoe UI",Tahoma,sans-serif;font-size:14px;direction:ltr}._container._dark{color-scheme:dark}._container *{box-sizing:border-box;pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none}._container ul{list-style:none;padding:0;margin:0}._container h1,._container h2,._container h3,._container h4{margin:0}._container h2{font-size:14px}._container h2 [class*=' _icon-'],._container h2 [class^='_icon-']{font-weight:400}._hidden{display:none}._icon-disabled{opacity:.5;pointer-events:none;cursor:default!important}._icon-disabled:active{color:inherit!important}._tag-name-color{color:var(--tag-name-color)}._function-color{color:var(--function-color)}._attribute-name-color{color:var(--attribute-name-color)}._operator-color{color:var(--operator-color)}._string-color{color:var(--string-color)}`,""]),xe.exports=$e},6833:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-box-model{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;display:inline-block;color:#222;font-size:12px;text-align:center;white-space:nowrap}.luna-box-model.luna-box-model-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-box-model.luna-box-model-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-box-model .luna-box-model-hidden,.luna-box-model.luna-box-model-hidden{display:none}.luna-box-model .luna-box-model-invisible,.luna-box-model.luna-box-model-invisible{visibility:hidden}.luna-box-model *{box-sizing:border-box}.luna-box-model.luna-box-model-theme-dark{color:#a5a5a5;background-color:#242424}.luna-box-model-label{position:absolute;margin-left:3px;padding:0 2px}.luna-box-model-bottom,.luna-box-model-left,.luna-box-model-right,.luna-box-model-top{display:inline-block}.luna-box-model-left,.luna-box-model-right{vertical-align:middle}.luna-box-model-border,.luna-box-model-content,.luna-box-model-margin,.luna-box-model-padding,.luna-box-model-position{position:relative;display:inline-block;text-align:center;vertical-align:middle;padding:3px;margin:3px}.luna-box-model-position{border:1px grey dotted}.luna-box-model-margin{color:#333;border:1px dashed;background:rgba(246,178,107,.66)}.luna-box-model-border{color:#333;border:1px #000 solid;background:rgba(255,229,153,.66)}.luna-box-model-padding{color:#333;border:1px grey dashed;background:rgba(147,196,125,.55)}.luna-box-model-content{color:#333;border:1px grey solid;min-width:100px;background:rgba(111,168,220,.66)}",""]),xe.exports=$e},9327:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`@font-face{font-family:luna-console-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAasAAsAAAAACnAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAI4AAADcIsYnIk9TLzIAAAGYAAAAPgAAAFZWmlGRY21hcAAAAdgAAAD2AAACyDioZ9NnbHlmAAAC0AAAAZgAAAH8Lq6nDGhlYWQAAARoAAAAMQAAADZ25cSzaGhlYQAABJwAAAAdAAAAJAgCBBRobXR4AAAEvAAAABkAAABYGAH//GxvY2EAAATYAAAAGAAAAC4J8glUbWF4cAAABPAAAAAfAAAAIAEjAFBuYW1lAAAFEAAAASkAAAIWm5e+CnBvc3QAAAY8AAAAcAAAAJ7qA/7MeJxNjTsOwjAQRJ8TJzE2hPBrKBBHQByAAiGqFBRcIBVCiqhyBA7O2AgRr9Y7M2+lxQCeAyeyy7W9U/fd8GKL5fsiH2vTPx8d7ufEbJpO/aagYc+RM7fEjBKnmiRuySmZUTNNf0wybYSRj9VoO4iU7NQh+Up8qelZs5EupP75Shfm2oz3Kmkvt/gARcgJKwAAeJxjYGQUZ5zAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHGHQ/srGAuDEsTGBhRhABALQ1CMwAAHiczdJNbsIwEIbh1+QHQsJviNRFF1XX7aEQRZQNRQjEHXqgrnopn4B+E8+qqip117GeRB4nk4lloAAyeZIcwicBiw9lQ5/PGPf5nHfNV8yVyXlmzZY9R05cuMbydtOqZTfsOCh7Vjb02e8RVMXGHfc8aDxqwFKVF7QMtdLpmzUVDSOmTJjpnUH/3YJSBcofqv4Wyz8+b6FuWvXSjW1SV30r1sl/icYuofFZh+1+Yn+7dnPZuIW8uFa2big7t5JXZzX3znbh4Gp5c5UcnfVyciM5u6lc3ESuTnsZQ2JnLQ4S7J4ldjZjntj5jEVi5zaWCeUXWN4q9AAAeJxdUMFOU0EUnTMzb2o1FB5O5wENg31k5mExVEo7jSGBEuO6CStDmtbIBuiKBYg/gRu/ABO3/ocscOEXsHBpogtWvFfnvQgxJnduztx7zknuIXQyIYSDE9IgLwmBmIZI1pDYbTSxBqeW4KvrVKSmaaRKFZREE7YJIyONSLW6W37bLiRxscXNTH1zbnFqlnJ5Eu+G9MnT8JBy9l69ELx69Ohd9JCryrwcU07TbCU5H4y+jQbnyco/EF+8x1/eaX03bCzR8IgGwVn0WC/I8YOzaLGS+4+p4K8O/lcXkPhj/CP0ig1JQIhJyugCxz3o7LqH4YUH0L3swlMK3q+CV/HMbhkJAqlarm1jgd+97DpnfsKPeH15eT2+l9L5OJ/kcjZJfY6MU++wQPzI+PRECUJjo97aAtqupaqhFLHtRLHNf1Kwn9lAOid9L7tV9nzVldNL3dC+NmrGOGM+sme2VrO335Mda3foXlXravY57zemY23HkLs72RsW5JegDjZK99FnPPtwl8FX1i92IfAax6yfvkWf/AHb1F1JeJxjYGRgYABi3/mPYuP5bb4ycLOABKI4H+9rgNH//zIwsDCzMAElOBhAJAMAQ2IK+QAAAHicY2BkYGBhAAEWhv9///9lYWZgZEAFYgBbLQQgAAAAeJxjYGBgYGH4/58FTIPZf2FsSgAAM58EEwAAAHicY2AAgjyGJoYlDI8YPjD8ww8BeTMTR3icY2BkYGAQY3BhYGYAASYg5gJCBob/YD4DABGFAXQAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxtxksOgjAUQNF3kaIW/x9cBYtqgEAnLXlp0+1rwtQzuVcq2Vj5r6NiR42hYc+BI5aWE2cuXLlx58GTF286PmIm1ajGhzWnJub0S12cBjs4nVI/xhLabdXPS2JCiXgCK5lEwTHQMzKziHwBqnYYpg==') format('woff')}[class*=' luna-console-icon-'],[class^=luna-console-icon-]{display:inline-block;font-family:luna-console-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-console-icon-error:before{content:'\\f101'}.luna-console-icon-input:before{content:'\\f102'}.luna-console-icon-output:before{content:'\\f103'}.luna-console-icon-warn:before{content:'\\f104'}.luna-console-icon-caret-down:before{content:'\\f105'}.luna-console-icon-caret-right:before{content:'\\f106'}.luna-console{background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;position:relative;will-change:scroll-position;cursor:default;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console.luna-console-theme-dark{background-color:#242424}.luna-console-hidden{display:none}.luna-console-fake-logs{position:absolute;left:0;top:0;pointer-events:none;visibility:hidden;width:100%}.luna-console-logs{padding-top:1px;position:absolute;width:100%}.luna-console-log-container{box-sizing:content-box}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:#ecf1f8}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#ccdef5}.luna-console-header{white-space:nowrap;display:flex;font-size:11px;color:#545454;border-top:1px solid transparent;border-bottom:1px solid #ccc}.luna-console-header .luna-console-time-from-container{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:3px 10px}.luna-console-nesting-level{width:14px;flex-shrink:0;margin-top:-1px;margin-bottom:-1px;position:relative;border-right:1px solid #ccc}.luna-console-nesting-level.luna-console-group-closed::before{content:""}.luna-console-nesting-level::before{border-bottom:1px solid #ccc;position:absolute;top:0;left:0;margin-left:100%;width:5px;height:100%;box-sizing:border-box}.luna-console-log-item{position:relative;display:flex;border-top:1px solid transparent;border-bottom:1px solid #ccc;margin-top:-1px;color:#333}.luna-console-log-item:after{content:"";display:block;clear:both}.luna-console-log-item .luna-console-code{display:inline;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console-log-item .luna-console-code .luna-console-keyword{color:#881280}.luna-console-log-item .luna-console-code .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-code .luna-console-operator{color:gray}.luna-console-log-item .luna-console-code .luna-console-comment{color:#236e25}.luna-console-log-item .luna-console-code .luna-console-string{color:#1a1aa6}.luna-console-log-item a{color:#15c!important}.luna-console-log-item .luna-console-icon-container{margin:0 -6px 0 10px}.luna-console-log-item .luna-console-icon-container .luna-console-icon{line-height:20px;font-size:12px;color:#333;position:relative}.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-right{top:0;left:-2px}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{top:0;color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{top:0;color:#e8a400}.luna-console-log-item .luna-console-count{background:#8097bd;color:#fff;padding:2px 4px;border-radius:10px;font-size:12px;float:left;margin:1px -6px 0 10px}.luna-console-log-item .luna-console-log-content-wrapper{flex:1;overflow:hidden}.luna-console-log-item .luna-console-log-content{padding:3px 0;margin:0 10px;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:pre-wrap;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content>*{vertical-align:top}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#5e5e5e}.luna-console-log-item .luna-console-log-content .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:#0d22aa}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#881391}.luna-console-log-item .luna-console-data-grid,.luna-console-log-item .luna-console-dom-viewer{white-space:initial}.luna-console-log-item.luna-console-error{z-index:50;background:#fff0f0;color:red;border-top:1px solid #ffd6d6;border-bottom:1px solid #ffd6d6}.luna-console-log-item.luna-console-error .luna-console-stack{padding-left:1.2em;white-space:nowrap}.luna-console-log-item.luna-console-error .luna-console-count{background:red}.luna-console-log-item.luna-console-debug{z-index:20}.luna-console-log-item.luna-console-input{border-bottom-color:transparent}.luna-console-log-item.luna-console-warn{z-index:40;color:#5c5c00;background:#fffbe5;border-top:1px solid #fff5c2;border-bottom:1px solid #fff5c2}.luna-console-log-item.luna-console-warn .luna-console-count{background:#e8a400}.luna-console-log-item.luna-console-info{z-index:30}.luna-console-log-item.luna-console-group,.luna-console-log-item.luna-console-groupCollapsed{font-weight:700}.luna-console-preview{display:inline-block}.luna-console-preview .luna-console-preview-container{display:flex;align-items:center}.luna-console-preview .luna-console-json{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-left:12px}.luna-console-preview .luna-console-preview-icon-container{display:block}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon{position:relative;font-size:12px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-down{top:2px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-right{top:1px}.luna-console-preview .luna-console-preview-content-container{word-break:break-all}.luna-console-preview .luna-console-descriptor,.luna-console-preview .luna-console-object-preview{font-style:italic}.luna-console-preview .luna-console-key{color:#881391}.luna-console-preview .luna-console-number{color:#1c00cf}.luna-console-preview .luna-console-null{color:#5e5e5e}.luna-console-preview .luna-console-string{color:#c41a16}.luna-console-preview .luna-console-boolean{color:#0d22aa}.luna-console-preview .luna-console-special{color:#5e5e5e}.luna-console-theme-dark{color-scheme:dark}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item{background:#29323d}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#4173b4}.luna-console-theme-dark .luna-console-log-item{color:#a5a5a5;border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-keyword{color:#e36eec}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-operator{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-comment{color:#747474}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-log-item.luna-console-error{background:#290000;color:#ff8080;border-top-color:#5c0000;border-bottom-color:#5c0000}.luna-console-theme-dark .luna-console-log-item.luna-console-error .luna-console-count{background:#ff8080}.luna-console-theme-dark .luna-console-log-item.luna-console-warn{color:#ffcb6b;background:#332a00;border-top-color:#650;border-bottom-color:#650}.luna-console-theme-dark .luna-console-log-item .luna-console-count{background:#42597f;color:#949494}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-boolean,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#e36eec}.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-right{color:#9aa0a6}.luna-console-theme-dark .luna-console-header{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level{border-right-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level::before{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-preview .luna-console-key{color:#e36eec}.luna-console-theme-dark .luna-console-preview .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-null{color:#7f7f7f}.luna-console-theme-dark .luna-console-preview .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-preview .luna-console-boolean{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-special{color:#7f7f7f}`,""]),xe.exports=$e},4987:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,'.luna-data-grid{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;font-size:12px;border:1px solid #ccc;overflow:hidden;outline:0}.luna-data-grid.luna-data-grid-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-data-grid.luna-data-grid-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-data-grid .luna-data-grid-hidden,.luna-data-grid.luna-data-grid-hidden{display:none}.luna-data-grid .luna-data-grid-invisible,.luna-data-grid.luna-data-grid-invisible{visibility:hidden}.luna-data-grid *{box-sizing:border-box}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background-color:#242424}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background:#242424;border-color:#3d3d3d}.luna-data-grid table{width:100%;height:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.luna-data-grid td,.luna-data-grid th{padding:1px 4px;border-left:1px solid #ccc;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.luna-data-grid td:first-child,.luna-data-grid th:first-child{border-left:none}.luna-data-grid th{font-weight:400;border-bottom:1px solid #ccc;text-align:left;background:#f3f3f3}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{background:#e6e6e6}.luna-data-grid td{height:20px;cursor:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-data-grid:focus .luna-data-grid-node.luna-data-grid-selected{color:#fff;background:#1a73e8}.luna-data-grid:focus.luna-data-grid-theme-dark .luna-data-grid-node.luna-data-grid-selected{background:#0e639c}.luna-data-grid-data-container,.luna-data-grid-header-container{overflow:hidden}.luna-data-grid-header-container{height:21px}.luna-data-grid-data-container{overflow-y:auto}.luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#ddd}.luna-data-grid-data-container tr:nth-child(even){background:#f2f7fd}.luna-data-grid-filler-row td{height:auto}.luna-data-grid-resizer{position:absolute;top:0;bottom:0;width:5px;z-index:500;touch-action:none;cursor:col-resize}.luna-data-grid-resizing{cursor:col-resize!important}.luna-data-grid-resizing .luna-data-grid *{cursor:col-resize!important}.luna-data-grid-theme-dark{color-scheme:dark}.luna-data-grid-theme-dark td,.luna-data-grid-theme-dark th{border-color:#3d3d3d}.luna-data-grid-theme-dark th{background:#292a2d}.luna-data-grid-theme-dark th.luna-data-grid-sortable:hover{background:#303030}.luna-data-grid-theme-dark .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#393939}.luna-data-grid-theme-dark .luna-data-grid-data-container tr:nth-child(even){background:#0b2544}',""]),xe.exports=$e},8903:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-dom-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAASgAAsAAAAAB4QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFwAAACMIRYl8k9TLzIAAAFkAAAAPQAAAFZLxUkaY21hcAAAAaQAAADHAAACWBcU1KRnbHlmAAACbAAAAC4AAAAwabU7V2hlYWQAAAKcAAAALwAAADZzjr4faGhlYQAAAswAAAAYAAAAJAFyANdobXR4AAAC5AAAABAAAAA4AZAAAGxvY2EAAAL0AAAAEAAAAB4AnACQbWF4cAAAAwQAAAAfAAAAIAEZAA9uYW1lAAADJAAAASkAAAIWm5e+CnBvc3QAAARQAAAATgAAAG5m1cqleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiC2AdNMDGwMckCSGyzHCuSxA2kuIJ+HgReoggtJnANMcwJFGRmYAXZLBkt4nGNgZJBlnMDAysDAUMfQAyRloHQCAyeDMQMDEwMrMwNWEJDmmsJwgEH3IxPDCSBXCEwyMDCCCABbzwhtAAAAeJy1kksKwjAQhr/0oX0JLlyIZ9BDCQXtRkEEwQO56uV6Av0nmZWI4MIJX2H+JvNIBiiBXGxFAWEkYPaQGqKe00S94C5/xVJKwY49PQNnLly5Tdnzqb9JPXByNUT13YKipLVm4wvmilvR0ilfrboKFsy0N9OB2Yco32z+437SLVTQdo05dUksgF8z/8+6+B3dU2m67YR1u3fsLXtH7egtEq04OhZpcKzbk1OLs2NzcXE0F3rNhOW9ObqbKSRsVqYsQfYC6fYeiQB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOLeSTNM4/ltvjJwM5wACkRxPt7XgKCBYCXDMiDJwcAE4gAAQEgKxAB4nGNgZGBgOMHAACdXMjAyoAI+ADixAkp4nGNgAIITUEwCAABMyAGReJxjYAACHgYJ7BAADsoBLXicY2BkYGDgY2BmANEMDExAzAWEDAz/wXwGAAomASkAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxk0KgCAUAOE3/adlJ/FQgqBuFETw+i2kTd9mRiYZvv4ZJmYWVjZ2Dk4UmosbwyPK1Vq69aVnPbamEBuOSqFj8WQSgUgTeQGPtA2iAAA=') format('woff')}[class*=' luna-dom-viewer-icon-'],[class^=luna-dom-viewer-icon-]{display:inline-block;font-family:luna-dom-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-dom-viewer-icon-arrow-down:before{content:'\\f101'}.luna-dom-viewer-icon-arrow-right:before{content:'\\f102'}.luna-dom-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:0 0;overflow-x:hidden;word-wrap:break-word;padding:0 0 0 12px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;cursor:default;list-style:none}.luna-dom-viewer.luna-dom-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-viewer.luna-dom-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-viewer .luna-dom-viewer-hidden,.luna-dom-viewer.luna-dom-viewer-hidden{display:none}.luna-dom-viewer .luna-dom-viewer-invisible,.luna-dom-viewer.luna-dom-viewer-invisible{visibility:hidden}.luna-dom-viewer *{box-sizing:border-box}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#a5a5a5;background-color:#242424}.luna-dom-viewer ul{list-style:none}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#e8eaed}.luna-dom-viewer-toggle{min-width:12px;margin-left:-12px}.luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-icon-arrow-right{position:absolute!important;font-size:12px!important}.luna-dom-viewer-tree-item{line-height:16px;min-height:16px;position:relative;z-index:10;outline:0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection,.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{display:block}.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#f2f7fd}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#e0e0e0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#cfe8fc}.luna-dom-viewer-tree-item .luna-dom-viewer-icon-arrow-down{display:none}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-down{display:inline-block}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-right{display:none}.luna-dom-viewer-html-tag{color:#881280}.luna-dom-viewer-tag-name{color:#881280}.luna-dom-viewer-attribute-name{color:#994500}.luna-dom-viewer-attribute-value{color:#1a1aa6}.luna-dom-viewer-attribute-value.luna-dom-viewer-attribute-underline{text-decoration:underline}.luna-dom-viewer-html-comment{color:#236e25}.luna-dom-viewer-selection{position:absolute;display:none;left:-10000px;right:-10000px;top:0;bottom:0;z-index:-1}.luna-dom-viewer-children{margin:0;overflow-x:visible;overflow-y:visible;padding-left:15px}.luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#881280}.luna-dom-viewer-text-node .luna-dom-viewer-number{color:#1c00cf}.luna-dom-viewer-text-node .luna-dom-viewer-operator{color:grey}.luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#236e25}.luna-dom-viewer-text-node .luna-dom-viewer-string{color:#1a1aa6}.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-right{color:#9aa0a6}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-tag,.luna-dom-viewer-theme-dark .luna-dom-viewer-tag-name{color:#5db0d7}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-name{color:#9bbbdc}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-value{color:#f29766}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-comment{color:#898989}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#083c69}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#454545}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#073d69}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#e36eec}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-number{color:#9980ff}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:#7f7f7f}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#747474}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-string{color:#f29766}",""]),xe.exports=$e},5512:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`@font-face{font-family:luna-modal-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAQwAAsAAAAABpQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAEkAAABoILgliE9TLzIAAAFUAAAAPQAAAFZL+0kZY21hcAAAAZQAAACBAAAB3sqmCy5nbHlmAAACGAAAAC0AAAA0Ftcaz2hlYWQAAAJIAAAALgAAADZzhL4YaGhlYQAAAngAAAAYAAAAJAFoANBobXR4AAACkAAAAA8AAAAcAMgAAGxvY2EAAAKgAAAADgAAABAATgBObWF4cAAAArAAAAAfAAAAIAESABhuYW1lAAAC0AAAASkAAAIWm5e+CnBvc3QAAAP8AAAAMQAAAEOplauDeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiCWgNIsQMzKwAykWRnYgGxGBiYAk+wFgwAAAHicY2BkkGWcwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAIfkjI8MJIFcITDIwMIIIAGAqCKIAAAB4nM2RQQqDQAxFXxyVUsST9DhduBd3ggsv0JX39QT6kwYED1D6hzeQD0nmM0ADFPESNdiG4frItfALz/Br3qp7HlS0jEzMLKy7HYf8e33J1HMdortoWuPzreUX8p2hEikj9f+oi3vIyl86JpWYEvfnxH9sSTzPmijXbl+wE7urE5sAAAB4nGNgZACB+UDIzcBgrs6uzi7OLm4ubq4+j1tfn1tPD0xOhjGAJAMDAKekBtMAAAB4nGNgZGBgAGLPuE0l8fw2Xxm4GU4ABaI4H+9rQNBAMB8IGRg4GJhAHAA5KgqUAAB4nGNgZGBgOMHAACfnMzAyoAJ2ADfsAjl4nGNgAIITDFgBABIUAMkAeJxjYAACKQQEAAO4AJ0AAHicY2BkYGBgZ+BhANEMDExAzAWEDAz/wXwGAApKASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxjYGKAABiNDtgZmRiZGVkYWRnZGNkZORhYk3Pyi1MZkxlzGPMZixlTGRgANIEEbAAAAA==') format('woff')}[class*=' luna-modal-icon-'],[class^=luna-modal-icon-]{display:inline-block;font-family:luna-modal-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-modal-icon-close:before{content:'\\f101'}.luna-modal{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center}.luna-modal.luna-modal-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-modal.luna-modal-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-modal .luna-modal-hidden,.luna-modal.luna-modal-hidden{display:none}.luna-modal .luna-modal-invisible,.luna-modal.luna-modal-invisible{visibility:hidden}.luna-modal *{box-sizing:border-box}.luna-modal.luna-modal-theme-dark{color:#a5a5a5;background-color:#242424}.luna-modal-icon-close{position:absolute;right:16px;top:18px;cursor:pointer;font-size:20px}.luna-modal-body{position:relative;background:#fff;max-height:100%;display:flex;flex-direction:column;border-radius:4px}.luna-modal-body.luna-modal-no-title{position:static}.luna-modal-body.luna-modal-no-title .luna-modal-title{display:none}.luna-modal-body.luna-modal-no-title .luna-modal-icon-close{color:#fff}.luna-modal-body.luna-modal-no-footer .luna-modal-footer{display:none}.luna-modal-hidden{display:none}.luna-modal-title{padding:16px;padding-right:36px;padding-bottom:0;font-size:18px;height:46px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-modal-content{padding:16px;overflow-y:auto}.luna-modal-footer{padding:12px}.luna-modal-button-group{display:flex;justify-content:flex-end}.luna-modal-button{padding:0 12px;background:#e9ecef;cursor:default;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 4px;font-size:12px;border-radius:4px;overflow:hidden;height:28px;line-height:28px}.luna-modal-button:active::before{background:#1a73e8;content:"";opacity:.4;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.luna-modal-button.luna-modal-secondary{color:#1a73e8;border:1px solid #ccc;background:#fff}.luna-modal-button.luna-modal-primary{color:#fff;background:#1a73e8}.luna-modal-input{box-sizing:border-box;outline:0;width:100%;font-size:16px;padding:6px 12px;border:1px solid #ccc;-webkit-appearance:none;-moz-appearance:none}.luna-modal-theme-dark{color:#a5a5a5}.luna-modal-theme-dark .luna-modal-body{background:#242424}`,""]),xe.exports=$e},7591:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-notification{position:fixed;top:0;left:0;width:100%;height:100%;padding:20px;box-sizing:border-box;pointer-events:none;display:flex;flex-direction:column;font-size:14px;font-family:Arial,Helvetica,sans-serif}.luna-notification-item{display:flex;box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);padding:10px 16px;color:#333;background:#fff}.luna-notification-lower{margin-top:16px}.luna-notification-upper{margin-bottom:16px}.luna-notification-theme-dark .luna-notification-item{box-shadow:0 2px 2px 0 rgba(255,255,255,.07),0 1px 5px 0 rgba(255,255,255,.1);color:#a5a5a5;background:#242424}",""]),xe.exports=$e},4821:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-object-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS8AAsAAAAAB7QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAGEAAACMISgl+k9TLzIAAAFsAAAAPQAAAFZLxUkWY21hcAAAAawAAADWAAACdBU42qdnbHlmAAAChAAAAC4AAAAwabU7V2hlYWQAAAK0AAAALwAAADZzjr4faGhlYQAAAuQAAAAYAAAAJAFyANlobXR4AAAC/AAAABAAAABAAZAAAGxvY2EAAAMMAAAAEAAAACIAtACobWF4cAAAAxwAAAAfAAAAIAEbAA9uYW1lAAADPAAAASkAAAIWm5e+CnBvc3QAAARoAAAAUwAAAHZW8MNZeJxNjTsOQFAQRc/z/+sV1mABohKV0gZeJRJR2X9cT4RJZu7nFIMBMjoGvHGaF6rdngcNAc/c/O/Nvq2W5E1igdNE2zv1iGh1c5FQPlYXUlJRyxt9+/pUKadQa/AveGEGZQAAAHicY2BkkGScwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAQfcjE8MJIFcITDIwMIIIAFqDCGkAAAB4nM2STQ4BQRCFv54ZP8MwFhYW4gQcShBsSERi50BWDuFCcwJedddKRGKnOt8k9aanqudVAy0gF3NRQLgTsLhJDVHP6UW94Kp8zEhKwYIlG/YcOXHm0mTPp96aumLLwdUQ1fcIqmJrwpSZL+iqak5JmyE1Ayr1bdGhr/2ZPmp/qPQtuj/uJzqQl+pfDyypesQD6AT/ElV8PjyrMccT9rdLR3PUFBI227VTio1jbm6dodg5VnPvmAsHxzofHfmi+Sbs/pwdWcXFkWdNSNg9arIE2QufuSCyAAB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOINe2b6x/PbfGXgZjgBFIjifLyvAUEDwUqGZUCSg4EJxAEAUn4LLAB4nGNgZGBgOMHAACdXMjAyoAIBADizAkx4nGNgAIITUEwGAABZUAGReJxjYAACHgYJ3BAAE94BXXicY2BkYGAQYGBmANEMDExAzAWEDAz/wXwGAApcASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxjkOgCAUANE/uOOGB+FQBIjaaEJIuL6FsfE1M6Lk9fXPoKioaWjp6BnQjEzMLKwYNtHepZhtuMs1vpvO/ch4HIlIxhK4KVyc7BwiD8nvDlkA') format('woff')}[class*=' luna-object-viewer-icon-'],[class^=luna-object-viewer-icon-]{display:inline-block;font-family:luna-object-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-object-viewer-icon-caret-down:before{content:'\\f101'}.luna-object-viewer-icon-caret-right:before{content:'\\f102'}.luna-object-viewer{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;cursor:default;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.2;min-height:100%;color:#333;list-style:none!important}.luna-object-viewer ul{list-style:none!important;padding:0!important;padding-left:12px!important;margin:0!important}.luna-object-viewer li{position:relative;white-space:nowrap;line-height:16px;min-height:16px}.luna-object-viewer>li>.luna-object-viewer-key{display:none}.luna-object-viewer span{position:static!important}.luna-object-viewer li .luna-object-viewer-collapsed~.luna-object-viewer-close:before{color:#999}.luna-object-viewer-array .luna-object-viewer-object .luna-object-viewer-key{display:inline}.luna-object-viewer-null{color:#5e5e5e}.luna-object-viewer-regexp,.luna-object-viewer-string{color:#c41a16}.luna-object-viewer-number{color:#1c00cf}.luna-object-viewer-boolean{color:#0d22aa}.luna-object-viewer-special{color:#5e5e5e}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:#881391}.luna-object-viewer-key-lighter{opacity:.6}.luna-object-viewer-key-special{color:#5e5e5e}.luna-object-viewer-collapsed .luna-object-viewer-icon,.luna-object-viewer-expanded .luna-object-viewer-icon{position:absolute!important;left:-12px;color:#727272;font-size:12px}.luna-object-viewer-icon-caret-right{top:0}.luna-object-viewer-icon-caret-down{top:1px}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-down{display:inline}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-right{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-down{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-right{display:inline}.luna-object-viewer-hidden~ul{display:none}.luna-object-viewer-theme-dark{color:#fff}.luna-object-viewer-theme-dark .luna-object-viewer-null,.luna-object-viewer-theme-dark .luna-object-viewer-special{color:#a1a1a1}.luna-object-viewer-theme-dark .luna-object-viewer-regexp,.luna-object-viewer-theme-dark .luna-object-viewer-string{color:#f28b54}.luna-object-viewer-theme-dark .luna-object-viewer-boolean,.luna-object-viewer-theme-dark .luna-object-viewer-number{color:#9980ff}.luna-object-viewer-theme-dark .luna-object-viewer-key,.luna-object-viewer-theme-dark .luna-object-viewer-key-lighter{color:#5db0d7}",""]),xe.exports=$e},7871:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`.luna-setting{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;min-width:320px}.luna-setting.luna-setting-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-setting.luna-setting-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-setting .luna-setting-hidden,.luna-setting.luna-setting-hidden{display:none}.luna-setting .luna-setting-invisible,.luna-setting.luna-setting-invisible{visibility:hidden}.luna-setting *{box-sizing:border-box}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:#f3f3f3}.luna-setting-item.luna-setting-selected:focus{outline:1px solid #1a73e8}.luna-setting-item .luna-setting-title{line-height:1.4em;font-weight:600}.luna-setting-item .luna-setting-description{line-height:1.4em}.luna-setting-item .luna-setting-description *{margin:0}.luna-setting-item .luna-setting-description strong{font-weight:600}.luna-setting-item .luna-setting-description a{background-color:transparent;color:#0969da;text-decoration:none}.luna-setting-item .luna-setting-control,.luna-setting-item .luna-setting-description{font-size:12px}.luna-setting-item .luna-setting-description{margin-bottom:8px}.luna-setting-item .luna-setting-control{display:flex;align-items:center}.luna-setting-item-button,.luna-setting-item-checkbox,.luna-setting-item-input,.luna-setting-item-number,.luna-setting-item-select,.luna-setting-item-title{padding:10px}.luna-setting-item-title{font-size:18px;font-weight:600}.luna-setting-item-input input{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:100%}.luna-setting-item-number input[type=number]{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:200px;padding:2px}.luna-setting-item-number .luna-setting-range-container{flex:2;position:relative;top:1px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track{height:4px;width:100%;padding:0 10px;position:absolute;left:0;top:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#ccc;border-radius:2px;overflow:hidden;width:100%;height:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{height:100%;background:#1a73e8;width:50%}.luna-setting-item-number .luna-setting-range-container input{-webkit-appearance:none;background:0 0;height:4px;width:100%;position:relative;top:-3px;margin:0 auto;outline:0;border-radius:2px}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{-webkit-appearance:none;position:relative;top:0;z-index:1;width:16px;border:none;height:16px;border-radius:10px;border:1px solid #ccc;background:radial-gradient(circle at center,#eee 0,#eee 15%,#fff 22%,#fff 100%)}.luna-setting-item-checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;border:1px solid #ccc;border-radius:0;position:relative;outline:0;margin-left:0;margin-right:8px;transition:background-color .1s;align-self:flex-start;flex-shrink:0}.luna-setting-item-checkbox input:checked{background-color:#1a73e8;border-color:#1a73e8}.luna-setting-item-checkbox input:checked:after{content:"";width:100%;height:100%;position:absolute;left:0;top:0;background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjZmZmZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgdmVyc2lvbj0iMS4xIiB4PSIwcHgiIHk9IjBweCI+PHRpdGxlPmljb25fYnlfUG9zaGx5YWtvdjEwPC90aXRsZT48ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz48ZyBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsPSIjZmZmZmZmIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNi4wMDAwMDAsIDI2LjAwMDAwMCkiPjxwYXRoIGQ9Ik0xNy45OTk5ODc4LDMyLjQgTDEwLjk5OTk4NzgsMjUuNCBDMTAuMjI2Nzg5MSwyNC42MjY4MDE0IDguOTczMTg2NDQsMjQuNjI2ODAxNCA4LjE5OTk4Nzc5LDI1LjQgTDguMTk5OTg3NzksMjUuNCBDNy40MjY3ODkxNCwyNi4xNzMxOTg2IDcuNDI2Nzg5MTQsMjcuNDI2ODAxNCA4LjE5OTk4Nzc5LDI4LjIgTDE2LjU4NTc3NDIsMzYuNTg1Nzg2NCBDMTcuMzY2ODIyOCwzNy4zNjY4MzUgMTguNjMzMTUyOCwzNy4zNjY4MzUgMTkuNDE0MjAxNCwzNi41ODU3ODY0IEw0MC41OTk5ODc4LDE1LjQgQzQxLjM3MzE4NjQsMTQuNjI2ODAxNCA0MS4zNzMxODY0LDEzLjM3MzE5ODYgNDAuNTk5OTg3OCwxMi42IEw0MC41OTk5ODc4LDEyLjYgQzM5LjgyNjc4OTEsMTEuODI2ODAxNCAzOC41NzMxODY0LDExLjgyNjgwMTQgMzcuNzk5OTg3OCwxMi42IEwxNy45OTk5ODc4LDMyLjQgWiI+PC9wYXRoPjwvZz48L2c+PC9nPjwvc3ZnPg==);background-size:30px;background-repeat:no-repeat;background-position:center}.luna-setting-item-checkbox label{-webkit-tap-highlight-color:transparent}.luna-setting-item-checkbox label *{margin:0}.luna-setting-item-select .luna-setting-select{position:relative}.luna-setting-item-select .luna-setting-select select{margin:0;font-size:14px;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;padding:2px 8px;padding-right:18px;outline:0;color:#333;border-radius:0;-webkit-tap-highlight-color:transparent}.luna-setting-item-select .luna-setting-select:after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #333;position:absolute;top:0;bottom:0;right:6px;margin:auto;pointer-events:none}.luna-setting-item-select .luna-setting-select select{width:300px}.luna-setting-item-button button{-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #ccc;padding:2px 8px;color:#1a73e8;font-size:14px;border-radius:2px}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:#f3f3f3}.luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-item-separator{border-bottom:1px solid #ccc}.luna-setting-theme-dark{color-scheme:dark;color:#a5a5a5;background:#242424}.luna-setting-theme-dark .luna-setting-item.luna-setting-selected,.luna-setting-theme-dark .luna-setting-item:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item .luna-setting-description a{background-color:transparent;color:#58a6ff}.luna-setting-theme-dark .luna-setting-item-separator{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-input input{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-checkbox input{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select select{color:#a5a5a5;border-color:#3d3d3d;background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select:after{border-top-color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-button button{background:#242424;border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-button button:active,.luna-setting-theme-dark .luna-setting-item-button button:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-theme-dark .luna-setting-item-number input[type=number]{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:#3d3d3d;background:radial-gradient(circle at center,#aaa 0,#aaa 15%,#ccc 22%,#ccc 100%)}`,""]),xe.exports=$e},2156:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-tab{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;overflow:hidden;width:100%}.luna-tab.luna-tab-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-tab.luna-tab-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-tab .luna-tab-hidden,.luna-tab.luna-tab-hidden{display:none}.luna-tab .luna-tab-invisible,.luna-tab.luna-tab-invisible{visibility:hidden}.luna-tab *{box-sizing:border-box}.luna-tab.luna-tab-theme-dark{color:#a5a5a5;background-color:#242424}.luna-tab-tabs-container{border-bottom:1px solid #ccc}.luna-tab-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;width:100%;height:100%;font-size:0;white-space:nowrap}.luna-tab-tabs::-webkit-scrollbar{display:none;width:0;height:0}.luna-tab-item{cursor:pointer;display:inline-block;padding:0 10px;font-size:12px;text-align:center;text-transform:capitalize}.luna-tab-item:hover{background:#f3f3f3}.luna-tab-slider{transition:left .3s,width .3s;height:1px;background:#1a73e8;position:absolute;bottom:0;left:0}",""]),xe.exports=$e},5777:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-text-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS0AAsAAAAAB2QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFQAAAB0INElr09TLzIAAAFcAAAAPQAAAFZL+0klY21hcAAAAZwAAACfAAACEAEewxRnbHlmAAACPAAAAIYAAACkNSDggmhlYWQAAALEAAAALgAAADZzrb4oaGhlYQAAAvQAAAAWAAAAJAGRANNobXR4AAADDAAAABAAAAAoAZAAAGxvY2EAAAMcAAAAEAAAABYBWgFIbWF4cAAAAywAAAAdAAAAIAEXADtuYW1lAAADTAAAASkAAAIWm5e+CnBvc3QAAAR4AAAAOwAAAFJIWdOleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBWAdNMDGwMQkAWK1CGlYEZyGMCstiBMpxAUUYGZgDbGgXDeJxjYGTQYJzAwMrAwFDH0AMkZaB0AgMngzEDAxMDKzMDVhCQ5prCcIAh+SMTwwkgVwhMMjAwgggAY84IrgAAAHicvZFLCsMwDERHzsdJ6aL0HD1VQiDQRbIN9Axd9aI+QTpjq5Bdd5F4Bo1lybIBNAAq8iA1YB8YZG+qlvUKl6zXGBjf6MofMWHGEyu2FPb9oCxULCtHs3yy+J2urg1rtojo0HM/MKnFGabOGlbdYvdT+1N6/7drXl8e6Vajo3efHP3b7HAUvntBMy1OJKujMTeHNZMV9McpFBC+tLgY4QB4nGNgZACBEwzrGdgZGOwZxdnVDdXNPfKEGlhchO0KhZtZ3IQYmMFq1jCsZpBi0GLQY2AwNzGzZjQSk2UUYdNmVFID8UyVRUXYlNRMlVGlTM1FjU3tmZkTmVhYmFRBhHwoCyuzKgtTIjMzWJg3ZClIGMRlZQmVB7GhMixM0aGhQIsB52sTqgAAeJxjYGRgYADi2JNxkvH8Nl8ZuBlOAAWiOB/va0DQQHCCYT2Q5GBgAnEANJ0KnQAAeJxjYGRgYDjBwIBEMjKgAi4AOvoCZQAAeJxjYACCE1CMBwAAM7gBkXicY2AAAiGGIFQIABXIAqN4nGNgZGBg4GLQZ2BmAAEmMI8LSP4H8xkADjQBUwAAAHicZZA9bsJAFITHYEgCUoIUKSmzVQoimZ+SA0BPQZfCmLUxsr3WekGiywlyhBwhp4hyghwoY/NoYC0/fzNv3u7KAAb4hYd6ebhtar1auKE6cZv0IOyTn4U76ONFuEt/KNzDG6bCfTzinTt4/h2dAUrhFu7xIdym/ynsk7+EO3jCt3CX/o9wDyv8Cffx6g3TyBSxKdxSJ/sstGd5/q60rVJTqEkwPlsLXWgbOr1R66OqDsnUuVjF1uRqzq7OMqNKa3Y6csHWuXI2GsXiB5HJkSKCQYG4qQ5LaCTYI0MIe9W91CumLSr6tVaYIMD4KrVgqmiSIZXGhsk1jqwVDjxtStcxrfhazuSkucxq3iQjK/7vurejE9EPsG2mSsww4hNf5IPmDvk/PRFeqAAAAHicXcU7CsAgFEXBe4x/l/kQBAtt3X0KSZNpRk7X91/F8eAJRBKZQqUp2Og2va19MAadyWJzpBd4kgcWAA==') format('woff')}[class*=' luna-text-viewer-icon-'],[class^=luna-text-viewer-icon-]{display:inline-block;font-family:luna-text-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-text-viewer-icon-check:before{content:'\\f101'}.luna-text-viewer-icon-copy:before{content:'\\f102'}.luna-text-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;padding:0;unicode-bidi:embed;position:relative;overflow:auto;border:1px solid #ccc}.luna-text-viewer.luna-text-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-text-viewer.luna-text-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-text-viewer .luna-text-viewer-hidden,.luna-text-viewer.luna-text-viewer-hidden{display:none}.luna-text-viewer .luna-text-viewer-invisible,.luna-text-viewer.luna-text-viewer-invisible{visibility:hidden}.luna-text-viewer *{box-sizing:border-box}.luna-text-viewer.luna-text-viewer-theme-dark{color:#d9d9d9;border-color:#3d3d3d;background:#242424}.luna-text-viewer:hover .luna-text-viewer-copy{opacity:1}.luna-text-viewer-table{display:table}.luna-text-viewer-table .luna-text-viewer-line-number,.luna-text-viewer-table .luna-text-viewer-line-text{padding:0}.luna-text-viewer-table-row{display:table-row}.luna-text-viewer-line-number{display:table-cell;padding:0 3px 0 8px!important;text-align:right;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #ccc}.luna-text-viewer-line-text{display:table-cell;padding-left:4px!important;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer-copy{background:#fff;opacity:0;position:absolute;right:5px;top:5px;border:1px solid #ccc;border-radius:4px;width:25px;height:25px;text-align:center;line-height:25px;cursor:pointer;transition:opacity .3s,top .3s}.luna-text-viewer-copy .luna-text-viewer-icon-check{color:#188037}.luna-text-viewer-text{padding:4px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;box-sizing:border-box;white-space:pre;display:block}.luna-text-viewer-text.luna-text-viewer-line-numbers{padding:0}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines{white-space:pre-wrap}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines .luna-text-viewer-line-text{word-break:break-all}.luna-text-viewer-theme-dark{color-scheme:dark}.luna-text-viewer-theme-dark .luna-text-viewer-copy,.luna-text-viewer-theme-dark .luna-text-viewer-line-number{border-color:#3d3d3d}.luna-text-viewer-theme-dark .luna-text-viewer-copy .luna-text-viewer-icon-check{color:#81c995}.luna-text-viewer-theme-dark .luna-text-viewer-copy{background-color:#242424}",""]),xe.exports=$e},5357:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:eruda-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,[encoded data, 4976 characters]') format('woff')}[class*=' _icon-'],[class^='_icon-']{display:inline-block;font-family:eruda-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._icon-arrow-left:before{content:'\\f101'}._icon-arrow-right:before{content:'\\f102'}._icon-caret-down:before{content:'\\f103'}._icon-caret-right:before{content:'\\f104'}._icon-clear:before{content:'\\f105'}._icon-compress:before{content:'\\f106'}._icon-copy:before{content:'\\f107'}._icon-delete:before{content:'\\f108'}._icon-error:before{content:'\\f109'}._icon-expand:before{content:'\\f10a'}._icon-eye:before{content:'\\f10b'}._icon-filter:before{content:'\\f10c'}._icon-play:before{content:'\\f10d'}._icon-record:before{content:'\\f10e'}._icon-refresh:before{content:'\\f10f'}._icon-reset:before{content:'\\f110'}._icon-search:before{content:'\\f111'}._icon-select:before{content:'\\f112'}._icon-tool:before{content:'\\f113'}._icon-warn:before{content:'\\f114'}",""]),xe.exports=$e},3645:function(xe){xe.exports=function($e){var Ie=[];return Ie.toString=function(){return this.map(function(Fe){var Ue=function(qe,At){var Dt=qe[1]||"",Lt=qe[3];if(!Lt)return Dt;if(At&&typeof btoa=="function"){var jt=(vn=Lt,bn=btoa(unescape(encodeURIComponent(JSON.stringify(vn)))),_n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(bn),"/*# ".concat(_n," */")),hn=Lt.sources.map(function(wn){return"/*# sourceURL=".concat(Lt.sourceRoot||"").concat(wn," */")});return[Dt].concat(hn).concat([jt]).join(`
`)}var vn,bn,_n;return[Dt].join(`
`)}(Fe,$e);return Fe[2]?"@media ".concat(Fe[2]," {").concat(Ue,"}"):Ue}).join("")},Ie.i=function(Fe,Ue,qe){typeof Fe=="string"&&(Fe=[[null,Fe,""]]);var At={};if(qe)for(var Dt=0;Dt<this.length;Dt++){var Lt=this[Dt][0];Lt!=null&&(At[Lt]=!0)}for(var jt=0;jt<Fe.length;jt++){var hn=[].concat(Fe[jt]);qe&&At[hn[0]]||(Ue&&(hn[2]?hn[2]="".concat(Ue," and ").concat(hn[2]):hn[2]=Ue),Ie.push(hn))}},Ie}},1512:function(xe,$e,Ie){var Fe=Ie(3244),Ue=Ie(6906),qe=Ie(7665),At=Ie(975),Dt=Ie(4991),Lt=Ie(4209),jt=Ie(9702),hn=Ie(6757),vn=Ie(8381),bn=Ie(5543),_n=Ie(7781),wn=Ie(8908),kn=Ie(1286),Cn=Ie(6768);$e=function(xn){return new Fe(xn)},Fe.methods({offset:function(){return Ue(this)},hide:function(){return this.css("display","none")},show:function(){return qe(this),this},first:function(){return $e(this[0])},last:function(){return $e(jt(this))},get:function(xn){return this[xn]},eq:function(xn){return $e(this[xn])},on:function(xn,En,Tn){return bn.on(this,xn,En,Tn),this},off:function(xn,En,Tn){return bn.off(this,xn,En,Tn),this},html:function(xn){var En=Lt.html(this,xn);return kn(xn)?En:this},text:function(xn){var En=Lt.text(this,xn);return kn(xn)?En:this},val:function(xn){var En=Lt.val(this,xn);return kn(xn)?En:this},css:function(xn,En){var Tn=At(this,xn,En);return Sn(xn,En)?Tn:this},attr:function(xn,En){var Tn=Dt(this,xn,En);return Sn(xn,En)?Tn:this},data:function(xn,En){var Tn=vn(this,xn,En);return Sn(xn,En)?Tn:this},rmAttr:function(xn){return Dt.remove(this,xn),this},remove:function(){return hn(this),this},addClass:function(xn){return _n.add(this,xn),this},rmClass:function(xn){return _n.remove(this,xn),this},toggleClass:function(xn){return _n.toggle(this,xn),this},hasClass:function(xn){return _n.has(this,xn)},parent:function(){return $e(this[0].parentNode)},append:function(xn){return wn.append(this,xn),this},prepend:function(xn){return wn.prepend(this,xn),this},before:function(xn){return wn.before(this,xn),this},after:function(xn){return wn.after(this,xn),this}});var Sn=function(xn,En){return kn(En)&&Cn(xn)};xe.exports=$e},4991:function(xe,$e,Ie){var Fe=Ie(1352),Ue=Ie(5166),qe=Ie(6768),At=Ie(3783),Dt=Ie(1286),Lt=Ie(2341);($e=function(jt,hn,vn){if(jt=Lt(jt),Dt(vn)&&qe(hn))return function(_n,wn){return _n.getAttribute(wn)}(jt[0],hn);var bn=hn;Ue(bn)||((bn={})[hn]=vn),function(_n,wn){At(_n,function(kn){At(wn,function(Cn,Sn){kn.setAttribute(Sn,Cn)})})}(jt,bn)}).remove=function(jt,hn){jt=Lt(jt),hn=Fe(hn),At(jt,function(vn){At(hn,function(bn){vn.removeAttribute(bn)})})},xe.exports=$e},7781:function(xe,$e,Ie){var Fe=Ie(1352),Ue=Ie(6053),qe=Ie(2341),At=Ie(6768),Dt=Ie(3783);function Lt(jt){return At(jt)?jt.split(/\s+/):Fe(jt)}$e={add:function(jt,hn){jt=qe(jt);var vn=Lt(hn);Dt(jt,function(bn){var _n=[];Dt(vn,function(wn){$e.has(bn,wn)||_n.push(wn)}),_n.length!==0&&(bn.className+=(bn.className?" ":"")+_n.join(" "))})},has:function(jt,hn){jt=qe(jt);var vn=new RegExp("(^|\\s)"+hn+"(\\s|$)");return Ue(jt,function(bn){return vn.test(bn.className)})},toggle:function(jt,hn){jt=qe(jt),Dt(jt,function(vn){if(!$e.has(vn,hn))return $e.add(vn,hn);$e.remove(vn,hn)})},remove:function(jt,hn){jt=qe(jt);var vn=Lt(hn);Dt(jt,function(bn){Dt(vn,function(_n){bn.classList.remove(_n)})})}},xe.exports=$e},975:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(5166),qe=Ie(7622),At=Ie(1286),Dt=Ie(6341),Lt=Ie(3990),jt=Ie(2341),hn=Ie(747),vn=Ie(3783);$e=function(_n,wn,kn){if(_n=jt(_n),At(kn)&&Fe(wn))return function(Sn,xn){return Sn.style[hn(xn)]||getComputedStyle(Sn,"").getPropertyValue(xn)}(_n[0],wn);var Cn=wn;Ue(Cn)||((Cn={})[wn]=kn),function(Sn,xn){vn(Sn,function(En){var Tn=";";vn(xn,function(An,$n){$n=hn.dash($n),Tn+=$n+":"+function(Pn,Nn){var Mn=Lt(Nn)&&!Dt(bn,qe(Pn));return Mn?Nn+"px":Nn}($n,An)+";"}),En.style.cssText+=Tn})}(_n,Cn)};var bn=["column-count","columns","font-weight","line-weight","opacity","z-index","zoom"];xe.exports=$e},8381:function(xe,$e,Ie){var Fe=Ie(4991),Ue=Ie(6768),qe=Ie(5166),At=Ie(3783);Ie(2341),$e=function(Dt,Lt,jt){var hn=Lt;return Ue(Lt)&&(hn="data-"+Lt),qe(Lt)&&(hn={},At(Lt,function(vn,bn){hn["data-"+bn]=vn})),Fe(Dt,hn,jt)},xe.exports=$e},5543:function(xe,$e,Ie){var Fe=Ie(2443),Ue=Ie(1286),qe=Ie(2341),At=Ie(3783);function Dt(Lt){return function(jt,hn,vn,bn){jt=qe(jt),Ue(bn)&&(bn=vn,vn=void 0),At(jt,function(_n){Fe[Lt](_n,hn,vn,bn)})}}$e={on:Dt("add"),off:Dt("remove")},xe.exports=$e},8908:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(2341),qe=Ie(6768);function At(Dt){return function(Lt,jt){Lt=Ue(Lt),Fe(Lt,function(hn){if(qe(jt))hn.insertAdjacentHTML(Dt,jt);else{var vn=hn.parentNode;switch(Dt){case"beforebegin":vn&&vn.insertBefore(jt,hn);break;case"afterend":vn&&vn.insertBefore(jt,hn.nextSibling);break;case"beforeend":hn.appendChild(jt);break;case"afterbegin":hn.prepend(jt)}}})}}$e={before:At("beforebegin"),after:At("afterend"),append:At("beforeend"),prepend:At("afterbegin")},xe.exports=$e},6906:function(xe,$e,Ie){var Fe=Ie(2341);$e=function(Ue){var qe=(Ue=Fe(Ue))[0].getBoundingClientRect();return{left:qe.left+window.pageXOffset,top:qe.top+window.pageYOffset,width:Math.round(qe.width),height:Math.round(qe.height)}},xe.exports=$e},4209:function(xe,$e,Ie){var Fe=Ie(1286),Ue=Ie(3783),qe=Ie(2341);function At(Dt){return function(Lt,jt){var hn=(Lt=qe(Lt))[0];if(Fe(jt))return hn?hn[Dt]:"";hn&&Ue(Lt,function(vn){vn[Dt]=jt})}}$e={html:At("innerHTML"),text:At("textContent"),val:At("value")},xe.exports=$e},6757:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(2341);$e=function(qe){qe=Ue(qe),Fe(qe,function(At){var Dt=At.parentNode;Dt&&Dt.removeChild(At)})},xe.exports=$e},2341:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(1352),qe=Ie(3244);$e=function(At){return Ue(Fe(At)?new qe(At):At)},xe.exports=$e},7665:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(2341);$e=function(At){At=Ue(At),Fe(At,function(Dt){(function(Lt){return getComputedStyle(Lt,"").getPropertyValue("display")=="none"})(Dt)&&(Dt.style.display=function(Lt){var jt,hn;return qe[Lt]||(jt=document.createElement(Lt),document.documentElement.appendChild(jt),hn=getComputedStyle(jt,"").getPropertyValue("display"),jt.parentNode.removeChild(jt),hn=="none"&&(hn="block"),qe[Lt]=hn),qe[Lt]}(Dt.nodeName))})};var qe={};xe.exports=$e},7496:function(xe,$e,Ie){var Fe=Ie(6329),Ue=Ie(1352),qe=Ie(5022),At=Ie(7653),Dt=Ie(9537),Lt=($e=function(jt,hn){return Lt.extend(jt,hn)}).Base=function jt(hn,vn,bn){bn=bn||{};var _n=vn.className||At(vn,"initialize.name")||"";delete vn.className;var wn=function(){var kn=Ue(arguments);return this.initialize&&this.initialize.apply(this,kn)||this};if(!Dt)try{wn=new Function("toArr","return function "+_n+"(){var args = toArr(arguments);return this.initialize ? this.initialize.apply(this, args) || this : this;};")(Ue)}catch{}return qe(wn,hn),wn.prototype.constructor=wn,wn.extend=function(kn,Cn){return jt(wn,kn,Cn)},wn.inherits=function(kn){qe(wn,kn)},wn.methods=function(kn){return Fe(wn.prototype,kn),wn},wn.statics=function(kn){return Fe(wn,kn),wn},wn.methods(vn).statics(bn),wn}(Object,{className:"Base",callSuper:function(jt,hn,vn){return jt.prototype[hn].apply(this,vn)},toString:function(){return this.constructor.name}});xe.exports=$e},3009:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6768),qe=Ie(9882),At=Ie(3279),Dt=Ie(5925),Lt=Ie(5044);$e=Fe({initialize:function(wn){Ue(wn)&&(wn=$e.parse(wn)),this.model=wn.model,this.val=wn.val},toRgb:function(){var wn=this.val;this.model==="hsl"&&(wn=Dt(wn));var kn="rgba";return wn[3]===1&&(kn="rgb",wn=wn.slice(0,3)),kn+"("+wn.join(", ")+")"},toHex:function(){var wn=this.val;this.model==="hsl"&&(wn=Dt(wn));var kn=Lt.encode(wn.slice(0,3));return kn[0]===kn[1]&&kn[2]===kn[3]&&kn[4]===kn[5]&&(kn=kn[0]+kn[2]+kn[5]),"#"+kn},toHsl:function(){var wn=this.val;this.model==="rgb"&&(wn=At(wn));var kn="hsla";return wn[3]===1&&(kn="hsl",wn=wn.slice(0,3)),wn[1]=wn[1]+"%",wn[2]=wn[2]+"%",kn+"("+wn.join(", ")+")"}},{parse:function(wn){var kn,Cn,Sn=[0,0,0,1],xn="rgb";if(Cn=wn.match(jt))for(Cn=Cn[1],kn=0;kn<3;kn++)Sn[kn]=parseInt(Cn[kn]+Cn[kn],16);else if(Cn=wn.match(hn))for(Cn=Cn[1],kn=0;kn<3;kn++){var En=2*kn;Sn[kn]=parseInt(Cn.slice(En,En+2),16)}else if(Cn=wn.match(vn)){for(kn=0;kn<3;kn++)Sn[kn]=parseInt(Cn[kn+1],0);Cn[4]&&(Sn[3]=parseFloat(Cn[4]))}else if(Cn=wn.match(bn)){for(kn=0;kn<3;kn++)Sn[kn]=Math.round(2.55*parseFloat(Cn[kn+1]));Cn[4]&&(Sn[3]=parseFloat(Cn[4]))}else(Cn=wn.match(_n))&&(xn="hsl",Sn=[(parseFloat(Cn[1])%360+360)%360,qe(parseFloat(Cn[2]),0,100),qe(parseFloat(Cn[3]),0,100),qe(parseFloat(Cn[4]),0,1)]);return{val:Sn,model:xn}}});var jt=/^#([a-fA-F0-9]{3})$/,hn=/^#([a-fA-F0-9]{6})$/,vn=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d.]+)\s*)?\)$/,bn=/^rgba?\(\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?[\d.]+)\s*)?\)$/,_n=/^hsla?\(\s*([+-]?\d*[.]?\d+)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?[\d.]+)\s*)?\)$/;xe.exports=$e},1443:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6257),qe=Ie(3783),At=Ie(9677),Dt=Ie(8763),Lt=Ie(4675);$e=Fe({initialize:function(){this._events=this._events||{}},on:function(jt,hn){return this._events[jt]=this._events[jt]||[],this._events[jt].push(hn),this},off:function(jt,hn){var vn=this._events;if(Ue(vn,jt)){var bn=vn[jt].indexOf(hn);return bn>-1&&vn[jt].splice(bn,1),this}},once:function(jt,hn){return this.on(jt,Dt(hn)),this},emit:function(jt){var hn=this;if(Ue(this._events,jt)){var vn=At(arguments,1),bn=Lt(this._events[jt]);return qe(bn,function(_n){return _n.apply(hn,vn)},this),this}},removeAllListeners:function(jt){return jt?delete this._events[jt]:this._events={},this}},{mixin:function(jt){qe(["on","off","once","emit","removeAllListeners"],function(hn){jt[hn]=$e.prototype[hn]}),jt._events=jt._events||{}}}),xe.exports=$e},9640:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(4454),qe=Ie(6472),At=Ie(3783),Dt=Ie(2533);$e=Fe({initialize:function(Lt){qe(Lt)?(this.size=Lt.length,At(Lt,function(jt,hn){this[jt]=hn},this)):(this.size=Dt(Lt).length,At(Lt,function(jt,hn){this[hn]=jt},this)),Ue(this)}}),xe.exports=$e},125:function(xe,$e,Ie){var Fe=Ie(5128),Ue=Ie(615),qe=Ie(8887),At=Ie(4400),Dt=Ie(4193),Lt=Ie(5166),jt=Ue("local");$e=Fe.extend({initialize:function(hn,vn){this._name=hn,vn=vn||{};var bn=jt.getItem(hn);try{bn=JSON.parse(bn)}catch{bn={}}Lt(bn)||(bn={}),vn=Dt(bn,vn),this.callSuper(Fe,"initialize",[vn])},save:function(hn){if(qe(hn))return jt.removeItem(this._name);jt.setItem(this._name,At(hn))}}),xe.exports=$e},4989:function(xe,$e,Ie){var Fe=Ie(1443),Ue=Ie(9640),qe=Ie(1352),At=Ie(1286),Dt=Ie(4675),Lt=Ie(6768),jt=Ie(3990);$e=Fe.extend({initialize:function(hn,vn){this.name=hn,this.setLevel(At(vn)?$e.level.DEBUG:vn),this.callSuper(Fe,"initialize",arguments)},setLevel:function(hn){return Lt(hn)?((hn=$e.level[hn.toUpperCase()])&&(this._level=hn),this):(jt(hn)&&(this._level=hn),this)},getLevel:function(){return this._level},formatter:function(hn,vn){return vn},trace:function(){return this._log("trace",arguments)},debug:function(){return this._log("debug",arguments)},info:function(){return this._log("info",arguments)},warn:function(){return this._log("warn",arguments)},error:function(){return this._log("error",arguments)},_log:function(hn,vn){return(vn=qe(vn)).length===0?this:(this.emit("all",hn,Dt(vn)),$e.level[hn.toUpperCase()]<this._level||(this.emit(hn,Dt(vn)),(hn==="debug"?console.log:console[hn]).apply(console,this.formatter(hn,vn))),this)}},{level:new Ue({TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5})}),xe.exports=$e},2765:function(xe,$e,Ie){var Fe=Ie(1443);$e=Fe.extend({className:"MediaQuery",initialize:function(Ue){var qe=this;this.callSuper(Fe,"initialize"),this._listener=function(){qe.emit(qe.isMatch()?"match":"unmatch")},this.setQuery(Ue)},setQuery:function(Ue){this._mql&&this._mql.removeListener(this._listener),this._mql=window.matchMedia(Ue),this._mql.addListener(this._listener)},isMatch:function(){return this._mql.matches}}),xe.exports=$e},2289:function(xe,$e,Ie){var Fe=Ie(7496);($e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)||($e=Fe({initialize:function(){},observe:function(){},disconnect:function(){},takeRecords:function(){}})),xe.exports=$e},242:function(xe,$e,Ie){var Fe=Ie(8985),Ue=Ie(8613),qe=Ie(5543),At=Ie(975),Dt=Ie(6341),Lt=Ie(6329),jt=Ie(5610);$e=jt.ResizeObserver?Fe.extend({initialize:function(hn){var vn=this;if(hn._resizeSensor)return hn._resizeSensor;this.callSuper(Fe,"initialize");var bn=new jt.ResizeObserver(function(){return vn.emit()});bn.observe(hn),hn._resizeSensor=this,this._resizeObserver=bn,this._el=hn},destroy:function(){var hn=this._el;hn._resizeSensor&&(this.rmAllListeners(),delete hn._resizeSensor,this._resizeObserver.unobserve(hn))}}):Fe.extend({initialize:function(hn){if(hn._resizeSensor)return hn._resizeSensor;this.callSuper(Fe,"initialize"),this._el=hn,hn._resizeSensor=this,Dt(["absolute","relative","fixed","sticky"],At(hn,"position"))||At(hn,"position","relative"),this._appendResizeSensor(),this._bindEvent()},destroy:function(){var hn=this._el;hn._resizeSensor&&(this.rmAllListeners(),delete hn._resizeSensor,hn.removeChild(this._resizeSensorEl))},_appendResizeSensor:function(){var hn=this._el,vn={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},bn={position:"absolute",left:"0px",top:"0px",transition:"0s"},_n=Ue("div",{style:bn}),wn=Ue("div.resize-sensor-expand",{style:vn},_n),kn=Ue("div.resize-sensor-shrink",{style:vn},Ue("div",{style:Lt({width:"200%",height:"200%"},bn)})),Cn=Ue("div.resize-sensor",{dir:"ltr",style:vn},wn,kn);this._expandEl=wn,this._expandChildEl=_n,this._shrinkEl=kn,this._resizeSensorEl=Cn,hn.appendChild(Cn),this._resetExpandShrink()},_bindEvent:function(){var hn=this;qe.on(this._expandEl,"scroll",function(){return hn._onScroll()}),qe.on(this._shrinkEl,"scroll",function(){return hn._onScroll()})},_onScroll:function(){this.emit(),this._resetExpandShrink()},_resetExpandShrink:function(){var hn=this._el,vn=hn.offsetWidth,bn=hn.offsetHeight;At(this._expandChildEl,{width:vn+10,height:bn+10}),Lt(this._expandEl,{scrollLeft:vn+10,scrollTop:bn+10}),Lt(this._shrinkEl,{scrollLeft:vn+10,scrollTop:bn+10})}}),xe.exports=$e},3244:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6768),qe=Ie(3783),At=Ie(9971),Dt=new($e=Fe({className:"Select",initialize:function(Lt){return this.length=0,Lt?Ue(Lt)?Dt.find(Lt):void(Lt.nodeType&&(this[0]=Lt,this.length=1)):this},find:function(Lt){var jt=new $e;return this.each(function(){At(jt,this.querySelectorAll(Lt))}),jt},each:function(Lt){return qe(this,function(jt,hn){Lt.call(jt,hn,jt)}),this}}))(document);xe.exports=$e},8985:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(4675),qe=Ie(3783),At=Ie(1352);$e=Fe({initialize:function(){this._listeners=[]},addListener:function(Dt){this._listeners.push(Dt)},rmListener:function(Dt){var Lt=this._listeners.indexOf(Dt);Lt>-1&&this._listeners.splice(Lt,1)},rmAllListeners:function(){this._listeners=[]},emit:function(){var Dt=this,Lt=At(arguments),jt=Ue(this._listeners);qe(jt,function(hn){return hn.apply(Dt,Lt)},this)}},{mixin:function(Dt){qe(["addListener","rmListener","emit","rmAllListeners"],function(Lt){Dt[Lt]=$e.prototype[Lt]}),Dt._listeners=Dt._listeners||[]}}),xe.exports=$e},9001:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(1527);$e=Fe({initialize:function(){this.clear()},clear:function(){this._items=[],this.size=0},push:function(qe){return this._items.push(qe),++this.size},pop:function(){if(this.size)return this.size--,this._items.pop()},peek:function(){return this._items[this.size-1]},forEach:function(qe,At){At=arguments.length>1?At:this;for(var Dt=this._items,Lt=this.size-1,jt=0;Lt>=0;Lt--,jt++)qe.call(At,Dt[Lt],jt,this)},toArr:function(){return Ue(this._items)}}),xe.exports=$e},5128:function(xe,$e,Ie){var Fe=Ie(1443),Ue=Ie(6768),qe=Ie(5166),At=Ie(3783),Dt=Ie(1352);$e=Fe.extend({initialize:function(Lt){this.callSuper(Fe,"initialize",arguments),this._data=Lt||{},this.save(this._data)},set:function(Lt,jt){var hn;Ue(Lt)?(hn={})[Lt]=jt:qe(Lt)&&(hn=Lt);var vn=this;At(hn,function(bn,_n){var wn=vn._data[_n];vn._data[_n]=bn,vn.emit("change",_n,bn,wn)}),this.save(this._data)},get:function(Lt){var jt=this._data;if(Ue(Lt))return jt[Lt];var hn={};return At(Lt,function(vn){hn[vn]=jt[vn]}),hn},remove:function(Lt){Lt=Dt(Lt);var jt=this._data;At(Lt,function(hn){delete jt[hn]}),this.save(jt)},clear:function(){this._data={},this.save(this._data)},each:function(Lt){At(this._data,Lt)},save:function(Lt){this._data=Lt}}),xe.exports=$e},6334:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6329),qe=Ie(4331),At=Ie(1745),Dt=Ie(8887),Lt=Ie(3783),jt=Ie(6472),hn=Ie(1352),vn=Ie(2727),bn=Ie(5166),_n=Ie(3367);$e=Fe({className:"Url",initialize:function(Sn){!Sn&&vn&&(Sn=window.location.href),Ue(this,$e.parse(Sn||""))},setQuery:function(Sn,xn){var En=this.query;return bn(Sn)?Lt(Sn,function(Tn,An){En[An]=_n(Tn)}):En[Sn]=_n(xn),this},rmQuery:function(Sn){var xn=this.query;return jt(Sn)||(Sn=hn(Sn)),Lt(Sn,function(En){delete xn[En]}),this},toString:function(){return $e.stringify(this)}},{parse:function(Sn){var xn={protocol:"",auth:"",hostname:"",hash:"",query:{},port:"",pathname:"",slashes:!1},En=qe(Sn),Tn=!1,An=En.match(wn);if(An&&(An=An[0],xn.protocol=An.toLowerCase(),En=En.substr(An.length)),An&&(Tn=En.substr(0,2)==="//")&&(En=En.slice(2),xn.slashes=!0),Tn){for(var $n=En,Pn=-1,Nn=0,Mn=Cn.length;Nn<Mn;Nn++){var In=En.indexOf(Cn[Nn]);In!==-1&&(Pn===-1||In<Pn)&&(Pn=In)}Pn>-1&&($n=En.slice(0,Pn),En=En.slice(Pn));var On=$n.lastIndexOf("@");On!==-1&&(xn.auth=decodeURIComponent($n.slice(0,On)),$n=$n.slice(On+1)),xn.hostname=$n;var Rn=$n.match(kn);Rn&&((Rn=Rn[0])!==":"&&(xn.port=Rn.substr(1)),xn.hostname=$n.substr(0,$n.length-Rn.length))}var Bn=En.indexOf("#");Bn!==-1&&(xn.hash=En.substr(Bn),En=En.slice(0,Bn));var Vn=En.indexOf("?");return Vn!==-1&&(xn.query=At.parse(En.substr(Vn+1)),En=En.slice(0,Vn)),xn.pathname=En||"/",xn},stringify:function(Sn){var xn=Sn.protocol+(Sn.slashes?"//":"")+(Sn.auth?encodeURIComponent(Sn.auth)+"@":"")+Sn.hostname+(Sn.port?":"+Sn.port:"")+Sn.pathname;return Dt(Sn.query)||(xn+="?"+At.stringify(Sn.query)),Sn.hash&&(xn+=Sn.hash),xn}});var wn=/^([a-z0-9.+-]+:)/i,kn=/:[0-9]*$/,Cn=["/","?","#"];xe.exports=$e},8991:function(xe,$e,Ie){var Fe=Ie(4777),Ue=Ie(1214),qe=Ie(4193),At=Ie(5166),Dt=Ie(1745);function Lt(jt,hn,vn,bn){return Fe(hn)&&(bn=vn,vn=hn,hn={}),{url:jt,data:hn,success:vn,dataType:bn}}($e=function(jt){qe(jt,$e.setting);var hn,vn=jt.type,bn=jt.url,_n=jt.data,wn=jt.dataType,kn=jt.success,Cn=jt.error,Sn=jt.timeout,xn=jt.complete,En=jt.xhr();return En.onreadystatechange=function(){if(En.readyState===4){var Tn;clearTimeout(hn);var An=En.status;if(An>=200&&An<300||An===304){Tn=En.responseText,wn==="xml"&&(Tn=En.responseXML);try{wn==="json"&&(Tn=JSON.parse(Tn))}catch{}kn(Tn,En)}else Cn(En);xn(En)}},vn==="GET"?(_n=Dt.stringify(_n))&&(bn+=bn.indexOf("?")>-1?"&"+_n:"?"+_n):jt.contentType==="application/x-www-form-urlencoded"?At(_n)&&(_n=Dt.stringify(_n)):jt.contentType==="application/json"&&At(_n)&&(_n=JSON.stringify(_n)),En.open(vn,bn,!0),En.setRequestHeader("Content-Type",jt.contentType),Sn>0&&(hn=setTimeout(function(){En.onreadystatechange=Ue,En.abort(),Cn(En,"timeout"),xn(En)},Sn)),En.send(vn==="GET"?null:_n),En}).setting={type:"GET",success:Ue,error:Ue,complete:Ue,dataType:"json",contentType:"application/x-www-form-urlencoded",data:{},xhr:function(){return new XMLHttpRequest},timeout:0},$e.get=function(){return $e(Lt.apply(null,arguments))},$e.post=function(){var jt=Lt.apply(null,arguments);return jt.type="POST",$e(jt)},xe.exports=$e},1116:function(xe,$e,Ie){var Fe=Ie(2533),Ue=Ie(415),qe=Ie(42),At=Object.getOwnPropertyNames,Dt=Object.getOwnPropertySymbols;$e=function(Lt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},hn=jt.prototype,vn=hn===void 0||hn,bn=jt.unenumerable,_n=bn!==void 0&&bn,wn=jt.symbol,kn=wn!==void 0&&wn,Cn=[];if((_n||kn)&&At){var Sn=Fe;_n&&At&&(Sn=At);do Cn=Cn.concat(Sn(Lt)),kn&&Dt&&(Cn=Cn.concat(Dt(Lt)));while(vn&&(Lt=Ue(Lt))&&Lt!==Object.prototype);Cn=qe(Cn)}else if(vn)for(var xn in Lt)Cn.push(xn);else Cn=Fe(Lt);return Cn},xe.exports=$e},7913:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(1286),qe=Ie(4777);$e=function(At,Dt){Ue(Dt)&&(Dt=!0);var Lt=qe(Dt),jt={};return Fe(At,function(hn){jt[hn]=Lt?Dt(hn):Dt}),jt},xe.exports=$e},3901:function(xe,$e){$e={encode:function(At){var Dt,Lt,jt=[],hn=At.length,vn=hn%3;hn-=vn;for(var bn=0;bn<hn;bn+=3)jt.push((Dt=(At[bn]<<16)+(At[bn+1]<<8)+At[bn+2],Fe[Dt>>18&63]+Fe[Dt>>12&63]+Fe[Dt>>6&63]+Fe[63&Dt]));return hn=At.length,vn===1?(Lt=At[hn-1],jt.push(Fe[Lt>>2]),jt.push(Fe[Lt<<4&63]),jt.push("==")):vn===2&&(Lt=(At[hn-2]<<8)+At[hn-1],jt.push(Fe[Lt>>10]),jt.push(Fe[Lt>>4&63]),jt.push(Fe[Lt<<2&63]),jt.push("=")),jt.join("")},decode:function(At){var Dt=At.length,Lt=0;At[Dt-2]==="="?Lt=2:At[Dt-1]==="="&&(Lt=1);var jt,hn,vn,bn,_n,wn,kn,Cn=new Array(3*Dt/4-Lt);for(Dt=Lt>0?Dt-4:Dt,jt=0,hn=0;jt<Dt;jt+=4){var Sn=(vn=At[jt],bn=At[jt+1],_n=At[jt+2],wn=At[jt+3],Ie[vn.charCodeAt(0)]<<18|Ie[bn.charCodeAt(0)]<<12|Ie[_n.charCodeAt(0)]<<6|Ie[wn.charCodeAt(0)]);Cn[hn++]=Sn>>16&255,Cn[hn++]=Sn>>8&255,Cn[hn++]=255&Sn}return Lt===2?(kn=Ie[At.charCodeAt(jt)]<<2|Ie[At.charCodeAt(jt+1)]>>4,Cn[hn++]=255&kn):Lt===1&&(kn=Ie[At.charCodeAt(jt)]<<10|Ie[At.charCodeAt(jt+1)]<<4|Ie[At.charCodeAt(jt+2)]>>2,Cn[hn++]=kn>>8&255,Cn[hn++]=255&kn),Cn}};for(var Ie=[],Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ue=0,qe=Fe.length;Ue<qe;Ue++)Ie[Fe.charCodeAt(Ue)]=Ue;xe.exports=$e},5637:function(xe,$e){$e=function(Ie,Fe){var Ue;return function(){return--Ie>0&&(Ue=Fe.apply(this,arguments)),Ie<=1&&(Fe=null),Ue}},xe.exports=$e},7494:function(xe,$e,Ie){var Fe=Ie(8935);function Ue(qe,At){this[At]=qe.replace(/\w/,function(Dt){return Dt.toUpperCase()})}$e=function(qe){var At=Fe(qe),Dt=At[0];return At.shift(),At.forEach(Ue,At),Dt+=At.join("")},xe.exports=$e},1694:function(xe,$e,Ie){var Fe=Ie(6257),Ue=Ie(6472);$e=function(Dt,Lt){if(Ue(Dt))return Dt;if(Lt&&Fe(Lt,Dt))return[Dt];var jt=[];return Dt.replace(qe,function(hn,vn,bn,_n){jt.push(bn?_n.replace(At,"$1"):vn||hn)}),jt};var qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/\\(\\)?/g;xe.exports=$e},996:function(xe,$e){$e=function(Ie,Fe){var Ue=[];Fe=Fe||1;for(var qe=0,At=Math.ceil(Ie.length/Fe);qe<At;qe++){var Dt=qe*Fe,Lt=Dt+Fe;Ue.push(Ie.slice(Dt,Lt))}return Ue},xe.exports=$e},9882:function(xe,$e,Ie){var Fe=Ie(1286);$e=function(Ue,qe,At){return Fe(At)&&(At=qe,qe=void 0),!Fe(qe)&&Ue<qe?qe:Ue>At?At:Ue},xe.exports=$e},4675:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(6472),qe=Ie(6329);$e=function(At){return Fe(At)?Ue(At)?At.slice():qe({},At):At},xe.exports=$e},550:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(4777),qe=Ie(6472),At=Ie(8820);$e=function(Dt){return qe(Dt)?Dt.map(function(Lt){return $e(Lt)}):Fe(Dt)&&!Ue(Dt)?At(Dt,function(Lt){return $e(Lt)}):Dt},xe.exports=$e},8099:function(xe,$e,Ie){var Fe=Ie(1352);$e=function(){for(var Ue=Fe(arguments),qe=[],At=0,Dt=Ue.length;At<Dt;At++)qe=qe.concat(Fe(Ue[At]));return qe},xe.exports=$e},6341:function(xe,$e,Ie){var Fe=Ie(496),Ue=Ie(6768),qe=Ie(1369),At=Ie(2578);$e=function(Dt,Lt){return Ue(Dt)?Dt.indexOf(Lt)>-1:(qe(Dt)||(Dt=At(Dt)),Fe(Dt,Lt)>=0)},xe.exports=$e},1792:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(3901),qe=Ie(385),At=Ie(6472),Dt=Ie(2349),Lt=Ie(3085),jt=Ie(3063);($e=function(hn,vn){var bn;if(vn=jt(vn),Fe(hn))bn=new Uint8Array(Ue.decode(hn));else if(qe(hn))hn=hn.slice(0),bn=new Uint8Array(hn);else if(At(hn))bn=new Uint8Array(hn);else if(Lt(hn)==="uint8array")bn=hn.slice(0);else if(Dt(hn)){bn=new Uint8Array(hn.length);for(var _n=0;_n<hn.length;_n++)bn[_n]=hn[_n]}if(bn)switch(vn){case"base64":bn=Ue.encode(bn);break;case"arraybuffer":bn=bn.buffer;break;case"array":bn=[].slice.call(bn);break;case"buffer":bn=Buffer.from(bn);break;case"blob":bn=new Blob([bn.buffer])}return bn}).blobToArrBuffer=function(hn){return new Promise(function(vn,bn){var _n=new FileReader;_n.onload=function(wn){vn(wn.target.result)},_n.onerror=function(wn){bn(wn)},_n.readAsArrayBuffer(hn)})},xe.exports=$e},6299:function(xe,$e,Ie){var Fe=Ie(4193),Ue=Ie(3990),qe=Ie(1286),At=Ie(1420),Dt={path:"/"};function Lt(jt,hn,vn){if(!qe(hn)){if(vn=Fe(vn=vn||{},Dt),Ue(vn.expires)){var bn=new Date;bn.setMilliseconds(bn.getMilliseconds()+864e5*vn.expires),vn.expires=bn}return hn=encodeURIComponent(hn),jt=encodeURIComponent(jt),document.cookie=[jt,"=",hn,vn.expires&&"; expires="+vn.expires.toUTCString(),vn.path&&"; path="+vn.path,vn.domain&&"; domain="+vn.domain,vn.secure?"; secure":""].join(""),$e}for(var _n=document.cookie?document.cookie.split("; "):[],wn=jt?void 0:{},kn=0,Cn=_n.length;kn<Cn;kn++){var Sn=_n[kn],xn=Sn.split("="),En=At(xn.shift());if(Sn=xn.join("="),Sn=At(Sn),jt===En){wn=Sn;break}jt||(wn[En]=Sn)}return wn}$e={get:Lt,set:Lt,remove:function(jt,hn){return(hn=hn||{}).expires=-1,Lt(jt,"",hn)}},xe.exports=$e},2327:function(xe,$e,Ie){var Fe=Ie(6329),Ue=Ie(1214);$e=function(qe,At){At=At||Ue;var Dt=document.createElement("textarea"),Lt=document.body;Fe(Dt.style,{fontSize:"12pt",border:"0",padding:"0",margin:"0",position:"absolute",left:"-9999px"}),Dt.value=qe,Lt.appendChild(Dt),Dt.setAttribute("readonly",""),Dt.select(),Dt.setSelectionRange(0,qe.length);try{document.execCommand("copy"),At()}catch(jt){At(jt)}finally{Lt.removeChild(Dt)}},xe.exports=$e},1662:function(xe,$e,Ie){var Fe=Ie(5166);$e=function(qe){if(!Fe(qe))return{};if(Ue)return Ue(qe);function At(){}return At.prototype=qe,new At};var Ue=Object.create;xe.exports=$e},4427:function(xe,$e,Ie){var Fe=Ie(1286),Ue=Ie(3783);$e=function(qe,At){return function(Dt){return Ue(arguments,function(Lt,jt){if(jt!==0){var hn=qe(Lt);Ue(hn,function(vn){At&&!Fe(Dt[vn])||(Dt[vn]=Lt[vn])})}}),Dt}},xe.exports=$e},4210:function(xe,$e,Ie){var Fe=Ie(1475),Ue=Ie(1286),qe=Ie(7494);$e=Fe(function(Dt,Lt){return Ue(Lt)?(Dt=qe(Dt),!Ue(At[Dt])):(At.cssText="",At.cssText=Dt+":"+Lt,!!At.length)},function(Dt,Lt){return Dt+" "+Lt});var At=document.createElement("p").style;xe.exports=$e},4407:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(2106),qe=Ie(3367),At=Ie(5351);$e=function(bn,_n,wn,kn){arguments.length===1&&Fe(bn)&&!hn.test(bn)&&(_n=bn,bn=void 0),bn=bn||new Date,Ue(bn)||(bn=new Date(bn));var Cn=(_n=qe($e.masks[_n]||_n||$e.masks.default)).slice(0,4);Cn!=="UTC:"&&Cn!=="GMT:"||(_n=_n.slice(4),wn=!0,Cn==="GMT:"&&(kn=!0));var Sn=wn?"getUTC":"get",xn=bn[Sn+"Date"](),En=bn[Sn+"Day"](),Tn=bn[Sn+"Month"](),An=bn[Sn+"FullYear"](),$n=bn[Sn+"Hours"](),Pn=bn[Sn+"Minutes"](),Nn=bn[Sn+"Seconds"](),Mn=bn[Sn+"Milliseconds"](),In=wn?0:bn.getTimezoneOffset(),On={d:xn,dd:Dt(xn),ddd:$e.i18n.dayNames[En],dddd:$e.i18n.dayNames[En+7],m:Tn+1,mm:Dt(Tn+1),mmm:$e.i18n.monthNames[Tn],mmmm:$e.i18n.monthNames[Tn+12],yy:qe(An).slice(2),yyyy:An,h:$n%12||12,hh:Dt($n%12||12),H:$n,HH:Dt($n),M:Pn,MM:Dt(Pn),s:Nn,ss:Dt(Nn),l:Dt(Mn,3),L:Dt(Math.round(Mn/10)),t:$n<12?"a":"p",tt:$n<12?"am":"pm",T:$n<12?"A":"P",TT:$n<12?"AM":"PM",Z:kn?"GMT":wn?"UTC":(qe(bn).match(jt)||[""]).pop().replace(vn,""),o:(In>0?"-":"+")+Dt(100*Math.floor(Math.abs(In)/60)+Math.abs(In)%60,4),S:["th","st","nd","rd"][xn%10>3?0:(xn%100-xn%10!=10)*xn%10]};return _n.replace(Lt,function(Rn){return Rn in On?On[Rn]:Rn.slice(1,Rn.length-1)})};var Dt=function(bn){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return At(qe(bn),_n,"0")},Lt=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,jt=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,hn=/\d/,vn=/[^-+\dA-Z]/g;$e.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},$e.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},xe.exports=$e},6049:function(xe,$e){$e=function(Ie,Fe,Ue){var qe;return function(){var At=this,Dt=arguments;Ue||clearTimeout(qe),Ue&&qe||(qe=setTimeout(function(){qe=null,Ie.apply(At,Dt)},Fe))}},xe.exports=$e},1420:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(8166),qe=Ie(2461),At=Ie(5742);function Dt(jt){return+("0x"+jt)}$e=function(jt){try{return decodeURIComponent(jt)}catch{var hn=jt.match(Lt);return hn&&Fe(hn,function(bn){jt=jt.replace(bn,function(_n){_n=_n.split("%").slice(1);var wn=qe(_n,Dt);return _n=Ue.encode(wn),_n=At.decode(_n,!0),_n}(bn))}),jt}};var Lt=/(%[a-f0-9]{2})+/gi;xe.exports=$e},4193:function(xe,$e,Ie){$e=Ie(4427)(Ie(1116),!0),xe.exports=$e},9803:function(xe,$e,Ie){var Fe=Ie(1694),Ue=Ie(6768),qe=Ie(5166),At=Ie(3783);function Dt(Lt,jt,hn){for(var vn=Fe(jt,Lt),bn=vn.pop();jt=vn.shift();)Lt[jt]||(Lt[jt]={}),Lt=Lt[jt];Object.defineProperty(Lt,bn,hn)}$e=function(Lt,jt,hn){return Ue(jt)?Dt(Lt,jt,hn):qe(jt)&&At(jt,function(vn,bn){Dt(Lt,bn,vn)}),Lt},xe.exports=$e},2443:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6341);function qe(){return!0}function At(){return!1}function Dt(jt){var hn,vn=this.events[jt.type],bn=Lt.call(this,jt,vn);jt=new $e.Event(jt);for(var _n,wn,kn=0;(wn=bn[kn++])&&!jt.isPropagationStopped();)for(jt.curTarget=wn.el,_n=0;(hn=wn.handlers[_n++])&&!jt.isImmediatePropagationStopped();)hn.handler.apply(wn.el,[jt])===!1&&(jt.preventDefault(),jt.stopPropagation())}function Lt(jt,hn){var vn,bn,_n,wn,kn=jt.target,Cn=[],Sn=hn.delegateCount;if(kn.nodeType)for(;kn!==this;kn=kn.parentNode||this){for(bn=[],wn=0;wn<Sn;wn++)bn[vn=(_n=hn[wn]).selector+" "]===void 0&&(bn[vn]=Ue(this.querySelectorAll(vn),kn)),bn[vn]&&bn.push(_n);bn.length&&Cn.push({el:kn,handlers:bn})}return Sn<hn.length&&Cn.push({el:this,handlers:hn.slice(Sn)}),Cn}$e={add:function(jt,hn,vn,bn){var _n,wn={selector:vn,handler:bn};jt.events||(jt.events={}),(_n=jt.events[hn])||((_n=jt.events[hn]=[]).delegateCount=0,jt.addEventListener(hn,function(){Dt.apply(jt,arguments)},!1)),vn?_n.splice(_n.delegateCount++,0,wn):_n.push(wn)},remove:function(jt,hn,vn,bn){var _n=jt.events;if(_n&&_n[hn])for(var wn,kn=_n[hn],Cn=kn.length;Cn--;)wn=kn[Cn],vn&&wn.selector!=vn||wn.handler!=bn||(kn.splice(Cn,1),wn.selector&&kn.delegateCount--)},Event:Fe({className:"Event",initialize:function(jt){this.origEvent=jt},isDefaultPrevented:At,isPropagationStopped:At,isImmediatePropagationStopped:At,preventDefault:function(){var jt=this.origEvent;this.isDefaultPrevented=qe,jt&&jt.preventDefault&&jt.preventDefault()},stopPropagation:function(){var jt=this.origEvent;this.isPropagationStopped=qe,jt&&jt.stopPropagation&&jt.stopPropagation()},stopImmediatePropagation:function(){var jt=this.origEvent;this.isImmediatePropagationStopped=qe,jt&&jt.stopImmediatePropagation&&jt.stopImmediatePropagation(),this.stopPropagation()}})},xe.exports=$e},4541:function(xe,$e,Ie){var Fe=Ie(2727),Ue=Ie(9296),qe=Ie(2533);$e=function(hn){var vn=jt(hn=(hn=hn||(Fe?navigator.userAgent:"")).toLowerCase(),"msie ");if(vn)return{version:vn,name:"ie"};if(Dt.test(hn))return{version:11,name:"ie"};for(var bn=0,_n=Lt.length;bn<_n;bn++){var wn=Lt[bn],kn=hn.match(At[wn]);if(kn!=null){var Cn=Ue(kn[1].split(".")[0]);return wn==="opera"&&(Cn=jt(hn,"version/")||Cn),{name:wn,version:Cn}}}return{name:"unknown",version:-1}};var At={edge:/edge\/([0-9._]+)/,firefox:/firefox\/([0-9.]+)(?:\s|$)/,opera:/opera\/([0-9.]+)(?:\s|$)/,android:/android\s([0-9.]+)/,ios:/version\/([0-9._]+).*mobile.*safari.*/,safari:/version\/([0-9._]+).*safari/,chrome:/(?!chrom.*opr)chrom(?:e|ium)\/([0-9.]+)(:?\s|$)/},Dt=/trident\/7\./,Lt=qe(At);function jt(hn,vn){var bn=hn.indexOf(vn);if(bn>-1)return Ue(hn.substring(bn+vn.length,hn.indexOf(".",bn)))}xe.exports=$e},6954:function(xe,$e,Ie){var Fe=Ie(2727);$e=function(Ue){if(Ue=(Ue=Ue||(Fe?navigator.userAgent:"")).toLowerCase(),qe("windows phone"))return"windows phone";if(qe("win"))return"windows";if(qe("android"))return"android";if(qe("ipad")||qe("iphone")||qe("ipod"))return"ios";if(qe("mac"))return"os x";if(qe("linux"))return"linux";function qe(At){return Ue.indexOf(At)>-1}return"unknown"},xe.exports=$e},801:function(xe,$e,Ie){var Fe=Ie(1137),Ue=Ie(288),qe=Ie(5972),At=Ie(6341);$e=Fe(function(Dt,Lt){return Lt=Ue(Lt),qe(Dt,function(jt){return!At(Lt,jt)})}),xe.exports=$e},3783:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(2533),qe=Ie(3955);$e=function(At,Dt,Lt){var jt,hn;if(Dt=qe(Dt,Lt),Fe(At))for(jt=0,hn=At.length;jt<hn;jt++)Dt(At[jt],jt,At);else{var vn=Ue(At);for(jt=0,hn=vn.length;jt<hn;jt++)Dt(At[vn[jt]],vn[jt],At)}return At},xe.exports=$e},4858:function(xe,$e){$e=function(Ie,Fe){var Ue=Ie.length-Fe.length;return Ue>=0&&Ie.indexOf(Fe,Ue)===Ue},xe.exports=$e},8901:function(xe,$e,Ie){var Fe=Ie(2533),Ue=($e=function(jt){return At.test(jt)?jt.replace(Dt,Lt):jt}).map={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},qe="(?:"+Fe(Ue).join("|")+")",At=new RegExp(qe),Dt=new RegExp(qe,"g"),Lt=function(jt){return Ue[jt]};xe.exports=$e},4187:function(xe,$e,Ie){var Fe=Ie(3367);$e=function(qe){return Fe(qe).replace(Ue,function(At){switch(At){case'"':case"'":case"\\":return"\\"+At;case`
`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}})};var Ue=/["'\\\n\r\u2028\u2029]/g;xe.exports=$e},2337:function(xe,$e){$e=function(Ie){return Ie.replace(/\W/g,"\\$&")},xe.exports=$e},642:function(xe,$e){$e=function(Ie){var Fe=document.createElement("style");return Fe.textContent=Ie,Fe.type="text/css",document.head.appendChild(Fe),Fe},xe.exports=$e},1672:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(1369),qe=Ie(2533);$e=function(At,Dt,Lt){Dt=Fe(Dt,Lt);for(var jt=!Ue(At)&&qe(At),hn=(jt||At).length,vn=0;vn<hn;vn++){var bn=jt?jt[vn]:vn;if(!Dt(At[bn],bn,At))return!1}return!0},xe.exports=$e},6329:function(xe,$e,Ie){$e=Ie(4427)(Ie(1116)),xe.exports=$e},3021:function(xe,$e,Ie){var Fe=Ie(2533);$e=Ie(4427)(Fe),xe.exports=$e},2581:function(xe,$e,Ie){var Fe=Ie(42),Ue=Ie(4331),qe=Ie(2461),At=Ie(1352);$e=function(Lt){var jt=At(Lt.match(Dt));return Fe(qe(jt,function(hn){return Ue(hn)}))};var Dt=/((https?)|(ftp)):\/\/[\w.]+[^ \f\n\r\t\v"\\<>[\]\u2100-\uFFFF(),]*/gi;xe.exports=$e},5972:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(3783);$e=function(qe,At,Dt){var Lt=[];return At=Fe(At,Dt),Ue(qe,function(jt,hn,vn){At(jt,hn,vn)&&Lt.push(jt)}),Lt},xe.exports=$e},2244:function(xe,$e,Ie){var Fe=Ie(2267),Ue=Ie(4072),qe=Ie(1369),At=Ie(1286);$e=function(Dt,Lt,jt){var hn=(qe(Dt)?Ue:Fe)(Dt,Lt,jt);if(!At(hn)&&hn!==-1)return Dt[hn]},xe.exports=$e},4072:function(xe,$e,Ie){var Fe=Ie(2838);$e=function(Ue,qe,At,Dt){Dt=Dt||1,qe=Fe(qe,At);for(var Lt=Ue.length,jt=Dt>0?0:Lt-1;jt>=0&&jt<Lt;){if(qe(Ue[jt],jt,Ue))return jt;jt+=Dt}return-1},xe.exports=$e},2267:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(2533);$e=function(qe,At,Dt){At=Fe(At,Dt);for(var Lt,jt=Ue(qe),hn=0,vn=jt.length;hn<vn;hn++)if(At(qe[Lt=jt[hn]],Lt,qe))return Lt},xe.exports=$e},288:function(xe,$e,Ie){var Fe=Ie(6472);function Ue(qe,At){for(var Dt,Lt=qe.length,jt=-1;Lt--;)Dt=qe[++jt],Fe(Dt)?Ue(Dt,At):At.push(Dt);return At}$e=function(qe){return Ue(qe,[])},xe.exports=$e},4454:function(xe,$e,Ie){var Fe=Ie(2533);$e=function(Ue){return Object.freeze?Object.freeze(Ue):(Fe(Ue).forEach(function(qe){Object.getOwnPropertyDescriptor(Ue,qe).configurable&&Object.defineProperty(Ue,qe,{writable:!1,configurable:!1})}),Ue)},xe.exports=$e},415:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(4777),qe=Object.getPrototypeOf,At={}.constructor;$e=function(Dt){if(Fe(Dt)){if(qe)return qe(Dt);var Lt=Dt.__proto__;return Lt||Lt===null?Lt:Ue(Dt.constructor)?Dt.constructor.prototype:Dt instanceof At?At.prototype:void 0}},xe.exports=$e},8613:function(xe,$e,Ie){var Fe=Ie(9833),Ue=Ie(6768),qe=Ie(6930),At=Ie(7781),Dt=Ie(975),Lt=Ie(3783),jt=Ie(4777);$e=function(hn,vn){for(var bn=arguments.length,_n=new Array(bn>2?bn-2:0),wn=2;wn<bn;wn++)_n[wn-2]=arguments[wn];(Fe(vn)||Ue(vn))&&(_n.unshift(vn),vn=null),vn||(vn={});var kn=function(Tn){for(var An="div",$n="",Pn=[],Nn=[],Mn="",In=0,On=Tn.length;In<On;In++){var Rn=Tn[In];Rn==="#"||Rn==="."?(Nn.push(Mn),Mn=Rn):Mn+=Rn}Nn.push(Mn);for(var Bn=0,Vn=Nn.length;Bn<Vn;Bn++)(Mn=Nn[Bn])&&(qe(Mn,"#")?$n=Mn.slice(1):qe(Mn,".")?Pn.push(Mn.slice(1)):An=Mn);return{tagName:An,id:$n,classes:Pn}}(hn),Cn=kn.tagName,Sn=kn.id,xn=kn.classes,En=document.createElement(Cn);return Sn&&En.setAttribute("id",Sn),At.add(En,xn),Lt(_n,function(Tn){Ue(Tn)?En.appendChild(document.createTextNode(Tn)):Fe(Tn)&&En.appendChild(Tn)}),Lt(vn,function(Tn,An){Ue(Tn)?En.setAttribute(An,Tn):jt(Tn)&&qe(An,"on")?En.addEventListener(An.slice(2),Tn,!1):An==="style"&&Dt(En,Tn)}),En},xe.exports=$e},6257:function(xe,$e){var Ie=Object.prototype.hasOwnProperty;$e=function(Fe,Ue){return Ie.call(Fe,Ue)},xe.exports=$e},5044:function(xe,$e,Ie){var Fe=Ie(7348);$e={encode:function(Ue){for(var qe=[],At=0,Dt=Ue.length;At<Dt;At++){var Lt=Ue[At];qe.push((Lt>>>4).toString(16)),qe.push((15&Lt).toString(16))}return qe.join("")},decode:function(Ue){var qe=[],At=Ue.length;Fe(At)&&At--;for(var Dt=0;Dt<At;Dt+=2)qe.push(parseInt(Ue.substr(Dt,2),16));return qe}},xe.exports=$e},3651:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(4193);$e=function(Dt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"js",jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ue(jt,qe),Dt=Dt.replace(/</g,"&lt;").replace(/>/g,"&gt;"),Lt=At[Lt];var hn=0,vn=[];Fe(Lt,function(_n){_n.language&&(Dt=Dt.replace(_n.re,function(wn,kn){return kn?(vn[hn++]=$e(kn,_n.language,jt),wn.replace(kn,"___subtmpl"+(hn-1)+"___")):wn}))}),Fe(Lt,function(_n,wn){At[_n.language]||(Dt=Dt.replace(_n.re,"___"+wn+"___$1___end"+wn+"___"))});var bn=[];return Dt=Dt.replace(/___(?!subtmpl)\w+?___/g,function(_n){var wn=_n.substr(3,3)==="end",kn=(wn?_n.substr(6):_n.substr(3)).replace(/_/g,""),Cn=bn.length>0?bn[bn.length-1]:null;return!wn&&(Cn==null||kn==Cn||Cn!=null&&Lt[Cn]&&Lt[Cn].embed!=null&&Lt[Cn].embed.indexOf(kn)>-1)?(bn.push(kn),_n):wn&&kn==Cn?(bn.pop(),_n):""}),Fe(Lt,function(_n,wn){var kn=jt[_n.style]?' style="'.concat(jt[_n.style],'"'):"";Dt=Dt.replace(new RegExp("___end"+wn+"___","g"),"</span>").replace(new RegExp("___"+wn+"___","g"),'<span class="'.concat(_n.style,'"').concat(kn,">"))}),Fe(Lt,function(_n){_n.language&&(Dt=Dt.replace(/___subtmpl\d+___/g,function(wn){var kn=parseInt(wn.replace(/___subtmpl(\d+)___/,"$1"),10);return vn[kn]}))}),Dt};var qe={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},At={js:{comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|&lt;|&gt;|\||\?|\.)/g,style:"operator"}}};At.html={comment:{re:/(&lt;!--([\s\S]*?)--&gt;)/g,style:"comment"},tag:{re:/(&lt;\/?\w(.|\n)*?\/?&gt;)/g,style:"keyword",embed:["string"]},string:At.js.string,css:{re:/(?:&lt;style.*?&gt;)([\s\S]*)?(?:&lt;\/style&gt;)/gi,language:"css"},script:{re:/(?:&lt;script.*?&gt;)([\s\S]*?)(?:&lt;\/script&gt;)/gi,language:"js"}},At.css={comment:At.js.comment,string:At.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}},xe.exports=$e},5925:function(xe,$e){$e=function(Fe){var Ue,qe,At,Dt=Fe[0]/360,Lt=Fe[1]/100,jt=Fe[2]/100,hn=[];if(Fe[3]&&(hn[3]=Fe[3]),Lt===0)return At=Ie(255*jt),hn[0]=hn[1]=hn[2]=At,hn;for(var vn=2*jt-(Ue=jt<.5?jt*(1+Lt):jt+Lt-jt*Lt),bn=0;bn<3;bn++)(qe=Dt+.3333333333333333*-(bn-1))<0&&qe++,qe>1&&qe--,At=6*qe<1?vn+6*(Ue-vn)*qe:2*qe<1?Ue:3*qe<2?vn+(Ue-vn)*(.6666666666666666-qe)*6:vn,hn[bn]=Ie(255*At);return hn};var Ie=Math.round;xe.exports=$e},7483:function(xe,$e,Ie){var Fe=Ie(8702),Ue=Ie(9001),qe=Ie(6472),At=Ie(3783),Dt=Ie(6768),Lt=Ie(8820),jt=function(vn){return vn.replace(/&quot;/g,'"')},hn=function(vn){return vn.replace(/"/g,"&quot;")};$e={parse:function(vn){var bn=[],_n=new Ue;return Fe(vn,{start:function(wn,kn){kn=Lt(kn,function(Cn){return jt(Cn)}),_n.push({tag:wn,attrs:kn})},end:function(){var wn=_n.pop();if(_n.size){var kn=_n.peek();qe(kn.content)||(kn.content=[]),kn.content.push(wn)}else bn.push(wn)},comment:function(wn){var kn="<!--".concat(wn,"-->"),Cn=_n.peek();Cn?(Cn.content||(Cn.content=[]),Cn.content.push(kn)):bn.push(kn)},text:function(wn){var kn=_n.peek();kn?(kn.content||(kn.content=[]),kn.content.push(wn)):bn.push(wn)}}),bn},stringify:function vn(bn){var _n="";return qe(bn)?At(bn,function(wn){return _n+=vn(wn)}):Dt(bn)?_n=bn:(_n+="<".concat(bn.tag),At(bn.attrs,function(wn,kn){return _n+=" ".concat(kn,'="').concat(hn(wn),'"')}),_n+=">",bn.content&&(_n+=vn(bn.content)),_n+="</".concat(bn.tag,">")),_n}},xe.exports=$e},6362:function(xe,$e){$e=function(Ie){return Ie},xe.exports=$e},496:function(xe,$e){$e=function(Ie,Fe,Ue){return Array.prototype.indexOf.call(Ie,Fe,Ue)},xe.exports=$e},5022:function(xe,$e,Ie){var Fe=Ie(1662);$e=function(Ue,qe){Ue.prototype=Fe(qe.prototype)},xe.exports=$e},7190:function(xe,$e,Ie){var Fe=Ie(3783);$e=function(Ue){var qe={};return Fe(Ue,function(At,Dt){qe[At]=Dt}),qe},xe.exports=$e},7403:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Arguments]"},xe.exports=$e},6472:function(xe,$e,Ie){var Fe=Ie(106);$e=Array.isArray?Array.isArray:function(Ue){return Fe(Ue)==="[object Array]"},xe.exports=$e},385:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object ArrayBuffer]"},xe.exports=$e},1369:function(xe,$e,Ie){var Fe=Ie(3990),Ue=Ie(4777),qe=Math.pow(2,53)-1;$e=function(At){if(!At)return!1;var Dt=At.length;return Fe(Dt)&&Dt>=0&&Dt<=qe&&!Ue(At)},xe.exports=$e},4696:function(xe,$e){$e=function(Ie){return Ie===!0||Ie===!1},xe.exports=$e},2727:function(xe,$e){$e=typeof window=="object"&&typeof document=="object"&&document.nodeType===9,xe.exports=$e},2349:function(xe,$e,Ie){var Fe=Ie(4777);$e=function(Ue){return Ue!=null&&(!!Ue._isBuffer||Ue.constructor&&Fe(Ue.constructor.isBuffer)&&Ue.constructor.isBuffer(Ue))},xe.exports=$e},2520:function(xe,$e,Ie){var Fe=new(Ie(2765))("(prefers-color-scheme: dark)");$e=function(){return Fe.isMatch()},xe.exports=$e},2106:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Date]"},xe.exports=$e},9833:function(xe,$e){$e=function(Ie){return!(!Ie||Ie.nodeType!==1)},xe.exports=$e},8887:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(6472),qe=Ie(6768),At=Ie(7403),Dt=Ie(2533);$e=function(Lt){return Lt==null||(Fe(Lt)&&(Ue(Lt)||qe(Lt)||At(Lt))?Lt.length===0:Dt(Lt).length===0)},xe.exports=$e},2749:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Error]"},xe.exports=$e},4777:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){var qe=Fe(Ue);return qe==="[object Function]"||qe==="[object GeneratorFunction]"||qe==="[object AsyncFunction]"},xe.exports=$e},9585:function(xe,$e,Ie){var Fe=Ie(5610),Ue=Fe.getComputedStyle,qe=Fe.document;function At(Dt,Lt){return Dt.right<Lt.left||Dt.left>Lt.right||Dt.bottom<Lt.top||Dt.top>Lt.bottom}$e=function(Dt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jt=Lt.display,hn=jt===void 0||jt,vn=Lt.visibility,bn=vn!==void 0&&vn,_n=Lt.opacity,wn=_n!==void 0&&_n,kn=Lt.size,Cn=kn!==void 0&&kn,Sn=Lt.viewport,xn=Sn!==void 0&&Sn,En=Lt.overflow,Tn=En!==void 0&&En,An=Ue(Dt);if(hn){var $n=Dt.tagName;if($n==="BODY"||$n==="HTML"||An.position==="fixed"){if(An.display==="none")return!0;for(var Pn=Dt;Pn=Pn.parentElement;)if(Ue(Pn).display==="none")return!0}else if(Dt.offsetParent===null)return!0}if(bn&&An.visibility==="hidden")return!0;if(wn){if(An.opacity==="0")return!0;for(var Nn=Dt;Nn=Nn.parentElement;)if(Ue(Nn).opacity==="0")return!0}var Mn=Dt.getBoundingClientRect();if(Cn&&(Mn.width===0||Mn.height===0))return!0;if(xn)return At(Mn,{top:0,left:0,right:qe.documentElement.clientWidth,bottom:qe.documentElement.clientHeight});if(Tn)for(var In=Dt;In=In.parentElement;){var On=Ue(In).overflow;if((On==="scroll"||On==="hidden")&&At(Mn,In.getBoundingClientRect()))return!0}return!1},xe.exports=$e},2246:function(xe,$e,Ie){var Fe=Ie(3990);$e=function(Ue){return Fe(Ue)&&Ue%1==0},xe.exports=$e},4219:function(xe,$e){$e=function(Ie){try{return JSON.parse(Ie),!0}catch{return!1}},xe.exports=$e},3708:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Map]"},xe.exports=$e},7949:function(xe,$e,Ie){var Fe=Ie(2533);$e=function(Ue,qe){var At=Fe(qe),Dt=At.length;if(Ue==null)return!Dt;Ue=Object(Ue);for(var Lt=0;Lt<Dt;Lt++){var jt=At[Lt];if(qe[jt]!==Ue[jt]||!(jt in Ue))return!1}return!0},xe.exports=$e},9537:function(xe,$e,Ie){var Fe=Ie(4777);$e=typeof wx<"u"&&Fe(wx.openLocation),xe.exports=$e},9956:function(xe,$e,Ie){var Fe=Ie(2727),Ue=Ie(1475),qe=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,At=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i;$e=Ue(function(Dt){return Dt=Dt||(Fe?navigator.userAgent:""),qe.test(Dt)||At.test(Dt.substr(0,4))}),xe.exports=$e},9433:function(xe,$e,Ie){var Fe=Ie(3990);$e=function(Ue){return Fe(Ue)&&Ue!==+Ue},xe.exports=$e},8740:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(4777),qe=Ie(300);$e=function(jt){return!!Fe(jt)&&(Ue(jt)?Dt.test(qe(jt)):Lt.test(qe(jt)))};var At=Object.prototype.hasOwnProperty,Dt=new RegExp("^"+qe(At).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Lt=/^\[object .+?Constructor\]$/;xe.exports=$e},2763:function(xe,$e){$e=function(Ie){return Ie==null},xe.exports=$e},1965:function(xe,$e,Ie){var Fe=Ie(106);$e=typeof process<"u"&&Fe(process)==="[object process]",xe.exports=$e},6156:function(xe,$e){$e=function(Ie){return Ie===null},xe.exports=$e},3990:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Number]"},xe.exports=$e},5166:function(xe,$e){$e=function(Ie){var Fe=typeof Ie;return!!Ie&&(Fe==="function"||Fe==="object")},xe.exports=$e},7348:function(xe,$e,Ie){var Fe=Ie(2246);$e=function(Ue){return!!Fe(Ue)&&Ue%2!=0},xe.exports=$e},6997:function(xe,$e){$e=function(Ie){var Fe=typeof Ie;return Ie==null||Fe!=="function"&&Fe!=="object"},xe.exports=$e},4321:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(4777);$e=function(qe){return Fe(qe)&&Ue(qe.then)&&Ue(qe.catch)},xe.exports=$e},1754:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object RegExp]"},xe.exports=$e},7470:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Set]"},xe.exports=$e},3843:function(xe,$e){$e=function(Ie){for(var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e.defComparator,Ue=0,qe=Ie.length;Ue<qe-1;Ue++)if(Fe(Ie[Ue],Ie[Ue+1])>0)return!1;return!0},$e.defComparator=function(Ie,Fe){return Ie<Fe?-1:Ie>Fe?1:0},xe.exports=$e},6768:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object String]"},xe.exports=$e},9804:function(xe,$e){$e=function(Ie){return typeof Ie=="symbol"},xe.exports=$e},1286:function(xe,$e){$e=function(Ie){return Ie===void 0},xe.exports=$e},7622:function(xe,$e,Ie){var Fe=Ie(8935);$e=function(Ue){return Fe(Ue).join("-")},xe.exports=$e},2533:function(xe,$e,Ie){var Fe=Ie(6257);$e=Object.keys?Object.keys:function(Ue){var qe=[];for(var At in Ue)Fe(Ue,At)&&qe.push(At);return qe},xe.exports=$e},9702:function(xe,$e){$e=function(Ie){var Fe=Ie?Ie.length:0;if(Fe)return Ie[Fe-1]},xe.exports=$e},3988:function(xe,$e,Ie){var Fe=Ie(2581),Ue=Ie(3783),qe=Ie(2337);function At(Dt){return'<a href="'+Dt+'">'+Dt+"</a>"}$e=function(Dt,Lt){Lt=Lt||At;var jt=Fe(Dt);return Ue(jt,function(hn){Dt=Dt.replace(new RegExp(qe(hn),"g"),Lt)}),Dt},xe.exports=$e},9622:function(xe,$e){$e=function(Ie,Fe){var Ue=document.createElement("script");Ue.src=Ie,Ue.onload=function(){var qe=Ue.readyState&&Ue.readyState!="complete"&&Ue.readyState!="loaded";Fe&&Fe(!qe)},Ue.onerror=function(){Fe(!1)},document.body.appendChild(Ue)},xe.exports=$e},3063:function(xe,$e,Ie){var Fe=Ie(3367);$e=function(Ue){return Fe(Ue).toLocaleLowerCase()},xe.exports=$e},5351:function(xe,$e,Ie){var Fe=Ie(4552),Ue=Ie(3367);$e=function(qe,At,Dt){var Lt=(qe=Ue(qe)).length;return Dt=Dt||" ",Lt<At&&(qe=(Fe(Dt,At-Lt)+qe).slice(-At)),qe},xe.exports=$e},7767:function(xe,$e){var Ie=/^\s+/;$e=function(Fe,Ue){if(Ue==null)return Fe.trimLeft?Fe.trimLeft():Fe.replace(Ie,"");for(var qe,At,Dt=0,Lt=Fe.length,jt=Ue.length,hn=!0;hn&&Dt<Lt;)for(hn=!1,qe=-1,At=Fe.charAt(Dt);++qe<jt;)if(At===Ue[qe]){hn=!0,Dt++;break}return Dt>=Lt?"":Fe.substr(Dt,Lt)},xe.exports=$e},2461:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(2533),qe=Ie(1369);$e=function(At,Dt,Lt){Dt=Fe(Dt,Lt);for(var jt=!qe(At)&&Ue(At),hn=(jt||At).length,vn=Array(hn),bn=0;bn<hn;bn++){var _n=jt?jt[bn]:bn;vn[bn]=Dt(At[_n],_n,At)}return vn},xe.exports=$e},8820:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(2533);$e=function(qe,At,Dt){At=Fe(At,Dt);for(var Lt=Ue(qe),jt=Lt.length,hn={},vn=0;vn<jt;vn++){var bn=Lt[vn];hn[bn]=At(qe[bn],bn,qe)}return hn},xe.exports=$e},4491:function(xe,$e,Ie){var Fe=Ie(3021),Ue=Ie(7949);$e=function(qe){return qe=Fe({},qe),function(At){return Ue(At,qe)}},xe.exports=$e},9853:function(xe,$e){$e=function(){for(var Ie=arguments,Fe=Ie[0],Ue=1,qe=Ie.length;Ue<qe;Ue++)Ie[Ue]>Fe&&(Fe=Ie[Ue]);return Fe},xe.exports=$e},5026:function(xe,$e,Ie){var Fe=Ie(2533);$e={getItem:function(jt){return(qe[jt]?Ue[jt]:this[jt])||null},setItem:function(jt,hn){qe[jt]?Ue[jt]=hn:this[jt]=hn},removeItem:function(jt){qe[jt]?delete Ue[jt]:delete this[jt]},key:function(jt){var hn=At();return jt>=0&&jt<hn.length?hn[jt]:null},clear:function(){for(var jt,hn=Dt(),vn=0;jt=hn[vn];vn++)delete this[jt];hn=Lt();for(var bn,_n=0;bn=hn[_n];_n++)delete Ue[bn]}},Object.defineProperty($e,"length",{enumerable:!1,configurable:!0,get:function(){return At().length}});var Ue={},qe={getItem:1,setItem:1,removeItem:1,key:1,clear:1,length:1};function At(){return Dt().concat(Lt())}function Dt(){return Fe($e).filter(function(jt){return!qe[jt]})}function Lt(){return Fe(Ue)}xe.exports=$e},1475:function(xe,$e,Ie){var Fe=Ie(6257);$e=function(Ue,qe){var At=function(Dt){var Lt=At.cache,jt=""+(qe?qe.apply(this,arguments):Dt);return Fe(Lt,jt)||(Lt[jt]=Ue.apply(this,arguments)),Lt[jt]};return At.cache={},At},xe.exports=$e},9971:function(xe,$e,Ie){$e=Ie(1137)(function(Fe,Ue){for(var qe=Fe.length,At=0,Dt=Ue.length;At<Dt;At++)for(var Lt=Ue[At],jt=0,hn=Lt.length;jt<hn;jt++)Fe[qe++]=Lt[jt];return Fe.length=qe,Fe}),xe.exports=$e},8573:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(6768),qe=Ie(1286),At=Ie(6341),Dt=Ie(6472),Lt=Ie(5166),jt=Ie(1352);($e=function(_n,wn){if(qe(_n))return kn={},vn(function(Sn,xn){kn[Sn]=xn}),kn;var kn;if(Ue(_n)&&qe(wn)||Dt(_n))return function(Sn){if(!Ue(Sn)){var xn={};return vn(function(Tn,An){At(Sn,Tn)&&(xn[Tn]=An)}),xn}var En=bn(Sn);if(En)return En.getAttribute("content")}(_n);var Cn=_n;Lt(Cn)||((Cn={})[_n]=wn),function(Sn){Fe(Sn,function(xn,En){var Tn=bn(En);if(Tn)return Tn.setAttribute("content",xn);(Tn=hn.createElement("meta")).setAttribute("name",En),Tn.setAttribute("content",xn),hn.head.appendChild(Tn)})}(Cn)}).remove=function(_n){_n=jt(_n),Fe(_n,function(wn){var kn=bn(wn);kn&&hn.head.removeChild(kn)})};var hn=document;function vn(_n){var wn=hn.querySelectorAll("meta");Fe(wn,function(kn){var Cn=kn.getAttribute("name"),Sn=kn.getAttribute("content");Cn&&Sn&&_n(Cn,Sn)})}function bn(_n){return hn.querySelector('meta[name="'+_n+'"]')}xe.exports=$e},6435:function(xe,$e){$e=function(){for(var Ie=arguments,Fe=Ie[0],Ue=1,qe=Ie.length;Ue<qe;Ue++)Ie[Ue]<Fe&&(Fe=Ie[Ue]);return Fe},xe.exports=$e},4677:function(xe,$e,Ie){var Fe=Ie(3875),Ue=Ie(6768);$e=function(Lt){if(Ue(Lt)){var jt=Lt.match(Dt);return jt?Fe(jt[1])*qe[jt[2]||"ms"]:0}for(var hn=Lt,vn="ms",bn=0,_n=At.length;bn<_n;bn++)if(hn>=qe[At[bn]]){vn=At[bn];break}return+(hn/qe[vn]).toFixed(2)+vn};var qe={ms:1,s:1e3};qe.m=60*qe.s,qe.h=60*qe.m,qe.d=24*qe.h,qe.y=365.25*qe.d;var At=["y","d","h","m","s"],Dt=/^((?:\d+)?\.?\d+) *(s|m|h|d|y)?$/;xe.exports=$e},6339:function(xe,$e,Ie){var Fe=Ie(6930),Ue=Ie(5610),qe=Ie(3367);function At(Dt,Lt){if(Dt=qe(Dt),Lt=qe(Lt),Fe(Dt,"_")&&!Fe(Lt,"_"))return 1;if(Fe(Lt,"_")&&!Fe(Dt,"_"))return-1;for(var jt,hn,vn,bn,_n=/^\d+|^\D+/;;){if(!Dt)return Lt?-1:0;if(!Lt)return 1;if(jt=Dt.match(_n)[0],hn=Lt.match(_n)[0],vn=!Ue.isNaN(jt),bn=!Ue.isNaN(hn),vn&&!bn)return-1;if(bn&&!vn)return 1;if(vn&&bn){var wn=jt-hn;if(wn)return wn;if(jt.length!==hn.length)return+jt||+hn?hn.length-jt.length:jt.length-hn.length}else if(jt!==hn)return jt<hn?-1:1;Dt=Dt.substring(jt.length),Lt=Lt.substring(hn.length)}}$e=function(Dt){return Dt.sort(At)},xe.exports=$e},6837:function(xe,$e){function Ie(Fe){if(typeof Fe!="function")throw new TypeError(Fe+" is not a function");return Fe}$e=typeof process=="object"&&process.nextTick?process.nextTick:typeof setImmediate=="function"?function(Fe){setImmediate(Ie(Fe))}:function(Fe){setTimeout(Ie(Fe),0)},xe.exports=$e},1214:function(xe,$e){$e=function(){},xe.exports=$e},8847:function(xe,$e){$e=Date.now?Date.now:function(){return new Date().getTime()},xe.exports=$e},106:function(xe,$e){var Ie=Object.prototype.toString;$e=function(Fe){return Ie.call(Fe)},xe.exports=$e},8763:function(xe,$e,Ie){$e=Ie(4198)(Ie(5637),2),xe.exports=$e},3955:function(xe,$e,Ie){var Fe=Ie(1286);$e=function(Ue,qe,At){if(Fe(qe))return Ue;switch(At??3){case 1:return function(Dt){return Ue.call(qe,Dt)};case 3:return function(Dt,Lt,jt){return Ue.call(qe,Dt,Lt,jt)};case 4:return function(Dt,Lt,jt,hn){return Ue.call(qe,Dt,Lt,jt,hn)}}return function(){return Ue.apply(qe,arguments)}},xe.exports=$e},442:function(xe,$e,Ie){var Fe=Ie(1443),Ue=Ie(7653),qe=window.screen;$e={get:function(){if(qe){var At=Ue(qe,"orientation.type");if(At)return At.split("-").shift()}return window.innerWidth>window.innerHeight?"landscape":"portrait"}},Fe.mixin($e),window.addEventListener("orientationchange",function(){setTimeout(function(){$e.emit("change",$e.get())},200)},!1),xe.exports=$e},8702:function(xe,$e,Ie){var Fe=Ie(9702),Ue=Ie(7913),qe=Ie(6930),At=Ie(3063);$e=function(bn,_n){for(var wn,kn=[],Cn=bn;bn;){if(wn=!0,Fe(kn)&&vn[Fe(kn)]){var Sn=new RegExp("</".concat(Fe(kn),"[^>]*>")).exec(bn);if(Sn){var xn=bn.substring(0,Sn.index);bn=bn.substring(Sn.index+Sn[0].length),xn&&_n.text&&_n.text(xn)}In("",Fe(kn))}else{if(qe(bn,"<!--")){var En=bn.indexOf("-->");En>=0&&(_n.comment&&_n.comment(bn.substring(4,En)),bn=bn.substring(En+3),wn=!1)}else if(qe(bn,"<!")){var Tn=bn.match(Dt);Tn&&(_n.text&&_n.text(bn.substring(0,Tn[0].length)),bn=bn.substring(Tn[0].length),wn=!1)}else if(qe(bn,"</")){var An=bn.match(Lt);An&&(bn=bn.substring(An[0].length),An[0].replace(Lt,In),wn=!1)}else if(qe(bn,"<")){var $n=bn.match(jt);$n&&(bn=bn.substring($n[0].length),$n[0].replace(jt,Mn),wn=!1)}if(wn){var Pn=bn.indexOf("<"),Nn=Pn<0?bn:bn.substring(0,Pn);bn=Pn<0?"":bn.substring(Pn),_n.text&&_n.text(Nn)}}if(Cn===bn)throw Error("Parse Error: "+bn);Cn=bn}function Mn(On,Rn,Bn,Vn){if(Rn=At(Rn),(Vn=!!Vn)||kn.push(Rn),_n.start){var Ln={};Bn.replace(hn,function(Dn,Hn,Fn,zn,jn){Ln[Hn]=Fn||zn||jn||""}),_n.start(Rn,Ln,Vn)}}function In(On,Rn){var Bn;if(Rn=At(Rn))for(Bn=kn.length-1;Bn>=0&&kn[Bn]!==Rn;Bn--);else Bn=0;if(Bn>=0){for(var Vn=kn.length-1;Vn>=Bn;Vn--)_n.end&&_n.end(kn[Vn]);kn.length=Bn}}In()};var Dt=/^<!\s*doctype((?:\s+[\w:]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,Lt=/^<\/([-A-Za-z0-9_]+)[^>]*>/,jt=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,hn=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,vn=Ue("script,style".split(","));xe.exports=$e},4198:function(xe,$e,Ie){var Fe=Ie(1137),Ue=Ie(1352);$e=Fe(function(qe,At){return function(){var Dt=[];return Dt=(Dt=Dt.concat(At)).concat(Ue(arguments)),qe.apply(this,Dt)}}),xe.exports=$e},1194:function(xe,$e,Ie){var Fe,Ue=Ie(8847),qe=Ie(5610),At=qe.performance,Dt=qe.process;if(At&&At.now)$e=function(){return At.now()};else if(Dt&&Dt.hrtime){var Lt=function(){var jt=Dt.hrtime();return 1e9*jt[0]+jt[1]};Fe=Lt()-1e9*Dt.uptime(),$e=function(){return(Lt()-Fe)/1e6}}else Fe=Ue(),$e=function(){return Ue()-Fe};xe.exports=$e},3487:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(6472),qe=Ie(6341),At=Ie(3783);$e=function(Dt,Lt,jt){if(Fe(Lt)&&(Lt=[Lt]),Ue(Lt)){var hn=Lt;Lt=function(_n,wn){return qe(hn,wn)}}var vn={},bn=function(_n,wn){Lt(_n,wn)&&(vn[wn]=_n)};return jt&&(bn=function(_n,wn){Lt(_n,wn)||(vn[wn]=_n)}),At(Dt,bn),vn},xe.exports=$e},747:function(xe,$e,Ie){var Fe=Ie(1475),Ue=Ie(7494),qe=Ie(3023),At=Ie(6257),Dt=Ie(7622);($e=Fe(function(vn){if(vn=vn.replace(jt,""),vn=Ue(vn),At(hn,vn))return vn;for(var bn=Lt.length;bn--;){var _n=Lt[bn]+qe(vn);if(At(hn,_n))return _n}return vn})).dash=Fe(function(vn){var bn=$e(vn);return(jt.test(bn)?"-":"")+Dt(bn)});var Lt=["O","ms","Moz","Webkit"],jt=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,hn=document.createElement("p").style;xe.exports=$e},2994:function(xe,$e,Ie){var Fe=Ie(6472),Ue=Ie(7653);$e=function(qe){return Fe(qe)?function(Dt){return Ue(Dt,qe)}:(At=qe,function(Dt){return Dt==null?void 0:Dt[At]});var At},xe.exports=$e},1745:function(xe,$e,Ie){var Fe=Ie(4331),Ue=Ie(3783),qe=Ie(1286),At=Ie(6472),Dt=Ie(2461),Lt=Ie(8887),jt=Ie(5972),hn=Ie(5166);$e={parse:function(bn){var _n={};return bn=Fe(bn).replace(vn,""),Ue(bn.split("&"),function(wn){var kn=wn.split("="),Cn=kn.shift(),Sn=kn.length>0?kn.join("="):null;Cn=decodeURIComponent(Cn),Sn=decodeURIComponent(Sn),qe(_n[Cn])?_n[Cn]=Sn:At(_n[Cn])?_n[Cn].push(Sn):_n[Cn]=[_n[Cn],Sn]}),_n},stringify:function(bn,_n){return jt(Dt(bn,function(wn,kn){return hn(wn)&&Lt(wn)?"":At(wn)?$e.stringify(wn,kn):encodeURIComponent(_n||kn)+"="+encodeURIComponent(wn)}),function(wn){return wn.length>0}).join("&")}};var vn=/^(\?|#|&)/g;xe.exports=$e},1571:function(xe,$e,Ie){var Fe,Ue,qe=Ie(8847),At=Ie(2727),Dt=0;if(At){Fe=window.requestAnimationFrame,Ue=window.cancelAnimationFrame;for(var Lt=["ms","moz","webkit","o"],jt=0,hn=Lt.length;jt<hn&&!Fe;jt++)Fe=window[Lt[jt]+"RequestAnimationFrame"],Ue=window[Lt[jt]+"CancelAnimationFrame"]||window[Lt[jt]+"CancelRequestAnimationFrame"];Fe&&(Fe=Fe.bind(window),Ue=Ue.bind(window))}Ue=Ue||function(vn){clearTimeout(vn)},(Fe=Fe||function(vn){var bn=qe(),_n=Math.max(0,16-(bn-Dt)),wn=setTimeout(function(){vn(bn+_n)},_n);return Dt=bn+_n,wn}).cancel=Ue,$e=Fe,xe.exports=$e},1216:function(xe,$e){$e=function(Ie,Fe,Ue){Fe==null&&(Fe=Ie,Ie=0);var qe=Math.random();return Ue||Ie%1||Fe%1?Math.min(Ie+qe*(Fe-Ie+parseFloat("1e-"+((qe+"").length-1))),Fe):Ie+Math.floor(qe*(Fe-Ie+1))},xe.exports=$e},3366:function(module,exports,__webpack_require__){var random=__webpack_require__(1216),isBrowser=__webpack_require__(2727),isNode=__webpack_require__(1965),crypto;exports=function(xe){for(var $e=new Uint8Array(xe),Ie=0;Ie<xe;Ie++)$e[Ie]=random(0,255);return $e},isBrowser?(crypto=window.crypto||window.msCrypto,crypto&&(exports=function(xe){var $e=new Uint8Array(xe);return crypto.getRandomValues($e),$e})):isNode&&(crypto=eval("require")("crypto"),exports=function(xe){return crypto.randomBytes(xe)}),module.exports=exports},4270:function(xe,$e){var Ie,Fe=[],Ue=document,qe=Ue.documentElement.doScroll,At="DOMContentLoaded",Dt=(qe?/^loaded|^c/:/^loaded|^i|^c/).test(Ue.readyState);Dt||Ue.addEventListener(At,Ie=function(){for(Ue.removeEventListener(At,Ie),Dt=1;Ie=Fe.shift();)Ie()}),$e=function(Lt){Dt?setTimeout(Lt,0):Fe.push(Lt)},xe.exports=$e},5852:function(xe,$e,Ie){var Fe=Ie(2838);$e=function(Ue,qe,At){var Dt=[];qe=Fe(qe,At);for(var Lt=-1,jt=Ue.length;++Lt<jt;){var hn=Lt-Dt.length,vn=Ue[hn];qe(vn,Lt,Ue)&&(Dt.push(vn),Ue.splice(hn,1))}return Dt},xe.exports=$e},4552:function(xe,$e){$e=function(Ie,Fe){var Ue="";if(Fe<1)return"";for(;Fe>0;)1&Fe&&(Ue+=Ie),Fe>>=1,Ie+=Ie;return Ue},xe.exports=$e},8368:function(xe,$e,Ie){var Fe=Ie(2337);$e=function(Ue,qe,At){return Ue.replace(new RegExp(Fe(qe),"g"),At)},xe.exports=$e},1137:function(xe,$e){$e=function(Ie,Fe){return Fe=Fe==null?Ie.length-1:+Fe,function(){var Ue,qe=Math.max(arguments.length-Fe,0),At=new Array(qe);for(Ue=0;Ue<qe;Ue++)At[Ue]=arguments[Ue+Fe];switch(Fe){case 0:return Ie.call(this,At);case 1:return Ie.call(this,arguments[0],At);case 2:return Ie.call(this,arguments[0],arguments[1],At)}var Dt=new Array(Fe+1);for(Ue=0;Ue<Fe;Ue++)Dt[Ue]=arguments[Ue];return Dt[Fe]=At,Ie.apply(this,Dt)}},xe.exports=$e},1527:function(xe,$e){$e=function(Ie){var Fe=Ie.length,Ue=Array(Fe);Fe--;for(var qe=0;qe<=Fe;qe++)Ue[Fe-qe]=Ie[qe];return Ue},xe.exports=$e},3279:function(xe,$e){$e=function(qe){var At,Dt,Lt=qe[0]/255,jt=qe[1]/255,hn=qe[2]/255,vn=Ie(Lt,jt,hn),bn=Fe(Lt,jt,hn),_n=bn-vn;(At=Ie(60*(At=bn===vn?0:Lt===bn?(jt-hn)/_n:jt===bn?2+(hn-Lt)/_n:4+(Lt-jt)/_n),360))<0&&(At+=360);var wn=(vn+bn)/2;Dt=bn===vn?0:wn<=.5?_n/(bn+vn):_n/(2-bn-vn);var kn=[Ue(At),Ue(100*Dt),Ue(100*wn)];return qe[3]&&(kn[3]=qe[3]),kn};var Ie=Math.min,Fe=Math.max,Ue=Math.round;xe.exports=$e},5031:function(xe,$e,Ie){var Fe=Ie(6299);$e=function(Ue){var qe,At=window.location,Dt=At.hostname,Lt=At.pathname,jt=Dt.split("."),hn=Lt.split("/"),vn="",bn=hn.length;if(!Sn())for(var _n=jt.length-1;_n>=0;_n--){var wn=jt[_n];if(wn!==""){if(Sn({domain:vn=vn===""?wn:wn+"."+vn,path:qe="/"})||Sn({domain:vn}))return;for(var kn=0;kn<bn;kn++){var Cn=hn[kn];if(Cn!==""&&(Sn({domain:vn,path:qe+=Cn})||Sn({path:qe})||Sn({domain:vn,path:qe+="/"})||Sn({path:qe})))return}}}function Sn(xn){return xn=xn||{},Fe.remove(Ue,xn),!Fe.get(Ue)}},xe.exports=$e},5610:function(xe,$e,Ie){$e=Ie(2727)?window:Ie.g,xe.exports=$e},3597:function(xe,$e){$e=function(Ie,Fe){if(Fe==null){if(Ie.trimRight)return Ie.trimRight();Fe=` \r
	\f\v`}for(var Ue,qe,At=Ie.length-1,Dt=Fe.length,Lt=!0;Lt&&At>=0;)for(Lt=!1,Ue=-1,qe=Ie.charAt(At);++Ue<Dt;)if(qe===Fe[Ue]){Lt=!0,At--;break}return At>=0?Ie.substring(0,At+1):""},xe.exports=$e},2838:function(xe,$e,Ie){var Fe=Ie(4777),Ue=Ie(5166),qe=Ie(6472),At=Ie(3955),Dt=Ie(4491),Lt=Ie(6362),jt=Ie(2994);$e=function(hn,vn,bn){return hn==null?Lt:Fe(hn)?At(hn,vn,bn):Ue(hn)&&!qe(hn)?Dt(hn):jt(hn)},xe.exports=$e},7653:function(xe,$e,Ie){var Fe=Ie(1286),Ue=Ie(1694);$e=function(qe,At){var Dt;for(Dt=(At=Ue(At,qe)).shift();!Fe(Dt);){if((qe=qe[Dt])==null)return;Dt=At.shift()}return qe},xe.exports=$e},8079:function(xe,$e,Ie){var Fe=Ie(1694),Ue=Ie(1286),qe=Ie(3367),At=Ie(9804),Dt=Ie(6768);$e=function(Lt,jt,hn){var vn,bn=(jt=Fe(jt,Lt)).pop();for(vn=jt.shift();!Ue(vn);){if(Dt(vn)||At(vn)||(vn=qe(vn)),vn==="__proto__"||vn==="constructor"||vn==="prototype")return;Lt[vn]||(Lt[vn]={}),Lt=Lt[vn],vn=jt.shift()}Lt[bn]=hn},xe.exports=$e},615:function(xe,$e,Ie){var Fe=Ie(5026);$e=function(Ue){var qe;switch(Ue=Ue||"local"){case"local":qe=window.localStorage;break;case"session":qe=window.sessionStorage}try{var At="test-localStorage-"+Date.now();qe.setItem(At,At);var Dt=qe.getItem(At);if(qe.removeItem(At),Dt!==At)throw new Error}catch{return Fe}return qe},xe.exports=$e},4224:function(xe,$e,Ie){var Fe=Ie(6334);$e=function(Ue,qe){return Ue=new Fe(Ue),qe=new Fe(qe),Ue.port=0|Ue.port||(Ue.protocol==="https"?443:80),qe.port=0|qe.port||(qe.protocol==="https"?443:80),Ue.protocol===qe.protocol&&Ue.hostname===qe.hostname&&Ue.port===qe.port},xe.exports=$e},9677:function(xe,$e){$e=function(Ie,Fe,Ue){var qe=Ie.length;Fe=Fe==null?0:Fe<0?Math.max(qe+Fe,0):Math.min(Fe,qe),Ue=Ue==null?qe:Ue<0?Math.max(qe+Ue,0):Math.min(Ue,qe);for(var At=[];Fe<Ue;)At.push(Ie[Fe++]);return At},xe.exports=$e},6053:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(1369),qe=Ie(2533);$e=function(At,Dt,Lt){Dt=Fe(Dt,Lt);for(var jt=!Ue(At)&&qe(At),hn=(jt||At).length,vn=0;vn<hn;vn++){var bn=jt?jt[vn]:vn;if(Dt(At[bn],bn,At))return!0}return!1},xe.exports=$e},3629:function(xe,$e,Ie){var Fe=Ie(3843),Ue=Ie(4193),qe=Ie(2533),At=Ie(6472),Dt=Ie(5166);$e=function(jt){var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ue(hn,Lt);var vn=hn.deep,bn=hn.comparator,_n=[],wn=[];return function kn(Cn){var Sn,xn=_n.indexOf(Cn);if(xn>-1)return wn[xn];if(At(Cn)){Sn=[],_n.push(Cn),wn.push(Sn);for(var En=0,Tn=Cn.length;En<Tn;En++){var An=Cn[En];vn&&Dt(An)?Sn[En]=kn(An):Sn[En]=An}}else{Sn={},_n.push(Cn),wn.push(Sn);for(var $n=qe(Cn).sort(bn),Pn=0,Nn=$n.length;Pn<Nn;Pn++){var Mn=$n[Pn],In=Cn[Mn];vn&&Dt(In)?Sn[Mn]=kn(In):Sn[Mn]=In}}return Sn}(jt)};var Lt={deep:!1,comparator:Fe.defComparator};xe.exports=$e},8935:function(xe,$e){var Ie=/([A-Z])/g,Fe=/[_.\- ]+/g,Ue=/(^-)|(-$)/g;$e=function(qe){return(qe=qe.replace(Ie,"-$1").toLowerCase().replace(Fe,"-").replace(Ue,"")).split("-")},xe.exports=$e},6930:function(xe,$e){$e=function(Ie,Fe){return Ie.indexOf(Fe)===0},xe.exports=$e},4400:function(xe,$e,Ie){var Fe=Ie(3085),Ue=Ie(3023),qe=Ie(3367),At=Ie(1286),Dt=Ie(4777),Lt=Ie(1754);$e=function(jt,hn){return JSON.stringify(jt,(vn=[],bn=[],function(_n,wn){if(vn.length>0){var kn=vn.indexOf(this);kn>-1?(vn.splice(kn+1),bn.splice(kn,1/0,_n)):(vn.push(this),bn.push(_n));var Cn=vn.indexOf(wn);Cn>-1&&(wn=vn[0]===wn?"[Circular ~]":"[Circular ~."+bn.slice(0,Cn).join(".")+"]")}else vn.push(wn);return Lt(wn)||Dt(wn)?wn="["+Ue(Fe(wn))+" "+qe(wn)+"]":At(wn)&&(wn=null),wn}),hn);var vn,bn},xe.exports=$e},9963:function(xe,$e,Ie){var Fe=Ie(4187),Ue=Ie(3085),qe=Ie(3367),At=Ie(4858),Dt=Ie(300),Lt=Ie(2533),jt=Ie(3783),hn=Ie(7496),vn=Ie(415),bn=Ie(801),_n=Ie(6329),wn=Ie(4321),kn=Ie(5972),Cn=Ie(8847),Sn=Ie(1116),xn=Ie(6341),En=Ie(5166),Tn=Ie(9537),An=Ie(1662),$n=Ie(6930),Pn=Ie(8079),Nn=Ie(9803),Mn=Ie(3487),In=Ie(1369);function On(Fn,zn,jn,Gn){var Wn=[];return jt(zn,function(Xn){var er,rr=Object.getOwnPropertyDescriptor(jn,Xn),Jn=rr&&rr.get,qn=rr&&rr.set;if(!Gn.accessGetter&&Jn)er="(...)";else try{if(er=jn[Xn],xn(Gn.ignore,er))return;wn(er)&&er.catch(function(){})}catch(Yn){er=Yn.message}Wn.push("".concat(Rn(Xn),":").concat($e(er,Gn))),Jn&&Wn.push("".concat(Rn("get "+qe(Xn)),":").concat($e(rr.get,Gn))),qn&&Wn.push("".concat(Rn("set "+qe(Xn)),":").concat($e(rr.set,Gn)))}),'"'.concat(Fn,'":{')+Wn.join(",")+"}"}function Rn(Fn){return'"'.concat(Vn(Fn),'"')}function Bn(Fn){return'"'.concat(Vn(qe(Fn)),'"')}function Vn(Fn){return Fe(Fn).replace(/\\'/g,"'").replace(/\t/g,"\\t")}$e=function(Fn){var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jn=zn.self,Gn=zn.startTime,Wn=Gn===void 0?Cn():Gn,Xn=zn.timeout,er=Xn===void 0?0:Xn,rr=zn.depth,Jn=rr===void 0?0:rr,qn=zn.curDepth,Yn=qn===void 0?1:qn,ar=zn.visitor,tr=ar===void 0?new Ln:ar,or=zn.unenumerable,sr=or!==void 0&&or,Kn=zn.symbol,Zn=Kn!==void 0&&Kn,nr=zn.accessGetter,lr=nr!==void 0&&nr,ir=zn.ignore,kr=ir===void 0?[]:ir,Cr="",Er={visitor:tr,unenumerable:sr,symbol:Zn,accessGetter:lr,depth:Jn,curDepth:Yn+1,timeout:er,startTime:Wn,ignore:kr},dr=Ue(Fn,!1);if(dr==="String")Cr=Bn(Fn);else if(dr==="Number")Cr=qe(Fn),At(Cr,"Infinity")&&(Cr='{"value":"'.concat(Cr,'","type":"Number"}'));else if(dr==="NaN")Cr='{"value":"NaN","type":"Number"}';else if(dr==="Boolean")Cr=Fn?"true":"false";else if(dr==="Null")Cr="null";else if(dr==="Undefined")Cr='{"type":"Undefined"}';else if(dr==="Symbol"){var br="Symbol";try{br=qe(Fn)}catch{}Cr='{"value":'.concat(Bn(br),',"type":"Symbol"}')}else{if(er&&Cn()-Wn>er)return Bn("Timeout");if(Jn&&Yn>Jn)return Bn("{...}");Cr="{";var _r,Pr=[],vr=tr.get(Fn);if(vr?(_r=vr.id,Pr.push('"reference":'.concat(_r))):(_r=tr.set(Fn),Pr.push('"id":'.concat(_r))),Pr.push('"type":"'.concat(dr,'"')),At(dr,"Function")?Pr.push('"value":'.concat(Bn(Dt(Fn)))):dr==="RegExp"&&Pr.push('"value":'.concat(Bn(Fn))),!vr){var xr=Lt(Fn);if(xr.length&&Pr.push(On("enumerable",xr,jn||Fn,Er)),sr){var Rr=bn(Sn(Fn,{prototype:!1,unenumerable:!0}),xr);Rr.length&&Pr.push(On("unenumerable",Rr,jn||Fn,Er))}if(Zn){var Hr=kn(Sn(Fn,{prototype:!1,symbol:!0}),function($r){return typeof $r=="symbol"});Hr.length&&Pr.push(On("symbol",Hr,jn||Fn,Er))}var Jr=vn(Fn);if(Jr&&!xn(kr,Jr)){var Gr='"proto":'.concat($e(Jr,_n(Er,{self:jn||Fn})));Pr.push(Gr)}}Cr+=Pr.join(",")+"}"}return Cr};var Ln=hn({initialize:function(){this.id=1,this.visited=[]},set:function(Fn){var zn=this.visited,jn=this.id,Gn={id:jn,val:Fn};return zn.push(Gn),this.id++,jn},get:function(Fn){for(var zn=this.visited,jn=0,Gn=zn.length;jn<Gn;jn++){var Wn=zn[jn];if(Fn===Wn.val)return Wn}return!1}});function Dn(Fn,zn){var jn=zn.map;if(!En(Fn))return Fn;var Gn=Fn.id,Wn=Fn.type,Xn=Fn.value,er=Fn.proto,rr=Fn.reference,Jn=Fn.enumerable,qn=Fn.unenumerable;if(rr)return Fn;if(Wn==="Number")return Xn==="Infinity"?Number.POSITIVE_INFINITY:Xn==="-Infinity"?Number.NEGATIVE_INFINITY:NaN;if(Wn!=="Undefined"){var Yn,ar,tr;if(Wn==="Function")(Yn=function(){}).toString=function(){return Xn},er&&Object.setPrototypeOf(Yn,Dn(er,zn));else if(Wn==="RegExp")tr=(ar=Xn).lastIndexOf("/"),Yn=new RegExp(ar.slice(1,tr),ar.slice(tr+1));else{var or;Wn!=="Object"?(or=Tn?function(){}:new Function(Wn,""),er&&(or.prototype=Dn(er,zn)),Yn=new or):Yn=An(er?Dn(er,zn):null)}var sr,Kn={};return Jn&&(In(Jn)&&(sr=Jn.length,delete Jn.length),Jn=Mn(Jn,function(nr,lr){return!Zn(Jn,nr,lr)}),jt(Jn,function(nr,lr){(Kn[lr]||{}).get||(Yn[lr]=Dn(nr,zn))}),sr&&(Yn.length=sr)),qn&&(qn=Mn(qn,function(nr,lr){return!Zn(qn,nr,lr)}),jt(qn,function(nr,lr){var ir=Kn[lr]||{};if(!ir.get)if(nr=Dn(nr,zn),En(nr)&&nr.reference){var kr=nr.reference;nr=function(){return jn[kr]},ir.get=nr}else ir.value=nr;ir.enumerable=!1,Kn[lr]=ir})),Nn(Yn,Kn),jn[Gn]=Yn,Yn}function Zn(nr,lr,ir){ir=qe(ir);var kr=!1;return jt(["get","set"],function(Cr){if($n(ir,Cr+" ")){var Er=ir.replace(Cr+" ","");nr[Er]&&((lr=Dn(lr,zn))==="Timeout"&&(lr=Hn),Pn(Kn,[Er,Cr],lr),kr=!0)}}),kr}}function Hn(){return"Timeout"}$e.parse=function(Fn){var zn={},jn=Dn(JSON.parse(Fn),{map:zn});return function(Gn){jt(Gn,function(Wn){for(var Xn=Lt(Wn),er=0,rr=Xn.length;er<rr;er++){var Jn=Xn[er];if(En(Wn[Jn])){var qn=Wn[Jn].reference;qn&&Gn[qn]&&(Wn[Jn]=Gn[qn])}}var Yn=vn(Wn);Yn&&Yn.reference&&Gn[Yn.reference]&&Object.setPrototypeOf(Wn,Gn[Yn.reference])})}(zn),jn},xe.exports=$e},6677:function(xe,$e){var Ie=/<[^>]*>/g;$e=function(Fe){return Fe.replace(Ie,"")},xe.exports=$e},1907:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(1352),qe=Ie(6435),At=Ie(2461),Dt=Ie(4331);$e=function(jt){Fe(jt)&&(jt=Ue(jt));for(var hn="",vn=arguments.length,bn=new Array(vn>1?vn-1:0),_n=1;_n<vn;_n++)bn[_n-1]=arguments[_n];for(var wn=0,kn=jt.length;wn<kn;wn++)hn+=jt[wn],bn[wn]&&(hn+=bn[wn]);for(var Cn=hn.split(`
`),Sn=[],xn=0,En=Cn.length;xn<En;xn++){var Tn=Cn[xn].match(Lt);Tn&&Sn.push(Tn[1].length)}var An=Sn.length>0?qe.apply(null,Sn):0;return Dt(At(Cn,function($n){return $n[0]===" "?$n.slice(An):$n}).join(`
`))};var Lt=/^(\s+)\S+/;xe.exports=$e},2439:function(xe,$e,Ie){var Fe=Ie(6049);$e=function(Ue,qe){return Fe(Ue,qe,!0)},xe.exports=$e},1352:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(2461),qe=Ie(6472),At=Ie(6768);$e=function(Dt){return Dt?qe(Dt)?Dt:Fe(Dt)&&!At(Dt)?Ue(Dt):[Dt]:[]},xe.exports=$e},3474:function(xe,$e,Ie){var Fe=Ie(6768);$e=function(Ue){return Fe(Ue)?(Ue=Ue.toLowerCase())!=="0"&&Ue!==""&&Ue!=="false":!!Ue},xe.exports=$e},4891:function(xe,$e){var Ie=document;if($e=function(Ue){var qe=Ie.createElement("body");return qe.innerHTML=Ue,qe.childNodes[0]},Ie.createRange&&Ie.body){var Fe=Ie.createRange();Fe.selectNode(Ie.body),Fe.createContextualFragment&&($e=function(Ue){return Fe.createContextualFragment(Ue).childNodes[0]})}xe.exports=$e},9296:function(xe,$e,Ie){var Fe=Ie(3875);$e=function(Ue){return Ue?(Ue=Fe(Ue))-Ue%1:Ue===0?Ue:0},xe.exports=$e},3875:function(xe,$e,Ie){var Fe=Ie(3990),Ue=Ie(5166),qe=Ie(4777),At=Ie(6768);$e=function(Dt){if(Fe(Dt))return Dt;if(Ue(Dt)){var Lt=qe(Dt.valueOf)?Dt.valueOf():Dt;Dt=Ue(Lt)?Lt+"":Lt}return At(Dt)?+Dt:Dt===0?Dt:+Dt},xe.exports=$e},300:function(xe,$e,Ie){var Fe=Ie(2763);$e=function(qe){if(Fe(qe))return"";try{return Ue.call(qe)}catch{}try{return qe+""}catch{}return""};var Ue=Function.prototype.toString;xe.exports=$e},3367:function(xe,$e){$e=function(Ie){return Ie==null?"":Ie.toString()},xe.exports=$e},4331:function(xe,$e,Ie){var Fe=Ie(7767),Ue=Ie(3597);$e=function(qe,At){return At==null&&qe.trim?qe.trim():Fe(Ue(qe,At),At)},xe.exports=$e},7756:function(xe,$e,Ie){var Fe=Ie(4193),Ue=Ie(1286);$e=function(At,Dt){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Fe(Lt,qe);var jt=Lt.ellipsis,hn=Lt.separator;if(Dt>At.length)return At;var vn=Dt-jt.length;if(vn<1)return jt;var bn=At.slice(0,vn);if(Ue(hn))return bn+jt;if(At.indexOf(hn,vn)!==vn){var _n=bn.lastIndexOf(hn);_n>-1&&(bn=bn.slice(0,_n))}return bn+jt};var qe={ellipsis:"..."};xe.exports=$e},3085:function(xe,$e,Ie){var Fe=Ie(106),Ue=Ie(9433),qe=Ie(3063),At=Ie(2349);$e=function(Lt){var jt,hn=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return Lt===null&&(jt="Null"),Lt===void 0&&(jt="Undefined"),Ue(Lt)&&(jt="NaN"),At(Lt)&&(jt="Buffer"),jt||(jt=Fe(Lt).match(Dt))&&(jt=jt[1]),jt?hn?qe(jt):jt:""};var Dt=/^\[object\s+(.*?)]$/;xe.exports=$e},8166:function(xe,$e,Ie){var Fe=Ie(996),Ue=Ie(2461);$e={encode:function(qe){return qe.length<32768?String.fromCodePoint.apply(String,qe):Ue(Fe(qe,32767),function(At){return String.fromCodePoint.apply(String,At)}).join("")},decode:function(qe){for(var At=[],Dt=0,Lt=qe.length;Dt<Lt;){var jt=qe.charCodeAt(Dt++);if(jt>=55296&&jt<=56319&&Dt<Lt){var hn=qe.charCodeAt(Dt++);(64512&hn)==56320?At.push(((1023&jt)<<10)+(1023&hn)+65536):(At.push(jt),Dt--)}else At.push(jt)}return At}},xe.exports=$e},5484:function(xe,$e,Ie){var Fe=Ie(2727),Ue=Ie(8985),qe=!1;function At(Dt){qe&&$e.emit(Dt)}$e={start:function(){qe=!0},stop:function(){qe=!1}},Ue.mixin($e),Fe?(window.addEventListener("error",function(Dt){if(Dt.error)At(Dt.error);else if(Dt.message){var Lt=new Error(Dt.message);Lt.stack="Error: ".concat(Dt.message,` 
 at `).concat(Dt.filename,":").concat(Dt.lineno,":").concat(Dt.colno),At(Lt)}}),window.addEventListener("unhandledrejection",function(Dt){At(Dt.reason)})):(process.on("uncaughtException",At),process.on("unhandledRejection",At)),xe.exports=$e},7387:function(xe,$e,Ie){var Fe=Ie(8901),Ue=Ie(2533);$e=function(hn){return Dt.test(hn)?hn.replace(Lt,jt):hn};var qe=Ie(7190)(Fe.map),At="(?:"+Ue(qe).join("|")+")",Dt=new RegExp(At),Lt=new RegExp(At,"g");function jt(hn){return qe[hn]}xe.exports=$e},5229:function(xe,$e){var Ie=0;$e=function(Fe){var Ue=++Ie+"";return Fe?Fe+Ue:Ue},xe.exports=$e},42:function(xe,$e,Ie){var Fe=Ie(5972);function Ue(qe,At){return qe===At}$e=function(qe,At){return At=At||Ue,Fe(qe,function(Dt,Lt,jt){for(var hn=jt.length;++Lt<hn;)if(At(Dt,jt[Lt]))return!1;return!0})},xe.exports=$e},4502:function(xe,$e,Ie){var Fe=Ie(3367);$e=function(Ue){return Fe(Ue).toLocaleUpperCase()},xe.exports=$e},3023:function(xe,$e){$e=function(Ie){return Ie.length<1?Ie:Ie[0].toUpperCase()+Ie.slice(1)},xe.exports=$e},5742:function(xe,$e,Ie){var Fe=Ie(8166);$e={encode:function(Cn){for(var Sn=Fe.decode(Cn),xn="",En=0,Tn=Sn.length;En<Tn;En++)xn+=_n(Sn[En]);return xn},decode:function(Cn,Sn){Ue=Fe.decode(Cn),qe=0,At=Ue.length,Dt=0,Lt=0,jt=0,hn=128,vn=191;for(var xn,En=[];(xn=wn(Sn))!==!1;)En.push(xn);return Fe.encode(En)}};var Ue,qe,At,Dt,Lt,jt,hn,vn,bn=String.fromCharCode;function _n(Cn){if(!(4294967168&Cn))return bn(Cn);var Sn,xn,En="";for(4294965248&Cn?4294901760&Cn?!(4292870144&Cn)&&(Sn=3,xn=240):(Sn=2,xn=224):(Sn=1,xn=192),En+=bn((Cn>>6*Sn)+xn);Sn>0;)En+=bn(128|63&Cn>>6*(Sn-1)),Sn--;return En}function wn(Cn){for(;;){if(qe>=At&&jt){if(Cn)return kn();throw new Error("Invalid byte index")}if(qe===At)return!1;var Sn=Ue[qe];if(qe++,jt){if(Sn<hn||Sn>vn){if(Cn)return qe--,kn();throw new Error("Invalid continuation byte")}if(hn=128,vn=191,Dt=Dt<<6|63&Sn,++Lt===jt){var xn=Dt;return Dt=0,jt=0,Lt=0,xn}}else{if(!(128&Sn))return Sn;if((224&Sn)==192)jt=1,Dt=31&Sn;else if((240&Sn)==224)Sn===224&&(hn=160),Sn===237&&(vn=159),jt=2,Dt=15&Sn;else{if((248&Sn)!=240){if(Cn)return kn();throw new Error("Invalid UTF-8 detected")}Sn===240&&(hn=144),Sn===244&&(vn=143),jt=3,Dt=7&Sn}}}}function kn(){var Cn=qe-Lt-1;return qe=Cn+1,Dt=0,jt=0,Lt=0,hn=128,vn=191,Ue[Cn]}xe.exports=$e},5936:function(xe,$e,Ie){var Fe=Ie(3366);$e=function(){var At=Fe(16);return At[6]=15&At[6]|64,At[8]=63&At[8]|128,Ue[At[0]]+Ue[At[1]]+Ue[At[2]]+Ue[At[3]]+"-"+Ue[At[4]]+Ue[At[5]]+"-"+Ue[At[6]]+Ue[At[7]]+"-"+Ue[At[8]]+Ue[At[9]]+"-"+Ue[At[10]]+Ue[At[11]]+Ue[At[12]]+Ue[At[13]]+Ue[At[14]]+Ue[At[15]]};for(var Ue=[],qe=0;qe<256;qe++)Ue[qe]=(qe+256).toString(16).substr(1);xe.exports=$e},2578:function(xe,$e,Ie){var Fe=Ie(3783);$e=function(Ue){var qe=[];return Fe(Ue,function(At){qe.push(At)}),qe},xe.exports=$e},3514:function(xe,$e,Ie){var Fe=Ie(8573),Ue=Ie(9882),qe=Ie(4331),At=Ie(3783),Dt=Ie(2461),Lt=Ie(9433);$e=function(){var jt=Fe("viewport");if(!jt)return 1;jt=Dt(jt.split(","),function(wn){return qe(wn)});var hn=.25,vn=5,bn=1;At(jt,function(wn){var kn=(wn=wn.split("="))[0];wn=wn[1],kn==="initial-scale"&&(bn=+wn),kn==="maximum-scale"&&(vn=+wn),kn==="minimum-scale"&&(hn=+wn)});var _n=Ue(bn,hn,vn);return Lt(_n)?1:_n},xe.exports=$e},8933:function(xe,$e){$e=function(Ie){for(var Fe=[],Ue=document.evaluate(Ie,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),qe=0;qe<Ue.snapshotLength;qe++)Fe.push(Ue.snapshotItem(qe));return Fe},xe.exports=$e},3577:function(xe,$e){Object.defineProperty($e,"__esModule",{value:!0}),$e.default=[["menuitem","command"],["rel","roletype"],["article","article"],["header","banner"],["input","button",[["type","checkbox"]]],["summary","button",[["aria-expanded","false"]]],["summary","button",[["aria-expanded","true"]]],["input","button",[["type","button"]]],["input","button",[["type","image"]]],["input","button",[["type","reset"]]],["input","button",[["type","submit"]]],["button","button"],["td","cell"],["input","checkbox",[["type","checkbox"]]],["th","columnheader"],["input","combobox",[["type","email"]]],["input","combobox",[["type","search"]]],["input","combobox",[["type","tel"]]],["input","combobox",[["type","text"]]],["input","combobox",[["type","url"]]],["input","combobox",[["type","url"]]],["select","combobox"],["select","combobox",[["size",1]]],["aside","complementary"],["footer","contentinfo"],["dd","definition"],["dialog","dialog"],["body","document"],["figure","figure"],["form","form"],["form","form"],["form","form"],["span","generic"],["div","generic"],["table","grid",[["role","grid"]]],["td","gridcell",[["role","gridcell"]]],["details","group"],["fieldset","group"],["optgroup","group"],["h1","heading"],["h2","heading"],["h3","heading"],["h4","heading"],["h5","heading"],["h6","heading"],["img","img"],["img","img"],["a","link"],["area","link"],["link","link"],["menu","list"],["ol","list"],["ul","list"],["select","listbox"],["select","listbox"],["select","listbox"],["datalist","listbox"],["li","listitem"],["main","main"],["math","math"],["menuitem","command"],["nav","navigation"],["option","option"],["progress","progressbar"],["input","radio",[["type","radio"]]],["section","region"],["section","region"],["frame","region"],["tr","row"],["tbody","rowgroup"],["tfoot","rowgroup"],["thead","rowgroup"],["th","rowheader",[["scope","row"]]],["input","searchbox",[["type","search"]]],["hr","separator"],["input","slider",[["type","range"]]],["input","spinbutton",[["type","number"]]],["output","status"],["table","table"],["dfn","term"],["input","textbox"],["input","textbox",[["type","email"]]],["input","textbox",[["type","tel"]]],["input","textbox",[["type","text"]]],["input","textbox",[["type","url"]]],["textarea","textbox"]]},7715:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(Bn,Vn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ln,Dn){Ln.__proto__=Dn}||function(Ln,Dn){for(var Hn in Dn)Object.prototype.hasOwnProperty.call(Dn,Hn)&&(Ln[Hn]=Dn[Hn])},Fe(Bn,Vn)},function(Bn,Vn){if(typeof Vn!="function"&&Vn!==null)throw new TypeError("Class extends value "+String(Vn)+" is not a constructor or null");function Ln(){this.constructor=Bn}Fe(Bn,Vn),Bn.prototype=Vn===null?Object.create(Vn):(Ln.prototype=Vn.prototype,new Ln)}),qe=this&&this.__assign||function(){return qe=Object.assign||function(Bn){for(var Vn,Ln=1,Dn=arguments.length;Ln<Dn;Ln++)for(var Hn in Vn=arguments[Ln])Object.prototype.hasOwnProperty.call(Vn,Hn)&&(Bn[Hn]=Vn[Hn]);return Bn},qe.apply(this,arguments)},At=this&&this.__values||function(Bn){var Vn=typeof Symbol=="function"&&Symbol.iterator,Ln=Vn&&Bn[Vn],Dn=0;if(Ln)return Ln.call(Bn);if(Bn&&typeof Bn.length=="number")return{next:function(){return Bn&&Dn>=Bn.length&&(Bn=void 0),{value:Bn&&Bn[Dn++],done:!Bn}}};throw new TypeError(Vn?"Object is not iterable.":"Symbol.iterator is not defined.")},Dt=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0});var Lt=Dt(Ie(1160)),jt=Ie(7669),hn=Ie(2062),vn=Dt(Ie(242)),bn=Dt(Ie(2439)),_n=Dt(Ie(3063)),wn=Dt(Ie(3783)),kn=Dt(Ie(3009)),Cn=Dt(Ie(5044)),Sn=Dt(Ie(4502)),xn=Dt(Ie(6329)),En=Dt(Ie(7494)),Tn=Dt(Ie(6341)),An=Dt(Ie(3875)),$n=Dt(Ie(3577)),Pn=Dt(Ie(6768));Ie(8169);var Nn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this,Ln,{compName:"dom-highlighter"},Dn)||this;return Hn.overlay=new jt.HighlightOverlay(window),Hn.reset=function(){var Fn=document.documentElement.clientWidth,zn=document.documentElement.clientHeight;Hn.overlay.reset({viewportSize:{width:Fn,height:zn},deviceScaleFactor:1,pageScaleFactor:1,pageZoomFactor:1,emulationScaleFactor:1,scrollX:window.scrollX,scrollY:window.scrollY})},Hn.initOptions(Dn,{showRulers:!1,showExtensionLines:!1,showInfo:!0,showStyles:!0,showAccessibilityInfo:!0,colorFormat:"hex",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)",monitorResize:!0}),Hn.overlay.setContainer(Ln),Hn.overlay.setPlatform("mac"),Hn.redraw=(0,bn.default)(function(){Hn.reset(),Hn.draw()},16),Hn.redraw(),Hn.bindEvent(),Hn}return Ue(Vn,Bn),Vn.prototype.highlight=function(Ln,Dn){Dn&&(0,xn.default)(this.options,Dn),this.target=Ln,Ln instanceof HTMLElement&&this.options.monitorResize&&(this.resizeSensor&&this.resizeSensor.destroy(),this.resizeSensor=new vn.default(Ln),this.resizeSensor.addListener(this.redraw)),this.redraw()},Vn.prototype.hide=function(){this.target=null,this.redraw()},Vn.prototype.intercept=function(Ln){this.interceptor=Ln},Vn.prototype.destroy=function(){window.removeEventListener("resize",this.redraw),window.removeEventListener("scroll",this.redraw),this.resizeSensor&&this.resizeSensor.destroy(),Bn.prototype.destroy.call(this)},Vn.prototype.draw=function(){var Ln=this.target;Ln&&(Ln instanceof Text?this.drawText(Ln):this.drawElement(Ln))},Vn.prototype.drawText=function(Ln){var Dn=this.options,Hn=document.createRange();Hn.selectNode(Ln);var Fn=Hn.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height;Hn.detach();var Xn={paths:[{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.contentColor),name:"content"}],showExtensionLines:Dn.showExtensionLines,showRulers:Dn.showRulers};Dn.showInfo&&(Xn.elementInfo={tagName:"#text",nodeWidth:Gn,nodeHeight:Wn}),this.overlay.drawHighlight(Xn)},Vn.prototype.drawElement=function(Ln){var Dn={paths:this.getPaths(Ln),showExtensionLines:this.options.showExtensionLines,showRulers:this.options.showRulers,colorFormat:this.options.colorFormat};if(this.options.showInfo&&(Dn.elementInfo=this.getElementInfo(Ln)),this.interceptor){var Hn=this.interceptor(Dn);Hn&&(Dn=Hn)}this.overlay.drawHighlight(Dn)},Vn.prototype.getPaths=function(Ln){var Dn=this.options,Hn=window.getComputedStyle(Ln),Fn=Ln.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height,Xn=function(lr){return(0,hn.pxToNum)(Hn.getPropertyValue(lr))},er=Xn("margin-left"),rr=Xn("margin-right"),Jn=Xn("margin-top"),qn=Xn("margin-bottom"),Yn=Xn("border-left-width"),ar=Xn("border-right-width"),tr=Xn("border-top-width"),or=Xn("border-bottom-width"),sr=Xn("padding-left"),Kn=Xn("padding-right"),Zn=Xn("padding-top"),nr=Xn("padding-bottom");return[{path:this.rectToPath({left:zn+Yn+sr,top:jn+tr+Zn,width:Gn-Yn-sr-ar-Kn,height:Wn-tr-Zn-or-nr}),fillColor:On(Dn.contentColor),name:"content"},{path:this.rectToPath({left:zn+Yn,top:jn+tr,width:Gn-Yn-ar,height:Wn-tr-or}),fillColor:On(Dn.paddingColor),name:"padding"},{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.borderColor),name:"border"},{path:this.rectToPath({left:zn-er,top:jn-Jn,width:Gn+er+rr,height:Wn+Jn+qn}),fillColor:On(Dn.marginColor),name:"margin"}]},Vn.prototype.getElementInfo=function(Ln){var Dn=Ln.getBoundingClientRect(),Hn=Dn.width,Fn=Dn.height,zn=Ln.getAttribute("class")||"";zn=zn.split(/\s+/).map(function(Gn){return"."+Gn}).join("");var jn={tagName:(0,_n.default)(Ln.tagName),className:zn,idValue:Ln.id,nodeWidth:Hn,nodeHeight:Fn};return this.options.showStyles&&(jn.style=this.getStyles(Ln)),this.options.showAccessibilityInfo&&(0,xn.default)(jn,this.getAccessibilityInfo(Ln)),jn},Vn.prototype.getStyles=function(Ln){for(var Dn=window.getComputedStyle(Ln),Hn=!1,Fn=Ln.childNodes,zn=0,jn=Fn.length;zn<jn;zn++)Fn[zn].nodeType===3&&(Hn=!0);var Gn=[];return Hn&&Gn.push("color","font-family","font-size","line-height"),Gn.push("padding","margin","background-color"),Rn(Dn,Gn)},Vn.prototype.getAccessibilityInfo=function(Ln){var Dn=window.getComputedStyle(Ln);return qe({showAccessibilityInfo:!0,contrast:qe({contrastAlgorithm:"aa",textOpacity:.1},Rn(Dn,["font-size","font-weight","background-color","text-opacity"],!0)),isKeyboardFocusable:this.isFocusable(Ln)},this.getAccessibleNameAndRole(Ln))},Vn.prototype.isFocusable=function(Ln){var Dn=(0,_n.default)(Ln.tagName);if((0,Tn.default)(["a","button","input","textarea","select","details"],Dn))return!0;var Hn=Ln.getAttribute("tabindex");return!!(Hn&&(0,An.default)(Hn)>-1)},Vn.prototype.getAccessibleNameAndRole=function(Ln){var Dn=Ln.getAttribute("labelledby")||Ln.getAttribute("aria-label"),Hn=Ln.getAttribute("role"),Fn=(0,_n.default)(Ln.tagName);return $n.default.forEach(function(zn){var jn,Gn;if(!Hn){var Wn=zn[0],Xn=zn[2];if(Wn===Fn){if(Xn)try{for(var er=At(Xn),rr=er.next();!rr.done;rr=er.next()){var Jn=rr.value;if(Ln.getAttribute(Jn[0])!==Jn[1])return}}catch(qn){jn={error:qn}}finally{try{rr&&!rr.done&&(Gn=er.return)&&Gn.call(er)}finally{if(jn)throw jn.error}}Hn=zn[1]}}}),{accessibleName:Dn||Ln.getAttribute("title")||"",accessibleRole:Hn||"generic"}},Vn.prototype.bindEvent=function(){var Ln=this;window.addEventListener("resize",this.redraw),window.addEventListener("scroll",this.redraw),this.on("optionChange",function(){return Ln.redraw()})},Vn.prototype.rectToPath=function(Ln){var Dn=Ln.left,Hn=Ln.top,Fn=Ln.width,zn=Ln.height,jn=[];return jn.push("M",Dn,Hn),jn.push("L",Dn+Fn,Hn),jn.push("L",Dn+Fn,Hn+zn),jn.push("L",Dn,Hn+zn),jn.push("Z"),jn},Vn}(Lt.default);$e.default=Nn,xe.exports=Nn,xe.exports.default=Nn;var Mn=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,In=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/;function On(Bn){return(0,Pn.default)(Bn)?Bn:Bn.a?"rgba(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,", ").concat(Bn.a,")"):"rgb(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,")")}function Rn(Bn,Vn,Ln){Ln===void 0&&(Ln=!1);var Dn={};return(0,wn.default)(Vn,function(Hn){var Fn,zn=Bn[Hn==="text-opacity"?"color":Hn];zn&&(Fn=zn,(Mn.test(Fn)||In.test(Fn))&&(zn=function(jn){var Gn=kn.default.parse(jn),Wn=Gn.val[3]||1;return Gn.val=Gn.val.slice(0,3),Gn.val.push(Math.round(255*Wn)),"#"+(0,Sn.default)(Cn.default.encode(Gn.val))}(zn),Hn==="text-opacity"&&(zn=zn.slice(7),zn=Cn.default.decode(zn)[0]/255)),Ln&&(Hn=(0,En.default)(Hn)),Dn[Hn]=zn)}),Dn}},9706:function(xe,$e){var Ie=this&&this.__read||function(On,Rn){var Bn=typeof Symbol=="function"&&On[Symbol.iterator];if(!Bn)return On;var Vn,Ln,Dn=Bn.call(On),Hn=[];try{for(;(Rn===void 0||Rn-- >0)&&!(Vn=Dn.next()).done;)Hn.push(Vn.value)}catch(Fn){Ln={error:Fn}}finally{try{Vn&&!Vn.done&&(Bn=Dn.return)&&Bn.call(Dn)}finally{if(Ln)throw Ln.error}}return Hn},Fe=this&&this.__values||function(On){var Rn=typeof Symbol=="function"&&Symbol.iterator,Bn=Rn&&On[Rn],Vn=0;if(Bn)return Bn.call(On);if(On&&typeof On.length=="number")return{next:function(){return On&&Vn>=On.length&&(On=void 0),{value:On&&On[Vn++],done:!On}}};throw new TypeError(Rn?"Object is not iterable.":"Symbol.iterator is not defined.")};function Ue(On,Rn){var Bn=On[3];return[(1-Bn)*Rn[0]+Bn*On[0],(1-Bn)*Rn[1]+Bn*On[1],(1-Bn)*Rn[2]+Bn*On[2],Bn+Rn[3]*(1-Bn)]}function qe(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126*(Bn<=.03928?Bn/12.92:Math.pow((Bn+.055)/1.055,2.4))+.7152*(Vn<=.03928?Vn/12.92:Math.pow((Vn+.055)/1.055,2.4))+.0722*(Ln<=.03928?Ln/12.92:Math.pow((Ln+.055)/1.055,2.4))}Object.defineProperty($e,"__esModule",{value:!0}),$e.getContrastThreshold=$e.isLargeFont=$e.getAPCAThreshold=$e.desiredLuminanceAPCA=$e.contrastRatioByLuminanceAPCA=$e.contrastRatioAPCA=$e.luminanceAPCA=$e.contrastRatio=$e.luminance=$e.rgbaToHsla=$e.blendColors=void 0,$e.blendColors=Ue,$e.rgbaToHsla=function(On){var Rn=Ie(On,4),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2],Dn=Rn[3],Hn=Math.max(Bn,Vn,Ln),Fn=Math.min(Bn,Vn,Ln),zn=Hn-Fn,jn=Hn+Fn,Gn=.5*jn;return[Fn===Hn?0:Bn===Hn?(.16666666666666666*(Vn-Ln)/zn+1)%1:Vn===Hn?.16666666666666666*(Ln-Bn)/zn+.3333333333333333:.16666666666666666*(Bn-Vn)/zn+.6666666666666666,Gn===0||Gn===1?0:Gn<=.5?zn/jn:zn/(2-jn),Gn,Dn]},$e.luminance=qe,$e.contrastRatio=function(On,Rn){var Bn=qe(Ue(On,Rn)),Vn=qe(Rn);return(Math.max(Bn,Vn)+.05)/(Math.min(Bn,Vn)+.05)};var At=2.4,Dt=.55,Lt=.58,jt=.62,hn=.57,vn=.03,bn=1.45,_n=1.25,wn=1.25,kn=5e-4,Cn=.078,Sn=12.82051282051282,xn=.06,En=.001;function Tn(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126729*Math.pow(Bn,At)+.7151522*Math.pow(Vn,At)+.072175*Math.pow(Ln,At)}function An(On){return On>vn?On:On+Math.pow(vn-On,bn)}function $n(On,Rn){if(On=An(On),Rn=An(Rn),Math.abs(On-Rn)<kn)return 0;var Bn=0;return 100*(Bn=Rn>=On?(Bn=(Math.pow(Rn,Dt)-Math.pow(On,Lt))*_n)<En?0:Bn<Cn?Bn-Bn*Sn*xn:Bn-xn:(Bn=(Math.pow(Rn,jt)-Math.pow(On,hn))*wn)>-En?0:Bn>-Cn?Bn-Bn*Sn*xn:Bn+xn)}$e.luminanceAPCA=Tn,$e.contrastRatioAPCA=function(On,Rn){return $n(Tn(On),Tn(Rn))},$e.contrastRatioByLuminanceAPCA=$n,$e.desiredLuminanceAPCA=function(On,Rn,Bn){function Vn(){return Bn?Math.pow(Math.abs(Math.pow(On,jt)-(-Rn-xn)/wn),1/hn):Math.pow(Math.abs(Math.pow(On,Dt)-(Rn+xn)/_n),1/Lt)}On=An(On),Rn/=100;var Ln=Vn();return(Ln<0||Ln>1)&&(Bn=!Bn,Ln=Vn()),Ln};var Pn=[[12,-1,-1,-1,-1,100,90,80,-1,-1],[14,-1,-1,-1,100,90,80,60,60,-1],[16,-1,-1,100,90,80,60,55,50,50],[18,-1,-1,90,80,60,55,50,40,40],[24,-1,100,80,60,55,50,40,38,35],[30,-1,90,70,55,50,40,38,35,40],[36,-1,80,60,50,40,38,35,30,25],[48,100,70,55,40,38,35,30,25,20],[60,90,60,50,38,35,30,25,20,20],[72,80,55,40,35,30,25,20,20,20],[96,70,50,35,30,25,20,20,20,20],[120,60,40,30,25,20,20,20,20,20]];function Nn(On,Rn){var Bn=72*parseFloat(On.replace("px",""))/96;return["bold","bolder","600","700","800","900"].indexOf(Rn)!==-1?Bn>=14:Bn>=18}Pn.reverse(),$e.getAPCAThreshold=function(On,Rn){var Bn,Vn,Ln,Dn,Hn=parseFloat(On.replace("px","")),Fn=parseFloat(Rn);try{for(var zn=Fe(Pn),jn=zn.next();!jn.done;jn=zn.next()){var Gn=Ie(jn.value),Wn=Gn[0],Xn=Gn.slice(1);if(Hn>=Wn)try{for(var er=(Ln=void 0,Fe([900,800,700,600,500,400,300,200,100].entries())),rr=er.next();!rr.done;rr=er.next()){var Jn=Ie(rr.value,2),qn=Jn[0];if(Fn>=Jn[1]){var Yn=Xn[Xn.length-1-qn];return Yn===-1?null:Yn}}}catch(ar){Ln={error:ar}}finally{try{rr&&!rr.done&&(Dn=er.return)&&Dn.call(er)}finally{if(Ln)throw Ln.error}}}}catch(ar){Bn={error:ar}}finally{try{jn&&!jn.done&&(Vn=zn.return)&&Vn.call(zn)}finally{if(Bn)throw Bn.error}}return null},$e.isLargeFont=Nn;var Mn={aa:3,aaa:4.5},In={aa:4.5,aaa:7};$e.getContrastThreshold=function(On,Rn){return Nn(On,Rn)?Mn:In}},9434:function(xe,$e){var Ie=this&&this.__values||function(jt){var hn=typeof Symbol=="function"&&Symbol.iterator,vn=hn&&jt[hn],bn=0;if(vn)return vn.call(jt);if(jt&&typeof jt.length=="number")return{next:function(){return jt&&bn>=jt.length&&(jt=void 0),{value:jt&&jt[bn++],done:!jt}}};throw new TypeError(hn?"Object is not iterable.":"Symbol.iterator is not defined.")},Fe=this&&this.__read||function(jt,hn){var vn=typeof Symbol=="function"&&jt[Symbol.iterator];if(!vn)return jt;var bn,_n,wn=vn.call(jt),kn=[];try{for(;(hn===void 0||hn-- >0)&&!(bn=wn.next()).done;)kn.push(bn.value)}catch(Cn){_n={error:Cn}}finally{try{bn&&!bn.done&&(vn=wn.return)&&vn.call(wn)}finally{if(_n)throw _n.error}}return kn},Ue=this&&this.__spreadArray||function(jt,hn,vn){if(vn||arguments.length===2)for(var bn,_n=0,wn=hn.length;_n<wn;_n++)!bn&&_n in hn||(bn||(bn=Array.prototype.slice.call(hn,0,_n)),bn[_n]=hn[_n]);return jt.concat(bn||Array.prototype.slice.call(hn))};Object.defineProperty($e,"__esModule",{value:!0}),$e.adoptStyleSheet=$e.constrainNumber=$e.ellipsify=$e.createElement=$e.createTextChild=$e.createChild=$e.log=$e.Overlay=void 0;var qe=function(){function jt(hn,vn){vn===void 0&&(vn=[]),this.viewportSize={width:800,height:600},this.deviceScaleFactor=1,this.emulationScaleFactor=1,this.pageScaleFactor=1,this.pageZoomFactor=1,this.scrollX=0,this.scrollY=0,this.canvasWidth=0,this.canvasHeight=0,this._installed=!1,this._window=hn,this._document=hn.document,Array.isArray(vn)||(vn=[vn]),this.style=vn}return jt.prototype.setCanvas=function(hn){this.canvas=hn,this._context=hn.getContext("2d")},jt.prototype.install=function(){var hn,vn;try{for(var bn=Ie(this.style),_n=bn.next();!_n.done;_n=bn.next())Lt(_n.value)}catch(wn){hn={error:wn}}finally{try{_n&&!_n.done&&(vn=bn.return)&&vn.call(bn)}finally{if(hn)throw hn.error}}this._installed=!0},jt.prototype.uninstall=function(){var hn,vn,bn=function(kn){document.adoptedStyleSheets=document.adoptedStyleSheets.filter(function(Cn){return Cn!==kn})};try{for(var _n=Ie(this.style),wn=_n.next();!wn.done;wn=_n.next())bn(wn.value)}catch(kn){hn={error:kn}}finally{try{wn&&!wn.done&&(vn=_n.return)&&vn.call(_n)}finally{if(hn)throw hn.error}}this._installed=!1},jt.prototype.reset=function(hn){hn&&(this.viewportSize=hn.viewportSize,this.visualViewportSize=hn.visualViewportSize,this.deviceScaleFactor=hn.deviceScaleFactor,this.pageScaleFactor=hn.pageScaleFactor,this.pageZoomFactor=hn.pageZoomFactor,this.emulationScaleFactor=hn.emulationScaleFactor,this.scrollX=Math.round(hn.scrollX),this.scrollY=Math.round(hn.scrollY)),this.resetCanvas()},jt.prototype.resetCanvas=function(){this.canvas&&this._context&&(this.canvas.width=this.deviceScaleFactor*this.viewportSize.width,this.canvas.height=this.deviceScaleFactor*this.viewportSize.height,this.canvas.style.width=this.viewportSize.width+"px",this.canvas.style.height=this.viewportSize.height+"px",this._context.scale(this.deviceScaleFactor,this.deviceScaleFactor),this.canvasWidth=this.viewportSize.width,this.canvasHeight=this.viewportSize.height)},jt.prototype.setPlatform=function(hn){this.platform=hn,this._installed||this.install()},jt.prototype.dispatch=function(hn){this[hn.shift()].apply(this,hn)},jt.prototype.eventHasCtrlOrMeta=function(hn){return this.platform==="mac"?hn.metaKey&&!hn.ctrlKey:hn.ctrlKey&&!hn.metaKey},Object.defineProperty(jt.prototype,"context",{get:function(){if(!this._context)throw new Error("Context object is missing");return this._context},enumerable:!1,configurable:!0}),Object.defineProperty(jt.prototype,"document",{get:function(){if(!this._document)throw new Error("Document object is missing");return this._document},enumerable:!1,configurable:!0}),Object.defineProperty(jt.prototype,"window",{get:function(){if(!this._window)throw new Error("Window object is missing");return this._window},enumerable:!1,configurable:!0}),Object.defineProperty(jt.prototype,"installed",{get:function(){return this._installed},enumerable:!1,configurable:!0}),jt}();function At(jt,hn,vn){var bn=Dt(hn,vn);return bn.addEventListener("click",function(_n){_n.stopPropagation()},!1),jt.appendChild(bn),bn}function Dt(jt,hn){var vn=document.createElement(jt);if(hn){var bn=hn.split(/\s+/);bn=bn.map(function(_n){return"luna-dom-highlighter-"+_n}),vn.className=bn.join(" ")}return vn}function Lt(jt){document.adoptedStyleSheets=Ue(Ue([],Fe(document.adoptedStyleSheets),!1),[jt],!1)}$e.Overlay=qe,$e.log=function(jt){var hn=document.getElementById("log");hn||((hn=At(document.body,"div")).id="log"),At(hn,"div").textContent=jt},$e.createChild=At,$e.createTextChild=function(jt,hn){var vn=document.createTextNode(hn);return jt.appendChild(vn),vn},$e.createElement=Dt,$e.ellipsify=function(jt,hn){return jt.length<=hn?String(jt):jt.substr(0,hn-1)+"…"},$e.constrainNumber=function(jt,hn,vn){return jt<hn?jt=hn:jt>vn&&(jt=vn),jt},$e.adoptStyleSheet=Lt},1521:function(xe,$e,Ie){var Fe=this&&this.__values||function(Sn){var xn=typeof Symbol=="function"&&Symbol.iterator,En=xn&&Sn[xn],Tn=0;if(En)return En.call(Sn);if(Sn&&typeof Sn.length=="number")return{next:function(){return Sn&&Tn>=Sn.length&&(Sn=void 0),{value:Sn&&Sn[Tn++],done:!Sn}}};throw new TypeError(xn?"Object is not iterable.":"Symbol.iterator is not defined.")},Ue=this&&this.__read||function(Sn,xn){var En=typeof Symbol=="function"&&Sn[Symbol.iterator];if(!En)return Sn;var Tn,An,$n=En.call(Sn),Pn=[];try{for(;(xn===void 0||xn-- >0)&&!(Tn=$n.next()).done;)Pn.push(Tn.value)}catch(Nn){An={error:Nn}}finally{try{Tn&&!Tn.done&&(En=$n.return)&&En.call($n)}finally{if(An)throw An.error}}return Pn},qe=this&&this.__spreadArray||function(Sn,xn,En){if(En||arguments.length===2)for(var Tn,An=0,$n=xn.length;An<$n;An++)!Tn&&An in xn||(Tn||(Tn=Array.prototype.slice.call(xn,0,An)),Tn[An]=xn[An]);return Sn.concat(Tn||Array.prototype.slice.call(xn))},At=this&&this.__importDefault||function(Sn){return Sn&&Sn.__esModule?Sn:{default:Sn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.drawPath=$e.formatColor=$e.formatRgba=$e.parseHexa=$e.createPathForQuad=$e.hatchFillPath=$e.applyMatrixToPoint=$e.emptyBounds=$e.buildPath=$e.fillPathWithBoxStyle=$e.drawPathWithLineStyle=void 0;var Dt=At(Ie(4858)),Lt=Ie(9706);function jt(Sn,xn,En){var Tn=0;function An(Nn){for(var Mn=[],In=0;In<Nn;++In){var On=Math.round(Sn[Tn++]*En);xn.maxX=Math.max(xn.maxX,On),xn.minX=Math.min(xn.minX,On);var Rn=Math.round(Sn[Tn++]*En);xn.maxY=Math.max(xn.maxY,Rn),xn.minY=Math.min(xn.minY,Rn),xn.leftmostXForY[Rn]=Math.min(xn.leftmostXForY[Rn]||Number.MAX_VALUE,On),xn.rightmostXForY[Rn]=Math.max(xn.rightmostXForY[Rn]||Number.MIN_VALUE,On),xn.topmostYForX[On]=Math.min(xn.topmostYForX[On]||Number.MAX_VALUE,Rn),xn.bottommostYForX[On]=Math.max(xn.bottommostYForX[On]||Number.MIN_VALUE,Rn),xn.allPoints.push({x:On,y:Rn}),Mn.push(On,Rn)}return Mn}for(var $n=Sn.length,Pn=new Path2D;Tn<$n;)switch(Sn[Tn++]){case"M":Pn.moveTo.apply(Pn,An(1));break;case"L":Pn.lineTo.apply(Pn,An(1));break;case"C":Pn.bezierCurveTo.apply(Pn,An(3));break;case"Q":Pn.quadraticCurveTo.apply(Pn,An(2));break;case"Z":Pn.closePath()}return Pn}$e.drawPathWithLineStyle=function(Sn,xn,En,Tn){Tn===void 0&&(Tn=1),En&&En.color&&(Sn.save(),Sn.translate(.5,.5),Sn.lineWidth=Tn,En.pattern==="dashed"&&Sn.setLineDash([3,3]),En.pattern==="dotted"&&Sn.setLineDash([2,2]),Sn.strokeStyle=En.color,Sn.stroke(xn),Sn.restore())},$e.fillPathWithBoxStyle=function(Sn,xn,En,Tn,An){An&&(Sn.save(),An.fillColor&&(Sn.fillStyle=An.fillColor,Sn.fill(xn)),An.hatchColor&&wn(Sn,xn,En,10,An.hatchColor,Tn,!1),Sn.restore())},$e.buildPath=jt,$e.emptyBounds=function(){return{minX:Number.MAX_VALUE,minY:Number.MAX_VALUE,maxX:-Number.MAX_VALUE,maxY:-Number.MAX_VALUE,leftmostXForY:{},rightmostXForY:{},topmostYForX:{},bottommostYForX:{},allPoints:[]}},$e.applyMatrixToPoint=function(Sn,xn){var En=new DOMPoint(Sn.x,Sn.y);return{x:(En=En.matrixTransform(xn)).x,y:En.y}};var hn,vn=5,bn=3,_n="";function wn(Sn,xn,En,Tn,An,$n,Pn){if((Sn.canvas.width<En.maxX-En.minX||Sn.canvas.height<En.maxY-En.minY)&&(En={minX:0,maxX:Sn.canvas.width,minY:0,maxY:Sn.canvas.height,allPoints:[]}),!hn||An!==_n){_n=An;var Nn=document.createElement("canvas");Nn.width=Tn,Nn.height=vn+bn;var Mn=Nn.getContext("2d");Mn.clearRect(0,0,Nn.width,Nn.height),Mn.rect(0,0,1,vn),Mn.fillStyle=An,Mn.fill(),hn=Sn.createPattern(Nn,"repeat")}Sn.save();var In=new DOMMatrix;hn.setTransform(In.scale(Pn?-1:1,1).rotate(0,0,-45+$n)),Sn.fillStyle=hn,Sn.fill(xn),Sn.restore()}function kn(Sn){return(Sn.match(/#(\w\w)(\w\w)(\w\w)(\w\w)/)||[]).slice(1).map(function(xn){return parseInt(xn,16)/255})}function Cn(Sn,xn){if(xn==="rgb"){var En=Ue(Sn,4),Tn=En[0],An=En[1],$n=En[2],Pn=En[3];return"rgb(".concat((255*Tn).toFixed()," ").concat((255*An).toFixed()," ").concat((255*$n).toFixed()).concat(Pn===1?"":" / "+Math.round(100*Pn)/100,")")}if(xn==="hsl"){var Nn=Ue((0,Lt.rgbaToHsla)(Sn),4),Mn=Nn[0],In=Nn[1],On=Nn[2];return Pn=Nn[3],"hsl(".concat(Math.round(360*Mn),"deg ").concat(Math.round(100*In)," ").concat(Math.round(100*On)).concat(Pn===1?"":" / "+Math.round(100*Pn)/100,")")}throw new Error("NOT_REACHED")}$e.hatchFillPath=wn,$e.createPathForQuad=function(Sn,xn,En,Tn){var An,$n,Pn=["M",Sn.p1.x,Sn.p1.y,"L",Sn.p2.x,Sn.p2.y,"L",Sn.p3.x,Sn.p3.y,"L",Sn.p4.x,Sn.p4.y];try{for(var Nn=Fe(xn),Mn=Nn.next();!Mn.done;Mn=Nn.next()){var In=Mn.value;Pn=qe(qe([],Ue(Pn),!1),["L",In.p4.x,In.p4.y,"L",In.p3.x,In.p3.y,"L",In.p2.x,In.p2.y,"L",In.p1.x,In.p1.y,"L",In.p4.x,In.p4.y,"L",Sn.p4.x,Sn.p4.y],!1)}}catch(On){An={error:On}}finally{try{Mn&&!Mn.done&&($n=Nn.return)&&$n.call(Nn)}finally{if(An)throw An.error}}return Pn.push("Z"),jt(Pn,En,Tn)},$e.parseHexa=kn,$e.formatRgba=Cn,$e.formatColor=function(Sn,xn){return xn==="rgb"||xn==="hsl"?Cn(kn(Sn),xn):(0,Dt.default)(Sn,"FF")?Sn.substr(0,7):Sn},$e.drawPath=function(Sn,xn,En,Tn,An,$n,Pn){Sn.save();var Nn=jt(xn,$n,Pn);return En&&(Sn.fillStyle=En,Sn.fill(Nn)),Tn&&(An==="dashed"&&Sn.setLineDash([3,3]),An==="dotted"&&Sn.setLineDash([2,2]),Sn.lineWidth=2,Sn.strokeStyle=Tn,Sn.stroke(Nn)),Sn.restore(),Nn}},7669:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(kn,Cn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Sn,xn){Sn.__proto__=xn}||function(Sn,xn){for(var En in xn)Object.prototype.hasOwnProperty.call(xn,En)&&(Sn[En]=xn[En])},Fe(kn,Cn)},function(kn,Cn){if(typeof Cn!="function"&&Cn!==null)throw new TypeError("Class extends value "+String(Cn)+" is not a constructor or null");function Sn(){this.constructor=kn}Fe(kn,Cn),kn.prototype=Cn===null?Object.create(Cn):(Sn.prototype=Cn.prototype,new Sn)}),qe=this&&this.__importDefault||function(kn){return kn&&kn.__esModule?kn:{default:kn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.HighlightOverlay=void 0;var At=qe(Ie(4858)),Dt=Ie(9706),Lt=Ie(9434),jt=Ie(1521),hn=function(kn){function Cn(){var Sn=kn!==null&&kn.apply(this,arguments)||this;return Sn.gridLabelState={gridLayerCounter:0},Sn}return Ue(Cn,kn),Cn.prototype.setContainer=function(Sn){this._container=Sn},Cn.prototype.setPlatform=function(Sn){this.container&&this.container.classList.add("luna-dom-highlighter-platform-"+Sn),kn.prototype.setPlatform.call(this,Sn)},Object.defineProperty(Cn.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Cn.prototype.reset=function(Sn){kn.prototype.reset.call(this,Sn),this.tooltip.innerHTML="",this.gridLabelState.gridLayerCounter=0},Cn.prototype.install=function(){var Sn=this.document.createElement("canvas");Sn.classList.add("luna-dom-highlighter-fill"),this.container.appendChild(Sn);var xn=this.document.createElement("div");this.container.appendChild(xn),this.tooltip=xn,this.setCanvas(Sn),kn.prototype.install.call(this)},Cn.prototype.uninstall=function(){this.document.body.classList.remove("fill"),this.document.body.innerHTML="",kn.prototype.uninstall.call(this)},Cn.prototype.drawHighlight=function(Sn){this.context.save();for(var xn=(0,jt.emptyBounds)(),En=Sn.paths.slice();En.length;){var Tn=En.pop();Tn&&(this.context.save(),(0,jt.drawPath)(this.context,Tn.path,Tn.fillColor,Tn.outlineColor,void 0,xn,this.emulationScaleFactor),En.length&&(this.context.globalCompositeOperation="destination-out",(0,jt.drawPath)(this.context,En[En.length-1].path,"red",void 0,void 0,xn,this.emulationScaleFactor)),this.context.restore())}this.context.restore(),this.context.save();var An=!!(Sn.paths.length&&Sn.showRulers&&xn.minX<20&&xn.maxX+20<this.canvasWidth),$n=!!(Sn.paths.length&&Sn.showRulers&&xn.minY<20&&xn.maxY+20<this.canvasHeight);return Sn.showRulers&&this.drawAxis(this.context,An,$n),Sn.paths.length&&(Sn.showExtensionLines&&function(Pn,Nn,Mn,In,On,Rn,Bn,Vn){Pn.save();var Ln=Bn,Dn=Vn;if(Pn.strokeStyle=wn,Pn.lineWidth=1,Pn.translate(.5,.5),Mn)for(var Hn in Nn.rightmostXForY)Pn.beginPath(),Pn.moveTo(Ln,Number(Hn)),Pn.lineTo(Nn.rightmostXForY[Hn],Number(Hn)),Pn.stroke();else for(var Hn in Nn.leftmostXForY)Pn.beginPath(),Pn.moveTo(0,Number(Hn)),Pn.lineTo(Nn.leftmostXForY[Hn],Number(Hn)),Pn.stroke();if(In)for(var Fn in Nn.bottommostYForX)Pn.beginPath(),Pn.moveTo(Number(Fn),Dn),Pn.lineTo(Number(Fn),Nn.topmostYForX[Fn]),Pn.stroke();else for(var Fn in Nn.topmostYForX)Pn.beginPath(),Pn.moveTo(Number(Fn),0),Pn.lineTo(Number(Fn),Nn.topmostYForX[Fn]),Pn.stroke();Pn.restore()}(this.context,xn,An,$n,void 0,!1,this.canvasWidth,this.canvasHeight),Sn.elementInfo&&function(Pn,Nn,Mn,In,On,Rn){Pn.innerHTML="";var Bn=(0,Lt.createChild)(Pn,"div"),Vn=(0,Lt.createChild)(Bn,"div","tooltip-content"),Ln=function(nr,lr){var ir=(0,Lt.createElement)("div","element-info"),kr=(0,Lt.createChild)(ir,"div","element-info-header"),Cr=function(Yr){return Yr.layoutObjectName&&(0,At.default)(Yr.layoutObjectName,"Grid")?"grid":Yr.layoutObjectName&&Yr.layoutObjectName==="LayoutNGFlexibleBox"?"flex":null}(nr);Cr&&(0,Lt.createChild)(kr,"div","element-layout-type ".concat(Cr));var Er=(0,Lt.createChild)(kr,"div","element-description");(0,Lt.createChild)(Er,"span","material-tag-name").textContent=nr.tagName;var dr=(0,Lt.createChild)(Er,"span","material-node-id"),br=80;dr.textContent=nr.idValue?"#"+(0,Lt.ellipsify)(nr.idValue,br):"",dr.classList.toggle("hidden",!nr.idValue);var _r=(0,Lt.createChild)(Er,"span","material-class-name");dr.textContent.length<br&&(_r.textContent=(0,Lt.ellipsify)(nr.className||"",br-dr.textContent.length)),_r.classList.toggle("hidden",!nr.className);var Pr=(0,Lt.createChild)(kr,"div","dimensions");(0,Lt.createChild)(Pr,"span","material-node-width").textContent=String(Math.round(100*nr.nodeWidth)/100),(0,Lt.createTextChild)(Pr,"×"),(0,Lt.createChild)(Pr,"span","material-node-height").textContent=String(Math.round(100*nr.nodeHeight)/100);var vr,xr=nr.style||{};nr.isLockedAncestor&&zr("Showing content-visibility ancestor",""),nr.isLocked&&zr("Descendants are skipped due to content-visibility","");var Rr=xr.color;Rr&&Rr!=="#00000000"&&Vr("Color",Rr,lr);var Hr=xr["font-family"],Jr=xr["font-size"];Hr&&Jr!=="0px"&&zr("Font","".concat(Jr," ").concat(Hr));var Gr=xr["background-color"];Gr&&Gr!=="#00000000"&&Vr("Background",Gr,lr);var $r=xr.margin;$r&&$r!=="0px"&&zr("Margin",$r);var Br=xr.padding;Br&&Br!=="0px"&&zr("Padding",Br);var Tr=nr.contrast?nr.contrast.backgroundColor:null,cr=Rr&&Rr!=="#00000000"&&Tr&&Tr!=="#00000000";nr.showAccessibilityInfo&&(Dr("Accessibility"),cr&&xr.color&&nr.contrast&&Kr(xr.color,nr.contrast),zr("Name",nr.accessibleName),zr("Role",nr.accessibleRole),Lr("Keyboard-focusable",nr.isKeyboardFocusable?"a11y-icon a11y-icon-ok":"a11y-icon a11y-icon-not-ok"));function Sr(){vr||(vr=(0,Lt.createChild)(ir,"div","element-info-body"))}function Dr(Yr){Sr();var Ur=(0,Lt.createChild)(vr,"div","element-info-row element-info-section");(0,Lt.createChild)(Ur,"div","section-name").textContent=Yr,(0,Lt.createChild)((0,Lt.createChild)(Ur,"div","separator-container"),"div","separator")}function mr(Yr,Ur,uo){Sr();var go=(0,Lt.createChild)(vr,"div","element-info-row");return(0,Lt.createChild)(go,"div","element-info-name").textContent=Yr,(0,Lt.createChild)(go,"div","element-info-gap"),(0,Lt.createChild)(go,"div",uo||"")}function Lr(Yr,Ur){(0,Lt.createChild)(mr(Yr,"","element-info-value-icon"),"div",Ur)}function zr(Yr,Ur){(0,Lt.createTextChild)(mr(Yr,"","element-info-value-text"),Ur)}function Vr(Yr,Ur,uo){var go=mr(Yr,"","element-info-value-color"),_o=(0,Lt.createChild)(go,"div","color-swatch");(0,Lt.createChild)(_o,"div","color-swatch-inner").style.backgroundColor=Ur,(0,Lt.createTextChild)(go,(0,jt.formatColor)(Ur,uo))}function Kr(Yr,Ur){var uo=(0,jt.parseHexa)(Yr),go=(0,jt.parseHexa)(Ur.backgroundColor);uo[3]*=Ur.textOpacity;var _o=mr("Contrast","","element-info-value-contrast"),Ao=(0,Lt.createChild)(_o,"div","contrast-text");Ao.style.color=(0,jt.formatRgba)(uo,"rgb"),Ao.style.backgroundColor=Ur.backgroundColor,Ao.textContent="Aa";var ko=(0,Lt.createChild)(_o,"span");if(Ur.contrastAlgorithm==="apca"){var Do=(0,Dt.contrastRatioAPCA)(uo,go),Ro=(0,Dt.getAPCAThreshold)(Ur.fontSize,Ur.fontWeight);ko.textContent=String(Math.floor(100*Do)/100)+"%",(0,Lt.createChild)(_o,"div",Ro===null||Math.abs(Do)<Ro?"a11y-icon a11y-icon-warning":"a11y-icon a11y-icon-ok")}else if(Ur.contrastAlgorithm==="aa"||Ur.contrastAlgorithm==="aaa"){var Ko=(0,Dt.contrastRatio)(uo,go);Ro=(0,Dt.getContrastThreshold)(Ur.fontSize,Ur.fontWeight)[Ur.contrastAlgorithm],ko.textContent=String(Math.floor(100*Ko)/100),(0,Lt.createChild)(_o,"div",Ko<Ro?"a11y-icon a11y-icon-warning":"a11y-icon a11y-icon-ok")}}return ir}(Nn,Mn);Vn.appendChild(Ln);var Dn,Hn=Vn.offsetWidth,Fn=Vn.offsetHeight,zn=8,jn=2,Gn=2*zn,Wn=zn+2,Xn=jn+Wn,er=On-jn-Wn-Gn,rr=In.maxX-In.minX<Gn+2*Wn;if(rr)Dn=.5*(In.minX+In.maxX)-zn;else{var Jn=In.minX+Wn,qn=In.maxX-Wn-Gn;Dn=Jn>Xn&&Jn<er?Jn:(0,Lt.constrainNumber)(Xn,Jn,qn)}var Yn=Dn<Xn||Dn>er,ar=Dn-Wn;ar=(0,Lt.constrainNumber)(ar,jn,On-Hn-jn);var tr=In.minY-zn-Fn,or=!0;tr<0?(tr=Math.min(Rn-Fn,In.maxY+zn),or=!1):In.minY>Rn&&(tr=Rn-zn-Fn);var sr=ar>=In.minX&&ar+Hn<=In.maxX&&tr>=In.minY&&tr+Fn<=In.maxY,Kn=ar<In.maxX&&ar+Hn>In.minX&&tr<In.maxY&&tr+Fn>In.minY;if(Kn&&!sr)return void(Vn.style.display="none");if(Vn.style.top=tr+"px",Vn.style.left=ar+"px",!Yn){var Zn=(0,Lt.createChild)(Vn,"div","tooltip-arrow");Zn.style.clipPath=or?"polygon(0 0, 100% 0, 50% 100%)":"polygon(50% 0, 0 100%, 100% 100%)",Zn.style.top=(or?Fn-1:-zn)+"px",Zn.style.left=Dn-ar+"px"}}(this.tooltip,Sn.elementInfo,Sn.colorFormat,xn,this.canvasWidth,this.canvasHeight)),this.context.restore(),{bounds:xn}},Cn.prototype.drawAxis=function(Sn,xn,En){Sn.save();var Tn=this.pageZoomFactor*this.pageScaleFactor*this.emulationScaleFactor,An=this.scrollX*this.pageScaleFactor,$n=this.scrollY*this.pageScaleFactor;function Pn(Hn){return Math.round(Hn*Tn)}function Nn(Hn){return Math.round(Hn/Tn)}var Mn=this.canvasWidth/Tn,In=this.canvasHeight/Tn,On=50;Sn.save(),Sn.fillStyle=_n,En?Sn.fillRect(0,Pn(In)-15,Pn(Mn),Pn(In)):Sn.fillRect(0,0,Pn(Mn),15),Sn.globalCompositeOperation="destination-out",Sn.fillStyle="red",xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.restore(),Sn.fillStyle=_n,xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.lineWidth=1,Sn.strokeStyle=bn,Sn.fillStyle=bn,Sn.save(),Sn.translate(-An,.5-$n);for(var Rn=In+Nn($n),Bn=100;Bn<Rn;Bn+=100)Sn.save(),Sn.translate(An,Pn(Bn)),Sn.rotate(-Math.PI/2),Sn.fillText(String(Bn),2,xn?Pn(Mn)-7:13),Sn.restore();Sn.translate(.5,-.5);for(var Vn=Mn+Nn(An),Ln=100;Ln<Vn;Ln+=100)Sn.save(),Sn.fillText(String(Ln),Pn(Ln)+2,En?$n+Pn(In)-7:$n+13),Sn.restore();for(Sn.restore(),Sn.save(),xn&&(Sn.translate(Pn(Mn),0),Sn.scale(-1,1)),Sn.translate(-An,.5-$n),Rn=In+Nn($n),Bn=On;Bn<Rn;Bn+=On){Sn.beginPath(),Sn.moveTo(An,Pn(Bn));var Dn=Bn%100?5:8;Sn.lineTo(An+Dn,Pn(Bn)),Sn.stroke()}for(Sn.strokeStyle=vn,Bn=5;Bn<Rn;Bn+=5)Bn%On&&(Sn.beginPath(),Sn.moveTo(An,Pn(Bn)),Sn.lineTo(An+5,Pn(Bn)),Sn.stroke());for(Sn.restore(),Sn.save(),En&&(Sn.translate(0,Pn(In)),Sn.scale(1,-1)),Sn.translate(.5-An,-$n),Vn=Mn+Nn(An),Ln=On;Ln<Vn;Ln+=On)Sn.beginPath(),Sn.moveTo(Pn(Ln),$n),Dn=Ln%100?5:8,Sn.lineTo(Pn(Ln),$n+Dn),Sn.stroke();for(Sn.strokeStyle=vn,Ln=5;Ln<Vn;Ln+=5)Ln%On&&(Sn.beginPath(),Sn.moveTo(Pn(Ln),$n),Sn.lineTo(Pn(Ln),$n+5),Sn.stroke());Sn.restore(),Sn.restore()},Cn}(Lt.Overlay);$e.HighlightOverlay=hn;var vn="rgba(0,0,0,0.2)",bn="rgba(0,0,0,0.7)",_n="rgba(255, 255, 255, 0.8)",wn="rgba(128, 128, 128, 0.3)"},1160:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(wn,kn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Cn,Sn){Cn.__proto__=Sn}||function(Cn,Sn){for(var xn in Sn)Object.prototype.hasOwnProperty.call(Sn,xn)&&(Cn[xn]=Sn[xn])},Fe(wn,kn)},function(wn,kn){if(typeof kn!="function"&&kn!==null)throw new TypeError("Class extends value "+String(kn)+" is not a constructor or null");function Cn(){this.constructor=wn}Fe(wn,kn),wn.prototype=kn===null?Object.create(kn):(Cn.prototype=kn.prototype,new Cn)}),qe=this&&this.__importDefault||function(wn){return wn&&wn.__esModule?wn:{default:wn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1443)),Dt=qe(Ie(1512)),Lt=Ie(2062),jt=qe(Ie(3783)),hn=qe(Ie(6329)),vn=qe(Ie(4193)),bn=qe(Ie(5852)),_n=function(wn){function kn(Cn,Sn,xn){var En=Sn.compName,Tn=(xn===void 0?{}:xn).theme,An=Tn===void 0?"light":Tn,$n=wn.call(this)||this;return $n.subComponents=[],$n.compName=En,$n.c=(0,Lt.classPrefix)(En),$n.options={},$n.container=Cn,$n.$container=(0,Dt.default)(Cn),$n.$container.addClass(["luna-".concat(En),$n.c("platform-".concat((0,Lt.getPlatform)()))]),$n.on("optionChange",function(Pn,Nn,Mn){var In=$n.c;Pn==="theme"&&($n.$container.rmClass(In("theme-".concat(Mn))).addClass(In("theme-".concat(Nn))),(0,jt.default)($n.subComponents,function(On){return On.setOption("theme",Nn)}))}),$n.setOption("theme",An),$n}return Ue(kn,wn),kn.prototype.destroy=function(){this.destroySubComponents();var Cn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Cn("platform-".concat((0,Lt.getPlatform)()))).rmClass(Cn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()},kn.prototype.setOption=function(Cn,Sn){var xn=this,En=this.options,Tn={};typeof Cn=="string"?Tn[Cn]=Sn:Tn=Cn,(0,jt.default)(Tn,function(An,$n){var Pn=En[$n];En[$n]=An,xn.emit("optionChange",$n,An,Pn)})},kn.prototype.getOption=function(Cn){return this.options[Cn]},kn.prototype.addSubComponent=function(Cn){Cn.setOption("theme",this.options.theme),this.subComponents.push(Cn)},kn.prototype.removeSubComponent=function(Cn){(0,bn.default)(this.subComponents,function(Sn){return Sn===Cn})},kn.prototype.destroySubComponents=function(){(0,jt.default)(this.subComponents,function(Cn){return Cn.destroy()}),this.subComponents=[]},kn.prototype.initOptions=function(Cn,Sn){Sn===void 0&&(Sn={}),(0,vn.default)(Cn,Sn),(0,hn.default)(this.options,Cn)},kn.prototype.find=function(Cn){return this.$container.find(this.c(Cn))},kn}(At.default);$e.default=_n},2062:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.resetCanvasSize=$e.getPlatform=$e.pxToNum=$e.executeAfterTransition=$e.hasVerticalScrollbar=$e.measuredScrollbarWidth=$e.eventPage=$e.eventClient=$e.drag=$e.classPrefix=void 0;var Ue=Fe(Ie(2461)),qe=Fe(Ie(4331)),At=Fe(Ie(5610)),Dt=Fe(Ie(7483)),Lt=Fe(Ie(3990)),jt=Fe(Ie(6341)),hn=Fe(Ie(3875)),vn=Fe(Ie(6954)),bn=Fe(Ie(9585));function _n(xn,En){for(var Tn=0,An=xn.length;Tn<An;Tn++){var $n=xn[Tn];En($n),$n.content&&_n($n.content,En)}}$e.classPrefix=function(xn){var En="luna-".concat(xn,"-");function Tn(An){return(0,Ue.default)((0,qe.default)(An).split(/\s+/),function($n){return(0,jt.default)($n,En)?$n:$n.replace(/[\w-]+/,function(Pn){return"".concat(En).concat(Pn)})}).join(" ")}return function(An){if(/<[^>]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.eventPage=function(xn,En){var Tn=xn==="x"?"pageX":"pageY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},6093:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(bn,_n){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(wn,kn){wn.__proto__=kn}||function(wn,kn){for(var Cn in kn)Object.prototype.hasOwnProperty.call(kn,Cn)&&(wn[Cn]=kn[Cn])},Fe(bn,_n)},function(bn,_n){if(typeof _n!="function"&&_n!==null)throw new TypeError("Class extends value "+String(_n)+" is not a constructor or null");function wn(){this.constructor=bn}Fe(bn,_n),bn.prototype=_n===null?Object.create(_n):(wn.prototype=_n.prototype,new wn)}),qe=this&&this.__importDefault||function(bn){return bn&&bn.__esModule?bn:{default:bn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1512)),Dt=qe(Ie(5229)),Lt=qe(Ie(2244)),jt=qe(Ie(8613)),hn=function(bn){function _n(wn,kn){kn===void 0&&(kn={});var Cn=bn.call(this,wn,{compName:"notification"},kn)||this;return Cn.notifications=[],Cn.initOptions(kn,{position:{x:"right",y:"bottom"},duration:2e3}),Cn.initTpl(),Cn}return Ue(_n,bn),_n.prototype.notify=function(wn,kn){var Cn=this;kn===void 0&&(kn={duration:this.options.duration});var Sn=new vn(this,wn);this.notifications.push(Sn),this.add(Sn),setTimeout(function(){return Cn.remove(Sn.id)},kn.duration)},_n.prototype.dismissAll=function(){for(var wn=this.notifications,kn=wn[0];kn;)this.remove(kn.id),kn=wn[0]},_n.prototype.add=function(wn){this.container.appendChild(wn.container)},_n.prototype.remove=function(wn){var kn=this.notifications,Cn=(0,Lt.default)(kn,function(xn){return xn.id===wn});if(Cn){Cn.destroy();var Sn=kn.indexOf(Cn);kn.splice(Sn,1)}},_n.prototype.initTpl=function(){var wn=this.$container,kn=this.options.position,Cn=kn.x,Sn=kn.y,xn="flex-end",En="flex-end";switch(Cn){case"center":En="center";break;case"left":En="flex-start"}Sn==="top"&&(xn="flex-start"),wn.attr("style","justify-content: ".concat(xn,"; align-items: ").concat(En))},_n}(qe(Ie(5404)).default);$e.default=hn;var vn=function(){function bn(_n,wn){this.container=(0,jt.default)("div"),this.$container=(0,At.default)(this.container),this.notification=_n,this.content=wn,this.id=(0,Dt.default)("luna-notification-"),this.$container.attr({id:this.id,class:_n.c("item ".concat(_n.getOption("position").y==="bottom"?"lower":"upper"))}),this.initTpl()}return bn.prototype.destroy=function(){this.$container.remove()},bn.prototype.initTpl=function(){this.$container.html(this.notification.c('<div class="content">'.concat(this.content,"</div>")))},bn}();xe.exports=hn,xe.exports.default=hn},5404:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(wn,kn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Cn,Sn){Cn.__proto__=Sn}||function(Cn,Sn){for(var xn in Sn)Object.prototype.hasOwnProperty.call(Sn,xn)&&(Cn[xn]=Sn[xn])},Fe(wn,kn)},function(wn,kn){if(typeof kn!="function"&&kn!==null)throw new TypeError("Class extends value "+String(kn)+" is not a constructor or null");function Cn(){this.constructor=wn}Fe(wn,kn),wn.prototype=kn===null?Object.create(kn):(Cn.prototype=kn.prototype,new Cn)}),qe=this&&this.__importDefault||function(wn){return wn&&wn.__esModule?wn:{default:wn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1443)),Dt=qe(Ie(1512)),Lt=Ie(164),jt=qe(Ie(3783)),hn=qe(Ie(6329)),vn=qe(Ie(4193)),bn=qe(Ie(5852)),_n=function(wn){function kn(Cn,Sn,xn){var En=Sn.compName,Tn=(xn===void 0?{}:xn).theme,An=Tn===void 0?"light":Tn,$n=wn.call(this)||this;return $n.subComponents=[],$n.compName=En,$n.c=(0,Lt.classPrefix)(En),$n.options={},$n.container=Cn,$n.$container=(0,Dt.default)(Cn),$n.$container.addClass(["luna-".concat(En),$n.c("platform-".concat((0,Lt.getPlatform)()))]),$n.on("optionChange",function(Pn,Nn,Mn){var In=$n.c;Pn==="theme"&&($n.$container.rmClass(In("theme-".concat(Mn))).addClass(In("theme-".concat(Nn))),(0,jt.default)($n.subComponents,function(On){return On.setOption("theme",Nn)}))}),$n.setOption("theme",An),$n}return Ue(kn,wn),kn.prototype.destroy=function(){this.destroySubComponents();var Cn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Cn("platform-".concat((0,Lt.getPlatform)()))).rmClass(Cn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()},kn.prototype.setOption=function(Cn,Sn){var xn=this,En=this.options,Tn={};typeof Cn=="string"?Tn[Cn]=Sn:Tn=Cn,(0,jt.default)(Tn,function(An,$n){var Pn=En[$n];En[$n]=An,xn.emit("optionChange",$n,An,Pn)})},kn.prototype.getOption=function(Cn){return this.options[Cn]},kn.prototype.addSubComponent=function(Cn){Cn.setOption("theme",this.options.theme),this.subComponents.push(Cn)},kn.prototype.removeSubComponent=function(Cn){(0,bn.default)(this.subComponents,function(Sn){return Sn===Cn})},kn.prototype.destroySubComponents=function(){(0,jt.default)(this.subComponents,function(Cn){return Cn.destroy()}),this.subComponents=[]},kn.prototype.initOptions=function(Cn,Sn){Sn===void 0&&(Sn={}),(0,vn.default)(Cn,Sn),(0,hn.default)(this.options,Cn)},kn.prototype.find=function(Cn){return this.$container.find(this.c(Cn))},kn}(At.default);$e.default=_n},164:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.resetCanvasSize=$e.getPlatform=$e.pxToNum=$e.executeAfterTransition=$e.hasVerticalScrollbar=$e.measuredScrollbarWidth=$e.eventClient=$e.drag=$e.classPrefix=void 0;var Ue=Fe(Ie(2461)),qe=Fe(Ie(4331)),At=Fe(Ie(5610)),Dt=Fe(Ie(7483)),Lt=Fe(Ie(3990)),jt=Fe(Ie(6341)),hn=Fe(Ie(3875)),vn=Fe(Ie(6954)),bn=Fe(Ie(9585));function _n(xn,En){for(var Tn=0,An=xn.length;Tn<An;Tn++){var $n=xn[Tn];En($n),$n.content&&_n($n.content,En)}}$e.classPrefix=function(xn){var En="luna-".concat(xn,"-");function Tn(An){return(0,Ue.default)((0,qe.default)(An).split(/\s+/),function($n){return(0,jt.default)($n,En)?$n:$n.replace(/[\w-]+/,function(Pn){return"".concat(En).concat(Pn)})}).join(" ")}return function(An){if(/<[^>]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},8169:function(xe,$e,Ie){Ie.r($e),Ie.d($e,{default:function(){return Cn}});var Fe={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},Ue=/([astvzqmhlc])([^astvzqmhlc]*)/gi,qe=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi,At=function(Sn){var xn=[],En=String(Sn).trim();return En[0]!=="M"&&En[0]!=="m"||En.replace(Ue,function(Tn,An,$n){var Pn=An.toLowerCase(),Nn=function(In){var On=In.match(qe);return On?On.map(Number):[]}($n),Mn=An;if(Pn==="m"&&Nn.length>2&&(xn.push([Mn].concat(Nn.splice(0,2))),Pn="l",Mn=Mn==="m"?"l":"L"),Nn.length<Fe[Pn])return"";for(xn.push([Mn].concat(Nn.splice(0,Fe[Pn])));Nn.length>=Fe[Pn]&&Nn.length&&Fe[Pn];)xn.push([Mn].concat(Nn.splice(0,Fe[Pn])));return""}),xn};function Dt(Sn,xn){for(var En=0;En<xn.length;En++){var Tn=xn[En];Tn.enumerable=Tn.enumerable||!1,Tn.configurable=!0,"value"in Tn&&(Tn.writable=!0),Object.defineProperty(Sn,Tn.key,Tn)}}function Lt(Sn){return function(xn){if(Array.isArray(xn))return jt(xn)}(Sn)||function(xn){if(typeof Symbol<"u"&&xn[Symbol.iterator]!=null||xn["@@iterator"]!=null)return Array.from(xn)}(Sn)||function(xn,En){if(xn){if(typeof xn=="string")return jt(xn,En);var Tn=Object.prototype.toString.call(xn).slice(8,-1);if(Tn==="Object"&&xn.constructor&&(Tn=xn.constructor.name),Tn==="Map"||Tn==="Set")return Array.from(xn);if(Tn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Tn))return jt(xn,En)}}(Sn)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function jt(Sn,xn){(xn==null||xn>Sn.length)&&(xn=Sn.length);for(var En=0,Tn=new Array(xn);En<xn;En++)Tn[En]=Sn[En];return Tn}var hn=At;function vn(Sn,xn){var En=Sn.x*Math.cos(xn)-Sn.y*Math.sin(xn),Tn=Sn.y*Math.cos(xn)+Sn.x*Math.sin(xn);Sn.x=En,Sn.y=Tn}function bn(Sn,xn){Sn.x*=xn,Sn.y*=xn}var _n=function(Sn){if(Sn!==void 0&&Sn.CanvasRenderingContext2D&&(!Sn.Path2D||!function(Pn){var Nn=Pn.document.createElement("canvas").getContext("2d"),Mn=new Pn.Path2D("M0 0 L1 1");return Nn.strokeStyle="red",Nn.lineWidth=1,Nn.stroke(Mn),Nn.getImageData(0,0,1,1).data[0]===255}(Sn))){var xn=function(){function Pn(In){var On;(function(Rn,Bn){if(!(Rn instanceof Bn))throw new TypeError("Cannot call a class as a function")})(this,Pn),this.segments=[],In&&In instanceof Pn?(On=this.segments).push.apply(On,Lt(In.segments)):In&&(this.segments=hn(In))}var Nn,Mn;return Nn=Pn,(Mn=[{key:"addPath",value:function(In){var On;In&&In instanceof Pn&&(On=this.segments).push.apply(On,Lt(In.segments))}},{key:"moveTo",value:function(In,On){this.segments.push(["M",In,On])}},{key:"lineTo",value:function(In,On){this.segments.push(["L",In,On])}},{key:"arc",value:function(In,On,Rn,Bn,Vn,Ln){this.segments.push(["AC",In,On,Rn,Bn,Vn,!!Ln])}},{key:"arcTo",value:function(In,On,Rn,Bn,Vn){this.segments.push(["AT",In,On,Rn,Bn,Vn])}},{key:"ellipse",value:function(In,On,Rn,Bn,Vn,Ln,Dn,Hn){this.segments.push(["E",In,On,Rn,Bn,Vn,Ln,Dn,!!Hn])}},{key:"closePath",value:function(){this.segments.push(["Z"])}},{key:"bezierCurveTo",value:function(In,On,Rn,Bn,Vn,Ln){this.segments.push(["C",In,On,Rn,Bn,Vn,Ln])}},{key:"quadraticCurveTo",value:function(In,On,Rn,Bn){this.segments.push(["Q",In,On,Rn,Bn])}},{key:"rect",value:function(In,On,Rn,Bn){this.segments.push(["R",In,On,Rn,Bn])}}])&&Dt(Nn.prototype,Mn),Object.defineProperty(Nn,"prototype",{writable:!1}),Pn}(),En=Sn.CanvasRenderingContext2D.prototype.fill,Tn=Sn.CanvasRenderingContext2D.prototype.stroke;Sn.CanvasRenderingContext2D.prototype.fill=function(){for(var Pn=arguments.length,Nn=new Array(Pn),Mn=0;Mn<Pn;Mn++)Nn[Mn]=arguments[Mn];var In="nonzero";Nn.length===0||Nn.length===1&&typeof Nn[0]=="string"?En.apply(this,Nn):(arguments.length===2&&(In=Nn[1]),$n(this,Nn[0].segments),En.call(this,In))},Sn.CanvasRenderingContext2D.prototype.stroke=function(Pn){Pn?($n(this,Pn.segments),Tn.call(this)):Tn.call(this)};var An=Sn.CanvasRenderingContext2D.prototype.isPointInPath;Sn.CanvasRenderingContext2D.prototype.isPointInPath=function(){for(var Pn=arguments.length,Nn=new Array(Pn),Mn=0;Mn<Pn;Mn++)Nn[Mn]=arguments[Mn];if(Nn[0].constructor.name==="Path2D"){var In=Nn[1],On=Nn[2],Rn=Nn[3]||"nonzero";return $n(this,Nn[0].segments),An.apply(this,[In,On,Rn])}return An.apply(this,Nn)},Sn.Path2D=xn}function $n(Pn,Nn){var Mn,In,On,Rn,Bn,Vn,Ln,Dn,Hn,Fn,zn,jn,Gn,Wn,Xn,er,rr,Jn,qn,Yn,ar,tr,or,sr,Kn,Zn,nr,lr,ir,kr={x:0,y:0},Cr={x:0,y:0};Pn.beginPath();for(var Er=0;Er<Nn.length;++Er){var dr=Nn[Er];switch((Yn=dr[0])!=="S"&&Yn!=="s"&&Yn!=="C"&&Yn!=="c"&&(tr=null,or=null),Yn!=="T"&&Yn!=="t"&&Yn!=="Q"&&Yn!=="q"&&(sr=null,Kn=null),Yn){case"m":case"M":Yn==="m"?(zn+=dr[1],Gn+=dr[2]):(zn=dr[1],Gn=dr[2]),Yn!=="M"&&kr||(kr={x:zn,y:Gn}),Pn.moveTo(zn,Gn);break;case"l":zn+=dr[1],Gn+=dr[2],Pn.lineTo(zn,Gn);break;case"L":zn=dr[1],Gn=dr[2],Pn.lineTo(zn,Gn);break;case"H":zn=dr[1],Pn.lineTo(zn,Gn);break;case"h":zn+=dr[1],Pn.lineTo(zn,Gn);break;case"V":Gn=dr[1],Pn.lineTo(zn,Gn);break;case"v":Gn+=dr[1],Pn.lineTo(zn,Gn);break;case"a":case"A":Yn==="a"?(zn+=dr[6],Gn+=dr[7]):(zn=dr[6],Gn=dr[7]),er=dr[1],rr=dr[2],Ln=dr[3]*Math.PI/180,On=!!dr[4],Rn=!!dr[5],Bn={x:zn,y:Gn},vn(Vn={x:(Cr.x-Bn.x)/2,y:(Cr.y-Bn.y)/2},-Ln),(Dn=Vn.x*Vn.x/(er*er)+Vn.y*Vn.y/(rr*rr))>1&&(er*=Dn=Math.sqrt(Dn),rr*=Dn),Hn=er*er*rr*rr,Fn=er*er*Vn.y*Vn.y+rr*rr*Vn.x*Vn.x,bn(ar={x:er*Vn.y/rr,y:-rr*Vn.x/er},Rn!==On?Math.sqrt((Hn-Fn)/Fn)||0:-Math.sqrt((Hn-Fn)/Fn)||0),In=Math.atan2((Vn.y-ar.y)/rr,(Vn.x-ar.x)/er),Mn=Math.atan2(-(Vn.y+ar.y)/rr,-(Vn.x+ar.x)/er),vn(ar,Ln),nr=ar,lr=(Bn.x+Cr.x)/2,ir=(Bn.y+Cr.y)/2,nr.x+=lr,nr.y+=ir,Pn.save(),Pn.translate(ar.x,ar.y),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,!Rn),Pn.restore();break;case"C":tr=dr[3],or=dr[4],zn=dr[5],Gn=dr[6],Pn.bezierCurveTo(dr[1],dr[2],tr,or,zn,Gn);break;case"c":Pn.bezierCurveTo(dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn,dr[5]+zn,dr[6]+Gn),tr=dr[3]+zn,or=dr[4]+Gn,zn+=dr[5],Gn+=dr[6];break;case"S":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1],dr[2],dr[3],dr[4]),tr=dr[1],or=dr[2],zn=dr[3],Gn=dr[4];break;case"s":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn),tr=dr[1]+zn,or=dr[2]+Gn,zn+=dr[3],Gn+=dr[4];break;case"Q":sr=dr[1],Kn=dr[2],zn=dr[3],Gn=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"q":sr=dr[1]+zn,Kn=dr[2]+Gn,zn+=dr[3],Gn+=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"T":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn=dr[1],Gn=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"t":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn+=dr[1],Gn+=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"z":case"Z":zn=kr.x,Gn=kr.y,kr=void 0,Pn.closePath();break;case"AC":zn=dr[1],Gn=dr[2],Xn=dr[3],In=dr[4],Mn=dr[5],Zn=dr[6],Pn.arc(zn,Gn,Xn,In,Mn,Zn);break;case"AT":jn=dr[1],Wn=dr[2],zn=dr[3],Gn=dr[4],Xn=dr[5],Pn.arcTo(jn,Wn,zn,Gn,Xn);break;case"E":zn=dr[1],Gn=dr[2],er=dr[3],rr=dr[4],Ln=dr[5],In=dr[6],Mn=dr[7],Zn=dr[8],Pn.save(),Pn.translate(zn,Gn),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,Zn),Pn.restore();break;case"R":zn=dr[1],Gn=dr[2],Jn=dr[3],qn=dr[4],kr={x:zn,y:Gn},Pn.rect(zn,Gn,Jn,qn)}Cr.x=zn,Cr.y=Gn}}},wn=At,kn=_n;typeof window<"u"&&kn(window);var Cn={path2dPolyfill:kn,parsePath:wn}},2777:function(xe){xe.exports=`.luna-dom-highlighter{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100000;pointer-events:none;font-size:13px}.luna-dom-highlighter-fill{position:absolute;top:0;right:0;bottom:0;left:0}.luna-dom-highlighter-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-highlighter-platform-mac{color:#303942;font-family:'.SFNSDisplay-Regular','Helvetica Neue','Lucida Grande',sans-serif}.luna-dom-highlighter-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-highlighter-px{color:gray}#luna-dom-highlighter-element-title{position:absolute;z-index:10}.luna-dom-highlighter-tooltip-content{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff;padding:5px 8px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;min-width:100px;max-width:min(300px,100% - 4px);z-index:2;background-clip:padding-box;will-change:transform;text-rendering:optimizeLegibility;pointer-events:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}.luna-dom-highlighter-tooltip-content .luna-dom-highlighter-tooltip-arrow{background:#fff;width:15px;height:8px;position:absolute}.luna-dom-highlighter-element-info-section{margin-top:12px;margin-bottom:6px}.luna-dom-highlighter-section-name{color:#333;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.05em;line-height:12px}.luna-dom-highlighter-element-info{display:flex;flex-direction:column}.luna-dom-highlighter-element-info-header{display:flex;align-items:center}.luna-dom-highlighter-element-info-body{display:flex;flex-direction:column;padding-top:2px;margin-top:2px}.luna-dom-highlighter-element-info-row{display:flex;line-height:19px}.luna-dom-highlighter-separator-container{display:flex;align-items:center;flex:auto;margin-left:7px}.luna-dom-highlighter-separator{border-top:1px solid #ddd;width:100%}.luna-dom-highlighter-element-info-name{flex-shrink:0;color:#666}.luna-dom-highlighter-element-info-gap{flex:auto}.luna-dom-highlighter-element-info-value-color{display:flex;color:#303942;margin-left:10px;align-items:baseline}.luna-dom-highlighter-a11y-icon{width:16px;height:16px;background-repeat:no-repeat;display:inline-block}.luna-dom-highlighter-element-info-value-contrast{display:flex;align-items:center;text-align:right;color:#303942;margin-left:10px}.luna-dom-highlighter-element-info-value-contrast .luna-dom-highlighter-a11y-icon{margin-left:8px}.luna-dom-highlighter-element-info-value-icon{display:flex;align-items:center}.luna-dom-highlighter-element-info-value-text{text-align:right;color:#303942;margin-left:10px;align-items:baseline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-dom-highlighter-color-swatch{display:flex;margin-right:2px;width:10px;height:10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);line-height:10px}.luna-dom-highlighter-color-swatch-inner{flex:auto;border:1px solid #808002}.luna-dom-highlighter-element-layout-type{margin-right:10px;width:16px;height:16px}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-grid{background-image:url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="2.5" y="2.5" width="4" height="4" stroke="%231A73E8"/><rect x="9.5" y="2.5" width="4" height="4" stroke="%231A73E8"/><rect x="9.5" y="9.5" width="4" height="4" stroke="%231A73E8"/><rect x="2.5" y="9.5" width="4" height="4" stroke="%231A73E8"/></svg>')}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-flex{background-image:url('data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 3.5h8v3H1v-3zm-1 0a1 1 0 011-1h8a1 1 0 011 1v3a1 1 0 01-1 1H1a1 1 0 01-1-1v-3zm12 0h3v3h-3v-3zm-1 0a1 1 0 011-1h3a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-3zm-7 6H1v3h3v-3zm-3-1a1 1 0 00-1 1v3a1 1 0 001 1h3a1 1 0 001-1v-3a1 1 0 00-1-1H1zm6 4v-3h8v3H7zm-1-3a1 1 0 011-1h8a1 1 0 011 1v3a1 1 0 01-1 1H7a1 1 0 01-1-1v-3z" fill="%231A73E8"/></svg>')}.luna-dom-highlighter-element-description{flex:1 1;font-weight:700;word-wrap:break-word;word-break:break-all}.luna-dom-highlighter-dimensions{color:#737373;text-align:right;margin-left:10px}.luna-dom-highlighter-material-node-width{margin-right:2px}.luna-dom-highlighter-material-node-height{margin-left:2px}.luna-dom-highlighter-material-tag-name{color:#881280}.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id{color:#1a1aa6}.luna-dom-highlighter-contrast-text{width:16px;height:16px;text-align:center;line-height:16px;margin-right:8px;border:1px solid #000;padding:0 1px}.luna-dom-highlighter-a11y-icon-not-ok{background-image:url('data:image/svg+xml,<svg fill="none" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m9 1.5c-4.14 0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5 7.5-3.36 7.5-7.5-3.36-7.5-7.5-7.5zm0 13.5c-3.315 0-6-2.685-6-6 0-1.3875.4725-2.6625 1.2675-3.675l8.4075 8.4075c-1.0125.795-2.2875 1.2675-3.675 1.2675zm4.7325-2.325-8.4075-8.4075c1.0125-.795 2.2875-1.2675 3.675-1.2675 3.315 0 6 2.685 6 6 0 1.3875-.4725 2.6625-1.2675 3.675z" fill="%239e9e9e"/></svg>')}.luna-dom-highlighter-a11y-icon-warning{background-image:url('data:image/svg+xml,<svg fill="none" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m8.25 11.25h1.5v1.5h-1.5zm0-6h1.5v4.5h-1.5zm.7425-3.75c-4.14 0-7.4925 3.36-7.4925 7.5s3.3525 7.5 7.4925 7.5c4.1475 0 7.5075-3.36 7.5075-7.5s-3.36-7.5-7.5075-7.5zm.0075 13.5c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z" fill="%23e37400"/></svg>')}.luna-dom-highlighter-a11y-icon-ok{background-image:url('data:image/svg+xml,<svg fill="none" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m9 1.5c-4.14 0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5 7.5-3.36 7.5-7.5-3.36-7.5-7.5-7.5zm0 13.5c-3.3075 0-6-2.6925-6-6s2.6925-6 6-6 6 2.6925 6 6-2.6925 6-6 6zm-1.5-4.35-1.95-1.95-1.05 1.05 3 3 6-6-1.05-1.05z" fill="%230ca40c"/></svg>')}@media (forced-colors:active){:root,body{background-color:transparent;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content{border-color:Highlight;background-color:canvas;color:text;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content::after{background-color:Highlight}.luna-dom-highlighter-color-swatch-inner,.luna-dom-highlighter-contrast-text,.luna-dom-highlighter-separator{border-color:Highlight}.luna-dom-highlighter-section-name{color:Highlight}.luna-dom-highlighter-dimensions,.luna-dom-highlighter-element-info-name,.luna-dom-highlighter-element-info-value-color,.luna-dom-highlighter-element-info-value-contrast,.luna-dom-highlighter-element-info-value-icon,.luna-dom-highlighter-element-info-value-text,.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id,.luna-dom-highlighter-material-tag-name{color:canvastext}}

/*# sourceMappingURL=luna-dom-highlighter.css.map*/`},907:function(xe,$e,Ie){function Fe(Ue,qe){(qe==null||qe>Ue.length)&&(qe=Ue.length);for(var At=0,Dt=new Array(qe);At<qe;At++)Dt[At]=Ue[At];return Dt}Ie.d($e,{Z:function(){return Fe}})},7326:function(xe,$e,Ie){function Fe(Ue){if(Ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ue}Ie.d($e,{Z:function(){return Fe}})},5671:function(xe,$e,Ie){function Fe(Ue,qe){if(!(Ue instanceof qe))throw new TypeError("Cannot call a class as a function")}Ie.d($e,{Z:function(){return Fe}})},3144:function(xe,$e,Ie){Ie.d($e,{Z:function(){return qe}});var Fe=Ie(9142);function Ue(At,Dt){for(var Lt=0;Lt<Dt.length;Lt++){var jt=Dt[Lt];jt.enumerable=jt.enumerable||!1,jt.configurable=!0,"value"in jt&&(jt.writable=!0),Object.defineProperty(At,(0,Fe.Z)(jt.key),jt)}}function qe(At,Dt,Lt){return Dt&&Ue(At.prototype,Dt),Lt&&Ue(At,Lt),Object.defineProperty(At,"prototype",{writable:!1}),At}},4942:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Ue}});var Fe=Ie(9142);function Ue(qe,At,Dt){return(At=(0,Fe.Z)(At))in qe?Object.defineProperty(qe,At,{value:Dt,enumerable:!0,configurable:!0,writable:!0}):qe[At]=Dt,qe}},1752:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Ue}});var Fe=Ie(1120);function Ue(){return Ue=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(qe,At,Dt){var Lt=function(hn,vn){for(;!Object.prototype.hasOwnProperty.call(hn,vn)&&(hn=(0,Fe.Z)(hn))!==null;);return hn}(qe,At);if(Lt){var jt=Object.getOwnPropertyDescriptor(Lt,At);return jt.get?jt.get.call(arguments.length<3?qe:Dt):jt.value}},Ue.apply(this,arguments)}},1120:function(xe,$e,Ie){function Fe(Ue){return Fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(qe){return qe.__proto__||Object.getPrototypeOf(qe)},Fe(Ue)}Ie.d($e,{Z:function(){return Fe}})},9340:function(xe,$e,Ie){function Fe(qe,At){return Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Dt,Lt){return Dt.__proto__=Lt,Dt},Fe(qe,At)}function Ue(qe,At){if(typeof At!="function"&&At!==null)throw new TypeError("Super expression must either be null or a function");qe.prototype=Object.create(At&&At.prototype,{constructor:{value:qe,writable:!0,configurable:!0}}),Object.defineProperty(qe,"prototype",{writable:!1}),At&&Fe(qe,At)}Ie.d($e,{Z:function(){return Ue}})},2963:function(xe,$e,Ie){Ie.d($e,{Z:function(){return qe}});var Fe=Ie(1002),Ue=Ie(7326);function qe(At,Dt){if(Dt&&((0,Fe.Z)(Dt)==="object"||typeof Dt=="function"))return Dt;if(Dt!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,Ue.Z)(At)}},168:function(xe,$e,Ie){function Fe(Ue,qe){return qe||(qe=Ue.slice(0)),Object.freeze(Object.defineProperties(Ue,{raw:{value:Object.freeze(qe)}}))}Ie.d($e,{Z:function(){return Fe}})},9142:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Ue}});var Fe=Ie(1002);function Ue(qe){var At=function(Dt,Lt){if((0,Fe.Z)(Dt)!=="object"||Dt===null)return Dt;var jt=Dt[Symbol.toPrimitive];if(jt!==void 0){var hn=jt.call(Dt,Lt||"default");if((0,Fe.Z)(hn)!=="object")return hn;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Lt==="string"?String:Number)(Dt)}(qe,"string");return(0,Fe.Z)(At)==="symbol"?At:String(At)}},1002:function(xe,$e,Ie){function Fe(Ue){return Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(qe){return typeof qe}:function(qe){return qe&&typeof Symbol=="function"&&qe.constructor===Symbol&&qe!==Symbol.prototype?"symbol":typeof qe},Fe(Ue)}Ie.d($e,{Z:function(){return Fe}})},181:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Ue}});var Fe=Ie(907);function Ue(qe,At){if(qe){if(typeof qe=="string")return(0,Fe.Z)(qe,At);var Dt=Object.prototype.toString.call(qe).slice(8,-1);return Dt==="Object"&&qe.constructor&&(Dt=qe.constructor.name),Dt==="Map"||Dt==="Set"?Array.from(qe):Dt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Dt)?(0,Fe.Z)(qe,At):void 0}}}},__webpack_module_cache__={};function __webpack_require__(xe){var $e=__webpack_module_cache__[xe];if($e!==void 0)return $e.exports;var Ie=__webpack_module_cache__[xe]={id:xe,loaded:!1,exports:{}};return __webpack_modules__[xe].call(Ie.exports,Ie,Ie.exports,__webpack_require__),Ie.loaded=!0,Ie.exports}__webpack_require__.n=function(xe){var $e=xe&&xe.__esModule?function(){return xe.default}:function(){return xe};return __webpack_require__.d($e,{a:$e}),$e},__webpack_require__.d=function(xe,$e){for(var Ie in $e)__webpack_require__.o($e,Ie)&&!__webpack_require__.o(xe,Ie)&&Object.defineProperty(xe,Ie,{enumerable:!0,get:$e[Ie]})},__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),__webpack_require__.hmd=function(xe){return(xe=Object.create(xe)).children||(xe.children=[]),Object.defineProperty(xe,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+xe.id)}}),xe},__webpack_require__.o=function(xe,$e){return Object.prototype.hasOwnProperty.call(xe,$e)},__webpack_require__.r=function(xe){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(xe,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(2027);return __webpack_exports__}()})})(eruda);const isff=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function addEvent(xe,$e,Ie,Fe){xe.addEventListener?xe.addEventListener($e,Ie,Fe):xe.attachEvent&&xe.attachEvent("on".concat($e),Ie)}function removeEvent(xe,$e,Ie,Fe){xe.removeEventListener?xe.removeEventListener($e,Ie,Fe):xe.detachEvent&&xe.detachEvent("on".concat($e),Ie)}function getMods(xe,$e){const Ie=$e.slice(0,$e.length-1);for(let Fe=0;Fe<Ie.length;Fe++)Ie[Fe]=xe[Ie[Fe].toLowerCase()];return Ie}function getKeys(xe){typeof xe!="string"&&(xe=""),xe=xe.replace(/\s/g,"");const $e=xe.split(",");let Ie=$e.lastIndexOf("");for(;Ie>=0;)$e[Ie-1]+=",",$e.splice(Ie,1),Ie=$e.lastIndexOf("");return $e}function compareArray(xe,$e){const Ie=xe.length>=$e.length?xe:$e,Fe=xe.length>=$e.length?$e:xe;let Ue=!0;for(let qe=0;qe<Ie.length;qe++)Fe.indexOf(Ie[qe])===-1&&(Ue=!1);return Ue}const _keyMap={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":isff?173:189,"=":isff?61:187,";":isff?59:186,"'":222,"[":219,"]":221,"\\":220},_modifier={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},modifierMap={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},_mods={16:!1,18:!1,17:!1,91:!1},_handlers={};for(let xe=1;xe<20;xe++)_keyMap["f".concat(xe)]=111+xe;let _downKeys=[],winListendFocus=null,_scope="all";const elementEventMap=new Map,code=xe=>_keyMap[xe.toLowerCase()]||_modifier[xe.toLowerCase()]||xe.toUpperCase().charCodeAt(0),getKey$1=xe=>Object.keys(_keyMap).find($e=>_keyMap[$e]===xe),getModifier=xe=>Object.keys(_modifier).find($e=>_modifier[$e]===xe);function setScope(xe){_scope=xe||"all"}function getScope(){return _scope||"all"}function getPressedKeyCodes(){return _downKeys.slice(0)}function getPressedKeyString(){return _downKeys.map(xe=>getKey$1(xe)||getModifier(xe)||String.fromCharCode(xe))}function getAllKeyCodes(){const xe=[];return Object.keys(_handlers).forEach($e=>{_handlers[$e].forEach(Ie=>{let{key:Fe,scope:Ue,mods:qe,shortcut:At}=Ie;xe.push({scope:Ue,shortcut:At,mods:qe,keys:Fe.split("+").map(Dt=>code(Dt))})})}),xe}function filter$1(xe){const $e=xe.target||xe.srcElement,{tagName:Ie}=$e;let Fe=!0;const Ue=Ie==="INPUT"&&!["checkbox","radio","range","button","file","reset","submit","color"].includes($e.type);return($e.isContentEditable||(Ue||Ie==="TEXTAREA"||Ie==="SELECT")&&!$e.readOnly)&&(Fe=!1),Fe}function isPressed(xe){return typeof xe=="string"&&(xe=code(xe)),_downKeys.indexOf(xe)!==-1}function deleteScope(xe,$e){let Ie,Fe;xe||(xe=getScope());for(const Ue in _handlers)if(Object.prototype.hasOwnProperty.call(_handlers,Ue))for(Ie=_handlers[Ue],Fe=0;Fe<Ie.length;)Ie[Fe].scope===xe?Ie.splice(Fe,1).forEach(At=>{let{element:Dt}=At;return removeKeyEvent(Dt)}):Fe++;getScope()===xe&&setScope($e||"all")}function clearModifier(xe){let $e=xe.keyCode||xe.which||xe.charCode;const Ie=_downKeys.indexOf($e);if(Ie>=0&&_downKeys.splice(Ie,1),xe.key&&xe.key.toLowerCase()==="meta"&&_downKeys.splice(0,_downKeys.length),($e===93||$e===224)&&($e=91),$e in _mods){_mods[$e]=!1;for(const Fe in _modifier)_modifier[Fe]===$e&&(hotkeys[Fe]=!1)}}function unbind(xe){if(typeof xe>"u")Object.keys(_handlers).forEach(Ue=>{Array.isArray(_handlers[Ue])&&_handlers[Ue].forEach(qe=>eachUnbind(qe)),delete _handlers[Ue]}),removeKeyEvent(null);else if(Array.isArray(xe))xe.forEach(Ue=>{Ue.key&&eachUnbind(Ue)});else if(typeof xe=="object")xe.key&&eachUnbind(xe);else if(typeof xe=="string"){for(var $e=arguments.length,Ie=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)Ie[Fe-1]=arguments[Fe];let[Ue,qe]=Ie;typeof Ue=="function"&&(qe=Ue,Ue=""),eachUnbind({key:xe,scope:Ue,method:qe,splitKey:"+"})}}const eachUnbind=xe=>{let{key:$e,scope:Ie,method:Fe,splitKey:Ue="+"}=xe;getKeys($e).forEach(At=>{const Dt=At.split(Ue),Lt=Dt.length,jt=Dt[Lt-1],hn=jt==="*"?"*":code(jt);if(!_handlers[hn])return;Ie||(Ie=getScope());const vn=Lt>1?getMods(_modifier,Dt):[],bn=[];_handlers[hn]=_handlers[hn].filter(_n=>{const kn=(Fe?_n.method===Fe:!0)&&_n.scope===Ie&&compareArray(_n.mods,vn);return kn&&bn.push(_n.element),!kn}),bn.forEach(_n=>removeKeyEvent(_n))})};function eventHandler(xe,$e,Ie,Fe){if($e.element!==Fe)return;let Ue;if($e.scope===Ie||$e.scope==="all"){Ue=$e.mods.length>0;for(const qe in _mods)Object.prototype.hasOwnProperty.call(_mods,qe)&&(!_mods[qe]&&$e.mods.indexOf(+qe)>-1||_mods[qe]&&$e.mods.indexOf(+qe)===-1)&&(Ue=!1);($e.mods.length===0&&!_mods[16]&&!_mods[18]&&!_mods[17]&&!_mods[91]||Ue||$e.shortcut==="*")&&($e.keys=[],$e.keys=$e.keys.concat(_downKeys),$e.method(xe,$e)===!1&&(xe.preventDefault?xe.preventDefault():xe.returnValue=!1,xe.stopPropagation&&xe.stopPropagation(),xe.cancelBubble&&(xe.cancelBubble=!0)))}}function dispatch(xe,$e){const Ie=_handlers["*"];let Fe=xe.keyCode||xe.which||xe.charCode;if(!hotkeys.filter.call(this,xe))return;if((Fe===93||Fe===224)&&(Fe=91),_downKeys.indexOf(Fe)===-1&&Fe!==229&&_downKeys.push(Fe),["ctrlKey","altKey","shiftKey","metaKey"].forEach(Dt=>{const Lt=modifierMap[Dt];xe[Dt]&&_downKeys.indexOf(Lt)===-1?_downKeys.push(Lt):!xe[Dt]&&_downKeys.indexOf(Lt)>-1?_downKeys.splice(_downKeys.indexOf(Lt),1):Dt==="metaKey"&&xe[Dt]&&_downKeys.length===3&&(xe.ctrlKey||xe.shiftKey||xe.altKey||(_downKeys=_downKeys.slice(_downKeys.indexOf(Lt))))}),Fe in _mods){_mods[Fe]=!0;for(const Dt in _modifier)_modifier[Dt]===Fe&&(hotkeys[Dt]=!0);if(!Ie)return}for(const Dt in _mods)Object.prototype.hasOwnProperty.call(_mods,Dt)&&(_mods[Dt]=xe[modifierMap[Dt]]);xe.getModifierState&&!(xe.altKey&&!xe.ctrlKey)&&xe.getModifierState("AltGraph")&&(_downKeys.indexOf(17)===-1&&_downKeys.push(17),_downKeys.indexOf(18)===-1&&_downKeys.push(18),_mods[17]=!0,_mods[18]=!0);const Ue=getScope();if(Ie)for(let Dt=0;Dt<Ie.length;Dt++)Ie[Dt].scope===Ue&&(xe.type==="keydown"&&Ie[Dt].keydown||xe.type==="keyup"&&Ie[Dt].keyup)&&eventHandler(xe,Ie[Dt],Ue,$e);if(!(Fe in _handlers))return;const qe=_handlers[Fe],At=qe.length;for(let Dt=0;Dt<At;Dt++)if((xe.type==="keydown"&&qe[Dt].keydown||xe.type==="keyup"&&qe[Dt].keyup)&&qe[Dt].key){const Lt=qe[Dt],{splitKey:jt}=Lt,hn=Lt.key.split(jt),vn=[];for(let bn=0;bn<hn.length;bn++)vn.push(code(hn[bn]));vn.sort().join("")===_downKeys.sort().join("")&&eventHandler(xe,Lt,Ue,$e)}}function hotkeys(xe,$e,Ie){_downKeys=[];const Fe=getKeys(xe);let Ue=[],qe="all",At=document,Dt=0,Lt=!1,jt=!0,hn="+",vn=!1,bn=!1;for(Ie===void 0&&typeof $e=="function"&&(Ie=$e),Object.prototype.toString.call($e)==="[object Object]"&&($e.scope&&(qe=$e.scope),$e.element&&(At=$e.element),$e.keyup&&(Lt=$e.keyup),$e.keydown!==void 0&&(jt=$e.keydown),$e.capture!==void 0&&(vn=$e.capture),typeof $e.splitKey=="string"&&(hn=$e.splitKey),$e.single===!0&&(bn=!0)),typeof $e=="string"&&(qe=$e),bn&&unbind(xe,qe);Dt<Fe.length;Dt++)xe=Fe[Dt].split(hn),Ue=[],xe.length>1&&(Ue=getMods(_modifier,xe)),xe=xe[xe.length-1],xe=xe==="*"?"*":code(xe),xe in _handlers||(_handlers[xe]=[]),_handlers[xe].push({keyup:Lt,keydown:jt,scope:qe,mods:Ue,shortcut:Fe[Dt],method:Ie,key:Fe[Dt],splitKey:hn,element:At});if(typeof At<"u"&&window){if(!elementEventMap.has(At)){const _n=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;return dispatch(kn,At)},wn=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;dispatch(kn,At),clearModifier(kn)};elementEventMap.set(At,{keydownListener:_n,keyupListenr:wn,capture:vn}),addEvent(At,"keydown",_n,vn),addEvent(At,"keyup",wn,vn)}if(!winListendFocus){const _n=()=>{_downKeys=[]};winListendFocus={listener:_n,capture:vn},addEvent(window,"focus",_n,vn)}}}function trigger$2(xe){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(_handlers).forEach(Ie=>{_handlers[Ie].filter(Ue=>Ue.scope===$e&&Ue.shortcut===xe).forEach(Ue=>{Ue&&Ue.method&&Ue.method()})})}function removeKeyEvent(xe){const $e=Object.values(_handlers).flat();if($e.findIndex(Fe=>{let{element:Ue}=Fe;return Ue===xe})<0){const{keydownListener:Fe,keyupListenr:Ue,capture:qe}=elementEventMap.get(xe)||{};Fe&&Ue&&(removeEvent(xe,"keyup",Ue,qe),removeEvent(xe,"keydown",Fe,qe),elementEventMap.delete(xe))}if(($e.length<=0||elementEventMap.size<=0)&&(Object.keys(elementEventMap).forEach(Ue=>{const{keydownListener:qe,keyupListenr:At,capture:Dt}=elementEventMap.get(Ue)||{};qe&&At&&(removeEvent(Ue,"keyup",At,Dt),removeEvent(Ue,"keydown",qe,Dt),elementEventMap.delete(Ue))}),elementEventMap.clear(),Object.keys(_handlers).forEach(Ue=>delete _handlers[Ue]),winListendFocus)){const{listener:Ue,capture:qe}=winListendFocus;removeEvent(window,"focus",Ue,qe),winListendFocus=null}}const _api={getPressedKeyString,setScope,getScope,deleteScope,getPressedKeyCodes,getAllKeyCodes,isPressed,filter:filter$1,trigger:trigger$2,unbind,keyMap:_keyMap,modifier:_modifier,modifierMap};for(const xe in _api)Object.prototype.hasOwnProperty.call(_api,xe)&&(hotkeys[xe]=_api[xe]);if(typeof window<"u"){const xe=window.hotkeys;hotkeys.noConflict=$e=>($e&&window.hotkeys===hotkeys&&(window.hotkeys=xe),hotkeys),window.hotkeys=hotkeys}var zhCn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},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:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _sfc_main$2t=defineComponent({__name:"index",setup(xe){return($e,Ie)=>{const Fe=resolveComponent("ElConfigProvider");return openBlock(),createBlock(Fe,{locale:unref(zhCn),button:{autoInsertSpace:!0}},{default:withCtx(()=>[renderSlot($e.$slots,"default")]),_:3},8,["locale"])}}});var nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
 * @license MIT */(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie={};Ie.version="0.2.0";var Fe=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(wn){var kn,Cn;for(kn in wn)Cn=wn[kn],Cn!==void 0&&wn.hasOwnProperty(kn)&&(Fe[kn]=Cn);return this},Ie.status=null,Ie.set=function(wn){var kn=Ie.isStarted();wn=Ue(wn,Fe.minimum,1),Ie.status=wn===1?null:wn;var Cn=Ie.render(!kn),Sn=Cn.querySelector(Fe.barSelector),xn=Fe.speed,En=Fe.easing;return Cn.offsetWidth,Dt(function(Tn){Fe.positionUsing===""&&(Fe.positionUsing=Ie.getPositioningCSS()),Lt(Sn,At(wn,xn,En)),wn===1?(Lt(Cn,{transition:"none",opacity:1}),Cn.offsetWidth,setTimeout(function(){Lt(Cn,{transition:"all "+xn+"ms linear",opacity:0}),setTimeout(function(){Ie.remove(),Tn()},xn)},xn)):setTimeout(Tn,xn)}),this},Ie.isStarted=function(){return typeof Ie.status=="number"},Ie.start=function(){Ie.status||Ie.set(0);var wn=function(){setTimeout(function(){Ie.status&&(Ie.trickle(),wn())},Fe.trickleSpeed)};return Fe.trickle&&wn(),this},Ie.done=function(wn){return!wn&&!Ie.status?this:Ie.inc(.3+.5*Math.random()).set(1)},Ie.inc=function(wn){var kn=Ie.status;return kn?(typeof wn!="number"&&(wn=(1-kn)*Ue(Math.random()*kn,.1,.95)),kn=Ue(kn+wn,0,.994),Ie.set(kn)):Ie.start()},Ie.trickle=function(){return Ie.inc(Math.random()*Fe.trickleRate)},function(){var wn=0,kn=0;Ie.promise=function(Cn){return!Cn||Cn.state()==="resolved"?this:(kn===0&&Ie.start(),wn++,kn++,Cn.always(function(){kn--,kn===0?(wn=0,Ie.done()):Ie.set((wn-kn)/wn)}),this)}}(),Ie.render=function(wn){if(Ie.isRendered())return document.getElementById("nprogress");hn(document.documentElement,"nprogress-busy");var kn=document.createElement("div");kn.id="nprogress",kn.innerHTML=Fe.template;var Cn=kn.querySelector(Fe.barSelector),Sn=wn?"-100":qe(Ie.status||0),xn=document.querySelector(Fe.parent),En;return Lt(Cn,{transition:"all 0 linear",transform:"translate3d("+Sn+"%,0,0)"}),Fe.showSpinner||(En=kn.querySelector(Fe.spinnerSelector),En&&_n(En)),xn!=document.body&&hn(xn,"nprogress-custom-parent"),xn.appendChild(kn),kn},Ie.remove=function(){vn(document.documentElement,"nprogress-busy"),vn(document.querySelector(Fe.parent),"nprogress-custom-parent");var wn=document.getElementById("nprogress");wn&&_n(wn)},Ie.isRendered=function(){return!!document.getElementById("nprogress")},Ie.getPositioningCSS=function(){var wn=document.body.style,kn="WebkitTransform"in wn?"Webkit":"MozTransform"in wn?"Moz":"msTransform"in wn?"ms":"OTransform"in wn?"O":"";return kn+"Perspective"in wn?"translate3d":kn+"Transform"in wn?"translate":"margin"};function Ue(wn,kn,Cn){return wn<kn?kn:wn>Cn?Cn:wn}function qe(wn){return(-1+wn)*100}function At(wn,kn,Cn){var Sn;return Fe.positionUsing==="translate3d"?Sn={transform:"translate3d("+qe(wn)+"%,0,0)"}:Fe.positionUsing==="translate"?Sn={transform:"translate("+qe(wn)+"%,0)"}:Sn={"margin-left":qe(wn)+"%"},Sn.transition="all "+kn+"ms "+Cn,Sn}var Dt=function(){var wn=[];function kn(){var Cn=wn.shift();Cn&&Cn(kn)}return function(Cn){wn.push(Cn),wn.length==1&&kn()}}(),Lt=function(){var wn=["Webkit","O","Moz","ms"],kn={};function Cn(Tn){return Tn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(An,$n){return $n.toUpperCase()})}function Sn(Tn){var An=document.body.style;if(Tn in An)return Tn;for(var $n=wn.length,Pn=Tn.charAt(0).toUpperCase()+Tn.slice(1),Nn;$n--;)if(Nn=wn[$n]+Pn,Nn in An)return Nn;return Tn}function xn(Tn){return Tn=Cn(Tn),kn[Tn]||(kn[Tn]=Sn(Tn))}function En(Tn,An,$n){An=xn(An),Tn.style[An]=$n}return function(Tn,An){var $n=arguments,Pn,Nn;if($n.length==2)for(Pn in An)Nn=An[Pn],Nn!==void 0&&An.hasOwnProperty(Pn)&&En(Tn,Pn,Nn);else En(Tn,$n[1],$n[2])}}();function jt(wn,kn){var Cn=typeof wn=="string"?wn:bn(wn);return Cn.indexOf(" "+kn+" ")>=0}function hn(wn,kn){var Cn=bn(wn),Sn=Cn+kn;jt(Cn,kn)||(wn.className=Sn.substring(1))}function vn(wn,kn){var Cn=bn(wn),Sn;jt(wn,kn)&&(Sn=Cn.replace(" "+kn+" "," "),wn.className=Sn.substring(1,Sn.length-1))}function bn(wn){return(" "+(wn.className||"")+" ").replace(/\s+/gi," ")}function _n(wn){wn&&wn.parentNode&&wn.parentNode.removeChild(wn)}return Ie})})(nprogress$1);var nprogressExports=nprogress$1.exports;const nprogress=getDefaultExportFromCjs(nprogressExports);function tryOnScopeDispose$1(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function toValue(xe){return typeof xe=="function"?xe():unref(xe)}const isClient$1=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString$1=Object.prototype.toString,isObject$5=xe=>toString$1.call(xe)==="[object Object]",noop$3=()=>{};function createSingletonPromise(xe){let $e;function Ie(){return $e||($e=xe()),$e}return Ie.reset=async()=>{const Fe=$e;$e=void 0,Fe&&await Fe},Ie}function getLifeCycleTarget(xe){return getCurrentInstance()}function tryOnMounted$1(xe,$e=!0,Ie){getLifeCycleTarget()?onMounted(xe,Ie):$e?xe():nextTick(xe)}function useTimeoutFn$1(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},toValue($e))}return Fe&&(Ue.value=!0,isClient$1&&Lt()),tryOnScopeDispose$1(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function useNProgress(xe=null,$e){const Ie=ref(xe),Fe=computed({set:qe=>qe?nprogress.start():nprogress.done(),get:()=>typeof Ie.value=="number"&&Ie.value<1}),Ue=nprogress.set;return nprogress.set=qe=>(Ie.value=qe,Ue.call(nprogress,qe)),watchEffect(()=>{typeof Ie.value=="number"&&isClient$1&&Ue.call(nprogress,Ie.value)}),tryOnScopeDispose$1(nprogress.remove),{isLoading:Fe,progress:Ie,start:nprogress.start,done:nprogress.done,remove:()=>{Ie.value=null,nprogress.remove()}}}const pinia=createPinia(),useKeepAliveStore=defineStore("keepAlive",()=>{const xe=ref([]);function $e(Ue){typeof Ue=="string"?!xe.value.includes(Ue)&&xe.value.push(Ue):Ue.forEach(qe=>{qe&&!xe.value.includes(qe)&&xe.value.push(qe)})}function Ie(Ue){typeof Ue=="string"?xe.value=xe.value.filter(qe=>qe!==Ue):xe.value=xe.value.filter(qe=>!Ue.includes(qe))}function Fe(){xe.value=[]}return{list:xe,add:$e,remove:Ie,clean:Fe}}),menus={meta:{title:"多级导航",icon:"heroicons-solid:menu-alt-3"},children:[{path:"/multilevel_menu_example/page",meta:{title:"导航1"}},{meta:{title:"导航2"},children:[{path:"/multilevel_menu_example/level2/page",meta:{title:"导航2-1"}},{meta:{title:"导航2-2"},children:[{path:"/multilevel_menu_example/level2/level3/page1",meta:{title:"导航2-2-1"}},{path:"/multilevel_menu_example/level2/level3/page2",meta:{title:"导航2-2-2"}}]}]}]},menu=[{meta:{title:"演示",icon:"uim:box"},children:[menus]}];function assertPath(xe){if(typeof xe!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(xe))}function normalizeStringPosix(xe,$e){for(var Ie="",Fe=0,Ue=-1,qe=0,At,Dt=0;Dt<=xe.length;++Dt){if(Dt<xe.length)At=xe.charCodeAt(Dt);else{if(At===47)break;At=47}if(At===47){if(!(Ue===Dt-1||qe===1))if(Ue!==Dt-1&&qe===2){if(Ie.length<2||Fe!==2||Ie.charCodeAt(Ie.length-1)!==46||Ie.charCodeAt(Ie.length-2)!==46){if(Ie.length>2){var Lt=Ie.lastIndexOf("/");if(Lt!==Ie.length-1){Lt===-1?(Ie="",Fe=0):(Ie=Ie.slice(0,Lt),Fe=Ie.length-1-Ie.lastIndexOf("/")),Ue=Dt,qe=0;continue}}else if(Ie.length===2||Ie.length===1){Ie="",Fe=0,Ue=Dt,qe=0;continue}}$e&&(Ie.length>0?Ie+="/..":Ie="..",Fe=2)}else Ie.length>0?Ie+="/"+xe.slice(Ue+1,Dt):Ie=xe.slice(Ue+1,Dt),Fe=Dt-Ue-1;Ue=Dt,qe=0}else At===46&&qe!==-1?++qe:qe=-1}return Ie}function _format(xe,$e){var Ie=$e.dir||$e.root,Fe=$e.base||($e.name||"")+($e.ext||"");return Ie?Ie===$e.root?Ie+Fe:Ie+xe+Fe:Fe}var posix={resolve:function xe(){for(var $e="",Ie=!1,Fe,Ue=arguments.length-1;Ue>=-1&&!Ie;Ue--){var qe;Ue>=0?qe=arguments[Ue]:(Fe===void 0&&(Fe=process.cwd()),qe=Fe),assertPath(qe),qe.length!==0&&($e=qe+"/"+$e,Ie=qe.charCodeAt(0)===47)}return $e=normalizeStringPosix($e,!Ie),Ie?$e.length>0?"/"+$e:"/":$e.length>0?$e:"."},normalize:function xe($e){if(assertPath($e),$e.length===0)return".";var Ie=$e.charCodeAt(0)===47,Fe=$e.charCodeAt($e.length-1)===47;return $e=normalizeStringPosix($e,!Ie),$e.length===0&&!Ie&&($e="."),$e.length>0&&Fe&&($e+="/"),Ie?"/"+$e:$e},isAbsolute:function xe($e){return assertPath($e),$e.length>0&&$e.charCodeAt(0)===47},join:function xe(){if(arguments.length===0)return".";for(var $e,Ie=0;Ie<arguments.length;++Ie){var Fe=arguments[Ie];assertPath(Fe),Fe.length>0&&($e===void 0?$e=Fe:$e+="/"+Fe)}return $e===void 0?".":posix.normalize($e)},relative:function xe($e,Ie){if(assertPath($e),assertPath(Ie),$e===Ie||($e=posix.resolve($e),Ie=posix.resolve(Ie),$e===Ie))return"";for(var Fe=1;Fe<$e.length&&$e.charCodeAt(Fe)===47;++Fe);for(var Ue=$e.length,qe=Ue-Fe,At=1;At<Ie.length&&Ie.charCodeAt(At)===47;++At);for(var Dt=Ie.length,Lt=Dt-At,jt=qe<Lt?qe:Lt,hn=-1,vn=0;vn<=jt;++vn){if(vn===jt){if(Lt>jt){if(Ie.charCodeAt(At+vn)===47)return Ie.slice(At+vn+1);if(vn===0)return Ie.slice(At+vn)}else qe>jt&&($e.charCodeAt(Fe+vn)===47?hn=vn:vn===0&&(hn=0));break}var bn=$e.charCodeAt(Fe+vn),_n=Ie.charCodeAt(At+vn);if(bn!==_n)break;bn===47&&(hn=vn)}var wn="";for(vn=Fe+hn+1;vn<=Ue;++vn)(vn===Ue||$e.charCodeAt(vn)===47)&&(wn.length===0?wn+="..":wn+="/..");return wn.length>0?wn+Ie.slice(At+hn):(At+=hn,Ie.charCodeAt(At)===47&&++At,Ie.slice(At))},_makeLong:function xe($e){return $e},dirname:function xe($e){if(assertPath($e),$e.length===0)return".";for(var Ie=$e.charCodeAt(0),Fe=Ie===47,Ue=-1,qe=!0,At=$e.length-1;At>=1;--At)if(Ie=$e.charCodeAt(At),Ie===47){if(!qe){Ue=At;break}}else qe=!1;return Ue===-1?Fe?"/":".":Fe&&Ue===1?"//":$e.slice(0,Ue)},basename:function xe($e,Ie){if(Ie!==void 0&&typeof Ie!="string")throw new TypeError('"ext" argument must be a string');assertPath($e);var Fe=0,Ue=-1,qe=!0,At;if(Ie!==void 0&&Ie.length>0&&Ie.length<=$e.length){if(Ie.length===$e.length&&Ie===$e)return"";var Dt=Ie.length-1,Lt=-1;for(At=$e.length-1;At>=0;--At){var jt=$e.charCodeAt(At);if(jt===47){if(!qe){Fe=At+1;break}}else Lt===-1&&(qe=!1,Lt=At+1),Dt>=0&&(jt===Ie.charCodeAt(Dt)?--Dt===-1&&(Ue=At):(Dt=-1,Ue=Lt))}return Fe===Ue?Ue=Lt:Ue===-1&&(Ue=$e.length),$e.slice(Fe,Ue)}else{for(At=$e.length-1;At>=0;--At)if($e.charCodeAt(At)===47){if(!qe){Fe=At+1;break}}else Ue===-1&&(qe=!1,Ue=At+1);return Ue===-1?"":$e.slice(Fe,Ue)}},extname:function xe($e){assertPath($e);for(var Ie=-1,Fe=0,Ue=-1,qe=!0,At=0,Dt=$e.length-1;Dt>=0;--Dt){var Lt=$e.charCodeAt(Dt);if(Lt===47){if(!qe){Fe=Dt+1;break}continue}Ue===-1&&(qe=!1,Ue=Dt+1),Lt===46?Ie===-1?Ie=Dt:At!==1&&(At=1):Ie!==-1&&(At=-1)}return Ie===-1||Ue===-1||At===0||At===1&&Ie===Ue-1&&Ie===Fe+1?"":$e.slice(Ie,Ue)},format:function xe($e){if($e===null||typeof $e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof $e);return _format("/",$e)},parse:function xe($e){assertPath($e);var Ie={root:"",dir:"",base:"",ext:"",name:""};if($e.length===0)return Ie;var Fe=$e.charCodeAt(0),Ue=Fe===47,qe;Ue?(Ie.root="/",qe=1):qe=0;for(var At=-1,Dt=0,Lt=-1,jt=!0,hn=$e.length-1,vn=0;hn>=qe;--hn){if(Fe=$e.charCodeAt(hn),Fe===47){if(!jt){Dt=hn+1;break}continue}Lt===-1&&(jt=!1,Lt=hn+1),Fe===46?At===-1?At=hn:vn!==1&&(vn=1):At!==-1&&(vn=-1)}return At===-1||Lt===-1||vn===0||vn===1&&At===Lt-1&&At===Dt+1?Lt!==-1&&(Dt===0&&Ue?Ie.base=Ie.name=$e.slice(1,Lt):Ie.base=Ie.name=$e.slice(Dt,Lt)):(Dt===0&&Ue?(Ie.name=$e.slice(1,At),Ie.base=$e.slice(1,Lt)):(Ie.name=$e.slice(Dt,At),Ie.base=$e.slice(Dt,Lt)),Ie.ext=$e.slice(At,Lt)),Dt>0?Ie.dir=$e.slice(0,Dt-1):Ue&&(Ie.dir="/"),Ie},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix;const path=getDefaultExportFromCjs(pathBrowserify);function resolveRoutePath(xe,$e){return xe?path.resolve(xe,$e??""):$e??""}const scriptRel="modulepreload",assetsURL=function(xe,$e){return new URL(xe,$e).href},seen={},__vitePreload=function xe($e,Ie,Fe){let Ue=Promise.resolve();if(Ie&&Ie.length>0){const qe=document.getElementsByTagName("link"),At=document.querySelector("meta[property=csp-nonce]"),Dt=(At==null?void 0:At.nonce)||(At==null?void 0:At.getAttribute("nonce"));Ue=Promise.all(Ie.map(Lt=>{if(Lt=assetsURL(Lt,Fe),Lt in seen)return;seen[Lt]=!0;const jt=Lt.endsWith(".css"),hn=jt?'[rel="stylesheet"]':"";if(!!Fe)for(let _n=qe.length-1;_n>=0;_n--){const wn=qe[_n];if(wn.href===Lt&&(!jt||wn.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${Lt}"]${hn}`))return;const bn=document.createElement("link");if(bn.rel=jt?"stylesheet":scriptRel,jt||(bn.as="script",bn.crossOrigin=""),bn.href=Lt,Dt&&bn.setAttribute("nonce",Dt),document.head.appendChild(bn),jt)return new Promise((_n,wn)=>{bn.addEventListener("load",_n),bn.addEventListener("error",()=>wn(new Error(`Unable to preload CSS for ${Lt}`)))})}))}return Ue.then(()=>$e()).catch(qe=>{const At=new Event("vite:preloadError",{cancelable:!0});if(At.payload=qe,window.dispatchEvent(At),!At.defaultPrevented)throw qe})},apiDashboard={getBaseInfo:()=>api.get("/statistic/base"),getChatStatistic:xe=>api.get("/statistic/chatStatistic",{params:{days:xe.days}}),getBaiduVisit:xe=>api.get("/statistic/baiduVisit",{params:{days:xe.days}}),getObserverCharts:xe=>api.get("/statistic/observerCharts",{params:xe})};/*! *****************************************************************************
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(xe,$e){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ie,Fe){Ie.__proto__=Fe}||function(Ie,Fe){for(var Ue in Fe)Object.prototype.hasOwnProperty.call(Fe,Ue)&&(Ie[Ue]=Fe[Ue])},extendStatics(xe,$e)};function __extends(xe,$e){if(typeof $e!="function"&&$e!==null)throw new TypeError("Class extends value "+String($e)+" is not a constructor or null");extendStatics(xe,$e);function Ie(){this.constructor=xe}xe.prototype=$e===null?Object.create($e):(Ie.prototype=$e.prototype,new Ie)}var Browser=function(){function xe(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return xe}(),Env=function(){function xe(){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 xe}(),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"||navigator.userAgent.indexOf("Node.js")===0?(env.node=!0,env.svgSupported=!0):detect(navigator.userAgent,env);function detect(xe,$e){var Ie=$e.browser,Fe=xe.match(/Firefox\/([\d.]+)/),Ue=xe.match(/MSIE\s([\d.]+)/)||xe.match(/Trident\/.+?rv:(([\d.]+))/),qe=xe.match(/Edge?\/([\d.]+)/),At=/micromessenger/i.test(xe);Fe&&(Ie.firefox=!0,Ie.version=Fe[1]),Ue&&(Ie.ie=!0,Ie.version=Ue[1]),qe&&(Ie.edge=!0,Ie.version=qe[1],Ie.newEdge=+qe[1].split(".")[0]>18),At&&(Ie.weChat=!0),$e.svgSupported=typeof SVGRect<"u",$e.touchEventsSupported="ontouchstart"in window&&!Ie.ie&&!Ie.edge,$e.pointerEventsSupported="onpointerdown"in window&&(Ie.edge||Ie.ie&&+Ie.version>=11),$e.domSupported=typeof document<"u";var Dt=document.documentElement.style;$e.transform3dSupported=(Ie.ie&&"transition"in Dt||Ie.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in Dt)&&!("OTransition"in Dt),$e.transformSupported=$e.transform3dSupported||Ie.ie&&+Ie.version>=9}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(xe){var $e={};if(typeof JSON>"u")return $e;for(var Ie=0;Ie<xe.length;Ie++){var Fe=String.fromCharCode(Ie+32),Ue=(xe.charCodeAt(Ie)-OFFSET)/SCALE;$e[Fe]=Ue}return $e}var DEFAULT_TEXT_WIDTH_MAP=getTextWidthMap(defaultWidthMapStr),platformApi={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var xe,$e;return function(Ie,Fe){if(!xe){var Ue=platformApi.createCanvas();xe=Ue&&Ue.getContext("2d")}if(xe)return $e!==Fe&&($e=xe.font=Fe||DEFAULT_FONT),xe.measureText(Ie);Ie=Ie||"",Fe=Fe||DEFAULT_FONT;var qe=/(\d+)px/.exec(Fe),At=qe&&+qe[1]||DEFAULT_FONT_SIZE,Dt=0;if(Fe.indexOf("mono")>=0)Dt=At*Ie.length;else for(var Lt=0;Lt<Ie.length;Lt++){var jt=DEFAULT_TEXT_WIDTH_MAP[Ie[Lt]];Dt+=jt==null?At:jt*At}return{width:Dt}}}(),loadImage:function(xe,$e,Ie){var Fe=new Image;return Fe.onload=$e,Fe.onerror=Ie,Fe.src=xe,Fe}},BUILTIN_OBJECT=reduce(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(xe,$e){return xe["[object "+$e+"]"]=!0,xe},{}),TYPED_ARRAY=reduce(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(xe,$e){return xe["[object "+$e+"Array]"]=!0,xe},{}),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 xe=[],$e=0;$e<arguments.length;$e++)xe[$e]=arguments[$e];typeof console<"u"&&console.error.apply(console,xe)}function clone$4(xe){if(xe==null||typeof xe!="object")return xe;var $e=xe,Ie=objToString.call(xe);if(Ie==="[object Array]"){if(!isPrimitive(xe)){$e=[];for(var Fe=0,Ue=xe.length;Fe<Ue;Fe++)$e[Fe]=clone$4(xe[Fe])}}else if(TYPED_ARRAY[Ie]){if(!isPrimitive(xe)){var qe=xe.constructor;if(qe.from)$e=qe.from(xe);else{$e=new qe(xe.length);for(var Fe=0,Ue=xe.length;Fe<Ue;Fe++)$e[Fe]=xe[Fe]}}}else if(!BUILTIN_OBJECT[Ie]&&!isPrimitive(xe)&&!isDom(xe)){$e={};for(var At in xe)xe.hasOwnProperty(At)&&At!==protoKey&&($e[At]=clone$4(xe[At]))}return $e}function merge$1(xe,$e,Ie){if(!isObject$4($e)||!isObject$4(xe))return Ie?clone$4($e):xe;for(var Fe in $e)if($e.hasOwnProperty(Fe)&&Fe!==protoKey){var Ue=xe[Fe],qe=$e[Fe];isObject$4(qe)&&isObject$4(Ue)&&!isArray$2(qe)&&!isArray$2(Ue)&&!isDom(qe)&&!isDom(Ue)&&!isBuiltInObject(qe)&&!isBuiltInObject(Ue)&&!isPrimitive(qe)&&!isPrimitive(Ue)?merge$1(Ue,qe,Ie):(Ie||!(Fe in xe))&&(xe[Fe]=clone$4($e[Fe]))}return xe}function mergeAll(xe,$e){for(var Ie=xe[0],Fe=1,Ue=xe.length;Fe<Ue;Fe++)Ie=merge$1(Ie,xe[Fe],$e);return Ie}function extend$1(xe,$e){if(Object.assign)Object.assign(xe,$e);else for(var Ie in $e)$e.hasOwnProperty(Ie)&&Ie!==protoKey&&(xe[Ie]=$e[Ie]);return xe}function defaults$1(xe,$e,Ie){for(var Fe=keys($e),Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];(Ie?$e[qe]!=null:xe[qe]==null)&&(xe[qe]=$e[qe])}return xe}function indexOf(xe,$e){if(xe){if(xe.indexOf)return xe.indexOf($e);for(var Ie=0,Fe=xe.length;Ie<Fe;Ie++)if(xe[Ie]===$e)return Ie}return-1}function inherits$1(xe,$e){var Ie=xe.prototype;function Fe(){}Fe.prototype=$e.prototype,xe.prototype=new Fe;for(var Ue in Ie)Ie.hasOwnProperty(Ue)&&(xe.prototype[Ue]=Ie[Ue]);xe.prototype.constructor=xe,xe.superClass=$e}function mixin(xe,$e,Ie){if(xe="prototype"in xe?xe.prototype:xe,$e="prototype"in $e?$e.prototype:$e,Object.getOwnPropertyNames)for(var Fe=Object.getOwnPropertyNames($e),Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];qe!=="constructor"&&(Ie?$e[qe]!=null:xe[qe]==null)&&(xe[qe]=$e[qe])}else defaults$1(xe,$e,Ie)}function isArrayLike(xe){return!xe||typeof xe=="string"?!1:typeof xe.length=="number"}function each$f(xe,$e,Ie){if(xe&&$e)if(xe.forEach&&xe.forEach===nativeForEach)xe.forEach($e,Ie);else if(xe.length===+xe.length)for(var Fe=0,Ue=xe.length;Fe<Ue;Fe++)$e.call(Ie,xe[Fe],Fe,xe);else for(var qe in xe)xe.hasOwnProperty(qe)&&$e.call(Ie,xe[qe],qe,xe)}function map$1(xe,$e,Ie){if(!xe)return[];if(!$e)return slice(xe);if(xe.map&&xe.map===nativeMap)return xe.map($e,Ie);for(var Fe=[],Ue=0,qe=xe.length;Ue<qe;Ue++)Fe.push($e.call(Ie,xe[Ue],Ue,xe));return Fe}function reduce(xe,$e,Ie,Fe){if(xe&&$e){for(var Ue=0,qe=xe.length;Ue<qe;Ue++)Ie=$e.call(Fe,Ie,xe[Ue],Ue,xe);return Ie}}function filter(xe,$e,Ie){if(!xe)return[];if(!$e)return slice(xe);if(xe.filter&&xe.filter===nativeFilter)return xe.filter($e,Ie);for(var Fe=[],Ue=0,qe=xe.length;Ue<qe;Ue++)$e.call(Ie,xe[Ue],Ue,xe)&&Fe.push(xe[Ue]);return Fe}function find(xe,$e,Ie){if(xe&&$e){for(var Fe=0,Ue=xe.length;Fe<Ue;Fe++)if($e.call(Ie,xe[Fe],Fe,xe))return xe[Fe]}}function keys(xe){if(!xe)return[];if(Object.keys)return Object.keys(xe);var $e=[];for(var Ie in xe)xe.hasOwnProperty(Ie)&&$e.push(Ie);return $e}function bindPolyfill(xe,$e){for(var Ie=[],Fe=2;Fe<arguments.length;Fe++)Ie[Fe-2]=arguments[Fe];return function(){return xe.apply($e,Ie.concat(nativeSlice.call(arguments)))}}var bind$2=protoFunction&&isFunction$2(protoFunction.bind)?protoFunction.call.bind(protoFunction.bind):bindPolyfill;function curry$1(xe){for(var $e=[],Ie=1;Ie<arguments.length;Ie++)$e[Ie-1]=arguments[Ie];return function(){return xe.apply(this,$e.concat(nativeSlice.call(arguments)))}}function isArray$2(xe){return Array.isArray?Array.isArray(xe):objToString.call(xe)==="[object Array]"}function isFunction$2(xe){return typeof xe=="function"}function isString$2(xe){return typeof xe=="string"}function isStringSafe(xe){return objToString.call(xe)==="[object String]"}function isNumber$2(xe){return typeof xe=="number"}function isObject$4(xe){var $e=typeof xe;return $e==="function"||!!xe&&$e==="object"}function isBuiltInObject(xe){return!!BUILTIN_OBJECT[objToString.call(xe)]}function isTypedArray$1(xe){return!!TYPED_ARRAY[objToString.call(xe)]}function isDom(xe){return typeof xe=="object"&&typeof xe.nodeType=="number"&&typeof xe.ownerDocument=="object"}function isGradientObject(xe){return xe.colorStops!=null}function isImagePatternObject(xe){return xe.image!=null}function isRegExp$1(xe){return objToString.call(xe)==="[object RegExp]"}function eqNaN(xe){return xe!==xe}function retrieve(){for(var xe=[],$e=0;$e<arguments.length;$e++)xe[$e]=arguments[$e];for(var Ie=0,Fe=xe.length;Ie<Fe;Ie++)if(xe[Ie]!=null)return xe[Ie]}function retrieve2(xe,$e){return xe??$e}function retrieve3(xe,$e,Ie){return xe??$e??Ie}function slice(xe){for(var $e=[],Ie=1;Ie<arguments.length;Ie++)$e[Ie-1]=arguments[Ie];return nativeSlice.apply(xe,$e)}function normalizeCssArray$1(xe){if(typeof xe=="number")return[xe,xe,xe,xe];var $e=xe.length;return $e===2?[xe[0],xe[1],xe[0],xe[1]]:$e===3?[xe[0],xe[1],xe[2],xe[1]]:xe}function assert(xe,$e){if(!xe)throw new Error($e)}function trim$2(xe){return xe==null?null:typeof xe.trim=="function"?xe.trim():xe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var primitiveKey="__ec_primitive__";function setAsPrimitive(xe){xe[primitiveKey]=!0}function isPrimitive(xe){return xe[primitiveKey]}var MapPolyfill=function(){function xe(){this.data={}}return xe.prototype.delete=function($e){var Ie=this.has($e);return Ie&&delete this.data[$e],Ie},xe.prototype.has=function($e){return this.data.hasOwnProperty($e)},xe.prototype.get=function($e){return this.data[$e]},xe.prototype.set=function($e,Ie){return this.data[$e]=Ie,this},xe.prototype.keys=function(){return keys(this.data)},xe.prototype.forEach=function($e){var Ie=this.data;for(var Fe in Ie)Ie.hasOwnProperty(Fe)&&$e(Ie[Fe],Fe)},xe}(),isNativeMapSupported=typeof Map=="function";function maybeNativeMap(){return isNativeMapSupported?new Map:new MapPolyfill}var HashMap=function(){function xe($e){var Ie=isArray$2($e);this.data=maybeNativeMap();var Fe=this;$e instanceof xe?$e.each(Ue):$e&&each$f($e,Ue);function Ue(qe,At){Ie?Fe.set(qe,At):Fe.set(At,qe)}}return xe.prototype.hasKey=function($e){return this.data.has($e)},xe.prototype.get=function($e){return this.data.get($e)},xe.prototype.set=function($e,Ie){return this.data.set($e,Ie),Ie},xe.prototype.each=function($e,Ie){this.data.forEach(function(Fe,Ue){$e.call(Ie,Fe,Ue)})},xe.prototype.keys=function(){var $e=this.data.keys();return isNativeMapSupported?Array.from($e):$e},xe.prototype.removeKey=function($e){this.data.delete($e)},xe}();function createHashMap(xe){return new HashMap(xe)}function concatArray(xe,$e){for(var Ie=new xe.constructor(xe.length+$e.length),Fe=0;Fe<xe.length;Fe++)Ie[Fe]=xe[Fe];for(var Ue=xe.length,Fe=0;Fe<$e.length;Fe++)Ie[Fe+Ue]=$e[Fe];return Ie}function createObject(xe,$e){var Ie;if(Object.create)Ie=Object.create(xe);else{var Fe=function(){};Fe.prototype=xe,Ie=new Fe}return $e&&extend$1(Ie,$e),Ie}function disableUserSelect(xe){var $e=xe.style;$e.webkitUserSelect="none",$e.userSelect="none",$e.webkitTapHighlightColor="rgba(0,0,0,0)",$e["-webkit-touch-callout"]="none"}function hasOwn(xe,$e){return xe.hasOwnProperty($e)}function noop$2(){}var RADIAN_TO_DEGREE=180/Math.PI;function create$2(xe,$e){return xe==null&&(xe=0),$e==null&&($e=0),[xe,$e]}function copy$1(xe,$e){return xe[0]=$e[0],xe[1]=$e[1],xe}function clone$3(xe){return[xe[0],xe[1]]}function set$1(xe,$e,Ie){return xe[0]=$e,xe[1]=Ie,xe}function add(xe,$e,Ie){return xe[0]=$e[0]+Ie[0],xe[1]=$e[1]+Ie[1],xe}function scaleAndAdd$1(xe,$e,Ie,Fe){return xe[0]=$e[0]+Ie[0]*Fe,xe[1]=$e[1]+Ie[1]*Fe,xe}function sub(xe,$e,Ie){return xe[0]=$e[0]-Ie[0],xe[1]=$e[1]-Ie[1],xe}function len(xe){return Math.sqrt(lenSquare(xe))}function lenSquare(xe){return xe[0]*xe[0]+xe[1]*xe[1]}function scale$2(xe,$e,Ie){return xe[0]=$e[0]*Ie,xe[1]=$e[1]*Ie,xe}function normalize$3(xe,$e){var Ie=len($e);return Ie===0?(xe[0]=0,xe[1]=0):(xe[0]=$e[0]/Ie,xe[1]=$e[1]/Ie),xe}function distance(xe,$e){return Math.sqrt((xe[0]-$e[0])*(xe[0]-$e[0])+(xe[1]-$e[1])*(xe[1]-$e[1]))}var dist$1=distance;function distanceSquare(xe,$e){return(xe[0]-$e[0])*(xe[0]-$e[0])+(xe[1]-$e[1])*(xe[1]-$e[1])}var distSquare=distanceSquare;function lerp$1(xe,$e,Ie,Fe){return xe[0]=$e[0]+Fe*(Ie[0]-$e[0]),xe[1]=$e[1]+Fe*(Ie[1]-$e[1]),xe}function applyTransform$1(xe,$e,Ie){var Fe=$e[0],Ue=$e[1];return xe[0]=Ie[0]*Fe+Ie[2]*Ue+Ie[4],xe[1]=Ie[1]*Fe+Ie[3]*Ue+Ie[5],xe}function min$2(xe,$e,Ie){return xe[0]=Math.min($e[0],Ie[0]),xe[1]=Math.min($e[1],Ie[1]),xe}function max$2(xe,$e,Ie){return xe[0]=Math.max($e[0],Ie[0]),xe[1]=Math.max($e[1],Ie[1]),xe}var Param=function(){function xe($e,Ie){this.target=$e,this.topTarget=Ie&&Ie.topTarget}return xe}(),Draggable=function(){function xe($e){this.handler=$e,$e.on("mousedown",this._dragStart,this),$e.on("mousemove",this._drag,this),$e.on("mouseup",this._dragEnd,this)}return xe.prototype._dragStart=function($e){for(var Ie=$e.target;Ie&&!Ie.draggable;)Ie=Ie.parent||Ie.__hostTarget;Ie&&(this._draggingTarget=Ie,Ie.dragging=!0,this._x=$e.offsetX,this._y=$e.offsetY,this.handler.dispatchToElement(new Param(Ie,$e),"dragstart",$e.event))},xe.prototype._drag=function($e){var Ie=this._draggingTarget;if(Ie){var Fe=$e.offsetX,Ue=$e.offsetY,qe=Fe-this._x,At=Ue-this._y;this._x=Fe,this._y=Ue,Ie.drift(qe,At,$e),this.handler.dispatchToElement(new Param(Ie,$e),"drag",$e.event);var Dt=this.handler.findHover(Fe,Ue,Ie).target,Lt=this._dropTarget;this._dropTarget=Dt,Ie!==Dt&&(Lt&&Dt!==Lt&&this.handler.dispatchToElement(new Param(Lt,$e),"dragleave",$e.event),Dt&&Dt!==Lt&&this.handler.dispatchToElement(new Param(Dt,$e),"dragenter",$e.event))}},xe.prototype._dragEnd=function($e){var Ie=this._draggingTarget;Ie&&(Ie.dragging=!1),this.handler.dispatchToElement(new Param(Ie,$e),"dragend",$e.event),this._dropTarget&&this.handler.dispatchToElement(new Param(this._dropTarget,$e),"drop",$e.event),this._draggingTarget=null,this._dropTarget=null},xe}(),Eventful=function(){function xe($e){$e&&(this._$eventProcessor=$e)}return xe.prototype.on=function($e,Ie,Fe,Ue){this._$handlers||(this._$handlers={});var qe=this._$handlers;if(typeof Ie=="function"&&(Ue=Fe,Fe=Ie,Ie=null),!Fe||!$e)return this;var At=this._$eventProcessor;Ie!=null&&At&&At.normalizeQuery&&(Ie=At.normalizeQuery(Ie)),qe[$e]||(qe[$e]=[]);for(var Dt=0;Dt<qe[$e].length;Dt++)if(qe[$e][Dt].h===Fe)return this;var Lt={h:Fe,query:Ie,ctx:Ue||this,callAtLast:Fe.zrEventfulCallAtLast},jt=qe[$e].length-1,hn=qe[$e][jt];return hn&&hn.callAtLast?qe[$e].splice(jt,0,Lt):qe[$e].push(Lt),this},xe.prototype.isSilent=function($e){var Ie=this._$handlers;return!Ie||!Ie[$e]||!Ie[$e].length},xe.prototype.off=function($e,Ie){var Fe=this._$handlers;if(!Fe)return this;if(!$e)return this._$handlers={},this;if(Ie){if(Fe[$e]){for(var Ue=[],qe=0,At=Fe[$e].length;qe<At;qe++)Fe[$e][qe].h!==Ie&&Ue.push(Fe[$e][qe]);Fe[$e]=Ue}Fe[$e]&&Fe[$e].length===0&&delete Fe[$e]}else delete Fe[$e];return this},xe.prototype.trigger=function($e){for(var Ie=[],Fe=1;Fe<arguments.length;Fe++)Ie[Fe-1]=arguments[Fe];if(!this._$handlers)return this;var Ue=this._$handlers[$e],qe=this._$eventProcessor;if(Ue)for(var At=Ie.length,Dt=Ue.length,Lt=0;Lt<Dt;Lt++){var jt=Ue[Lt];if(!(qe&&qe.filter&&jt.query!=null&&!qe.filter($e,jt.query)))switch(At){case 0:jt.h.call(jt.ctx);break;case 1:jt.h.call(jt.ctx,Ie[0]);break;case 2:jt.h.call(jt.ctx,Ie[0],Ie[1]);break;default:jt.h.apply(jt.ctx,Ie);break}}return qe&&qe.afterTrigger&&qe.afterTrigger($e),this},xe.prototype.triggerWithContext=function($e){for(var Ie=[],Fe=1;Fe<arguments.length;Fe++)Ie[Fe-1]=arguments[Fe];if(!this._$handlers)return this;var Ue=this._$handlers[$e],qe=this._$eventProcessor;if(Ue)for(var At=Ie.length,Dt=Ie[At-1],Lt=Ue.length,jt=0;jt<Lt;jt++){var hn=Ue[jt];if(!(qe&&qe.filter&&hn.query!=null&&!qe.filter($e,hn.query)))switch(At){case 0:hn.h.call(Dt);break;case 1:hn.h.call(Dt,Ie[0]);break;case 2:hn.h.call(Dt,Ie[0],Ie[1]);break;default:hn.h.apply(Dt,Ie.slice(1,At-1));break}}return qe&&qe.afterTrigger&&qe.afterTrigger($e),this},xe}(),LN2=Math.log(2);function determinant(xe,$e,Ie,Fe,Ue,qe){var At=Fe+"-"+Ue,Dt=xe.length;if(qe.hasOwnProperty(At))return qe[At];if($e===1){var Lt=Math.round(Math.log((1<<Dt)-1&~Ue)/LN2);return xe[Ie][Lt]}for(var jt=Fe|1<<Ie,hn=Ie+1;Fe&1<<hn;)hn++;for(var vn=0,bn=0,_n=0;bn<Dt;bn++){var wn=1<<bn;wn&Ue||(vn+=(_n%2?-1:1)*xe[Ie][bn]*determinant(xe,$e-1,hn,jt,Ue|wn,qe),_n++)}return qe[At]=vn,vn}function buildTransformer(xe,$e){var Ie=[[xe[0],xe[1],1,0,0,0,-$e[0]*xe[0],-$e[0]*xe[1]],[0,0,0,xe[0],xe[1],1,-$e[1]*xe[0],-$e[1]*xe[1]],[xe[2],xe[3],1,0,0,0,-$e[2]*xe[2],-$e[2]*xe[3]],[0,0,0,xe[2],xe[3],1,-$e[3]*xe[2],-$e[3]*xe[3]],[xe[4],xe[5],1,0,0,0,-$e[4]*xe[4],-$e[4]*xe[5]],[0,0,0,xe[4],xe[5],1,-$e[5]*xe[4],-$e[5]*xe[5]],[xe[6],xe[7],1,0,0,0,-$e[6]*xe[6],-$e[6]*xe[7]],[0,0,0,xe[6],xe[7],1,-$e[7]*xe[6],-$e[7]*xe[7]]],Fe={},Ue=determinant(Ie,8,0,0,0,Fe);if(Ue!==0){for(var qe=[],At=0;At<8;At++)for(var Dt=0;Dt<8;Dt++)qe[Dt]==null&&(qe[Dt]=0),qe[Dt]+=((At+Dt)%2?-1:1)*determinant(Ie,7,At===0?1:0,1<<At,1<<Dt,Fe)/Ue*$e[At];return function(Lt,jt,hn){var vn=jt*qe[6]+hn*qe[7]+1;Lt[0]=(jt*qe[0]+hn*qe[1]+qe[2])/vn,Lt[1]=(jt*qe[3]+hn*qe[4]+qe[5])/vn}}}var EVENT_SAVED_PROP="___zrEVENTSAVED",_calcOut$1=[];function transformLocalCoord(xe,$e,Ie,Fe,Ue){return transformCoordWithViewport(_calcOut$1,$e,Fe,Ue,!0)&&transformCoordWithViewport(xe,Ie,_calcOut$1[0],_calcOut$1[1])}function transformCoordWithViewport(xe,$e,Ie,Fe,Ue){if($e.getBoundingClientRect&&env.domSupported&&!isCanvasEl($e)){var qe=$e[EVENT_SAVED_PROP]||($e[EVENT_SAVED_PROP]={}),At=prepareCoordMarkers($e,qe),Dt=preparePointerTransformer(At,qe,Ue);if(Dt)return Dt(xe,Ie,Fe),!0}return!1}function prepareCoordMarkers(xe,$e){var Ie=$e.markers;if(Ie)return Ie;Ie=$e.markers=[];for(var Fe=["left","right"],Ue=["top","bottom"],qe=0;qe<4;qe++){var At=document.createElement("div"),Dt=At.style,Lt=qe%2,jt=(qe>>1)%2;Dt.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",Fe[Lt]+":0",Ue[jt]+":0",Fe[1-Lt]+":auto",Ue[1-jt]+":auto",""].join("!important;"),xe.appendChild(At),Ie.push(At)}return Ie}function preparePointerTransformer(xe,$e,Ie){for(var Fe=Ie?"invTrans":"trans",Ue=$e[Fe],qe=$e.srcCoords,At=[],Dt=[],Lt=!0,jt=0;jt<4;jt++){var hn=xe[jt].getBoundingClientRect(),vn=2*jt,bn=hn.left,_n=hn.top;At.push(bn,_n),Lt=Lt&&qe&&bn===qe[vn]&&_n===qe[vn+1],Dt.push(xe[jt].offsetLeft,xe[jt].offsetTop)}return Lt&&Ue?Ue:($e.srcCoords=At,$e[Fe]=Ie?buildTransformer(Dt,At):buildTransformer(At,Dt))}function isCanvasEl(xe){return xe.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function encodeHTML(xe){return xe==null?"":(xe+"").replace(replaceReg,function($e,Ie){return replaceMap[Ie]})}var MOUSE_EVENT_REG=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_calcOut=[],firefoxNotSupportOffsetXY=env.browser.firefox&&+env.browser.version.split(".")[0]<39;function clientToLocal(xe,$e,Ie,Fe){return Ie=Ie||{},Fe?calculateZrXY(xe,$e,Ie):firefoxNotSupportOffsetXY&&$e.layerX!=null&&$e.layerX!==$e.offsetX?(Ie.zrX=$e.layerX,Ie.zrY=$e.layerY):$e.offsetX!=null?(Ie.zrX=$e.offsetX,Ie.zrY=$e.offsetY):calculateZrXY(xe,$e,Ie),Ie}function calculateZrXY(xe,$e,Ie){if(env.domSupported&&xe.getBoundingClientRect){var Fe=$e.clientX,Ue=$e.clientY;if(isCanvasEl(xe)){var qe=xe.getBoundingClientRect();Ie.zrX=Fe-qe.left,Ie.zrY=Ue-qe.top;return}else if(transformCoordWithViewport(_calcOut,xe,Fe,Ue)){Ie.zrX=_calcOut[0],Ie.zrY=_calcOut[1];return}}Ie.zrX=Ie.zrY=0}function getNativeEvent(xe){return xe||window.event}function normalizeEvent(xe,$e,Ie){if($e=getNativeEvent($e),$e.zrX!=null)return $e;var Fe=$e.type,Ue=Fe&&Fe.indexOf("touch")>=0;if(Ue){var At=Fe!=="touchend"?$e.targetTouches[0]:$e.changedTouches[0];At&&clientToLocal(xe,At,$e,Ie)}else{clientToLocal(xe,$e,$e,Ie);var qe=getWheelDeltaMayPolyfill($e);$e.zrDelta=qe?qe/120:-($e.detail||0)/3}var Dt=$e.button;return $e.which==null&&Dt!==void 0&&MOUSE_EVENT_REG.test($e.type)&&($e.which=Dt&1?1:Dt&2?3:Dt&4?2:0),$e}function getWheelDeltaMayPolyfill(xe){var $e=xe.wheelDelta;if($e)return $e;var Ie=xe.deltaX,Fe=xe.deltaY;if(Ie==null||Fe==null)return $e;var Ue=Math.abs(Fe!==0?Fe:Ie),qe=Fe>0?-1:Fe<0?1:Ie>0?-1:1;return 3*Ue*qe}function addEventListener(xe,$e,Ie,Fe){xe.addEventListener($e,Ie,Fe)}function removeEventListener(xe,$e,Ie,Fe){xe.removeEventListener($e,Ie,Fe)}var stop=function(xe){xe.preventDefault(),xe.stopPropagation(),xe.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown(xe){return xe.which===2||xe.which===3}var GestureMgr=function(){function xe(){this._track=[]}return xe.prototype.recognize=function($e,Ie,Fe){return this._doTrack($e,Ie,Fe),this._recognize($e)},xe.prototype.clear=function(){return this._track.length=0,this},xe.prototype._doTrack=function($e,Ie,Fe){var Ue=$e.touches;if(Ue){for(var qe={points:[],touches:[],target:Ie,event:$e},At=0,Dt=Ue.length;At<Dt;At++){var Lt=Ue[At],jt=clientToLocal(Fe,Lt,{});qe.points.push([jt.zrX,jt.zrY]),qe.touches.push(Lt)}this._track.push(qe)}},xe.prototype._recognize=function($e){for(var Ie in recognizers)if(recognizers.hasOwnProperty(Ie)){var Fe=recognizers[Ie](this._track,$e);if(Fe)return Fe}},xe}();function dist(xe){var $e=xe[1][0]-xe[0][0],Ie=xe[1][1]-xe[0][1];return Math.sqrt($e*$e+Ie*Ie)}function center$1(xe){return[(xe[0][0]+xe[1][0])/2,(xe[0][1]+xe[1][1])/2]}var recognizers={pinch:function(xe,$e){var Ie=xe.length;if(Ie){var Fe=(xe[Ie-1]||{}).points,Ue=(xe[Ie-2]||{}).points||Fe;if(Ue&&Ue.length>1&&Fe&&Fe.length>1){var qe=dist(Fe)/dist(Ue);!isFinite(qe)&&(qe=1),$e.pinchScale=qe;var At=center$1(Fe);return $e.pinchX=At[0],$e.pinchY=At[1],{type:"pinch",target:xe[0].target,event:$e}}}}};function create$1(){return[1,0,0,1,0,0]}function identity$1(xe){return xe[0]=1,xe[1]=0,xe[2]=0,xe[3]=1,xe[4]=0,xe[5]=0,xe}function copy(xe,$e){return xe[0]=$e[0],xe[1]=$e[1],xe[2]=$e[2],xe[3]=$e[3],xe[4]=$e[4],xe[5]=$e[5],xe}function mul(xe,$e,Ie){var Fe=$e[0]*Ie[0]+$e[2]*Ie[1],Ue=$e[1]*Ie[0]+$e[3]*Ie[1],qe=$e[0]*Ie[2]+$e[2]*Ie[3],At=$e[1]*Ie[2]+$e[3]*Ie[3],Dt=$e[0]*Ie[4]+$e[2]*Ie[5]+$e[4],Lt=$e[1]*Ie[4]+$e[3]*Ie[5]+$e[5];return xe[0]=Fe,xe[1]=Ue,xe[2]=qe,xe[3]=At,xe[4]=Dt,xe[5]=Lt,xe}function translate$1(xe,$e,Ie){return xe[0]=$e[0],xe[1]=$e[1],xe[2]=$e[2],xe[3]=$e[3],xe[4]=$e[4]+Ie[0],xe[5]=$e[5]+Ie[1],xe}function rotate(xe,$e,Ie,Fe){Fe===void 0&&(Fe=[0,0]);var Ue=$e[0],qe=$e[2],At=$e[4],Dt=$e[1],Lt=$e[3],jt=$e[5],hn=Math.sin(Ie),vn=Math.cos(Ie);return xe[0]=Ue*vn+Dt*hn,xe[1]=-Ue*hn+Dt*vn,xe[2]=qe*vn+Lt*hn,xe[3]=-qe*hn+vn*Lt,xe[4]=vn*(At-Fe[0])+hn*(jt-Fe[1])+Fe[0],xe[5]=vn*(jt-Fe[1])-hn*(At-Fe[0])+Fe[1],xe}function scale$1(xe,$e,Ie){var Fe=Ie[0],Ue=Ie[1];return xe[0]=$e[0]*Fe,xe[1]=$e[1]*Ue,xe[2]=$e[2]*Fe,xe[3]=$e[3]*Ue,xe[4]=$e[4]*Fe,xe[5]=$e[5]*Ue,xe}function invert(xe,$e){var Ie=$e[0],Fe=$e[2],Ue=$e[4],qe=$e[1],At=$e[3],Dt=$e[5],Lt=Ie*At-qe*Fe;return Lt?(Lt=1/Lt,xe[0]=At*Lt,xe[1]=-qe*Lt,xe[2]=-Fe*Lt,xe[3]=Ie*Lt,xe[4]=(Fe*Dt-At*Ue)*Lt,xe[5]=(qe*Ue-Ie*Dt)*Lt,xe):null}function clone$2(xe){var $e=create$1();return copy($e,xe),$e}var Point=function(){function xe($e,Ie){this.x=$e||0,this.y=Ie||0}return xe.prototype.copy=function($e){return this.x=$e.x,this.y=$e.y,this},xe.prototype.clone=function(){return new xe(this.x,this.y)},xe.prototype.set=function($e,Ie){return this.x=$e,this.y=Ie,this},xe.prototype.equal=function($e){return $e.x===this.x&&$e.y===this.y},xe.prototype.add=function($e){return this.x+=$e.x,this.y+=$e.y,this},xe.prototype.scale=function($e){this.x*=$e,this.y*=$e},xe.prototype.scaleAndAdd=function($e,Ie){this.x+=$e.x*Ie,this.y+=$e.y*Ie},xe.prototype.sub=function($e){return this.x-=$e.x,this.y-=$e.y,this},xe.prototype.dot=function($e){return this.x*$e.x+this.y*$e.y},xe.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},xe.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},xe.prototype.normalize=function(){var $e=this.len();return this.x/=$e,this.y/=$e,this},xe.prototype.distance=function($e){var Ie=this.x-$e.x,Fe=this.y-$e.y;return Math.sqrt(Ie*Ie+Fe*Fe)},xe.prototype.distanceSquare=function($e){var Ie=this.x-$e.x,Fe=this.y-$e.y;return Ie*Ie+Fe*Fe},xe.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},xe.prototype.transform=function($e){if($e){var Ie=this.x,Fe=this.y;return this.x=$e[0]*Ie+$e[2]*Fe+$e[4],this.y=$e[1]*Ie+$e[3]*Fe+$e[5],this}},xe.prototype.toArray=function($e){return $e[0]=this.x,$e[1]=this.y,$e},xe.prototype.fromArray=function($e){this.x=$e[0],this.y=$e[1]},xe.set=function($e,Ie,Fe){$e.x=Ie,$e.y=Fe},xe.copy=function($e,Ie){$e.x=Ie.x,$e.y=Ie.y},xe.len=function($e){return Math.sqrt($e.x*$e.x+$e.y*$e.y)},xe.lenSquare=function($e){return $e.x*$e.x+$e.y*$e.y},xe.dot=function($e,Ie){return $e.x*Ie.x+$e.y*Ie.y},xe.add=function($e,Ie,Fe){$e.x=Ie.x+Fe.x,$e.y=Ie.y+Fe.y},xe.sub=function($e,Ie,Fe){$e.x=Ie.x-Fe.x,$e.y=Ie.y-Fe.y},xe.scale=function($e,Ie,Fe){$e.x=Ie.x*Fe,$e.y=Ie.y*Fe},xe.scaleAndAdd=function($e,Ie,Fe,Ue){$e.x=Ie.x+Fe.x*Ue,$e.y=Ie.y+Fe.y*Ue},xe.lerp=function($e,Ie,Fe,Ue){var qe=1-Ue;$e.x=qe*Ie.x+Ue*Fe.x,$e.y=qe*Ie.y+Ue*Fe.y},xe}(),mathMin$a=Math.min,mathMax$a=Math.max,lt$1=new Point,rb=new Point,lb=new Point,rt$1=new Point,minTv$1=new Point,maxTv$1=new Point,BoundingRect=function(){function xe($e,Ie,Fe,Ue){Fe<0&&($e=$e+Fe,Fe=-Fe),Ue<0&&(Ie=Ie+Ue,Ue=-Ue),this.x=$e,this.y=Ie,this.width=Fe,this.height=Ue}return xe.prototype.union=function($e){var Ie=mathMin$a($e.x,this.x),Fe=mathMin$a($e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$a($e.x+$e.width,this.x+this.width)-Ie:this.width=$e.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$a($e.y+$e.height,this.y+this.height)-Fe:this.height=$e.height,this.x=Ie,this.y=Fe},xe.prototype.applyTransform=function($e){xe.applyTransform(this,this,$e)},xe.prototype.calculateTransform=function($e){var Ie=this,Fe=$e.width/Ie.width,Ue=$e.height/Ie.height,qe=create$1();return translate$1(qe,qe,[-Ie.x,-Ie.y]),scale$1(qe,qe,[Fe,Ue]),translate$1(qe,qe,[$e.x,$e.y]),qe},xe.prototype.intersect=function($e,Ie){if(!$e)return!1;$e instanceof xe||($e=xe.create($e));var Fe=this,Ue=Fe.x,qe=Fe.x+Fe.width,At=Fe.y,Dt=Fe.y+Fe.height,Lt=$e.x,jt=$e.x+$e.width,hn=$e.y,vn=$e.y+$e.height,bn=!(qe<Lt||jt<Ue||Dt<hn||vn<At);if(Ie){var _n=1/0,wn=0,kn=Math.abs(qe-Lt),Cn=Math.abs(jt-Ue),Sn=Math.abs(Dt-hn),xn=Math.abs(vn-At),En=Math.min(kn,Cn),Tn=Math.min(Sn,xn);qe<Lt||jt<Ue?En>wn&&(wn=En,kn<Cn?Point.set(maxTv$1,-kn,0):Point.set(maxTv$1,Cn,0)):En<_n&&(_n=En,kn<Cn?Point.set(minTv$1,kn,0):Point.set(minTv$1,-Cn,0)),Dt<hn||vn<At?Tn>wn&&(wn=Tn,Sn<xn?Point.set(maxTv$1,0,-Sn):Point.set(maxTv$1,0,xn)):En<_n&&(_n=En,Sn<xn?Point.set(minTv$1,0,Sn):Point.set(minTv$1,0,-xn))}return Ie&&Point.copy(Ie,bn?minTv$1:maxTv$1),bn},xe.prototype.contain=function($e,Ie){var Fe=this;return $e>=Fe.x&&$e<=Fe.x+Fe.width&&Ie>=Fe.y&&Ie<=Fe.y+Fe.height},xe.prototype.clone=function(){return new xe(this.x,this.y,this.width,this.height)},xe.prototype.copy=function($e){xe.copy(this,$e)},xe.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},xe.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},xe.prototype.isZero=function(){return this.width===0||this.height===0},xe.create=function($e){return new xe($e.x,$e.y,$e.width,$e.height)},xe.copy=function($e,Ie){$e.x=Ie.x,$e.y=Ie.y,$e.width=Ie.width,$e.height=Ie.height},xe.applyTransform=function($e,Ie,Fe){if(!Fe){$e!==Ie&&xe.copy($e,Ie);return}if(Fe[1]<1e-5&&Fe[1]>-1e-5&&Fe[2]<1e-5&&Fe[2]>-1e-5){var Ue=Fe[0],qe=Fe[3],At=Fe[4],Dt=Fe[5];$e.x=Ie.x*Ue+At,$e.y=Ie.y*qe+Dt,$e.width=Ie.width*Ue,$e.height=Ie.height*qe,$e.width<0&&($e.x+=$e.width,$e.width=-$e.width),$e.height<0&&($e.y+=$e.height,$e.height=-$e.height);return}lt$1.x=lb.x=Ie.x,lt$1.y=rt$1.y=Ie.y,rb.x=rt$1.x=Ie.x+Ie.width,rb.y=lb.y=Ie.y+Ie.height,lt$1.transform(Fe),rt$1.transform(Fe),rb.transform(Fe),lb.transform(Fe),$e.x=mathMin$a(lt$1.x,rb.x,lb.x,rt$1.x),$e.y=mathMin$a(lt$1.y,rb.y,lb.y,rt$1.y);var Lt=mathMax$a(lt$1.x,rb.x,lb.x,rt$1.x),jt=mathMax$a(lt$1.y,rb.y,lb.y,rt$1.y);$e.width=Lt-$e.x,$e.height=jt-$e.y},xe}(),SILENT="silent";function makeEventPacket(xe,$e,Ie){return{type:xe,event:Ie,target:$e.target,topTarget:$e.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(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.handler=null,Ie}return $e.prototype.dispose=function(){},$e.prototype.setCursor=function(){},$e}(Eventful),HoveredResult=function(){function xe($e,Ie){this.x=$e,this.y=Ie}return xe}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect(0,0,0,0),Handler=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this)||this;return Dt._hovered=new HoveredResult(0,0),Dt.storage=Ie,Dt.painter=Fe,Dt.painterRoot=qe,Dt._pointerSize=At,Ue=Ue||new EmptyProxy,Dt.proxy=null,Dt.setHandlerProxy(Ue),Dt._draggingMgr=new Draggable(Dt),Dt}return $e.prototype.setHandlerProxy=function(Ie){this.proxy&&this.proxy.dispose(),Ie&&(each$f(handlerNames,function(Fe){Ie.on&&Ie.on(Fe,this[Fe],this)},this),Ie.handler=this),this.proxy=Ie},$e.prototype.mousemove=function(Ie){var Fe=Ie.zrX,Ue=Ie.zrY,qe=isOutsideBoundary(this,Fe,Ue),At=this._hovered,Dt=At.target;Dt&&!Dt.__zr&&(At=this.findHover(At.x,At.y),Dt=At.target);var Lt=this._hovered=qe?new HoveredResult(Fe,Ue):this.findHover(Fe,Ue),jt=Lt.target,hn=this.proxy;hn.setCursor&&hn.setCursor(jt?jt.cursor:"default"),Dt&&jt!==Dt&&this.dispatchToElement(At,"mouseout",Ie),this.dispatchToElement(Lt,"mousemove",Ie),jt&&jt!==Dt&&this.dispatchToElement(Lt,"mouseover",Ie)},$e.prototype.mouseout=function(Ie){var Fe=Ie.zrEventControl;Fe!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",Ie),Fe!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:Ie})},$e.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},$e.prototype.dispatch=function(Ie,Fe){var Ue=this[Ie];Ue&&Ue.call(this,Fe)},$e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},$e.prototype.setCursorStyle=function(Ie){var Fe=this.proxy;Fe.setCursor&&Fe.setCursor(Ie)},$e.prototype.dispatchToElement=function(Ie,Fe,Ue){Ie=Ie||{};var qe=Ie.target;if(!(qe&&qe.silent)){for(var At="on"+Fe,Dt=makeEventPacket(Fe,Ie,Ue);qe&&(qe[At]&&(Dt.cancelBubble=!!qe[At].call(qe,Dt)),qe.trigger(Fe,Dt),qe=qe.__hostTarget?qe.__hostTarget:qe.parent,!Dt.cancelBubble););Dt.cancelBubble||(this.trigger(Fe,Dt),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(Lt){typeof Lt[At]=="function"&&Lt[At].call(Lt,Dt),Lt.trigger&&Lt.trigger(Fe,Dt)}))}},$e.prototype.findHover=function(Ie,Fe,Ue){var qe=this.storage.getDisplayList(),At=new HoveredResult(Ie,Fe);if(setHoverTarget(qe,At,Ie,Fe,Ue),this._pointerSize&&!At.target){for(var Dt=[],Lt=this._pointerSize,jt=Lt/2,hn=new BoundingRect(Ie-jt,Fe-jt,Lt,Lt),vn=qe.length-1;vn>=0;vn--){var bn=qe[vn];bn!==Ue&&!bn.ignore&&!bn.ignoreCoarsePointer&&(!bn.parent||!bn.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(bn.getBoundingRect()),bn.transform&&tmpRect$1.applyTransform(bn.transform),tmpRect$1.intersect(hn)&&Dt.push(bn))}if(Dt.length)for(var _n=4,wn=Math.PI/12,kn=Math.PI*2,Cn=0;Cn<jt;Cn+=_n)for(var Sn=0;Sn<kn;Sn+=wn){var xn=Ie+Cn*Math.cos(Sn),En=Fe+Cn*Math.sin(Sn);if(setHoverTarget(Dt,At,xn,En,Ue),At.target)return At}}return At},$e.prototype.processGesture=function(Ie,Fe){this._gestureMgr||(this._gestureMgr=new GestureMgr);var Ue=this._gestureMgr;Fe==="start"&&Ue.clear();var qe=Ue.recognize(Ie,this.findHover(Ie.zrX,Ie.zrY,null).target,this.proxy.dom);if(Fe==="end"&&Ue.clear(),qe){var At=qe.type;Ie.gestureEvent=At;var Dt=new HoveredResult;Dt.target=qe.target,this.dispatchToElement(Dt,At,qe.event)}},$e}(Eventful);each$f(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(xe){Handler.prototype[xe]=function($e){var Ie=$e.zrX,Fe=$e.zrY,Ue=isOutsideBoundary(this,Ie,Fe),qe,At;if((xe!=="mouseup"||!Ue)&&(qe=this.findHover(Ie,Fe),At=qe.target),xe==="mousedown")this._downEl=At,this._downPoint=[$e.zrX,$e.zrY],this._upEl=At;else if(xe==="mouseup")this._upEl=At;else if(xe==="click"){if(this._downEl!==this._upEl||!this._downPoint||dist$1(this._downPoint,[$e.zrX,$e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(qe,xe,$e)}});function isHover(xe,$e,Ie){if(xe[xe.rectHover?"rectContain":"contain"]($e,Ie)){for(var Fe=xe,Ue=void 0,qe=!1;Fe;){if(Fe.ignoreClip&&(qe=!0),!qe){var At=Fe.getClipPath();if(At&&!At.contain($e,Ie))return!1}Fe.silent&&(Ue=!0);var Dt=Fe.__hostTarget;Fe=Dt||Fe.parent}return Ue?SILENT:!0}return!1}function setHoverTarget(xe,$e,Ie,Fe,Ue){for(var qe=xe.length-1;qe>=0;qe--){var At=xe[qe],Dt=void 0;if(At!==Ue&&!At.ignore&&(Dt=isHover(At,Ie,Fe))&&(!$e.topTarget&&($e.topTarget=At),Dt!==SILENT)){$e.target=At;break}}}function isOutsideBoundary(xe,$e,Ie){var Fe=xe.painter;return $e<0||$e>Fe.getWidth()||Ie<0||Ie>Fe.getHeight()}var DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength(xe){for(var $e=0;xe>=DEFAULT_MIN_MERGE;)$e|=xe&1,xe>>=1;return xe+$e}function makeAscendingRun(xe,$e,Ie,Fe){var Ue=$e+1;if(Ue===Ie)return 1;if(Fe(xe[Ue++],xe[$e])<0){for(;Ue<Ie&&Fe(xe[Ue],xe[Ue-1])<0;)Ue++;reverseRun(xe,$e,Ue)}else for(;Ue<Ie&&Fe(xe[Ue],xe[Ue-1])>=0;)Ue++;return Ue-$e}function reverseRun(xe,$e,Ie){for(Ie--;$e<Ie;){var Fe=xe[$e];xe[$e++]=xe[Ie],xe[Ie--]=Fe}}function binaryInsertionSort(xe,$e,Ie,Fe,Ue){for(Fe===$e&&Fe++;Fe<Ie;Fe++){for(var qe=xe[Fe],At=$e,Dt=Fe,Lt;At<Dt;)Lt=At+Dt>>>1,Ue(qe,xe[Lt])<0?Dt=Lt:At=Lt+1;var jt=Fe-At;switch(jt){case 3:xe[At+3]=xe[At+2];case 2:xe[At+2]=xe[At+1];case 1:xe[At+1]=xe[At];break;default:for(;jt>0;)xe[At+jt]=xe[At+jt-1],jt--}xe[At]=qe}}function gallopLeft(xe,$e,Ie,Fe,Ue,qe){var At=0,Dt=0,Lt=1;if(qe(xe,$e[Ie+Ue])>0){for(Dt=Fe-Ue;Lt<Dt&&qe(xe,$e[Ie+Ue+Lt])>0;)At=Lt,Lt=(Lt<<1)+1,Lt<=0&&(Lt=Dt);Lt>Dt&&(Lt=Dt),At+=Ue,Lt+=Ue}else{for(Dt=Ue+1;Lt<Dt&&qe(xe,$e[Ie+Ue-Lt])<=0;)At=Lt,Lt=(Lt<<1)+1,Lt<=0&&(Lt=Dt);Lt>Dt&&(Lt=Dt);var jt=At;At=Ue-Lt,Lt=Ue-jt}for(At++;At<Lt;){var hn=At+(Lt-At>>>1);qe(xe,$e[Ie+hn])>0?At=hn+1:Lt=hn}return Lt}function gallopRight(xe,$e,Ie,Fe,Ue,qe){var At=0,Dt=0,Lt=1;if(qe(xe,$e[Ie+Ue])<0){for(Dt=Ue+1;Lt<Dt&&qe(xe,$e[Ie+Ue-Lt])<0;)At=Lt,Lt=(Lt<<1)+1,Lt<=0&&(Lt=Dt);Lt>Dt&&(Lt=Dt);var jt=At;At=Ue-Lt,Lt=Ue-jt}else{for(Dt=Fe-Ue;Lt<Dt&&qe(xe,$e[Ie+Ue+Lt])>=0;)At=Lt,Lt=(Lt<<1)+1,Lt<=0&&(Lt=Dt);Lt>Dt&&(Lt=Dt),At+=Ue,Lt+=Ue}for(At++;At<Lt;){var hn=At+(Lt-At>>>1);qe(xe,$e[Ie+hn])<0?Lt=hn:At=hn+1}return Lt}function TimSort(xe,$e){var Ie=DEFAULT_MIN_GALLOPING,Fe,Ue,qe=0,At=[];Fe=[],Ue=[];function Dt(_n,wn){Fe[qe]=_n,Ue[qe]=wn,qe+=1}function Lt(){for(;qe>1;){var _n=qe-2;if(_n>=1&&Ue[_n-1]<=Ue[_n]+Ue[_n+1]||_n>=2&&Ue[_n-2]<=Ue[_n]+Ue[_n-1])Ue[_n-1]<Ue[_n+1]&&_n--;else if(Ue[_n]>Ue[_n+1])break;hn(_n)}}function jt(){for(;qe>1;){var _n=qe-2;_n>0&&Ue[_n-1]<Ue[_n+1]&&_n--,hn(_n)}}function hn(_n){var wn=Fe[_n],kn=Ue[_n],Cn=Fe[_n+1],Sn=Ue[_n+1];Ue[_n]=kn+Sn,_n===qe-3&&(Fe[_n+1]=Fe[_n+2],Ue[_n+1]=Ue[_n+2]),qe--;var xn=gallopRight(xe[Cn],xe,wn,kn,0,$e);wn+=xn,kn-=xn,kn!==0&&(Sn=gallopLeft(xe[wn+kn-1],xe,Cn,Sn,Sn-1,$e),Sn!==0&&(kn<=Sn?vn(wn,kn,Cn,Sn):bn(wn,kn,Cn,Sn)))}function vn(_n,wn,kn,Cn){var Sn=0;for(Sn=0;Sn<wn;Sn++)At[Sn]=xe[_n+Sn];var xn=0,En=kn,Tn=_n;if(xe[Tn++]=xe[En++],--Cn===0){for(Sn=0;Sn<wn;Sn++)xe[Tn+Sn]=At[xn+Sn];return}if(wn===1){for(Sn=0;Sn<Cn;Sn++)xe[Tn+Sn]=xe[En+Sn];xe[Tn+Cn]=At[xn];return}for(var An=Ie,$n,Pn,Nn;;){$n=0,Pn=0,Nn=!1;do if($e(xe[En],At[xn])<0){if(xe[Tn++]=xe[En++],Pn++,$n=0,--Cn===0){Nn=!0;break}}else if(xe[Tn++]=At[xn++],$n++,Pn=0,--wn===1){Nn=!0;break}while(($n|Pn)<An);if(Nn)break;do{if($n=gallopRight(xe[En],At,xn,wn,0,$e),$n!==0){for(Sn=0;Sn<$n;Sn++)xe[Tn+Sn]=At[xn+Sn];if(Tn+=$n,xn+=$n,wn-=$n,wn<=1){Nn=!0;break}}if(xe[Tn++]=xe[En++],--Cn===0){Nn=!0;break}if(Pn=gallopLeft(At[xn],xe,En,Cn,0,$e),Pn!==0){for(Sn=0;Sn<Pn;Sn++)xe[Tn+Sn]=xe[En+Sn];if(Tn+=Pn,En+=Pn,Cn-=Pn,Cn===0){Nn=!0;break}}if(xe[Tn++]=At[xn++],--wn===1){Nn=!0;break}An--}while($n>=DEFAULT_MIN_GALLOPING||Pn>=DEFAULT_MIN_GALLOPING);if(Nn)break;An<0&&(An=0),An+=2}if(Ie=An,Ie<1&&(Ie=1),wn===1){for(Sn=0;Sn<Cn;Sn++)xe[Tn+Sn]=xe[En+Sn];xe[Tn+Cn]=At[xn]}else{if(wn===0)throw new Error;for(Sn=0;Sn<wn;Sn++)xe[Tn+Sn]=At[xn+Sn]}}function bn(_n,wn,kn,Cn){var Sn=0;for(Sn=0;Sn<Cn;Sn++)At[Sn]=xe[kn+Sn];var xn=_n+wn-1,En=Cn-1,Tn=kn+Cn-1,An=0,$n=0;if(xe[Tn--]=xe[xn--],--wn===0){for(An=Tn-(Cn-1),Sn=0;Sn<Cn;Sn++)xe[An+Sn]=At[Sn];return}if(Cn===1){for(Tn-=wn,xn-=wn,$n=Tn+1,An=xn+1,Sn=wn-1;Sn>=0;Sn--)xe[$n+Sn]=xe[An+Sn];xe[Tn]=At[En];return}for(var Pn=Ie;;){var Nn=0,Mn=0,In=!1;do if($e(At[En],xe[xn])<0){if(xe[Tn--]=xe[xn--],Nn++,Mn=0,--wn===0){In=!0;break}}else if(xe[Tn--]=At[En--],Mn++,Nn=0,--Cn===1){In=!0;break}while((Nn|Mn)<Pn);if(In)break;do{if(Nn=wn-gallopRight(At[En],xe,_n,wn,wn-1,$e),Nn!==0){for(Tn-=Nn,xn-=Nn,wn-=Nn,$n=Tn+1,An=xn+1,Sn=Nn-1;Sn>=0;Sn--)xe[$n+Sn]=xe[An+Sn];if(wn===0){In=!0;break}}if(xe[Tn--]=At[En--],--Cn===1){In=!0;break}if(Mn=Cn-gallopLeft(xe[xn],At,0,Cn,Cn-1,$e),Mn!==0){for(Tn-=Mn,En-=Mn,Cn-=Mn,$n=Tn+1,An=En+1,Sn=0;Sn<Mn;Sn++)xe[$n+Sn]=At[An+Sn];if(Cn<=1){In=!0;break}}if(xe[Tn--]=xe[xn--],--wn===0){In=!0;break}Pn--}while(Nn>=DEFAULT_MIN_GALLOPING||Mn>=DEFAULT_MIN_GALLOPING);if(In)break;Pn<0&&(Pn=0),Pn+=2}if(Ie=Pn,Ie<1&&(Ie=1),Cn===1){for(Tn-=wn,xn-=wn,$n=Tn+1,An=xn+1,Sn=wn-1;Sn>=0;Sn--)xe[$n+Sn]=xe[An+Sn];xe[Tn]=At[En]}else{if(Cn===0)throw new Error;for(An=Tn-(Cn-1),Sn=0;Sn<Cn;Sn++)xe[An+Sn]=At[Sn]}}return{mergeRuns:Lt,forceMergeRuns:jt,pushRun:Dt}}function sort$2(xe,$e,Ie,Fe){Ie||(Ie=0),Fe||(Fe=xe.length);var Ue=Fe-Ie;if(!(Ue<2)){var qe=0;if(Ue<DEFAULT_MIN_MERGE){qe=makeAscendingRun(xe,Ie,Fe,$e),binaryInsertionSort(xe,Ie,Fe,Ie+qe,$e);return}var At=TimSort(xe,$e),Dt=minRunLength(Ue);do{if(qe=makeAscendingRun(xe,Ie,Fe,$e),qe<Dt){var Lt=Ue;Lt>Dt&&(Lt=Dt),binaryInsertionSort(xe,Ie,Ie+Lt,Ie+qe,$e),qe=Lt}At.pushRun(Ie,qe),At.mergeRuns(),Ue-=qe,Ie+=qe}while(Ue!==0);At.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(xe,$e){return xe.zlevel===$e.zlevel?xe.z===$e.z?xe.z2-$e.z2:xe.z-$e.z:xe.zlevel-$e.zlevel}var Storage=function(){function xe(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return xe.prototype.traverse=function($e,Ie){for(var Fe=0;Fe<this._roots.length;Fe++)this._roots[Fe].traverse($e,Ie)},xe.prototype.getDisplayList=function($e,Ie){Ie=Ie||!1;var Fe=this._displayList;return($e||!Fe.length)&&this.updateDisplayList(Ie),Fe},xe.prototype.updateDisplayList=function($e){this._displayListLen=0;for(var Ie=this._roots,Fe=this._displayList,Ue=0,qe=Ie.length;Ue<qe;Ue++)this._updateAndAddDisplayable(Ie[Ue],null,$e);Fe.length=this._displayListLen,sort$2(Fe,shapeCompareFunc)},xe.prototype._updateAndAddDisplayable=function($e,Ie,Fe){if(!($e.ignore&&!Fe)){$e.beforeUpdate(),$e.update(),$e.afterUpdate();var Ue=$e.getClipPath();if($e.ignoreClip)Ie=null;else if(Ue){Ie?Ie=Ie.slice():Ie=[];for(var qe=Ue,At=$e;qe;)qe.parent=At,qe.updateTransform(),Ie.push(qe),At=qe,qe=qe.getClipPath()}if($e.childrenRef){for(var Dt=$e.childrenRef(),Lt=0;Lt<Dt.length;Lt++){var jt=Dt[Lt];$e.__dirty&&(jt.__dirty|=REDRAW_BIT),this._updateAndAddDisplayable(jt,Ie,Fe)}$e.__dirty=0}else{var hn=$e;Ie&&Ie.length?hn.__clipPaths=Ie:hn.__clipPaths&&hn.__clipPaths.length>0&&(hn.__clipPaths=[]),isNaN(hn.z)&&(logInvalidZError(),hn.z=0),isNaN(hn.z2)&&(logInvalidZError(),hn.z2=0),isNaN(hn.zlevel)&&(logInvalidZError(),hn.zlevel=0),this._displayList[this._displayListLen++]=hn}var vn=$e.getDecalElement&&$e.getDecalElement();vn&&this._updateAndAddDisplayable(vn,Ie,Fe);var bn=$e.getTextGuideLine();bn&&this._updateAndAddDisplayable(bn,Ie,Fe);var _n=$e.getTextContent();_n&&this._updateAndAddDisplayable(_n,Ie,Fe)}},xe.prototype.addRoot=function($e){$e.__zr&&$e.__zr.storage===this||this._roots.push($e)},xe.prototype.delRoot=function($e){if($e instanceof Array){for(var Ie=0,Fe=$e.length;Ie<Fe;Ie++)this.delRoot($e[Ie]);return}var Ue=indexOf(this._roots,$e);Ue>=0&&this._roots.splice(Ue,1)},xe.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},xe.prototype.getRoots=function(){return this._roots},xe.prototype.dispose=function(){this._displayList=null,this._roots=null},xe}(),requestAnimationFrame$2;requestAnimationFrame$2=env.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(xe){return setTimeout(xe,16)};var easingFuncs={linear:function(xe){return xe},quadraticIn:function(xe){return xe*xe},quadraticOut:function(xe){return xe*(2-xe)},quadraticInOut:function(xe){return(xe*=2)<1?.5*xe*xe:-.5*(--xe*(xe-2)-1)},cubicIn:function(xe){return xe*xe*xe},cubicOut:function(xe){return--xe*xe*xe+1},cubicInOut:function(xe){return(xe*=2)<1?.5*xe*xe*xe:.5*((xe-=2)*xe*xe+2)},quarticIn:function(xe){return xe*xe*xe*xe},quarticOut:function(xe){return 1- --xe*xe*xe*xe},quarticInOut:function(xe){return(xe*=2)<1?.5*xe*xe*xe*xe:-.5*((xe-=2)*xe*xe*xe-2)},quinticIn:function(xe){return xe*xe*xe*xe*xe},quinticOut:function(xe){return--xe*xe*xe*xe*xe+1},quinticInOut:function(xe){return(xe*=2)<1?.5*xe*xe*xe*xe*xe:.5*((xe-=2)*xe*xe*xe*xe+2)},sinusoidalIn:function(xe){return 1-Math.cos(xe*Math.PI/2)},sinusoidalOut:function(xe){return Math.sin(xe*Math.PI/2)},sinusoidalInOut:function(xe){return .5*(1-Math.cos(Math.PI*xe))},exponentialIn:function(xe){return xe===0?0:Math.pow(1024,xe-1)},exponentialOut:function(xe){return xe===1?1:1-Math.pow(2,-10*xe)},exponentialInOut:function(xe){return xe===0?0:xe===1?1:(xe*=2)<1?.5*Math.pow(1024,xe-1):.5*(-Math.pow(2,-10*(xe-1))+2)},circularIn:function(xe){return 1-Math.sqrt(1-xe*xe)},circularOut:function(xe){return Math.sqrt(1- --xe*xe)},circularInOut:function(xe){return(xe*=2)<1?-.5*(Math.sqrt(1-xe*xe)-1):.5*(Math.sqrt(1-(xe-=2)*xe)+1)},elasticIn:function(xe){var $e,Ie=.1,Fe=.4;return xe===0?0:xe===1?1:(!Ie||Ie<1?(Ie=1,$e=Fe/4):$e=Fe*Math.asin(1/Ie)/(2*Math.PI),-(Ie*Math.pow(2,10*(xe-=1))*Math.sin((xe-$e)*(2*Math.PI)/Fe)))},elasticOut:function(xe){var $e,Ie=.1,Fe=.4;return xe===0?0:xe===1?1:(!Ie||Ie<1?(Ie=1,$e=Fe/4):$e=Fe*Math.asin(1/Ie)/(2*Math.PI),Ie*Math.pow(2,-10*xe)*Math.sin((xe-$e)*(2*Math.PI)/Fe)+1)},elasticInOut:function(xe){var $e,Ie=.1,Fe=.4;return xe===0?0:xe===1?1:(!Ie||Ie<1?(Ie=1,$e=Fe/4):$e=Fe*Math.asin(1/Ie)/(2*Math.PI),(xe*=2)<1?-.5*(Ie*Math.pow(2,10*(xe-=1))*Math.sin((xe-$e)*(2*Math.PI)/Fe)):Ie*Math.pow(2,-10*(xe-=1))*Math.sin((xe-$e)*(2*Math.PI)/Fe)*.5+1)},backIn:function(xe){var $e=1.70158;return xe*xe*(($e+1)*xe-$e)},backOut:function(xe){var $e=1.70158;return--xe*xe*(($e+1)*xe+$e)+1},backInOut:function(xe){var $e=2.5949095;return(xe*=2)<1?.5*(xe*xe*(($e+1)*xe-$e)):.5*((xe-=2)*xe*(($e+1)*xe+$e)+2)},bounceIn:function(xe){return 1-easingFuncs.bounceOut(1-xe)},bounceOut:function(xe){return xe<1/2.75?7.5625*xe*xe:xe<2/2.75?7.5625*(xe-=1.5/2.75)*xe+.75:xe<2.5/2.75?7.5625*(xe-=2.25/2.75)*xe+.9375:7.5625*(xe-=2.625/2.75)*xe+.984375},bounceInOut:function(xe){return xe<.5?easingFuncs.bounceIn(xe*2)*.5:easingFuncs.bounceOut(xe*2-1)*.5+.5}},mathPow$2=Math.pow,mathSqrt$3=Math.sqrt,EPSILON$4=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$2(),_v1=create$2(),_v2=create$2();function isAroundZero$1(xe){return xe>-EPSILON$4&&xe<EPSILON$4}function isNotAroundZero$1(xe){return xe>EPSILON$4||xe<-EPSILON$4}function cubicAt(xe,$e,Ie,Fe,Ue){var qe=1-Ue;return qe*qe*(qe*xe+3*Ue*$e)+Ue*Ue*(Ue*Fe+3*qe*Ie)}function cubicDerivativeAt(xe,$e,Ie,Fe,Ue){var qe=1-Ue;return 3*((($e-xe)*qe+2*(Ie-$e)*Ue)*qe+(Fe-Ie)*Ue*Ue)}function cubicRootAt(xe,$e,Ie,Fe,Ue,qe){var At=Fe+3*($e-Ie)-xe,Dt=3*(Ie-$e*2+xe),Lt=3*($e-xe),jt=xe-Ue,hn=Dt*Dt-3*At*Lt,vn=Dt*Lt-9*At*jt,bn=Lt*Lt-3*Dt*jt,_n=0;if(isAroundZero$1(hn)&&isAroundZero$1(vn))if(isAroundZero$1(Dt))qe[0]=0;else{var wn=-Lt/Dt;wn>=0&&wn<=1&&(qe[_n++]=wn)}else{var kn=vn*vn-4*hn*bn;if(isAroundZero$1(kn)){var Cn=vn/hn,wn=-Dt/At+Cn,Sn=-Cn/2;wn>=0&&wn<=1&&(qe[_n++]=wn),Sn>=0&&Sn<=1&&(qe[_n++]=Sn)}else if(kn>0){var xn=mathSqrt$3(kn),En=hn*Dt+1.5*At*(-vn+xn),Tn=hn*Dt+1.5*At*(-vn-xn);En<0?En=-mathPow$2(-En,ONE_THIRD):En=mathPow$2(En,ONE_THIRD),Tn<0?Tn=-mathPow$2(-Tn,ONE_THIRD):Tn=mathPow$2(Tn,ONE_THIRD);var wn=(-Dt-(En+Tn))/(3*At);wn>=0&&wn<=1&&(qe[_n++]=wn)}else{var An=(2*hn*Dt-3*At*vn)/(2*mathSqrt$3(hn*hn*hn)),$n=Math.acos(An)/3,Pn=mathSqrt$3(hn),Nn=Math.cos($n),wn=(-Dt-2*Pn*Nn)/(3*At),Sn=(-Dt+Pn*(Nn+THREE_SQRT*Math.sin($n)))/(3*At),Mn=(-Dt+Pn*(Nn-THREE_SQRT*Math.sin($n)))/(3*At);wn>=0&&wn<=1&&(qe[_n++]=wn),Sn>=0&&Sn<=1&&(qe[_n++]=Sn),Mn>=0&&Mn<=1&&(qe[_n++]=Mn)}}return _n}function cubicExtrema(xe,$e,Ie,Fe,Ue){var qe=6*Ie-12*$e+6*xe,At=9*$e+3*Fe-3*xe-9*Ie,Dt=3*$e-3*xe,Lt=0;if(isAroundZero$1(At)){if(isNotAroundZero$1(qe)){var jt=-Dt/qe;jt>=0&&jt<=1&&(Ue[Lt++]=jt)}}else{var hn=qe*qe-4*At*Dt;if(isAroundZero$1(hn))Ue[0]=-qe/(2*At);else if(hn>0){var vn=mathSqrt$3(hn),jt=(-qe+vn)/(2*At),bn=(-qe-vn)/(2*At);jt>=0&&jt<=1&&(Ue[Lt++]=jt),bn>=0&&bn<=1&&(Ue[Lt++]=bn)}}return Lt}function cubicSubdivide(xe,$e,Ie,Fe,Ue,qe){var At=($e-xe)*Ue+xe,Dt=(Ie-$e)*Ue+$e,Lt=(Fe-Ie)*Ue+Ie,jt=(Dt-At)*Ue+At,hn=(Lt-Dt)*Ue+Dt,vn=(hn-jt)*Ue+jt;qe[0]=xe,qe[1]=At,qe[2]=jt,qe[3]=vn,qe[4]=vn,qe[5]=hn,qe[6]=Lt,qe[7]=Fe}function cubicProjectPoint(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){var vn,bn=.005,_n=1/0,wn,kn,Cn,Sn;_v0[0]=Lt,_v0[1]=jt;for(var xn=0;xn<1;xn+=.05)_v1[0]=cubicAt(xe,Ie,Ue,At,xn),_v1[1]=cubicAt($e,Fe,qe,Dt,xn),Cn=distSquare(_v0,_v1),Cn<_n&&(vn=xn,_n=Cn);_n=1/0;for(var En=0;En<32&&!(bn<EPSILON_NUMERIC);En++)wn=vn-bn,kn=vn+bn,_v1[0]=cubicAt(xe,Ie,Ue,At,wn),_v1[1]=cubicAt($e,Fe,qe,Dt,wn),Cn=distSquare(_v1,_v0),wn>=0&&Cn<_n?(vn=wn,_n=Cn):(_v2[0]=cubicAt(xe,Ie,Ue,At,kn),_v2[1]=cubicAt($e,Fe,qe,Dt,kn),Sn=distSquare(_v2,_v0),kn<=1&&Sn<_n?(vn=kn,_n=Sn):bn*=.5);return hn&&(hn[0]=cubicAt(xe,Ie,Ue,At,vn),hn[1]=cubicAt($e,Fe,qe,Dt,vn)),mathSqrt$3(_n)}function cubicLength(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){for(var jt=xe,hn=$e,vn=0,bn=1/Lt,_n=1;_n<=Lt;_n++){var wn=_n*bn,kn=cubicAt(xe,Ie,Ue,At,wn),Cn=cubicAt($e,Fe,qe,Dt,wn),Sn=kn-jt,xn=Cn-hn;vn+=Math.sqrt(Sn*Sn+xn*xn),jt=kn,hn=Cn}return vn}function quadraticAt$1(xe,$e,Ie,Fe){var Ue=1-Fe;return Ue*(Ue*xe+2*Fe*$e)+Fe*Fe*Ie}function quadraticDerivativeAt(xe,$e,Ie,Fe){return 2*((1-Fe)*($e-xe)+Fe*(Ie-$e))}function quadraticRootAt(xe,$e,Ie,Fe,Ue){var qe=xe-2*$e+Ie,At=2*($e-xe),Dt=xe-Fe,Lt=0;if(isAroundZero$1(qe)){if(isNotAroundZero$1(At)){var jt=-Dt/At;jt>=0&&jt<=1&&(Ue[Lt++]=jt)}}else{var hn=At*At-4*qe*Dt;if(isAroundZero$1(hn)){var jt=-At/(2*qe);jt>=0&&jt<=1&&(Ue[Lt++]=jt)}else if(hn>0){var vn=mathSqrt$3(hn),jt=(-At+vn)/(2*qe),bn=(-At-vn)/(2*qe);jt>=0&&jt<=1&&(Ue[Lt++]=jt),bn>=0&&bn<=1&&(Ue[Lt++]=bn)}}return Lt}function quadraticExtremum(xe,$e,Ie){var Fe=xe+Ie-2*$e;return Fe===0?.5:(xe-$e)/Fe}function quadraticSubdivide(xe,$e,Ie,Fe,Ue){var qe=($e-xe)*Fe+xe,At=(Ie-$e)*Fe+$e,Dt=(At-qe)*Fe+qe;Ue[0]=xe,Ue[1]=qe,Ue[2]=Dt,Ue[3]=Dt,Ue[4]=At,Ue[5]=Ie}function quadraticProjectPoint(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt,hn=.005,vn=1/0;_v0[0]=At,_v0[1]=Dt;for(var bn=0;bn<1;bn+=.05){_v1[0]=quadraticAt$1(xe,Ie,Ue,bn),_v1[1]=quadraticAt$1($e,Fe,qe,bn);var _n=distSquare(_v0,_v1);_n<vn&&(jt=bn,vn=_n)}vn=1/0;for(var wn=0;wn<32&&!(hn<EPSILON_NUMERIC);wn++){var kn=jt-hn,Cn=jt+hn;_v1[0]=quadraticAt$1(xe,Ie,Ue,kn),_v1[1]=quadraticAt$1($e,Fe,qe,kn);var _n=distSquare(_v1,_v0);if(kn>=0&&_n<vn)jt=kn,vn=_n;else{_v2[0]=quadraticAt$1(xe,Ie,Ue,Cn),_v2[1]=quadraticAt$1($e,Fe,qe,Cn);var Sn=distSquare(_v2,_v0);Cn<=1&&Sn<vn?(jt=Cn,vn=Sn):hn*=.5}}return Lt&&(Lt[0]=quadraticAt$1(xe,Ie,Ue,jt),Lt[1]=quadraticAt$1($e,Fe,qe,jt)),mathSqrt$3(vn)}function quadraticLength(xe,$e,Ie,Fe,Ue,qe,At){for(var Dt=xe,Lt=$e,jt=0,hn=1/At,vn=1;vn<=At;vn++){var bn=vn*hn,_n=quadraticAt$1(xe,Ie,Ue,bn),wn=quadraticAt$1($e,Fe,qe,bn),kn=_n-Dt,Cn=wn-Lt;jt+=Math.sqrt(kn*kn+Cn*Cn),Dt=_n,Lt=wn}return jt}var regexp=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc(xe){var $e=xe&&regexp.exec(xe);if($e){var Ie=$e[1].split(","),Fe=+trim$2(Ie[0]),Ue=+trim$2(Ie[1]),qe=+trim$2(Ie[2]),At=+trim$2(Ie[3]);if(isNaN(Fe+Ue+qe+At))return;var Dt=[];return function(Lt){return Lt<=0?0:Lt>=1?1:cubicRootAt(0,Fe,qe,1,Lt,Dt)&&cubicAt(0,Ue,At,1,Dt[0])}}}var Clip=function(){function xe($e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=$e.life||1e3,this._delay=$e.delay||0,this.loop=$e.loop||!1,this.onframe=$e.onframe||noop$2,this.ondestroy=$e.ondestroy||noop$2,this.onrestart=$e.onrestart||noop$2,$e.easing&&this.setEasing($e.easing)}return xe.prototype.step=function($e,Ie){if(this._inited||(this._startTime=$e+this._delay,this._inited=!0),this._paused){this._pausedTime+=Ie;return}var Fe=this._life,Ue=$e-this._startTime-this._pausedTime,qe=Ue/Fe;qe<0&&(qe=0),qe=Math.min(qe,1);var At=this.easingFunc,Dt=At?At(qe):qe;if(this.onframe(Dt),qe===1)if(this.loop){var Lt=Ue%Fe;this._startTime=$e-Lt,this._pausedTime=0,this.onrestart()}else return!0;return!1},xe.prototype.pause=function(){this._paused=!0},xe.prototype.resume=function(){this._paused=!1},xe.prototype.setEasing=function($e){this.easing=$e,this.easingFunc=isFunction$2($e)?$e:easingFuncs[$e]||createCubicEasingFunc($e)},xe}(),Entry=function(){function xe($e){this.value=$e}return xe}(),LinkedList=function(){function xe(){this._len=0}return xe.prototype.insert=function($e){var Ie=new Entry($e);return this.insertEntry(Ie),Ie},xe.prototype.insertEntry=function($e){this.head?(this.tail.next=$e,$e.prev=this.tail,$e.next=null,this.tail=$e):this.head=this.tail=$e,this._len++},xe.prototype.remove=function($e){var Ie=$e.prev,Fe=$e.next;Ie?Ie.next=Fe:this.head=Fe,Fe?Fe.prev=Ie:this.tail=Ie,$e.next=$e.prev=null,this._len--},xe.prototype.len=function(){return this._len},xe.prototype.clear=function(){this.head=this.tail=null,this._len=0},xe}(),LRU=function(){function xe($e){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=$e}return xe.prototype.put=function($e,Ie){var Fe=this._list,Ue=this._map,qe=null;if(Ue[$e]==null){var At=Fe.len(),Dt=this._lastRemovedEntry;if(At>=this._maxSize&&At>0){var Lt=Fe.head;Fe.remove(Lt),delete Ue[Lt.key],qe=Lt.value,this._lastRemovedEntry=Lt}Dt?Dt.value=Ie:Dt=new Entry(Ie),Dt.key=$e,Fe.insertEntry(Dt),Ue[$e]=Dt}return qe},xe.prototype.get=function($e){var Ie=this._map[$e],Fe=this._list;if(Ie!=null)return Ie!==Fe.tail&&(Fe.remove(Ie),Fe.insertEntry(Ie)),Ie.value},xe.prototype.clear=function(){this._list.clear(),this._map={}},xe.prototype.len=function(){return this._list.len()},xe}(),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(xe){return xe=Math.round(xe),xe<0?0:xe>255?255:xe}function clampCssAngle(xe){return xe=Math.round(xe),xe<0?0:xe>360?360:xe}function clampCssFloat(xe){return xe<0?0:xe>1?1:xe}function parseCssInt(xe){var $e=xe;return $e.length&&$e.charAt($e.length-1)==="%"?clampCssByte(parseFloat($e)/100*255):clampCssByte(parseInt($e,10))}function parseCssFloat(xe){var $e=xe;return $e.length&&$e.charAt($e.length-1)==="%"?clampCssFloat(parseFloat($e)/100):clampCssFloat(parseFloat($e))}function cssHueToRgb(xe,$e,Ie){return Ie<0?Ie+=1:Ie>1&&(Ie-=1),Ie*6<1?xe+($e-xe)*Ie*6:Ie*2<1?$e:Ie*3<2?xe+($e-xe)*(2/3-Ie)*6:xe}function lerpNumber(xe,$e,Ie){return xe+($e-xe)*Ie}function setRgba(xe,$e,Ie,Fe,Ue){return xe[0]=$e,xe[1]=Ie,xe[2]=Fe,xe[3]=Ue,xe}function copyRgba(xe,$e){return xe[0]=$e[0],xe[1]=$e[1],xe[2]=$e[2],xe[3]=$e[3],xe}var colorCache=new LRU(20),lastRemovedArr=null;function putToCache(xe,$e){lastRemovedArr&&copyRgba(lastRemovedArr,$e),lastRemovedArr=colorCache.put(xe,lastRemovedArr||$e.slice())}function parse(xe,$e){if(xe){$e=$e||[];var Ie=colorCache.get(xe);if(Ie)return copyRgba($e,Ie);xe=xe+"";var Fe=xe.replace(/ /g,"").toLowerCase();if(Fe in kCSSColorTable)return copyRgba($e,kCSSColorTable[Fe]),putToCache(xe,$e),$e;var Ue=Fe.length;if(Fe.charAt(0)==="#"){if(Ue===4||Ue===5){var qe=parseInt(Fe.slice(1,4),16);if(!(qe>=0&&qe<=4095)){setRgba($e,0,0,0,1);return}return setRgba($e,(qe&3840)>>4|(qe&3840)>>8,qe&240|(qe&240)>>4,qe&15|(qe&15)<<4,Ue===5?parseInt(Fe.slice(4),16)/15:1),putToCache(xe,$e),$e}else if(Ue===7||Ue===9){var qe=parseInt(Fe.slice(1,7),16);if(!(qe>=0&&qe<=16777215)){setRgba($e,0,0,0,1);return}return setRgba($e,(qe&16711680)>>16,(qe&65280)>>8,qe&255,Ue===9?parseInt(Fe.slice(7),16)/255:1),putToCache(xe,$e),$e}return}var At=Fe.indexOf("("),Dt=Fe.indexOf(")");if(At!==-1&&Dt+1===Ue){var Lt=Fe.substr(0,At),jt=Fe.substr(At+1,Dt-(At+1)).split(","),hn=1;switch(Lt){case"rgba":if(jt.length!==4)return jt.length===3?setRgba($e,+jt[0],+jt[1],+jt[2],1):setRgba($e,0,0,0,1);hn=parseCssFloat(jt.pop());case"rgb":if(jt.length>=3)return setRgba($e,parseCssInt(jt[0]),parseCssInt(jt[1]),parseCssInt(jt[2]),jt.length===3?hn:parseCssFloat(jt[3])),putToCache(xe,$e),$e;setRgba($e,0,0,0,1);return;case"hsla":if(jt.length!==4){setRgba($e,0,0,0,1);return}return jt[3]=parseCssFloat(jt[3]),hsla2rgba(jt,$e),putToCache(xe,$e),$e;case"hsl":if(jt.length!==3){setRgba($e,0,0,0,1);return}return hsla2rgba(jt,$e),putToCache(xe,$e),$e;default:return}}setRgba($e,0,0,0,1)}}function hsla2rgba(xe,$e){var Ie=(parseFloat(xe[0])%360+360)%360/360,Fe=parseCssFloat(xe[1]),Ue=parseCssFloat(xe[2]),qe=Ue<=.5?Ue*(Fe+1):Ue+Fe-Ue*Fe,At=Ue*2-qe;return $e=$e||[],setRgba($e,clampCssByte(cssHueToRgb(At,qe,Ie+1/3)*255),clampCssByte(cssHueToRgb(At,qe,Ie)*255),clampCssByte(cssHueToRgb(At,qe,Ie-1/3)*255),1),xe.length===4&&($e[3]=xe[3]),$e}function rgba2hsla(xe){if(xe){var $e=xe[0]/255,Ie=xe[1]/255,Fe=xe[2]/255,Ue=Math.min($e,Ie,Fe),qe=Math.max($e,Ie,Fe),At=qe-Ue,Dt=(qe+Ue)/2,Lt,jt;if(At===0)Lt=0,jt=0;else{Dt<.5?jt=At/(qe+Ue):jt=At/(2-qe-Ue);var hn=((qe-$e)/6+At/2)/At,vn=((qe-Ie)/6+At/2)/At,bn=((qe-Fe)/6+At/2)/At;$e===qe?Lt=bn-vn:Ie===qe?Lt=1/3+hn-bn:Fe===qe&&(Lt=2/3+vn-hn),Lt<0&&(Lt+=1),Lt>1&&(Lt-=1)}var _n=[Lt*360,jt,Dt];return xe[3]!=null&&_n.push(xe[3]),_n}}function lift(xe,$e){var Ie=parse(xe);if(Ie){for(var Fe=0;Fe<3;Fe++)$e<0?Ie[Fe]=Ie[Fe]*(1-$e)|0:Ie[Fe]=(255-Ie[Fe])*$e+Ie[Fe]|0,Ie[Fe]>255?Ie[Fe]=255:Ie[Fe]<0&&(Ie[Fe]=0);return stringify(Ie,Ie.length===4?"rgba":"rgb")}}function fastLerp(xe,$e,Ie){if(!(!($e&&$e.length)||!(xe>=0&&xe<=1))){Ie=Ie||[];var Fe=xe*($e.length-1),Ue=Math.floor(Fe),qe=Math.ceil(Fe),At=$e[Ue],Dt=$e[qe],Lt=Fe-Ue;return Ie[0]=clampCssByte(lerpNumber(At[0],Dt[0],Lt)),Ie[1]=clampCssByte(lerpNumber(At[1],Dt[1],Lt)),Ie[2]=clampCssByte(lerpNumber(At[2],Dt[2],Lt)),Ie[3]=clampCssFloat(lerpNumber(At[3],Dt[3],Lt)),Ie}}function lerp(xe,$e,Ie){if(!(!($e&&$e.length)||!(xe>=0&&xe<=1))){var Fe=xe*($e.length-1),Ue=Math.floor(Fe),qe=Math.ceil(Fe),At=parse($e[Ue]),Dt=parse($e[qe]),Lt=Fe-Ue,jt=stringify([clampCssByte(lerpNumber(At[0],Dt[0],Lt)),clampCssByte(lerpNumber(At[1],Dt[1],Lt)),clampCssByte(lerpNumber(At[2],Dt[2],Lt)),clampCssFloat(lerpNumber(At[3],Dt[3],Lt))],"rgba");return Ie?{color:jt,leftIndex:Ue,rightIndex:qe,value:Fe}:jt}}function modifyHSL(xe,$e,Ie,Fe){var Ue=parse(xe);if(xe)return Ue=rgba2hsla(Ue),$e!=null&&(Ue[0]=clampCssAngle($e)),Ie!=null&&(Ue[1]=parseCssFloat(Ie)),Fe!=null&&(Ue[2]=parseCssFloat(Fe)),stringify(hsla2rgba(Ue),"rgba")}function modifyAlpha(xe,$e){var Ie=parse(xe);if(Ie&&$e!=null)return Ie[3]=clampCssFloat($e),stringify(Ie,"rgba")}function stringify(xe,$e){if(!(!xe||!xe.length)){var Ie=xe[0]+","+xe[1]+","+xe[2];return($e==="rgba"||$e==="hsva"||$e==="hsla")&&(Ie+=","+xe[3]),$e+"("+Ie+")"}}function lum(xe,$e){var Ie=parse(xe);return Ie?(.299*Ie[0]+.587*Ie[1]+.114*Ie[2])*Ie[3]/255+(1-Ie[3])*$e:0}var liftedColorCache=new LRU(100);function liftColor(xe){if(isString$2(xe)){var $e=liftedColorCache.get(xe);return $e||($e=lift(xe,-.1),liftedColorCache.put(xe,$e)),$e}else if(isGradientObject(xe)){var Ie=extend$1({},xe);return Ie.colorStops=map$1(xe.colorStops,function(Fe){return{offset:Fe.offset,color:lift(Fe.color,-.1)}}),Ie}return xe}var mathRound$1=Math.round;function normalizeColor(xe){var $e;if(!xe||xe==="transparent")xe="none";else if(typeof xe=="string"&&xe.indexOf("rgba")>-1){var Ie=parse(xe);Ie&&(xe="rgb("+Ie[0]+","+Ie[1]+","+Ie[2]+")",$e=Ie[3])}return{color:xe,opacity:$e??1}}var EPSILON$3=1e-4;function isAroundZero(xe){return xe<EPSILON$3&&xe>-EPSILON$3}function round3(xe){return mathRound$1(xe*1e3)/1e3}function round4(xe){return mathRound$1(xe*1e4)/1e4}function getMatrixStr(xe){return"matrix("+round3(xe[0])+","+round3(xe[1])+","+round3(xe[2])+","+round3(xe[3])+","+round4(xe[4])+","+round4(xe[5])+")"}var TEXT_ALIGN_TO_ANCHOR={left:"start",right:"end",center:"middle",middle:"middle"};function adjustTextY$1(xe,$e,Ie){return Ie==="top"?xe+=$e/2:Ie==="bottom"&&(xe-=$e/2),xe}function hasShadow(xe){return xe&&(xe.shadowBlur||xe.shadowOffsetX||xe.shadowOffsetY)}function getShadowKey(xe){var $e=xe.style,Ie=xe.getGlobalScale();return[$e.shadowColor,($e.shadowBlur||0).toFixed(2),($e.shadowOffsetX||0).toFixed(2),($e.shadowOffsetY||0).toFixed(2),Ie[0],Ie[1]].join(",")}function isImagePattern(xe){return xe&&!!xe.image}function isSVGPattern(xe){return xe&&!!xe.svgElement}function isPattern(xe){return isImagePattern(xe)||isSVGPattern(xe)}function isLinearGradient(xe){return xe.type==="linear"}function isRadialGradient(xe){return xe.type==="radial"}function isGradient(xe){return xe&&(xe.type==="linear"||xe.type==="radial")}function getIdURL(xe){return"url(#"+xe+")"}function getPathPrecision(xe){var $e=xe.getGlobalScale(),Ie=Math.max($e[0],$e[1]);return Math.max(Math.ceil(Math.log(Ie)/Math.log(10)),1)}function getSRTTransformString(xe){var $e=xe.x||0,Ie=xe.y||0,Fe=(xe.rotation||0)*RADIAN_TO_DEGREE,Ue=retrieve2(xe.scaleX,1),qe=retrieve2(xe.scaleY,1),At=xe.skewX||0,Dt=xe.skewY||0,Lt=[];return($e||Ie)&&Lt.push("translate("+$e+"px,"+Ie+"px)"),Fe&&Lt.push("rotate("+Fe+")"),(Ue!==1||qe!==1)&&Lt.push("scale("+Ue+","+qe+")"),(At||Dt)&&Lt.push("skew("+mathRound$1(At*RADIAN_TO_DEGREE)+"deg, "+mathRound$1(Dt*RADIAN_TO_DEGREE)+"deg)"),Lt.join(" ")}var encodeBase64=function(){return env.hasGlobalWindow&&isFunction$2(window.btoa)?function(xe){return window.btoa(unescape(encodeURIComponent(xe)))}:typeof Buffer<"u"?function(xe){return Buffer.from(xe).toString("base64")}:function(xe){return null}}(),arraySlice=Array.prototype.slice;function interpolateNumber$1(xe,$e,Ie){return($e-xe)*Ie+xe}function interpolate1DArray(xe,$e,Ie,Fe){for(var Ue=$e.length,qe=0;qe<Ue;qe++)xe[qe]=interpolateNumber$1($e[qe],Ie[qe],Fe);return xe}function interpolate2DArray(xe,$e,Ie,Fe){for(var Ue=$e.length,qe=Ue&&$e[0].length,At=0;At<Ue;At++){xe[At]||(xe[At]=[]);for(var Dt=0;Dt<qe;Dt++)xe[At][Dt]=interpolateNumber$1($e[At][Dt],Ie[At][Dt],Fe)}return xe}function add1DArray(xe,$e,Ie,Fe){for(var Ue=$e.length,qe=0;qe<Ue;qe++)xe[qe]=$e[qe]+Ie[qe]*Fe;return xe}function add2DArray(xe,$e,Ie,Fe){for(var Ue=$e.length,qe=Ue&&$e[0].length,At=0;At<Ue;At++){xe[At]||(xe[At]=[]);for(var Dt=0;Dt<qe;Dt++)xe[At][Dt]=$e[At][Dt]+Ie[At][Dt]*Fe}return xe}function fillColorStops(xe,$e){for(var Ie=xe.length,Fe=$e.length,Ue=Ie>Fe?$e:xe,qe=Math.min(Ie,Fe),At=Ue[qe-1]||{color:[0,0,0,0],offset:0},Dt=qe;Dt<Math.max(Ie,Fe);Dt++)Ue.push({offset:At.offset,color:At.color.slice()})}function fillArray(xe,$e,Ie){var Fe=xe,Ue=$e;if(!(!Fe.push||!Ue.push)){var qe=Fe.length,At=Ue.length;if(qe!==At){var Dt=qe>At;if(Dt)Fe.length=At;else for(var Lt=qe;Lt<At;Lt++)Fe.push(Ie===1?Ue[Lt]:arraySlice.call(Ue[Lt]))}for(var jt=Fe[0]&&Fe[0].length,Lt=0;Lt<Fe.length;Lt++)if(Ie===1)isNaN(Fe[Lt])&&(Fe[Lt]=Ue[Lt]);else for(var hn=0;hn<jt;hn++)isNaN(Fe[Lt][hn])&&(Fe[Lt][hn]=Ue[Lt][hn])}}function cloneValue(xe){if(isArrayLike(xe)){var $e=xe.length;if(isArrayLike(xe[0])){for(var Ie=[],Fe=0;Fe<$e;Fe++)Ie.push(arraySlice.call(xe[Fe]));return Ie}return arraySlice.call(xe)}return xe}function rgba2String(xe){return xe[0]=Math.floor(xe[0])||0,xe[1]=Math.floor(xe[1])||0,xe[2]=Math.floor(xe[2])||0,xe[3]=xe[3]==null?1:xe[3],"rgba("+xe.join(",")+")"}function guessArrayDim(xe){return isArrayLike(xe&&xe[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(xe){return xe===VALUE_TYPE_LINEAR_GRADIENT||xe===VALUE_TYPE_RADIAL_GRADIENT}function isArrayValueType(xe){return xe===VALUE_TYPE_1D_ARRAY||xe===VALUE_TYPE_2D_ARRAY}var tmpRgba=[0,0,0,0],Track=function(){function xe($e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=$e}return xe.prototype.isFinished=function(){return this._finished},xe.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},xe.prototype.needsAnimate=function(){return this.keyframes.length>=1},xe.prototype.getAdditiveTrack=function(){return this._additiveTrack},xe.prototype.addKeyframe=function($e,Ie,Fe){this._needsSort=!0;var Ue=this.keyframes,qe=Ue.length,At=!1,Dt=VALUE_TYPE_UNKOWN,Lt=Ie;if(isArrayLike(Ie)){var jt=guessArrayDim(Ie);Dt=jt,(jt===1&&!isNumber$2(Ie[0])||jt===2&&!isNumber$2(Ie[0][0]))&&(At=!0)}else if(isNumber$2(Ie)&&!eqNaN(Ie))Dt=VALUE_TYPE_NUMBER;else if(isString$2(Ie))if(!isNaN(+Ie))Dt=VALUE_TYPE_NUMBER;else{var hn=parse(Ie);hn&&(Lt=hn,Dt=VALUE_TYPE_COLOR)}else if(isGradientObject(Ie)){var vn=extend$1({},Lt);vn.colorStops=map$1(Ie.colorStops,function(_n){return{offset:_n.offset,color:parse(_n.color)}}),isLinearGradient(Ie)?Dt=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(Ie)&&(Dt=VALUE_TYPE_RADIAL_GRADIENT),Lt=vn}qe===0?this.valType=Dt:(Dt!==this.valType||Dt===VALUE_TYPE_UNKOWN)&&(At=!0),this.discrete=this.discrete||At;var bn={time:$e,value:Lt,rawValue:Ie,percent:0};return Fe&&(bn.easing=Fe,bn.easingFunc=isFunction$2(Fe)?Fe:easingFuncs[Fe]||createCubicEasingFunc(Fe)),Ue.push(bn),bn},xe.prototype.prepare=function($e,Ie){var Fe=this.keyframes;this._needsSort&&Fe.sort(function(kn,Cn){return kn.time-Cn.time});for(var Ue=this.valType,qe=Fe.length,At=Fe[qe-1],Dt=this.discrete,Lt=isArrayValueType(Ue),jt=isGradientValueType(Ue),hn=0;hn<qe;hn++){var vn=Fe[hn],bn=vn.value,_n=At.value;vn.percent=vn.time/$e,Dt||(Lt&&hn!==qe-1?fillArray(bn,_n,Ue):jt&&fillColorStops(bn.colorStops,_n.colorStops))}if(!Dt&&Ue!==VALUE_TYPE_RADIAL_GRADIENT&&Ie&&this.needsAnimate()&&Ie.needsAnimate()&&Ue===Ie.valType&&!Ie._finished){this._additiveTrack=Ie;for(var wn=Fe[0].value,hn=0;hn<qe;hn++)Ue===VALUE_TYPE_NUMBER?Fe[hn].additiveValue=Fe[hn].value-wn:Ue===VALUE_TYPE_COLOR?Fe[hn].additiveValue=add1DArray([],Fe[hn].value,wn,-1):isArrayValueType(Ue)&&(Fe[hn].additiveValue=Ue===VALUE_TYPE_1D_ARRAY?add1DArray([],Fe[hn].value,wn,-1):add2DArray([],Fe[hn].value,wn,-1))}},xe.prototype.step=function($e,Ie){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var Fe=this._additiveTrack!=null,Ue=Fe?"additiveValue":"value",qe=this.valType,At=this.keyframes,Dt=At.length,Lt=this.propName,jt=qe===VALUE_TYPE_COLOR,hn,vn=this._lastFr,bn=Math.min,_n,wn;if(Dt===1)_n=wn=At[0];else{if(Ie<0)hn=0;else if(Ie<this._lastFrP){var kn=bn(vn+1,Dt-1);for(hn=kn;hn>=0&&!(At[hn].percent<=Ie);hn--);hn=bn(hn,Dt-2)}else{for(hn=vn;hn<Dt&&!(At[hn].percent>Ie);hn++);hn=bn(hn-1,Dt-2)}wn=At[hn+1],_n=At[hn]}if(_n&&wn){this._lastFr=hn,this._lastFrP=Ie;var Cn=wn.percent-_n.percent,Sn=Cn===0?1:bn((Ie-_n.percent)/Cn,1);wn.easingFunc&&(Sn=wn.easingFunc(Sn));var xn=Fe?this._additiveValue:jt?tmpRgba:$e[Lt];if((isArrayValueType(qe)||jt)&&!xn&&(xn=this._additiveValue=[]),this.discrete)$e[Lt]=Sn<1?_n.rawValue:wn.rawValue;else if(isArrayValueType(qe))qe===VALUE_TYPE_1D_ARRAY?interpolate1DArray(xn,_n[Ue],wn[Ue],Sn):interpolate2DArray(xn,_n[Ue],wn[Ue],Sn);else if(isGradientValueType(qe)){var En=_n[Ue],Tn=wn[Ue],An=qe===VALUE_TYPE_LINEAR_GRADIENT;$e[Lt]={type:An?"linear":"radial",x:interpolateNumber$1(En.x,Tn.x,Sn),y:interpolateNumber$1(En.y,Tn.y,Sn),colorStops:map$1(En.colorStops,function(Pn,Nn){var Mn=Tn.colorStops[Nn];return{offset:interpolateNumber$1(Pn.offset,Mn.offset,Sn),color:rgba2String(interpolate1DArray([],Pn.color,Mn.color,Sn))}}),global:Tn.global},An?($e[Lt].x2=interpolateNumber$1(En.x2,Tn.x2,Sn),$e[Lt].y2=interpolateNumber$1(En.y2,Tn.y2,Sn)):$e[Lt].r=interpolateNumber$1(En.r,Tn.r,Sn)}else if(jt)interpolate1DArray(xn,_n[Ue],wn[Ue],Sn),Fe||($e[Lt]=rgba2String(xn));else{var $n=interpolateNumber$1(_n[Ue],wn[Ue],Sn);Fe?this._additiveValue=$n:$e[Lt]=$n}Fe&&this._addToTarget($e)}}},xe.prototype._addToTarget=function($e){var Ie=this.valType,Fe=this.propName,Ue=this._additiveValue;Ie===VALUE_TYPE_NUMBER?$e[Fe]=$e[Fe]+Ue:Ie===VALUE_TYPE_COLOR?(parse($e[Fe],tmpRgba),add1DArray(tmpRgba,tmpRgba,Ue,1),$e[Fe]=rgba2String(tmpRgba)):Ie===VALUE_TYPE_1D_ARRAY?add1DArray($e[Fe],$e[Fe],Ue,1):Ie===VALUE_TYPE_2D_ARRAY&&add2DArray($e[Fe],$e[Fe],Ue,1)},xe}(),Animator=function(){function xe($e,Ie,Fe,Ue){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=$e,this._loop=Ie,Ie&&Ue){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=Ue,this._allowDiscrete=Fe}return xe.prototype.getMaxTime=function(){return this._maxTime},xe.prototype.getDelay=function(){return this._delay},xe.prototype.getLoop=function(){return this._loop},xe.prototype.getTarget=function(){return this._target},xe.prototype.changeTarget=function($e){this._target=$e},xe.prototype.when=function($e,Ie,Fe){return this.whenWithKeys($e,Ie,keys(Ie),Fe)},xe.prototype.whenWithKeys=function($e,Ie,Fe,Ue){for(var qe=this._tracks,At=0;At<Fe.length;At++){var Dt=Fe[At],Lt=qe[Dt];if(!Lt){Lt=qe[Dt]=new Track(Dt);var jt=void 0,hn=this._getAdditiveTrack(Dt);if(hn){var vn=hn.keyframes,bn=vn[vn.length-1];jt=bn&&bn.value,hn.valType===VALUE_TYPE_COLOR&&jt&&(jt=rgba2String(jt))}else jt=this._target[Dt];if(jt==null)continue;$e>0&&Lt.addKeyframe(0,cloneValue(jt),Ue),this._trackKeys.push(Dt)}Lt.addKeyframe($e,cloneValue(Ie[Dt]),Ue)}return this._maxTime=Math.max(this._maxTime,$e),this},xe.prototype.pause=function(){this._clip.pause(),this._paused=!0},xe.prototype.resume=function(){this._clip.resume(),this._paused=!1},xe.prototype.isPaused=function(){return!!this._paused},xe.prototype.duration=function($e){return this._maxTime=$e,this._force=!0,this},xe.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var $e=this._doneCbs;if($e)for(var Ie=$e.length,Fe=0;Fe<Ie;Fe++)$e[Fe].call(this)},xe.prototype._abortedCallback=function(){this._setTracksFinished();var $e=this.animation,Ie=this._abortedCbs;if($e&&$e.removeClip(this._clip),this._clip=null,Ie)for(var Fe=0;Fe<Ie.length;Fe++)Ie[Fe].call(this)},xe.prototype._setTracksFinished=function(){for(var $e=this._tracks,Ie=this._trackKeys,Fe=0;Fe<Ie.length;Fe++)$e[Ie[Fe]].setFinished()},xe.prototype._getAdditiveTrack=function($e){var Ie,Fe=this._additiveAnimators;if(Fe)for(var Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue].getTrack($e);qe&&(Ie=qe)}return Ie},xe.prototype.start=function($e){if(!(this._started>0)){this._started=1;for(var Ie=this,Fe=[],Ue=this._maxTime||0,qe=0;qe<this._trackKeys.length;qe++){var At=this._trackKeys[qe],Dt=this._tracks[At],Lt=this._getAdditiveTrack(At),jt=Dt.keyframes,hn=jt.length;if(Dt.prepare(Ue,Lt),Dt.needsAnimate())if(!this._allowDiscrete&&Dt.discrete){var vn=jt[hn-1];vn&&(Ie._target[Dt.propName]=vn.rawValue),Dt.setFinished()}else Fe.push(Dt)}if(Fe.length||this._force){var bn=new Clip({life:Ue,loop:this._loop,delay:this._delay||0,onframe:function(_n){Ie._started=2;var wn=Ie._additiveAnimators;if(wn){for(var kn=!1,Cn=0;Cn<wn.length;Cn++)if(wn[Cn]._clip){kn=!0;break}kn||(Ie._additiveAnimators=null)}for(var Cn=0;Cn<Fe.length;Cn++)Fe[Cn].step(Ie._target,_n);var Sn=Ie._onframeCbs;if(Sn)for(var Cn=0;Cn<Sn.length;Cn++)Sn[Cn](Ie._target,_n)},ondestroy:function(){Ie._doneCallback()}});this._clip=bn,this.animation&&this.animation.addClip(bn),$e&&bn.setEasing($e)}else this._doneCallback();return this}},xe.prototype.stop=function($e){if(this._clip){var Ie=this._clip;$e&&Ie.onframe(1),this._abortedCallback()}},xe.prototype.delay=function($e){return this._delay=$e,this},xe.prototype.during=function($e){return $e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push($e)),this},xe.prototype.done=function($e){return $e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push($e)),this},xe.prototype.aborted=function($e){return $e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push($e)),this},xe.prototype.getClip=function(){return this._clip},xe.prototype.getTrack=function($e){return this._tracks[$e]},xe.prototype.getTracks=function(){var $e=this;return map$1(this._trackKeys,function(Ie){return $e._tracks[Ie]})},xe.prototype.stopTracks=function($e,Ie){if(!$e.length||!this._clip)return!0;for(var Fe=this._tracks,Ue=this._trackKeys,qe=0;qe<$e.length;qe++){var At=Fe[$e[qe]];At&&!At.isFinished()&&(Ie?At.step(this._target,1):this._started===1&&At.step(this._target,0),At.setFinished())}for(var Dt=!0,qe=0;qe<Ue.length;qe++)if(!Fe[Ue[qe]].isFinished()){Dt=!1;break}return Dt&&this._abortedCallback(),Dt},xe.prototype.saveTo=function($e,Ie,Fe){if($e){Ie=Ie||this._trackKeys;for(var Ue=0;Ue<Ie.length;Ue++){var qe=Ie[Ue],At=this._tracks[qe];if(!(!At||At.isFinished())){var Dt=At.keyframes,Lt=Dt[Fe?0:Dt.length-1];Lt&&($e[qe]=cloneValue(Lt.rawValue))}}}},xe.prototype.__changeFinalValue=function($e,Ie){Ie=Ie||keys($e);for(var Fe=0;Fe<Ie.length;Fe++){var Ue=Ie[Fe],qe=this._tracks[Ue];if(qe){var At=qe.keyframes;if(At.length>1){var Dt=At.pop();qe.addKeyframe(Dt.time,$e[Ue]),qe.prepare(this._maxTime,qe.getAdditiveTrack())}}}},xe}();function getTime$1(){return new Date().getTime()}var Animation=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe._running=!1,Fe._time=0,Fe._pausedTime=0,Fe._pauseStart=0,Fe._paused=!1,Ie=Ie||{},Fe.stage=Ie.stage||{},Fe}return $e.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},$e.prototype.addAnimator=function(Ie){Ie.animation=this;var Fe=Ie.getClip();Fe&&this.addClip(Fe)},$e.prototype.removeClip=function(Ie){if(Ie.animation){var Fe=Ie.prev,Ue=Ie.next;Fe?Fe.next=Ue:this._head=Ue,Ue?Ue.prev=Fe:this._tail=Fe,Ie.next=Ie.prev=Ie.animation=null}},$e.prototype.removeAnimator=function(Ie){var Fe=Ie.getClip();Fe&&this.removeClip(Fe),Ie.animation=null},$e.prototype.update=function(Ie){for(var Fe=getTime$1()-this._pausedTime,Ue=Fe-this._time,qe=this._head;qe;){var At=qe.next,Dt=qe.step(Fe,Ue);Dt&&(qe.ondestroy(),this.removeClip(qe)),qe=At}this._time=Fe,Ie||(this.trigger("frame",Ue),this.stage.update&&this.stage.update())},$e.prototype._startLoop=function(){var Ie=this;this._running=!0;function Fe(){Ie._running&&(requestAnimationFrame$2(Fe),!Ie._paused&&Ie.update())}requestAnimationFrame$2(Fe)},$e.prototype.start=function(){this._running||(this._time=getTime$1(),this._pausedTime=0,this._startLoop())},$e.prototype.stop=function(){this._running=!1},$e.prototype.pause=function(){this._paused||(this._pauseStart=getTime$1(),this._paused=!0)},$e.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime$1()-this._pauseStart,this._paused=!1)},$e.prototype.clear=function(){for(var Ie=this._head;Ie;){var Fe=Ie.next;Ie.prev=Ie.next=Ie.animation=null,Ie=Fe}this._head=this._tail=null},$e.prototype.isFinished=function(){return this._head==null},$e.prototype.animate=function(Ie,Fe){Fe=Fe||{},this.start();var Ue=new Animator(Ie,Fe.loop);return this.addAnimator(Ue),Ue},$e}(Eventful),TOUCH_CLICK_DELAY=300,globalEventSupported=env.domSupported,localNativeListenerNames=function(){var xe=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],$e=["touchstart","touchend","touchmove"],Ie={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},Fe=map$1(xe,function(Ue){var qe=Ue.replace("mouse","pointer");return Ie.hasOwnProperty(qe)?qe:Ue});return{mouse:xe,touch:$e,pointer:Fe}}(),globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch(xe){var $e=xe.pointerType;return $e==="pen"||$e==="touch"}function setTouchTimer(xe){xe.touching=!0,xe.touchTimer!=null&&(clearTimeout(xe.touchTimer),xe.touchTimer=null),xe.touchTimer=setTimeout(function(){xe.touching=!1,xe.touchTimer=null},700)}function markTouch(xe){xe&&(xe.zrByTouch=!0)}function normalizeGlobalEvent(xe,$e){return normalizeEvent(xe.dom,new FakeGlobalEvent(xe,$e),!0)}function isLocalEl(xe,$e){for(var Ie=$e,Fe=!1;Ie&&Ie.nodeType!==9&&!(Fe=Ie.domBelongToZr||Ie!==$e&&Ie===xe.painterRoot);)Ie=Ie.parentNode;return Fe}var FakeGlobalEvent=function(){function xe($e,Ie){this.stopPropagation=noop$2,this.stopImmediatePropagation=noop$2,this.preventDefault=noop$2,this.type=Ie.type,this.target=this.currentTarget=$e.dom,this.pointerType=Ie.pointerType,this.clientX=Ie.clientX,this.clientY=Ie.clientY}return xe}(),localDOMHandlers={mousedown:function(xe){xe=normalizeEvent(this.dom,xe),this.__mayPointerCapture=[xe.zrX,xe.zrY],this.trigger("mousedown",xe)},mousemove:function(xe){xe=normalizeEvent(this.dom,xe);var $e=this.__mayPointerCapture;$e&&(xe.zrX!==$e[0]||xe.zrY!==$e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",xe)},mouseup:function(xe){xe=normalizeEvent(this.dom,xe),this.__togglePointerCapture(!1),this.trigger("mouseup",xe)},mouseout:function(xe){xe=normalizeEvent(this.dom,xe);var $e=xe.toElement||xe.relatedTarget;isLocalEl(this,$e)||(this.__pointerCapturing&&(xe.zrEventControl="no_globalout"),this.trigger("mouseout",xe))},wheel:function(xe){wheelEventSupported=!0,xe=normalizeEvent(this.dom,xe),this.trigger("mousewheel",xe)},mousewheel:function(xe){wheelEventSupported||(xe=normalizeEvent(this.dom,xe),this.trigger("mousewheel",xe))},touchstart:function(xe){xe=normalizeEvent(this.dom,xe),markTouch(xe),this.__lastTouchMoment=new Date,this.handler.processGesture(xe,"start"),localDOMHandlers.mousemove.call(this,xe),localDOMHandlers.mousedown.call(this,xe)},touchmove:function(xe){xe=normalizeEvent(this.dom,xe),markTouch(xe),this.handler.processGesture(xe,"change"),localDOMHandlers.mousemove.call(this,xe)},touchend:function(xe){xe=normalizeEvent(this.dom,xe),markTouch(xe),this.handler.processGesture(xe,"end"),localDOMHandlers.mouseup.call(this,xe),+new Date-+this.__lastTouchMoment<TOUCH_CLICK_DELAY&&localDOMHandlers.click.call(this,xe)},pointerdown:function(xe){localDOMHandlers.mousedown.call(this,xe)},pointermove:function(xe){isPointerFromTouch(xe)||localDOMHandlers.mousemove.call(this,xe)},pointerup:function(xe){localDOMHandlers.mouseup.call(this,xe)},pointerout:function(xe){isPointerFromTouch(xe)||localDOMHandlers.mouseout.call(this,xe)}};each$f(["click","dblclick","contextmenu"],function(xe){localDOMHandlers[xe]=function($e){$e=normalizeEvent(this.dom,$e),this.trigger(xe,$e)}});var globalDOMHandlers={pointermove:function(xe){isPointerFromTouch(xe)||globalDOMHandlers.mousemove.call(this,xe)},pointerup:function(xe){globalDOMHandlers.mouseup.call(this,xe)},mousemove:function(xe){this.trigger("mousemove",xe)},mouseup:function(xe){var $e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",xe),$e&&(xe.zrEventControl="only_globalout",this.trigger("mouseout",xe))}};function mountLocalDOMEventListeners(xe,$e){var Ie=$e.domHandlers;env.pointerEventsSupported?each$f(localNativeListenerNames.pointer,function(Fe){mountSingleDOMEventListener($e,Fe,function(Ue){Ie[Fe].call(xe,Ue)})}):(env.touchEventsSupported&&each$f(localNativeListenerNames.touch,function(Fe){mountSingleDOMEventListener($e,Fe,function(Ue){Ie[Fe].call(xe,Ue),setTouchTimer($e)})}),each$f(localNativeListenerNames.mouse,function(Fe){mountSingleDOMEventListener($e,Fe,function(Ue){Ue=getNativeEvent(Ue),$e.touching||Ie[Fe].call(xe,Ue)})}))}function mountGlobalDOMEventListeners(xe,$e){env.pointerEventsSupported?each$f(globalNativeListenerNames.pointer,Ie):env.touchEventsSupported||each$f(globalNativeListenerNames.mouse,Ie);function Ie(Fe){function Ue(qe){qe=getNativeEvent(qe),isLocalEl(xe,qe.target)||(qe=normalizeGlobalEvent(xe,qe),$e.domHandlers[Fe].call(xe,qe))}mountSingleDOMEventListener($e,Fe,Ue,{capture:!0})}}function mountSingleDOMEventListener(xe,$e,Ie,Fe){xe.mounted[$e]=Ie,xe.listenerOpts[$e]=Fe,addEventListener(xe.domTarget,$e,Ie,Fe)}function unmountDOMEventListeners(xe){var $e=xe.mounted;for(var Ie in $e)$e.hasOwnProperty(Ie)&&removeEventListener(xe.domTarget,Ie,$e[Ie],xe.listenerOpts[Ie]);xe.mounted={}}var DOMHandlerScope=function(){function xe($e,Ie){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=$e,this.domHandlers=Ie}return xe}(),HandlerDomProxy=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this;return Ue.__pointerCapturing=!1,Ue.dom=Ie,Ue.painterRoot=Fe,Ue._localHandlerScope=new DOMHandlerScope(Ie,localDOMHandlers),globalEventSupported&&(Ue._globalHandlerScope=new DOMHandlerScope(document,globalDOMHandlers)),mountLocalDOMEventListeners(Ue,Ue._localHandlerScope),Ue}return $e.prototype.dispose=function(){unmountDOMEventListeners(this._localHandlerScope),globalEventSupported&&unmountDOMEventListeners(this._globalHandlerScope)},$e.prototype.setCursor=function(Ie){this.dom.style&&(this.dom.style.cursor=Ie||"default")},$e.prototype.__togglePointerCapture=function(Ie){if(this.__mayPointerCapture=null,globalEventSupported&&+this.__pointerCapturing^+Ie){this.__pointerCapturing=Ie;var Fe=this._globalHandlerScope;Ie?mountGlobalDOMEventListeners(this,Fe):unmountDOMEventListeners(Fe)}},$e}(Eventful),dpr=1;env.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$1,EPSILON$2=5e-5;function isNotAroundZero(xe){return xe>EPSILON$2||xe<-EPSILON$2}var scaleTmp=[],tmpTransform=[],originTransform=create$1(),abs=Math.abs,Transformable=function(){function xe(){}return xe.prototype.getLocalTransform=function($e){return xe.getLocalTransform(this,$e)},xe.prototype.setPosition=function($e){this.x=$e[0],this.y=$e[1]},xe.prototype.setScale=function($e){this.scaleX=$e[0],this.scaleY=$e[1]},xe.prototype.setSkew=function($e){this.skewX=$e[0],this.skewY=$e[1]},xe.prototype.setOrigin=function($e){this.originX=$e[0],this.originY=$e[1]},xe.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)},xe.prototype.updateTransform=function(){var $e=this.parent&&this.parent.transform,Ie=this.needLocalTransform(),Fe=this.transform;if(!(Ie||$e)){Fe&&(mIdentity(Fe),this.invTransform=null);return}Fe=Fe||create$1(),Ie?this.getLocalTransform(Fe):mIdentity(Fe),$e&&(Ie?mul(Fe,$e,Fe):copy(Fe,$e)),this.transform=Fe,this._resolveGlobalScaleRatio(Fe)},xe.prototype._resolveGlobalScaleRatio=function($e){var Ie=this.globalScaleRatio;if(Ie!=null&&Ie!==1){this.getGlobalScale(scaleTmp);var Fe=scaleTmp[0]<0?-1:1,Ue=scaleTmp[1]<0?-1:1,qe=((scaleTmp[0]-Fe)*Ie+Fe)/scaleTmp[0]||0,At=((scaleTmp[1]-Ue)*Ie+Ue)/scaleTmp[1]||0;$e[0]*=qe,$e[1]*=qe,$e[2]*=At,$e[3]*=At}this.invTransform=this.invTransform||create$1(),invert(this.invTransform,$e)},xe.prototype.getComputedTransform=function(){for(var $e=this,Ie=[];$e;)Ie.push($e),$e=$e.parent;for(;$e=Ie.pop();)$e.updateTransform();return this.transform},xe.prototype.setLocalTransform=function($e){if($e){var Ie=$e[0]*$e[0]+$e[1]*$e[1],Fe=$e[2]*$e[2]+$e[3]*$e[3],Ue=Math.atan2($e[1],$e[0]),qe=Math.PI/2+Ue-Math.atan2($e[3],$e[2]);Fe=Math.sqrt(Fe)*Math.cos(qe),Ie=Math.sqrt(Ie),this.skewX=qe,this.skewY=0,this.rotation=-Ue,this.x=+$e[4],this.y=+$e[5],this.scaleX=Ie,this.scaleY=Fe,this.originX=0,this.originY=0}},xe.prototype.decomposeTransform=function(){if(this.transform){var $e=this.parent,Ie=this.transform;$e&&$e.transform&&($e.invTransform=$e.invTransform||create$1(),mul(tmpTransform,$e.invTransform,Ie),Ie=tmpTransform);var Fe=this.originX,Ue=this.originY;(Fe||Ue)&&(originTransform[4]=Fe,originTransform[5]=Ue,mul(tmpTransform,Ie,originTransform),tmpTransform[4]-=Fe,tmpTransform[5]-=Ue,Ie=tmpTransform),this.setLocalTransform(Ie)}},xe.prototype.getGlobalScale=function($e){var Ie=this.transform;return $e=$e||[],Ie?($e[0]=Math.sqrt(Ie[0]*Ie[0]+Ie[1]*Ie[1]),$e[1]=Math.sqrt(Ie[2]*Ie[2]+Ie[3]*Ie[3]),Ie[0]<0&&($e[0]=-$e[0]),Ie[3]<0&&($e[1]=-$e[1]),$e):($e[0]=1,$e[1]=1,$e)},xe.prototype.transformCoordToLocal=function($e,Ie){var Fe=[$e,Ie],Ue=this.invTransform;return Ue&&applyTransform$1(Fe,Fe,Ue),Fe},xe.prototype.transformCoordToGlobal=function($e,Ie){var Fe=[$e,Ie],Ue=this.transform;return Ue&&applyTransform$1(Fe,Fe,Ue),Fe},xe.prototype.getLineScale=function(){var $e=this.transform;return $e&&abs($e[0]-1)>1e-10&&abs($e[3]-1)>1e-10?Math.sqrt(abs($e[0]*$e[3]-$e[2]*$e[1])):1},xe.prototype.copyTransform=function($e){copyTransform(this,$e)},xe.getLocalTransform=function($e,Ie){Ie=Ie||[];var Fe=$e.originX||0,Ue=$e.originY||0,qe=$e.scaleX,At=$e.scaleY,Dt=$e.anchorX,Lt=$e.anchorY,jt=$e.rotation||0,hn=$e.x,vn=$e.y,bn=$e.skewX?Math.tan($e.skewX):0,_n=$e.skewY?Math.tan(-$e.skewY):0;if(Fe||Ue||Dt||Lt){var wn=Fe+Dt,kn=Ue+Lt;Ie[4]=-wn*qe-bn*kn*At,Ie[5]=-kn*At-_n*wn*qe}else Ie[4]=Ie[5]=0;return Ie[0]=qe,Ie[3]=At,Ie[1]=_n*qe,Ie[2]=bn*At,jt&&rotate(Ie,Ie,jt),Ie[4]+=Fe+hn,Ie[5]+=Ue+vn,Ie},xe.initDefaultProps=function(){var $e=xe.prototype;$e.scaleX=$e.scaleY=$e.globalScaleRatio=1,$e.x=$e.y=$e.originX=$e.originY=$e.skewX=$e.skewY=$e.rotation=$e.anchorX=$e.anchorY=0}(),xe}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(xe,$e){for(var Ie=0;Ie<TRANSFORMABLE_PROPS.length;Ie++){var Fe=TRANSFORMABLE_PROPS[Ie];xe[Fe]=$e[Fe]}}var textWidthCache={};function getWidth(xe,$e){$e=$e||DEFAULT_FONT;var Ie=textWidthCache[$e];Ie||(Ie=textWidthCache[$e]=new LRU(500));var Fe=Ie.get(xe);return Fe==null&&(Fe=platformApi.measureText(xe,$e).width,Ie.put(xe,Fe)),Fe}function innerGetBoundingRect(xe,$e,Ie,Fe){var Ue=getWidth(xe,$e),qe=getLineHeight($e),At=adjustTextX(0,Ue,Ie),Dt=adjustTextY(0,qe,Fe),Lt=new BoundingRect(At,Dt,Ue,qe);return Lt}function getBoundingRect(xe,$e,Ie,Fe){var Ue=((xe||"")+"").split(`
`),qe=Ue.length;if(qe===1)return innerGetBoundingRect(Ue[0],$e,Ie,Fe);for(var At=new BoundingRect(0,0,0,0),Dt=0;Dt<Ue.length;Dt++){var Lt=innerGetBoundingRect(Ue[Dt],$e,Ie,Fe);Dt===0?At.copy(Lt):At.union(Lt)}return At}function adjustTextX(xe,$e,Ie){return Ie==="right"?xe-=$e:Ie==="center"&&(xe-=$e/2),xe}function adjustTextY(xe,$e,Ie){return Ie==="middle"?xe-=$e/2:Ie==="bottom"&&(xe-=$e),xe}function getLineHeight(xe){return getWidth("国",xe)}function parsePercent$1(xe,$e){return typeof xe=="string"?xe.lastIndexOf("%")>=0?parseFloat(xe)/100*$e:parseFloat(xe):xe}function calculateTextPosition(xe,$e,Ie){var Fe=$e.position||"inside",Ue=$e.distance!=null?$e.distance:5,qe=Ie.height,At=Ie.width,Dt=qe/2,Lt=Ie.x,jt=Ie.y,hn="left",vn="top";if(Fe instanceof Array)Lt+=parsePercent$1(Fe[0],Ie.width),jt+=parsePercent$1(Fe[1],Ie.height),hn=null,vn=null;else switch(Fe){case"left":Lt-=Ue,jt+=Dt,hn="right",vn="middle";break;case"right":Lt+=Ue+At,jt+=Dt,vn="middle";break;case"top":Lt+=At/2,jt-=Ue,hn="center",vn="bottom";break;case"bottom":Lt+=At/2,jt+=qe+Ue,hn="center";break;case"inside":Lt+=At/2,jt+=Dt,hn="center",vn="middle";break;case"insideLeft":Lt+=Ue,jt+=Dt,vn="middle";break;case"insideRight":Lt+=At-Ue,jt+=Dt,hn="right",vn="middle";break;case"insideTop":Lt+=At/2,jt+=Ue,hn="center";break;case"insideBottom":Lt+=At/2,jt+=qe-Ue,hn="center",vn="bottom";break;case"insideTopLeft":Lt+=Ue,jt+=Ue;break;case"insideTopRight":Lt+=At-Ue,jt+=Ue,hn="right";break;case"insideBottomLeft":Lt+=Ue,jt+=qe-Ue,vn="bottom";break;case"insideBottomRight":Lt+=At-Ue,jt+=qe-Ue,hn="right",vn="bottom";break}return xe=xe||{},xe.x=Lt,xe.y=jt,xe.align=hn,xe.verticalAlign=vn,xe}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function(xe,$e){return xe[$e]=!0,xe},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect(0,0,0,0),Element$1=function(){function xe($e){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init($e)}return xe.prototype._init=function($e){this.attr($e)},xe.prototype.drift=function($e,Ie,Fe){switch(this.draggable){case"horizontal":Ie=0;break;case"vertical":$e=0;break}var Ue=this.transform;Ue||(Ue=this.transform=[1,0,0,1,0,0]),Ue[4]+=$e,Ue[5]+=Ie,this.decomposeTransform(),this.markRedraw()},xe.prototype.beforeUpdate=function(){},xe.prototype.afterUpdate=function(){},xe.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},xe.prototype.updateInnerText=function($e){var Ie=this._textContent;if(Ie&&(!Ie.ignore||$e)){this.textConfig||(this.textConfig={});var Fe=this.textConfig,Ue=Fe.local,qe=Ie.innerTransformable,At=void 0,Dt=void 0,Lt=!1;qe.parent=Ue?this:null;var jt=!1;if(qe.copyTransform(Ie),Fe.position!=null){var hn=tmpBoundingRect;Fe.layoutRect?hn.copy(Fe.layoutRect):hn.copy(this.getBoundingRect()),Ue||hn.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,Fe,hn):calculateTextPosition(tmpTextPosCalcRes,Fe,hn),qe.x=tmpTextPosCalcRes.x,qe.y=tmpTextPosCalcRes.y,At=tmpTextPosCalcRes.align,Dt=tmpTextPosCalcRes.verticalAlign;var vn=Fe.origin;if(vn&&Fe.rotation!=null){var bn=void 0,_n=void 0;vn==="center"?(bn=hn.width*.5,_n=hn.height*.5):(bn=parsePercent$1(vn[0],hn.width),_n=parsePercent$1(vn[1],hn.height)),jt=!0,qe.originX=-qe.x+bn+(Ue?0:hn.x),qe.originY=-qe.y+_n+(Ue?0:hn.y)}}Fe.rotation!=null&&(qe.rotation=Fe.rotation);var wn=Fe.offset;wn&&(qe.x+=wn[0],qe.y+=wn[1],jt||(qe.originX=-wn[0],qe.originY=-wn[1]));var kn=Fe.inside==null?typeof Fe.position=="string"&&Fe.position.indexOf("inside")>=0:Fe.inside,Cn=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),Sn=void 0,xn=void 0,En=void 0;kn&&this.canBeInsideText()?(Sn=Fe.insideFill,xn=Fe.insideStroke,(Sn==null||Sn==="auto")&&(Sn=this.getInsideTextFill()),(xn==null||xn==="auto")&&(xn=this.getInsideTextStroke(Sn),En=!0)):(Sn=Fe.outsideFill,xn=Fe.outsideStroke,(Sn==null||Sn==="auto")&&(Sn=this.getOutsideFill()),(xn==null||xn==="auto")&&(xn=this.getOutsideStroke(Sn),En=!0)),Sn=Sn||"#000",(Sn!==Cn.fill||xn!==Cn.stroke||En!==Cn.autoStroke||At!==Cn.align||Dt!==Cn.verticalAlign)&&(Lt=!0,Cn.fill=Sn,Cn.stroke=xn,Cn.autoStroke=En,Cn.align=At,Cn.verticalAlign=Dt,Ie.setDefaultTextStyle(Cn)),Ie.__dirty|=REDRAW_BIT,Lt&&Ie.dirtyStyle(!0)}},xe.prototype.canBeInsideText=function(){return!0},xe.prototype.getInsideTextFill=function(){return"#fff"},xe.prototype.getInsideTextStroke=function($e){return"#000"},xe.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},xe.prototype.getOutsideStroke=function($e){var Ie=this.__zr&&this.__zr.getBackgroundColor(),Fe=typeof Ie=="string"&&parse(Ie);Fe||(Fe=[255,255,255,1]);for(var Ue=Fe[3],qe=this.__zr.isDarkMode(),At=0;At<3;At++)Fe[At]=Fe[At]*Ue+(qe?0:255)*(1-Ue);return Fe[3]=1,stringify(Fe,"rgba")},xe.prototype.traverse=function($e,Ie){},xe.prototype.attrKV=function($e,Ie){$e==="textConfig"?this.setTextConfig(Ie):$e==="textContent"?this.setTextContent(Ie):$e==="clipPath"?this.setClipPath(Ie):$e==="extra"?(this.extra=this.extra||{},extend$1(this.extra,Ie)):this[$e]=Ie},xe.prototype.hide=function(){this.ignore=!0,this.markRedraw()},xe.prototype.show=function(){this.ignore=!1,this.markRedraw()},xe.prototype.attr=function($e,Ie){if(typeof $e=="string")this.attrKV($e,Ie);else if(isObject$4($e))for(var Fe=$e,Ue=keys(Fe),qe=0;qe<Ue.length;qe++){var At=Ue[qe];this.attrKV(At,$e[At])}return this.markRedraw(),this},xe.prototype.saveCurrentToNormalState=function($e){this._innerSaveToNormal($e);for(var Ie=this._normalState,Fe=0;Fe<this.animators.length;Fe++){var Ue=this.animators[Fe],qe=Ue.__fromStateTransition;if(!(Ue.getLoop()||qe&&qe!==PRESERVED_NORMAL_STATE)){var At=Ue.targetName,Dt=At?Ie[At]:Ie;Ue.saveTo(Dt)}}},xe.prototype._innerSaveToNormal=function($e){var Ie=this._normalState;Ie||(Ie=this._normalState={}),$e.textConfig&&!Ie.textConfig&&(Ie.textConfig=this.textConfig),this._savePrimaryToNormal($e,Ie,PRIMARY_STATES_KEYS$1)},xe.prototype._savePrimaryToNormal=function($e,Ie,Fe){for(var Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];$e[qe]!=null&&!(qe in Ie)&&(Ie[qe]=this[qe])}},xe.prototype.hasState=function(){return this.currentStates.length>0},xe.prototype.getState=function($e){return this.states[$e]},xe.prototype.ensureState=function($e){var Ie=this.states;return Ie[$e]||(Ie[$e]={}),Ie[$e]},xe.prototype.clearStates=function($e){this.useState(PRESERVED_NORMAL_STATE,!1,$e)},xe.prototype.useState=function($e,Ie,Fe,Ue){var qe=$e===PRESERVED_NORMAL_STATE,At=this.hasState();if(!(!At&&qe)){var Dt=this.currentStates,Lt=this.stateTransition;if(!(indexOf(Dt,$e)>=0&&(Ie||Dt.length===1))){var jt;if(this.stateProxy&&!qe&&(jt=this.stateProxy($e)),jt||(jt=this.states&&this.states[$e]),!jt&&!qe){logError("State "+$e+" not exists.");return}qe||this.saveCurrentToNormalState(jt);var hn=!!(jt&&jt.hoverLayer||Ue);hn&&this._toggleHoverLayerFlag(!0),this._applyStateObj($e,jt,this._normalState,Ie,!Fe&&!this.__inHover&&Lt&&Lt.duration>0,Lt);var vn=this._textContent,bn=this._textGuide;return vn&&vn.useState($e,Ie,Fe,hn),bn&&bn.useState($e,Ie,Fe,hn),qe?(this.currentStates=[],this._normalState={}):Ie?this.currentStates.push($e):this.currentStates=[$e],this._updateAnimationTargets(),this.markRedraw(),!hn&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),jt}}},xe.prototype.useStates=function($e,Ie,Fe){if(!$e.length)this.clearStates();else{var Ue=[],qe=this.currentStates,At=$e.length,Dt=At===qe.length;if(Dt){for(var Lt=0;Lt<At;Lt++)if($e[Lt]!==qe[Lt]){Dt=!1;break}}if(Dt)return;for(var Lt=0;Lt<At;Lt++){var jt=$e[Lt],hn=void 0;this.stateProxy&&(hn=this.stateProxy(jt,$e)),hn||(hn=this.states[jt]),hn&&Ue.push(hn)}var vn=Ue[At-1],bn=!!(vn&&vn.hoverLayer||Fe);bn&&this._toggleHoverLayerFlag(!0);var _n=this._mergeStates(Ue),wn=this.stateTransition;this.saveCurrentToNormalState(_n),this._applyStateObj($e.join(","),_n,this._normalState,!1,!Ie&&!this.__inHover&&wn&&wn.duration>0,wn);var kn=this._textContent,Cn=this._textGuide;kn&&kn.useStates($e,Ie,bn),Cn&&Cn.useStates($e,Ie,bn),this._updateAnimationTargets(),this.currentStates=$e.slice(),this.markRedraw(),!bn&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},xe.prototype.isSilent=function(){for(var $e=this.silent,Ie=this.parent;!$e&&Ie;){if(Ie.silent){$e=!0;break}Ie=Ie.parent}return $e},xe.prototype._updateAnimationTargets=function(){for(var $e=0;$e<this.animators.length;$e++){var Ie=this.animators[$e];Ie.targetName&&Ie.changeTarget(this[Ie.targetName])}},xe.prototype.removeState=function($e){var Ie=indexOf(this.currentStates,$e);if(Ie>=0){var Fe=this.currentStates.slice();Fe.splice(Ie,1),this.useStates(Fe)}},xe.prototype.replaceState=function($e,Ie,Fe){var Ue=this.currentStates.slice(),qe=indexOf(Ue,$e),At=indexOf(Ue,Ie)>=0;qe>=0?At?Ue.splice(qe,1):Ue[qe]=Ie:Fe&&!At&&Ue.push(Ie),this.useStates(Ue)},xe.prototype.toggleState=function($e,Ie){Ie?this.useState($e,!0):this.removeState($e)},xe.prototype._mergeStates=function($e){for(var Ie={},Fe,Ue=0;Ue<$e.length;Ue++){var qe=$e[Ue];extend$1(Ie,qe),qe.textConfig&&(Fe=Fe||{},extend$1(Fe,qe.textConfig))}return Fe&&(Ie.textConfig=Fe),Ie},xe.prototype._applyStateObj=function($e,Ie,Fe,Ue,qe,At){var Dt=!(Ie&&Ue);Ie&&Ie.textConfig?(this.textConfig=extend$1({},Ue?this.textConfig:Fe.textConfig),extend$1(this.textConfig,Ie.textConfig)):Dt&&Fe.textConfig&&(this.textConfig=Fe.textConfig);for(var Lt={},jt=!1,hn=0;hn<PRIMARY_STATES_KEYS$1.length;hn++){var vn=PRIMARY_STATES_KEYS$1[hn],bn=qe&&DEFAULT_ANIMATABLE_MAP[vn];Ie&&Ie[vn]!=null?bn?(jt=!0,Lt[vn]=Ie[vn]):this[vn]=Ie[vn]:Dt&&Fe[vn]!=null&&(bn?(jt=!0,Lt[vn]=Fe[vn]):this[vn]=Fe[vn])}if(!qe)for(var hn=0;hn<this.animators.length;hn++){var _n=this.animators[hn],wn=_n.targetName;_n.getLoop()||_n.__changeFinalValue(wn?(Ie||Fe)[wn]:Ie||Fe)}jt&&this._transitionState($e,Lt,At)},xe.prototype._attachComponent=function($e){if(!($e.__zr&&!$e.__hostTarget)&&$e!==this){var Ie=this.__zr;Ie&&$e.addSelfToZr(Ie),$e.__zr=Ie,$e.__hostTarget=this}},xe.prototype._detachComponent=function($e){$e.__zr&&$e.removeSelfFromZr($e.__zr),$e.__zr=null,$e.__hostTarget=null},xe.prototype.getClipPath=function(){return this._clipPath},xe.prototype.setClipPath=function($e){this._clipPath&&this._clipPath!==$e&&this.removeClipPath(),this._attachComponent($e),this._clipPath=$e,this.markRedraw()},xe.prototype.removeClipPath=function(){var $e=this._clipPath;$e&&(this._detachComponent($e),this._clipPath=null,this.markRedraw())},xe.prototype.getTextContent=function(){return this._textContent},xe.prototype.setTextContent=function($e){var Ie=this._textContent;Ie!==$e&&(Ie&&Ie!==$e&&this.removeTextContent(),$e.innerTransformable=new Transformable,this._attachComponent($e),this._textContent=$e,this.markRedraw())},xe.prototype.setTextConfig=function($e){this.textConfig||(this.textConfig={}),extend$1(this.textConfig,$e),this.markRedraw()},xe.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},xe.prototype.removeTextContent=function(){var $e=this._textContent;$e&&($e.innerTransformable=null,this._detachComponent($e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},xe.prototype.getTextGuideLine=function(){return this._textGuide},xe.prototype.setTextGuideLine=function($e){this._textGuide&&this._textGuide!==$e&&this.removeTextGuideLine(),this._attachComponent($e),this._textGuide=$e,this.markRedraw()},xe.prototype.removeTextGuideLine=function(){var $e=this._textGuide;$e&&(this._detachComponent($e),this._textGuide=null,this.markRedraw())},xe.prototype.markRedraw=function(){this.__dirty|=REDRAW_BIT;var $e=this.__zr;$e&&(this.__inHover?$e.refreshHover():$e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},xe.prototype.dirty=function(){this.markRedraw()},xe.prototype._toggleHoverLayerFlag=function($e){this.__inHover=$e;var Ie=this._textContent,Fe=this._textGuide;Ie&&(Ie.__inHover=$e),Fe&&(Fe.__inHover=$e)},xe.prototype.addSelfToZr=function($e){if(this.__zr!==$e){this.__zr=$e;var Ie=this.animators;if(Ie)for(var Fe=0;Fe<Ie.length;Fe++)$e.animation.addAnimator(Ie[Fe]);this._clipPath&&this._clipPath.addSelfToZr($e),this._textContent&&this._textContent.addSelfToZr($e),this._textGuide&&this._textGuide.addSelfToZr($e)}},xe.prototype.removeSelfFromZr=function($e){if(this.__zr){this.__zr=null;var Ie=this.animators;if(Ie)for(var Fe=0;Fe<Ie.length;Fe++)$e.animation.removeAnimator(Ie[Fe]);this._clipPath&&this._clipPath.removeSelfFromZr($e),this._textContent&&this._textContent.removeSelfFromZr($e),this._textGuide&&this._textGuide.removeSelfFromZr($e)}},xe.prototype.animate=function($e,Ie,Fe){var Ue=$e?this[$e]:this,qe=new Animator(Ue,Ie,Fe);return $e&&(qe.targetName=$e),this.addAnimator(qe,$e),qe},xe.prototype.addAnimator=function($e,Ie){var Fe=this.__zr,Ue=this;$e.during(function(){Ue.updateDuringAnimation(Ie)}).done(function(){var qe=Ue.animators,At=indexOf(qe,$e);At>=0&&qe.splice(At,1)}),this.animators.push($e),Fe&&Fe.animation.addAnimator($e),Fe&&Fe.wakeUp()},xe.prototype.updateDuringAnimation=function($e){this.markRedraw()},xe.prototype.stopAnimation=function($e,Ie){for(var Fe=this.animators,Ue=Fe.length,qe=[],At=0;At<Ue;At++){var Dt=Fe[At];!$e||$e===Dt.scope?Dt.stop(Ie):qe.push(Dt)}return this.animators=qe,this},xe.prototype.animateTo=function($e,Ie,Fe){animateTo(this,$e,Ie,Fe)},xe.prototype.animateFrom=function($e,Ie,Fe){animateTo(this,$e,Ie,Fe,!0)},xe.prototype._transitionState=function($e,Ie,Fe,Ue){for(var qe=animateTo(this,Ie,Fe,Ue),At=0;At<qe.length;At++)qe[At].__fromStateTransition=$e},xe.prototype.getBoundingRect=function(){return null},xe.prototype.getPaintRect=function(){return null},xe.initDefaultProps=function(){var $e=xe.prototype;$e.type="element",$e.name="",$e.ignore=$e.silent=$e.isGroup=$e.draggable=$e.dragging=$e.ignoreClip=$e.__inHover=!1,$e.__dirty=REDRAW_BIT;function Ie(Fe,Ue,qe,At){Object.defineProperty($e,Fe,{get:function(){if(!this[Ue]){var Lt=this[Ue]=[];Dt(this,Lt)}return this[Ue]},set:function(Lt){this[qe]=Lt[0],this[At]=Lt[1],this[Ue]=Lt,Dt(this,Lt)}});function Dt(Lt,jt){Object.defineProperty(jt,0,{get:function(){return Lt[qe]},set:function(hn){Lt[qe]=hn}}),Object.defineProperty(jt,1,{get:function(){return Lt[At]},set:function(hn){Lt[At]=hn}})}}Object.defineProperty&&(Ie("position","_legacyPos","x","y"),Ie("scale","_legacyScale","scaleX","scaleY"),Ie("origin","_legacyOrigin","originX","originY"))}(),xe}();mixin(Element$1,Eventful);mixin(Element$1,Transformable);function animateTo(xe,$e,Ie,Fe,Ue){Ie=Ie||{};var qe=[];animateToShallow(xe,"",xe,$e,Ie,Fe,qe,Ue);var At=qe.length,Dt=!1,Lt=Ie.done,jt=Ie.aborted,hn=function(){Dt=!0,At--,At<=0&&(Dt?Lt&&Lt():jt&&jt())},vn=function(){At--,At<=0&&(Dt?Lt&&Lt():jt&&jt())};At||Lt&&Lt(),qe.length>0&&Ie.during&&qe[0].during(function(wn,kn){Ie.during(kn)});for(var bn=0;bn<qe.length;bn++){var _n=qe[bn];hn&&_n.done(hn),vn&&_n.aborted(vn),Ie.force&&_n.duration(Ie.duration),_n.start(Ie.easing)}return qe}function copyArrShallow(xe,$e,Ie){for(var Fe=0;Fe<Ie;Fe++)xe[Fe]=$e[Fe]}function is2DArray(xe){return isArrayLike(xe[0])}function copyValue(xe,$e,Ie){if(isArrayLike($e[Ie]))if(isArrayLike(xe[Ie])||(xe[Ie]=[]),isTypedArray$1($e[Ie])){var Fe=$e[Ie].length;xe[Ie].length!==Fe&&(xe[Ie]=new $e[Ie].constructor(Fe),copyArrShallow(xe[Ie],$e[Ie],Fe))}else{var Ue=$e[Ie],qe=xe[Ie],At=Ue.length;if(is2DArray(Ue))for(var Dt=Ue[0].length,Lt=0;Lt<At;Lt++)qe[Lt]?copyArrShallow(qe[Lt],Ue[Lt],Dt):qe[Lt]=Array.prototype.slice.call(Ue[Lt]);else copyArrShallow(qe,Ue,At);qe.length=Ue.length}else xe[Ie]=$e[Ie]}function isValueSame(xe,$e){return xe===$e||isArrayLike(xe)&&isArrayLike($e)&&is1DArraySame(xe,$e)}function is1DArraySame(xe,$e){var Ie=xe.length;if(Ie!==$e.length)return!1;for(var Fe=0;Fe<Ie;Fe++)if(xe[Fe]!==$e[Fe])return!1;return!0}function animateToShallow(xe,$e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=keys(Fe),jt=Ue.duration,hn=Ue.delay,vn=Ue.additive,bn=Ue.setToFinal,_n=!isObject$4(qe),wn=xe.animators,kn=[],Cn=0;Cn<Lt.length;Cn++){var Sn=Lt[Cn],xn=Fe[Sn];if(xn!=null&&Ie[Sn]!=null&&(_n||qe[Sn]))if(isObject$4(xn)&&!isArrayLike(xn)&&!isGradientObject(xn)){if($e){Dt||(Ie[Sn]=xn,xe.updateDuringAnimation($e));continue}animateToShallow(xe,Sn,Ie[Sn],xn,Ue,qe&&qe[Sn],At,Dt)}else kn.push(Sn);else Dt||(Ie[Sn]=xn,xe.updateDuringAnimation($e),kn.push(Sn))}var En=kn.length;if(!vn&&En)for(var Tn=0;Tn<wn.length;Tn++){var An=wn[Tn];if(An.targetName===$e){var $n=An.stopTracks(kn);if($n){var Pn=indexOf(wn,An);wn.splice(Pn,1)}}}if(Ue.force||(kn=filter(kn,function(On){return!isValueSame(Fe[On],Ie[On])}),En=kn.length),En>0||Ue.force&&!At.length){var Nn=void 0,Mn=void 0,In=void 0;if(Dt){Mn={},bn&&(Nn={});for(var Tn=0;Tn<En;Tn++){var Sn=kn[Tn];Mn[Sn]=Ie[Sn],bn?Nn[Sn]=Fe[Sn]:Ie[Sn]=Fe[Sn]}}else if(bn){In={};for(var Tn=0;Tn<En;Tn++){var Sn=kn[Tn];In[Sn]=cloneValue(Ie[Sn]),copyValue(Ie,Fe,Sn)}}var An=new Animator(Ie,!1,!1,vn?filter(wn,function(Rn){return Rn.targetName===$e}):null);An.targetName=$e,Ue.scope&&(An.scope=Ue.scope),bn&&Nn&&An.whenWithKeys(0,Nn,kn),In&&An.whenWithKeys(0,In,kn),An.whenWithKeys(jt??500,Dt?Mn:Fe,kn).delay(hn||0),xe.addAnimator(An,$e),At.push(An)}}var Group$3=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe.isGroup=!0,Fe._children=[],Fe.attr(Ie),Fe}return $e.prototype.childrenRef=function(){return this._children},$e.prototype.children=function(){return this._children.slice()},$e.prototype.childAt=function(Ie){return this._children[Ie]},$e.prototype.childOfName=function(Ie){for(var Fe=this._children,Ue=0;Ue<Fe.length;Ue++)if(Fe[Ue].name===Ie)return Fe[Ue]},$e.prototype.childCount=function(){return this._children.length},$e.prototype.add=function(Ie){return Ie&&Ie!==this&&Ie.parent!==this&&(this._children.push(Ie),this._doAdd(Ie)),this},$e.prototype.addBefore=function(Ie,Fe){if(Ie&&Ie!==this&&Ie.parent!==this&&Fe&&Fe.parent===this){var Ue=this._children,qe=Ue.indexOf(Fe);qe>=0&&(Ue.splice(qe,0,Ie),this._doAdd(Ie))}return this},$e.prototype.replace=function(Ie,Fe){var Ue=indexOf(this._children,Ie);return Ue>=0&&this.replaceAt(Fe,Ue),this},$e.prototype.replaceAt=function(Ie,Fe){var Ue=this._children,qe=Ue[Fe];if(Ie&&Ie!==this&&Ie.parent!==this&&Ie!==qe){Ue[Fe]=Ie,qe.parent=null;var At=this.__zr;At&&qe.removeSelfFromZr(At),this._doAdd(Ie)}return this},$e.prototype._doAdd=function(Ie){Ie.parent&&Ie.parent.remove(Ie),Ie.parent=this;var Fe=this.__zr;Fe&&Fe!==Ie.__zr&&Ie.addSelfToZr(Fe),Fe&&Fe.refresh()},$e.prototype.remove=function(Ie){var Fe=this.__zr,Ue=this._children,qe=indexOf(Ue,Ie);return qe<0?this:(Ue.splice(qe,1),Ie.parent=null,Fe&&Ie.removeSelfFromZr(Fe),Fe&&Fe.refresh(),this)},$e.prototype.removeAll=function(){for(var Ie=this._children,Fe=this.__zr,Ue=0;Ue<Ie.length;Ue++){var qe=Ie[Ue];Fe&&qe.removeSelfFromZr(Fe),qe.parent=null}return Ie.length=0,this},$e.prototype.eachChild=function(Ie,Fe){for(var Ue=this._children,qe=0;qe<Ue.length;qe++){var At=Ue[qe];Ie.call(Fe,At,qe)}return this},$e.prototype.traverse=function(Ie,Fe){for(var Ue=0;Ue<this._children.length;Ue++){var qe=this._children[Ue],At=Ie.call(Fe,qe);qe.isGroup&&!At&&qe.traverse(Ie,Fe)}return this},$e.prototype.addSelfToZr=function(Ie){xe.prototype.addSelfToZr.call(this,Ie);for(var Fe=0;Fe<this._children.length;Fe++){var Ue=this._children[Fe];Ue.addSelfToZr(Ie)}},$e.prototype.removeSelfFromZr=function(Ie){xe.prototype.removeSelfFromZr.call(this,Ie);for(var Fe=0;Fe<this._children.length;Fe++){var Ue=this._children[Fe];Ue.removeSelfFromZr(Ie)}},$e.prototype.getBoundingRect=function(Ie){for(var Fe=new BoundingRect(0,0,0,0),Ue=Ie||this._children,qe=[],At=null,Dt=0;Dt<Ue.length;Dt++){var Lt=Ue[Dt];if(!(Lt.ignore||Lt.invisible)){var jt=Lt.getBoundingRect(),hn=Lt.getLocalTransform(qe);hn?(BoundingRect.applyTransform(Fe,jt,hn),At=At||Fe.clone(),At.union(Fe)):(At=At||jt.clone(),At.union(jt))}}return At||Fe},$e}(Element$1);Group$3.prototype.type="group";/*!
* 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$2={};function delInstance(xe){delete instances$2[xe]}function isDarkMode(xe){if(!xe)return!1;if(typeof xe=="string")return lum(xe,1)<DARK_MODE_THRESHOLD;if(xe.colorStops){for(var $e=xe.colorStops,Ie=0,Fe=$e.length,Ue=0;Ue<Fe;Ue++)Ie+=lum($e[Ue].color,1);return Ie/=Fe,Ie<DARK_MODE_THRESHOLD}return!1}var ZRender=function(){function xe($e,Ie,Fe){var Ue=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,Fe=Fe||{},this.dom=Ie,this.id=$e;var qe=new Storage,At=Fe.renderer||"canvas";painterCtors[At]||(At=keys(painterCtors)[0]),Fe.useDirtyRect=Fe.useDirtyRect==null?!1:Fe.useDirtyRect;var Dt=new painterCtors[At](Ie,qe,Fe,$e),Lt=Fe.ssr||Dt.ssrOnly;this.storage=qe,this.painter=Dt;var jt=!env.node&&!env.worker&&!Lt?new HandlerDomProxy(Dt.getViewportRoot(),Dt.root):null,hn=Fe.useCoarsePointer,vn=hn==null||hn==="auto"?env.touchEventsSupported:!!hn,bn=44,_n;vn&&(_n=retrieve2(Fe.pointerSize,bn)),this.handler=new Handler(qe,Dt,jt,Dt.root,_n),this.animation=new Animation({stage:{update:Lt?null:function(){return Ue._flush(!0)}}}),Lt||this.animation.start()}return xe.prototype.add=function($e){this._disposed||!$e||(this.storage.addRoot($e),$e.addSelfToZr(this),this.refresh())},xe.prototype.remove=function($e){this._disposed||!$e||(this.storage.delRoot($e),$e.removeSelfFromZr(this),this.refresh())},xe.prototype.configLayer=function($e,Ie){this._disposed||(this.painter.configLayer&&this.painter.configLayer($e,Ie),this.refresh())},xe.prototype.setBackgroundColor=function($e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor($e),this.refresh(),this._backgroundColor=$e,this._darkMode=isDarkMode($e))},xe.prototype.getBackgroundColor=function(){return this._backgroundColor},xe.prototype.setDarkMode=function($e){this._darkMode=$e},xe.prototype.isDarkMode=function(){return this._darkMode},xe.prototype.refreshImmediately=function($e){this._disposed||($e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},xe.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},xe.prototype.flush=function(){this._disposed||this._flush(!1)},xe.prototype._flush=function($e){var Ie,Fe=getTime$1();this._needsRefresh&&(Ie=!0,this.refreshImmediately($e)),this._needsRefreshHover&&(Ie=!0,this.refreshHoverImmediately());var Ue=getTime$1();Ie?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:Ue-Fe})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},xe.prototype.setSleepAfterStill=function($e){this._sleepAfterStill=$e},xe.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},xe.prototype.refreshHover=function(){this._needsRefreshHover=!0},xe.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},xe.prototype.resize=function($e){this._disposed||($e=$e||{},this.painter.resize($e.width,$e.height),this.handler.resize())},xe.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},xe.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},xe.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},xe.prototype.setCursorStyle=function($e){this._disposed||this.handler.setCursorStyle($e)},xe.prototype.findHover=function($e,Ie){if(!this._disposed)return this.handler.findHover($e,Ie)},xe.prototype.on=function($e,Ie,Fe){return this._disposed||this.handler.on($e,Ie,Fe),this},xe.prototype.off=function($e,Ie){this._disposed||this.handler.off($e,Ie)},xe.prototype.trigger=function($e,Ie){this._disposed||this.handler.trigger($e,Ie)},xe.prototype.clear=function(){if(!this._disposed){for(var $e=this.storage.getRoots(),Ie=0;Ie<$e.length;Ie++)$e[Ie]instanceof Group$3&&$e[Ie].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},xe.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,delInstance(this.id))},xe}();function init$2(xe,$e){var Ie=new ZRender(guid(),xe,$e);return instances$2[Ie.id]=Ie,Ie}function registerPainter(xe,$e){painterCtors[xe]=$e}var ssrDataGetter;function getElementSSRData(xe){if(typeof ssrDataGetter=="function")return ssrDataGetter(xe)}function registerSSRDataGetter(xe){ssrDataGetter=xe}var RADIAN_EPSILON=1e-4,ROUND_SUPPORTED_PRECISION_MAX=20;function _trim(xe){return xe.replace(/^\s+|\s+$/g,"")}function linearMap$2(xe,$e,Ie,Fe){var Ue=$e[0],qe=$e[1],At=Ie[0],Dt=Ie[1],Lt=qe-Ue,jt=Dt-At;if(Lt===0)return jt===0?At:(At+Dt)/2;if(Fe)if(Lt>0){if(xe<=Ue)return At;if(xe>=qe)return Dt}else{if(xe>=Ue)return At;if(xe<=qe)return Dt}else{if(xe===Ue)return At;if(xe===qe)return Dt}return(xe-Ue)/Lt*jt+At}function parsePercent(xe,$e){switch(xe){case"center":case"middle":xe="50%";break;case"left":case"top":xe="0%";break;case"right":case"bottom":xe="100%";break}return isString$2(xe)?_trim(xe).match(/%$/)?parseFloat(xe)/100*$e:parseFloat(xe):xe==null?NaN:+xe}function round$3(xe,$e,Ie){return $e==null&&($e=10),$e=Math.min(Math.max(0,$e),ROUND_SUPPORTED_PRECISION_MAX),xe=(+xe).toFixed($e),Ie?xe:+xe}function asc$2(xe){return xe.sort(function($e,Ie){return $e-Ie}),xe}function getPrecision(xe){if(xe=+xe,isNaN(xe))return 0;if(xe>1e-14){for(var $e=1,Ie=0;Ie<15;Ie++,$e*=10)if(Math.round(xe*$e)/$e===xe)return Ie}return getPrecisionSafe(xe)}function getPrecisionSafe(xe){var $e=xe.toString().toLowerCase(),Ie=$e.indexOf("e"),Fe=Ie>0?+$e.slice(Ie+1):0,Ue=Ie>0?Ie:$e.length,qe=$e.indexOf("."),At=qe<0?0:Ue-1-qe;return Math.max(0,At-Fe)}function getPixelPrecision(xe,$e){var Ie=Math.log,Fe=Math.LN10,Ue=Math.floor(Ie(xe[1]-xe[0])/Fe),qe=Math.round(Ie(Math.abs($e[1]-$e[0]))/Fe),At=Math.min(Math.max(-Ue+qe,0),20);return isFinite(At)?At:20}function getPercentSeats(xe,$e){var Ie=reduce(xe,function(_n,wn){return _n+(isNaN(wn)?0:wn)},0);if(Ie===0)return[];for(var Fe=Math.pow(10,$e),Ue=map$1(xe,function(_n){return(isNaN(_n)?0:_n)/Ie*Fe*100}),qe=Fe*100,At=map$1(Ue,function(_n){return Math.floor(_n)}),Dt=reduce(At,function(_n,wn){return _n+wn},0),Lt=map$1(Ue,function(_n,wn){return _n-At[wn]});Dt<qe;){for(var jt=Number.NEGATIVE_INFINITY,hn=null,vn=0,bn=Lt.length;vn<bn;++vn)Lt[vn]>jt&&(jt=Lt[vn],hn=vn);++At[hn],Lt[hn]=0,++Dt}return map$1(At,function(_n){return _n/Fe})}function addSafe(xe,$e){var Ie=Math.max(getPrecision(xe),getPrecision($e)),Fe=xe+$e;return Ie>ROUND_SUPPORTED_PRECISION_MAX?Fe:round$3(Fe,Ie)}var MAX_SAFE_INTEGER=9007199254740991;function remRadian(xe){var $e=Math.PI*2;return(xe%$e+$e)%$e}function isRadianAroundZero(xe){return xe>-RADIAN_EPSILON&&xe<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$1(xe){if(xe instanceof Date)return xe;if(isString$2(xe)){var $e=TIME_REG.exec(xe);if(!$e)return new Date(NaN);if($e[8]){var Ie=+$e[4]||0;return $e[8].toUpperCase()!=="Z"&&(Ie-=+$e[8].slice(0,3)),new Date(Date.UTC(+$e[1],+($e[2]||1)-1,+$e[3]||1,Ie,+($e[5]||0),+$e[6]||0,$e[7]?+$e[7].substring(0,3):0))}else return new Date(+$e[1],+($e[2]||1)-1,+$e[3]||1,+$e[4]||0,+($e[5]||0),+$e[6]||0,$e[7]?+$e[7].substring(0,3):0)}else if(xe==null)return new Date(NaN);return new Date(Math.round(xe))}function quantity(xe){return Math.pow(10,quantityExponent(xe))}function quantityExponent(xe){if(xe===0)return 0;var $e=Math.floor(Math.log(xe)/Math.LN10);return xe/Math.pow(10,$e)>=10&&$e++,$e}function nice(xe,$e){var Ie=quantityExponent(xe),Fe=Math.pow(10,Ie),Ue=xe/Fe,qe;return Ue<1.5?qe=1:Ue<2.5?qe=2:Ue<4?qe=3:Ue<7?qe=5:qe=10,xe=qe*Fe,Ie>=-20?+xe.toFixed(Ie<0?-Ie:0):xe}function quantile(xe,$e){var Ie=(xe.length-1)*$e+1,Fe=Math.floor(Ie),Ue=+xe[Fe-1],qe=Ie-Fe;return qe?Ue+qe*(xe[Fe]-Ue):Ue}function reformIntervals(xe){xe.sort(function(Lt,jt){return Dt(Lt,jt,0)?-1:1});for(var $e=-1/0,Ie=1,Fe=0;Fe<xe.length;){for(var Ue=xe[Fe].interval,qe=xe[Fe].close,At=0;At<2;At++)Ue[At]<=$e&&(Ue[At]=$e,qe[At]=At?1:1-Ie),$e=Ue[At],Ie=qe[At];Ue[0]===Ue[1]&&qe[0]*qe[1]!==1?xe.splice(Fe,1):Fe++}return xe;function Dt(Lt,jt,hn){return Lt.interval[hn]<jt.interval[hn]||Lt.interval[hn]===jt.interval[hn]&&(Lt.close[hn]-jt.close[hn]===(hn?-1:1)||!hn&&Dt(Lt,jt,1))}}function numericToNumber(xe){var $e=parseFloat(xe);return $e==xe&&($e!==0||!isString$2(xe)||xe.indexOf("x")<=0)?$e:NaN}function isNumeric(xe){return!isNaN(numericToNumber(xe))}function getRandomIdBase(){return Math.round(Math.random()*9)}function getGreatestCommonDividor(xe,$e){return $e===0?xe:getGreatestCommonDividor($e,xe%$e)}function getLeastCommonMultiple(xe,$e){return xe==null?$e:$e==null?xe:xe*$e/getGreatestCommonDividor(xe,$e)}var ECHARTS_PREFIX="[ECharts] ",storedLogs={},hasConsole=typeof console<"u"&&console.warn&&console.log;function outputLog(xe,$e,Ie){if(hasConsole){{if(storedLogs[$e])return;storedLogs[$e]=!0}console[xe](ECHARTS_PREFIX+$e)}}function warn(xe,$e){outputLog("warn",xe)}function throwError$1(xe){throw new Error(xe)}function interpolateNumber(xe,$e,Ie){return($e-xe)*Ie+xe}var DUMMY_COMPONENT_NAME_PREFIX="series\0",INTERNAL_COMPONENT_ID_PREFIX="\0_ec_\0";function normalizeToArray(xe){return xe instanceof Array?xe:xe==null?[]:[xe]}function defaultEmphasis(xe,$e,Ie){if(xe){xe[$e]=xe[$e]||{},xe.emphasis=xe.emphasis||{},xe.emphasis[$e]=xe.emphasis[$e]||{};for(var Fe=0,Ue=Ie.length;Fe<Ue;Fe++){var qe=Ie[Fe];!xe.emphasis[$e].hasOwnProperty(qe)&&xe[$e].hasOwnProperty(qe)&&(xe.emphasis[$e][qe]=xe[$e][qe])}}}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(xe){return isObject$4(xe)&&!isArray$2(xe)&&!(xe instanceof Date)?xe.value:xe}function isDataItemOption(xe){return isObject$4(xe)&&!(xe instanceof Array)}function mappingToExists(xe,$e,Ie){var Fe=Ie==="normalMerge",Ue=Ie==="replaceMerge",qe=Ie==="replaceAll";xe=xe||[],$e=($e||[]).slice();var At=createHashMap();each$f($e,function(Lt,jt){if(!isObject$4(Lt)){$e[jt]=null;return}});var Dt=prepareResult(xe,At,Ie);return(Fe||Ue)&&mappingById(Dt,xe,At,$e),Fe&&mappingByName(Dt,$e),Fe||Ue?mappingByIndex(Dt,$e,Ue):qe&&mappingInReplaceAllMode(Dt,$e),makeIdAndName(Dt),Dt}function prepareResult(xe,$e,Ie){var Fe=[];if(Ie==="replaceAll")return Fe;for(var Ue=0;Ue<xe.length;Ue++){var qe=xe[Ue];qe&&qe.id!=null&&$e.set(qe.id,Ue),Fe.push({existing:Ie==="replaceMerge"||isComponentIdInternal(qe)?null:qe,newOption:null,keyInfo:null,brandNew:null})}return Fe}function mappingById(xe,$e,Ie,Fe){each$f(Fe,function(Ue,qe){if(!(!Ue||Ue.id==null)){var At=makeComparableKey(Ue.id),Dt=Ie.get(At);if(Dt!=null){var Lt=xe[Dt];assert(!Lt.newOption,'Duplicated option on id "'+At+'".'),Lt.newOption=Ue,Lt.existing=$e[Dt],Fe[qe]=null}}})}function mappingByName(xe,$e){each$f($e,function(Ie,Fe){if(!(!Ie||Ie.name==null))for(var Ue=0;Ue<xe.length;Ue++){var qe=xe[Ue].existing;if(!xe[Ue].newOption&&qe&&(qe.id==null||Ie.id==null)&&!isComponentIdInternal(Ie)&&!isComponentIdInternal(qe)&&keyExistAndEqual("name",qe,Ie)){xe[Ue].newOption=Ie,$e[Fe]=null;return}}})}function mappingByIndex(xe,$e,Ie){each$f($e,function(Fe){if(Fe){for(var Ue,qe=0;(Ue=xe[qe])&&(Ue.newOption||isComponentIdInternal(Ue.existing)||Ue.existing&&Fe.id!=null&&!keyExistAndEqual("id",Fe,Ue.existing));)qe++;Ue?(Ue.newOption=Fe,Ue.brandNew=Ie):xe.push({newOption:Fe,brandNew:Ie,existing:null,keyInfo:null}),qe++}})}function mappingInReplaceAllMode(xe,$e){each$f($e,function(Ie){xe.push({newOption:Ie,brandNew:!0,existing:null,keyInfo:null})})}function makeIdAndName(xe){var $e=createHashMap();each$f(xe,function(Ie){var Fe=Ie.existing;Fe&&$e.set(Fe.id,Ie)}),each$f(xe,function(Ie){var Fe=Ie.newOption;assert(!Fe||Fe.id==null||!$e.get(Fe.id)||$e.get(Fe.id)===Ie,"id duplicates: "+(Fe&&Fe.id)),Fe&&Fe.id!=null&&$e.set(Fe.id,Ie),!Ie.keyInfo&&(Ie.keyInfo={})}),each$f(xe,function(Ie,Fe){var Ue=Ie.existing,qe=Ie.newOption,At=Ie.keyInfo;if(isObject$4(qe)){if(At.name=qe.name!=null?makeComparableKey(qe.name):Ue?Ue.name:DUMMY_COMPONENT_NAME_PREFIX+Fe,Ue)At.id=makeComparableKey(Ue.id);else if(qe.id!=null)At.id=makeComparableKey(qe.id);else{var Dt=0;do At.id="\0"+At.name+"\0"+Dt++;while($e.get(At.id))}$e.set(At.id,Ie)}})}function keyExistAndEqual(xe,$e,Ie){var Fe=convertOptionIdName($e[xe],null),Ue=convertOptionIdName(Ie[xe],null);return Fe!=null&&Ue!=null&&Fe===Ue}function makeComparableKey(xe){return convertOptionIdName(xe,"")}function convertOptionIdName(xe,$e){return xe==null?$e:isString$2(xe)?xe:isNumber$2(xe)||isStringSafe(xe)?xe+"":$e}function isNameSpecified(xe){var $e=xe.name;return!!($e&&$e.indexOf(DUMMY_COMPONENT_NAME_PREFIX))}function isComponentIdInternal(xe){return xe&&xe.id!=null&&makeComparableKey(xe.id).indexOf(INTERNAL_COMPONENT_ID_PREFIX)===0}function makeInternalComponentId(xe){return INTERNAL_COMPONENT_ID_PREFIX+xe}function setComponentTypeToKeyInfo(xe,$e,Ie){each$f(xe,function(Fe){var Ue=Fe.newOption;isObject$4(Ue)&&(Fe.keyInfo.mainType=$e,Fe.keyInfo.subType=determineSubType($e,Ue,Fe.existing,Ie))})}function determineSubType(xe,$e,Ie,Fe){var Ue=$e.type?$e.type:Ie?Ie.subType:Fe.determineSubType(xe,$e);return Ue}function compressBatches(xe,$e){var Ie={},Fe={};return Ue(xe||[],Ie),Ue($e||[],Fe,Ie),[qe(Ie),qe(Fe)];function Ue(At,Dt,Lt){for(var jt=0,hn=At.length;jt<hn;jt++){var vn=convertOptionIdName(At[jt].seriesId,null);if(vn==null)return;for(var bn=normalizeToArray(At[jt].dataIndex),_n=Lt&&Lt[vn],wn=0,kn=bn.length;wn<kn;wn++){var Cn=bn[wn];_n&&_n[Cn]?_n[Cn]=null:(Dt[vn]||(Dt[vn]={}))[Cn]=1}}}function qe(At,Dt){var Lt=[];for(var jt in At)if(At.hasOwnProperty(jt)&&At[jt]!=null)if(Dt)Lt.push(+jt);else{var hn=qe(At[jt],!0);hn.length&&Lt.push({seriesId:jt,dataIndex:hn})}return Lt}}function queryDataIndex(xe,$e){if($e.dataIndexInside!=null)return $e.dataIndexInside;if($e.dataIndex!=null)return isArray$2($e.dataIndex)?map$1($e.dataIndex,function(Ie){return xe.indexOfRawIndex(Ie)}):xe.indexOfRawIndex($e.dataIndex);if($e.name!=null)return isArray$2($e.name)?map$1($e.name,function(Ie){return xe.indexOfName(Ie)}):xe.indexOfName($e.name)}function makeInner(){var xe="__ec_inner_"+innerUniqueIndex++;return function($e){return $e[xe]||($e[xe]={})}}var innerUniqueIndex=getRandomIdBase();function parseFinder$1(xe,$e,Ie){var Fe=preParseFinder($e,Ie),Ue=Fe.mainTypeSpecified,qe=Fe.queryOptionMap,At=Fe.others,Dt=At,Lt=Ie?Ie.defaultMainType:null;return!Ue&&Lt&&qe.set(Lt,{}),qe.each(function(jt,hn){var vn=queryReferringComponents(xe,hn,jt,{useDefault:Lt===hn,enableAll:Ie&&Ie.enableAll!=null?Ie.enableAll:!0,enableNone:Ie&&Ie.enableNone!=null?Ie.enableNone:!0});Dt[hn+"Models"]=vn.models,Dt[hn+"Model"]=vn.models[0]}),Dt}function preParseFinder(xe,$e){var Ie;if(isString$2(xe)){var Fe={};Fe[xe+"Index"]=0,Ie=Fe}else Ie=xe;var Ue=createHashMap(),qe={},At=!1;return each$f(Ie,function(Dt,Lt){if(Lt==="dataIndex"||Lt==="dataIndexInside"){qe[Lt]=Dt;return}var jt=Lt.match(/^(\w+)(Index|Id|Name)$/)||[],hn=jt[1],vn=(jt[2]||"").toLowerCase();if(!(!hn||!vn||$e&&$e.includeMainTypes&&indexOf($e.includeMainTypes,hn)<0)){At=At||!!hn;var bn=Ue.get(hn)||Ue.set(hn,{});bn[vn]=Dt}}),{mainTypeSpecified:At,queryOptionMap:Ue,others:qe}}var SINGLE_REFERRING={useDefault:!0,enableAll:!1,enableNone:!1},MULTIPLE_REFERRING={useDefault:!1,enableAll:!0,enableNone:!0};function queryReferringComponents(xe,$e,Ie,Fe){Fe=Fe||SINGLE_REFERRING;var Ue=Ie.index,qe=Ie.id,At=Ie.name,Dt={models:null,specified:Ue!=null||qe!=null||At!=null};if(!Dt.specified){var Lt=void 0;return Dt.models=Fe.useDefault&&(Lt=xe.getComponent($e))?[Lt]:[],Dt}return Ue==="none"||Ue===!1?(assert(Fe.enableNone,'`"none"` or `false` is not a valid value on index option.'),Dt.models=[],Dt):(Ue==="all"&&(assert(Fe.enableAll,'`"all"` is not a valid value on index option.'),Ue=qe=At=null),Dt.models=xe.queryComponents({mainType:$e,index:Ue,id:qe,name:At}),Dt)}function setAttribute(xe,$e,Ie){xe.setAttribute?xe.setAttribute($e,Ie):xe[$e]=Ie}function getAttribute(xe,$e){return xe.getAttribute?xe.getAttribute($e):xe[$e]}function getTooltipRenderMode(xe){return xe==="auto"?env.domSupported?"html":"richText":xe||"html"}function groupData(xe,$e){var Ie=createHashMap(),Fe=[];return each$f(xe,function(Ue){var qe=$e(Ue);(Ie.get(qe)||(Fe.push(qe),Ie.set(qe,[]))).push(Ue)}),{keys:Fe,buckets:Ie}}function interpolateRawValues(xe,$e,Ie,Fe,Ue){var qe=$e==null||$e==="auto";if(Fe==null)return Fe;if(isNumber$2(Fe)){var At=interpolateNumber(Ie||0,Fe,Ue);return round$3(At,qe?Math.max(getPrecision(Ie||0),getPrecision(Fe)):$e)}else{if(isString$2(Fe))return Ue<1?Ie:Fe;for(var Dt=[],Lt=Ie,jt=Fe,hn=Math.max(Lt?Lt.length:0,jt.length),vn=0;vn<hn;++vn){var bn=xe.getDimensionInfo(vn);if(bn&&bn.type==="ordinal")Dt[vn]=(Ue<1&&Lt?Lt:jt)[vn];else{var _n=Lt&&Lt[vn]?Lt[vn]:0,wn=jt[vn],At=interpolateNumber(_n,wn,Ue);Dt[vn]=round$3(At,qe?Math.max(getPrecision(_n),getPrecision(wn)):$e)}}return Dt}}var TYPE_DELIMITER=".",IS_CONTAINER="___EC__COMPONENT__CONTAINER___",IS_EXTENDED_CLASS="___EC__EXTENDED_CLASS___";function parseClassType(xe){var $e={main:"",sub:""};if(xe){var Ie=xe.split(TYPE_DELIMITER);$e.main=Ie[0]||"",$e.sub=Ie[1]||""}return $e}function checkClassType(xe){assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(xe),'componentType "'+xe+'" illegal')}function isExtendedClass(xe){return!!(xe&&xe[IS_EXTENDED_CLASS])}function enableClassExtend(xe,$e){xe.$constructor=xe,xe.extend=function(Ie){var Fe=this,Ue;return isESClass(Fe)?Ue=function(qe){__extends(At,qe);function At(){return qe.apply(this,arguments)||this}return At}(Fe):(Ue=function(){(Ie.$constructor||Fe).apply(this,arguments)},inherits$1(Ue,this)),extend$1(Ue.prototype,Ie),Ue[IS_EXTENDED_CLASS]=!0,Ue.extend=this.extend,Ue.superCall=superCall,Ue.superApply=superApply,Ue.superClass=Fe,Ue}}function isESClass(xe){return isFunction$2(xe)&&/^class\s/.test(Function.prototype.toString.call(xe))}function mountExtend(xe,$e){xe.extend=$e.extend}var classBase=Math.round(Math.random()*10);function enableClassCheck(xe){var $e=["__\0is_clz",classBase++].join("_");xe.prototype[$e]=!0,xe.isInstance=function(Ie){return!!(Ie&&Ie[$e])}}function superCall(xe,$e){for(var Ie=[],Fe=2;Fe<arguments.length;Fe++)Ie[Fe-2]=arguments[Fe];return this.superClass.prototype[$e].apply(xe,Ie)}function superApply(xe,$e,Ie){return this.superClass.prototype[$e].apply(xe,Ie)}function enableClassManagement(xe){var $e={};xe.registerClass=function(Fe){var Ue=Fe.type||Fe.prototype.type;if(Ue){checkClassType(Ue),Fe.prototype.type=Ue;var qe=parseClassType(Ue);if(!qe.sub)$e[qe.main]=Fe;else if(qe.sub!==IS_CONTAINER){var At=Ie(qe);At[qe.sub]=Fe}}return Fe},xe.getClass=function(Fe,Ue,qe){var At=$e[Fe];if(At&&At[IS_CONTAINER]&&(At=Ue?At[Ue]:null),qe&&!At)throw new Error(Ue?"Component "+Fe+"."+(Ue||"")+" is used but not imported.":Fe+".type should be specified.");return At},xe.getClassesByMainType=function(Fe){var Ue=parseClassType(Fe),qe=[],At=$e[Ue.main];return At&&At[IS_CONTAINER]?each$f(At,function(Dt,Lt){Lt!==IS_CONTAINER&&qe.push(Dt)}):qe.push(At),qe},xe.hasClass=function(Fe){var Ue=parseClassType(Fe);return!!$e[Ue.main]},xe.getAllClassMainTypes=function(){var Fe=[];return each$f($e,function(Ue,qe){Fe.push(qe)}),Fe},xe.hasSubTypes=function(Fe){var Ue=parseClassType(Fe),qe=$e[Ue.main];return qe&&qe[IS_CONTAINER]};function Ie(Fe){var Ue=$e[Fe.main];return(!Ue||!Ue[IS_CONTAINER])&&(Ue=$e[Fe.main]={},Ue[IS_CONTAINER]=!0),Ue}}function makeStyleMapper(xe,$e){for(var Ie=0;Ie<xe.length;Ie++)xe[Ie][1]||(xe[Ie][1]=xe[Ie][0]);return $e=$e||!1,function(Fe,Ue,qe){for(var At={},Dt=0;Dt<xe.length;Dt++){var Lt=xe[Dt][1];if(!(Ue&&indexOf(Ue,Lt)>=0||qe&&indexOf(qe,Lt)<0)){var jt=Fe.getShallow(Lt,$e);jt!=null&&(At[xe[Dt][0]]=jt)}}return At}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function xe(){}return xe.prototype.getAreaStyle=function($e,Ie){return getAreaStyle(this,$e,Ie)},xe}(),globalImageCache=new LRU(50);function findExistImage(xe){if(typeof xe=="string"){var $e=globalImageCache.get(xe);return $e&&$e.image}else return xe}function createOrUpdateImage(xe,$e,Ie,Fe,Ue){if(xe)if(typeof xe=="string"){if($e&&$e.__zrImageSrc===xe||!Ie)return $e;var qe=globalImageCache.get(xe),At={hostEl:Ie,cb:Fe,cbPayload:Ue};return qe?($e=qe.image,!isImageReady($e)&&qe.pending.push(At)):($e=platformApi.loadImage(xe,imageOnLoad,imageOnLoad),$e.__zrImageSrc=xe,globalImageCache.put(xe,$e.__cachedImgObj={image:$e,pending:[At]})),$e}else return xe;else return $e}function imageOnLoad(){var xe=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var $e=0;$e<xe.pending.length;$e++){var Ie=xe.pending[$e],Fe=Ie.cb;Fe&&Fe(this,Ie.cbPayload),Ie.hostEl.dirty()}xe.pending.length=0}function isImageReady(xe){return xe&&xe.width&&xe.height}var STYLE_REG=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function truncateText(xe,$e,Ie,Fe,Ue){if(!$e)return"";var qe=(xe+"").split(`
`);Ue=prepareTruncateOptions($e,Ie,Fe,Ue);for(var At=0,Dt=qe.length;At<Dt;At++)qe[At]=truncateSingleLine(qe[At],Ue);return qe.join(`
`)}function prepareTruncateOptions(xe,$e,Ie,Fe){Fe=Fe||{};var Ue=extend$1({},Fe);Ue.font=$e,Ie=retrieve2(Ie,"..."),Ue.maxIterations=retrieve2(Fe.maxIterations,2);var qe=Ue.minChar=retrieve2(Fe.minChar,0);Ue.cnCharWidth=getWidth("国",$e);var At=Ue.ascCharWidth=getWidth("a",$e);Ue.placeholder=retrieve2(Fe.placeholder,"");for(var Dt=xe=Math.max(0,xe-1),Lt=0;Lt<qe&&Dt>=At;Lt++)Dt-=At;var jt=getWidth(Ie,$e);return jt>Dt&&(Ie="",jt=0),Dt=xe-jt,Ue.ellipsis=Ie,Ue.ellipsisWidth=jt,Ue.contentWidth=Dt,Ue.containerWidth=xe,Ue}function truncateSingleLine(xe,$e){var Ie=$e.containerWidth,Fe=$e.font,Ue=$e.contentWidth;if(!Ie)return"";var qe=getWidth(xe,Fe);if(qe<=Ie)return xe;for(var At=0;;At++){if(qe<=Ue||At>=$e.maxIterations){xe+=$e.ellipsis;break}var Dt=At===0?estimateLength(xe,Ue,$e.ascCharWidth,$e.cnCharWidth):qe>0?Math.floor(xe.length*Ue/qe):0;xe=xe.substr(0,Dt),qe=getWidth(xe,Fe)}return xe===""&&(xe=$e.placeholder),xe}function estimateLength(xe,$e,Ie,Fe){for(var Ue=0,qe=0,At=xe.length;qe<At&&Ue<$e;qe++){var Dt=xe.charCodeAt(qe);Ue+=0<=Dt&&Dt<=127?Ie:Fe}return qe}function parsePlainText(xe,$e){xe!=null&&(xe+="");var Ie=$e.overflow,Fe=$e.padding,Ue=$e.font,qe=Ie==="truncate",At=getLineHeight(Ue),Dt=retrieve2($e.lineHeight,At),Lt=!!$e.backgroundColor,jt=$e.lineOverflow==="truncate",hn=$e.width,vn;hn!=null&&(Ie==="break"||Ie==="breakAll")?vn=xe?wrapText(xe,$e.font,hn,Ie==="breakAll",0).lines:[]:vn=xe?xe.split(`
`):[];var bn=vn.length*Dt,_n=retrieve2($e.height,bn);if(bn>_n&&jt){var wn=Math.floor(_n/Dt);vn=vn.slice(0,wn)}if(xe&&qe&&hn!=null)for(var kn=prepareTruncateOptions(hn,Ue,$e.ellipsis,{minChar:$e.truncateMinChar,placeholder:$e.placeholder}),Cn=0;Cn<vn.length;Cn++)vn[Cn]=truncateSingleLine(vn[Cn],kn);for(var Sn=_n,xn=0,Cn=0;Cn<vn.length;Cn++)xn=Math.max(getWidth(vn[Cn],Ue),xn);hn==null&&(hn=xn);var En=xn;return Fe&&(Sn+=Fe[0]+Fe[2],En+=Fe[1]+Fe[3],hn+=Fe[1]+Fe[3]),Lt&&(En=hn),{lines:vn,height:_n,outerWidth:En,outerHeight:Sn,lineHeight:Dt,calculatedLineHeight:At,contentWidth:xn,contentHeight:bn,width:hn}}var RichTextToken=function(){function xe(){}return xe}(),RichTextLine=function(){function xe($e){this.tokens=[],$e&&(this.tokens=$e)}return xe}(),RichTextContentBlock=function(){function xe(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return xe}();function parseRichText(xe,$e){var Ie=new RichTextContentBlock;if(xe!=null&&(xe+=""),!xe)return Ie;for(var Fe=$e.width,Ue=$e.height,qe=$e.overflow,At=(qe==="break"||qe==="breakAll")&&Fe!=null?{width:Fe,accumWidth:0,breakAll:qe==="breakAll"}:null,Dt=STYLE_REG.lastIndex=0,Lt;(Lt=STYLE_REG.exec(xe))!=null;){var jt=Lt.index;jt>Dt&&pushTokens(Ie,xe.substring(Dt,jt),$e,At),pushTokens(Ie,Lt[2],$e,At,Lt[1]),Dt=STYLE_REG.lastIndex}Dt<xe.length&&pushTokens(Ie,xe.substring(Dt,xe.length),$e,At);var hn=[],vn=0,bn=0,_n=$e.padding,wn=qe==="truncate",kn=$e.lineOverflow==="truncate";function Cn(Fn,zn,jn){Fn.width=zn,Fn.lineHeight=jn,vn+=jn,bn=Math.max(bn,zn)}e:for(var Sn=0;Sn<Ie.lines.length;Sn++){for(var xn=Ie.lines[Sn],En=0,Tn=0,An=0;An<xn.tokens.length;An++){var $n=xn.tokens[An],Pn=$n.styleName&&$e.rich[$n.styleName]||{},Nn=$n.textPadding=Pn.padding,Mn=Nn?Nn[1]+Nn[3]:0,In=$n.font=Pn.font||$e.font;$n.contentHeight=getLineHeight(In);var On=retrieve2(Pn.height,$n.contentHeight);if($n.innerHeight=On,Nn&&(On+=Nn[0]+Nn[2]),$n.height=On,$n.lineHeight=retrieve3(Pn.lineHeight,$e.lineHeight,On),$n.align=Pn&&Pn.align||$e.align,$n.verticalAlign=Pn&&Pn.verticalAlign||"middle",kn&&Ue!=null&&vn+$n.lineHeight>Ue){An>0?(xn.tokens=xn.tokens.slice(0,An),Cn(xn,Tn,En),Ie.lines=Ie.lines.slice(0,Sn+1)):Ie.lines=Ie.lines.slice(0,Sn);break e}var Rn=Pn.width,Bn=Rn==null||Rn==="auto";if(typeof Rn=="string"&&Rn.charAt(Rn.length-1)==="%")$n.percentWidth=Rn,hn.push($n),$n.contentWidth=getWidth($n.text,In);else{if(Bn){var Vn=Pn.backgroundColor,Ln=Vn&&Vn.image;Ln&&(Ln=findExistImage(Ln),isImageReady(Ln)&&($n.width=Math.max($n.width,Ln.width*On/Ln.height)))}var Dn=wn&&Fe!=null?Fe-Tn:null;Dn!=null&&Dn<$n.width?!Bn||Dn<Mn?($n.text="",$n.width=$n.contentWidth=0):($n.text=truncateText($n.text,Dn-Mn,In,$e.ellipsis,{minChar:$e.truncateMinChar}),$n.width=$n.contentWidth=getWidth($n.text,In)):$n.contentWidth=getWidth($n.text,In)}$n.width+=Mn,Tn+=$n.width,Pn&&(En=Math.max(En,$n.lineHeight))}Cn(xn,Tn,En)}Ie.outerWidth=Ie.width=retrieve2(Fe,bn),Ie.outerHeight=Ie.height=retrieve2(Ue,vn),Ie.contentHeight=vn,Ie.contentWidth=bn,_n&&(Ie.outerWidth+=_n[1]+_n[3],Ie.outerHeight+=_n[0]+_n[2]);for(var Sn=0;Sn<hn.length;Sn++){var $n=hn[Sn],Hn=$n.percentWidth;$n.width=parseInt(Hn,10)/100*Ie.width}return Ie}function pushTokens(xe,$e,Ie,Fe,Ue){var qe=$e==="",At=Ue&&Ie.rich[Ue]||{},Dt=xe.lines,Lt=At.font||Ie.font,jt=!1,hn,vn;if(Fe){var bn=At.padding,_n=bn?bn[1]+bn[3]:0;if(At.width!=null&&At.width!=="auto"){var wn=parsePercent$1(At.width,Fe.width)+_n;Dt.length>0&&wn+Fe.accumWidth>Fe.width&&(hn=$e.split(`
`),jt=!0),Fe.accumWidth=wn}else{var kn=wrapText($e,Lt,Fe.width,Fe.breakAll,Fe.accumWidth);Fe.accumWidth=kn.accumWidth+_n,vn=kn.linesWidths,hn=kn.lines}}else hn=$e.split(`
`);for(var Cn=0;Cn<hn.length;Cn++){var Sn=hn[Cn],xn=new RichTextToken;if(xn.styleName=Ue,xn.text=Sn,xn.isLineHolder=!Sn&&!qe,typeof At.width=="number"?xn.width=At.width:xn.width=vn?vn[Cn]:getWidth(Sn,Lt),!Cn&&!jt){var En=(Dt[Dt.length-1]||(Dt[0]=new RichTextLine)).tokens,Tn=En.length;Tn===1&&En[0].isLineHolder?En[0]=xn:(Sn||!Tn||qe)&&En.push(xn)}else Dt.push(new RichTextLine([xn]))}}function isAlphabeticLetter(xe){var $e=xe.charCodeAt(0);return $e>=32&&$e<=591||$e>=880&&$e<=4351||$e>=4608&&$e<=5119||$e>=7680&&$e<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function(xe,$e){return xe[$e]=!0,xe},{});function isWordBreakChar(xe){return isAlphabeticLetter(xe)?!!breakCharMap[xe]:!0}function wrapText(xe,$e,Ie,Fe,Ue){for(var qe=[],At=[],Dt="",Lt="",jt=0,hn=0,vn=0;vn<xe.length;vn++){var bn=xe.charAt(vn);if(bn===`
`){Lt&&(Dt+=Lt,hn+=jt),qe.push(Dt),At.push(hn),Dt="",Lt="",jt=0,hn=0;continue}var _n=getWidth(bn,$e),wn=Fe?!1:!isWordBreakChar(bn);if(qe.length?hn+_n>Ie:Ue+hn+_n>Ie){hn?(Dt||Lt)&&(wn?(Dt||(Dt=Lt,Lt="",jt=0,hn=jt),qe.push(Dt),At.push(hn-jt),Lt+=bn,jt+=_n,Dt="",hn=jt):(Lt&&(Dt+=Lt,Lt="",jt=0),qe.push(Dt),At.push(hn),Dt=bn,hn=_n)):wn?(qe.push(Lt),At.push(jt),Lt=bn,jt=_n):(qe.push(bn),At.push(_n));continue}hn+=_n,wn?(Lt+=bn,jt+=_n):(Lt&&(Dt+=Lt,Lt="",jt=0),Dt+=bn)}return!qe.length&&!Dt&&(Dt=xe,Lt="",jt=0),Lt&&(Dt+=Lt),Dt&&(qe.push(Dt),At.push(hn)),qe.length===1&&(hn+=Ue),{accumWidth:hn,lines:qe,linesWidths:At}}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(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype._init=function(Ie){for(var Fe=keys(Ie),Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];qe==="style"?this.useStyle(Ie[qe]):xe.prototype.attrKV.call(this,qe,Ie[qe])}this.style||this.useStyle({})},$e.prototype.beforeBrush=function(){},$e.prototype.afterBrush=function(){},$e.prototype.innerBeforeBrush=function(){},$e.prototype.innerAfterBrush=function(){},$e.prototype.shouldBePainted=function(Ie,Fe,Ue,qe){var At=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&isDisplayableCulled(this,Ie,Fe)||At&&!At[0]&&!At[3])return!1;if(Ue&&this.__clipPaths){for(var Dt=0;Dt<this.__clipPaths.length;++Dt)if(this.__clipPaths[Dt].isZeroArea())return!1}if(qe&&this.parent)for(var Lt=this.parent;Lt;){if(Lt.ignore)return!1;Lt=Lt.parent}return!0},$e.prototype.contain=function(Ie,Fe){return this.rectContain(Ie,Fe)},$e.prototype.traverse=function(Ie,Fe){Ie.call(Fe,this)},$e.prototype.rectContain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();return qe.contain(Ue[0],Ue[1])},$e.prototype.getPaintRect=function(){var Ie=this._paintRect;if(!this._paintRect||this.__dirty){var Fe=this.transform,Ue=this.getBoundingRect(),qe=this.style,At=qe.shadowBlur||0,Dt=qe.shadowOffsetX||0,Lt=qe.shadowOffsetY||0;Ie=this._paintRect||(this._paintRect=new BoundingRect(0,0,0,0)),Fe?BoundingRect.applyTransform(Ie,Ue,Fe):Ie.copy(Ue),(At||Dt||Lt)&&(Ie.width+=At*2+Math.abs(Dt),Ie.height+=At*2+Math.abs(Lt),Ie.x=Math.min(Ie.x,Ie.x+Dt-At),Ie.y=Math.min(Ie.y,Ie.y+Lt-At));var jt=this.dirtyRectTolerance;Ie.isZero()||(Ie.x=Math.floor(Ie.x-jt),Ie.y=Math.floor(Ie.y-jt),Ie.width=Math.ceil(Ie.width+1+jt*2),Ie.height=Math.ceil(Ie.height+1+jt*2))}return Ie},$e.prototype.setPrevPaintRect=function(Ie){Ie?(this._prevPaintRect=this._prevPaintRect||new BoundingRect(0,0,0,0),this._prevPaintRect.copy(Ie)):this._prevPaintRect=null},$e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},$e.prototype.animateStyle=function(Ie){return this.animate("style",Ie)},$e.prototype.updateDuringAnimation=function(Ie){Ie==="style"?this.dirtyStyle():this.markRedraw()},$e.prototype.attrKV=function(Ie,Fe){Ie!=="style"?xe.prototype.attrKV.call(this,Ie,Fe):this.style?this.setStyle(Fe):this.useStyle(Fe)},$e.prototype.setStyle=function(Ie,Fe){return typeof Ie=="string"?this.style[Ie]=Fe:extend$1(this.style,Ie),this.dirtyStyle(),this},$e.prototype.dirtyStyle=function(Ie){Ie||this.markRedraw(),this.__dirty|=STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},$e.prototype.dirty=function(){this.dirtyStyle()},$e.prototype.styleChanged=function(){return!!(this.__dirty&STYLE_CHANGED_BIT)},$e.prototype.styleUpdated=function(){this.__dirty&=~STYLE_CHANGED_BIT},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_COMMON_STYLE,Ie)},$e.prototype.useStyle=function(Ie){Ie[STYLE_MAGIC_KEY]||(Ie=this.createStyle(Ie)),this.__inHover?this.__hoverStyle=Ie:this.style=Ie,this.dirtyStyle()},$e.prototype.isStyleObject=function(Ie){return Ie[STYLE_MAGIC_KEY]},$e.prototype._innerSaveToNormal=function(Ie){xe.prototype._innerSaveToNormal.call(this,Ie);var Fe=this._normalState;Ie.style&&!Fe.style&&(Fe.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(Ie,Fe,PRIMARY_STATES_KEYS)},$e.prototype._applyStateObj=function(Ie,Fe,Ue,qe,At,Dt){xe.prototype._applyStateObj.call(this,Ie,Fe,Ue,qe,At,Dt);var Lt=!(Fe&&qe),jt;if(Fe&&Fe.style?At?qe?jt=Fe.style:(jt=this._mergeStyle(this.createStyle(),Ue.style),this._mergeStyle(jt,Fe.style)):(jt=this._mergeStyle(this.createStyle(),qe?this.style:Ue.style),this._mergeStyle(jt,Fe.style)):Lt&&(jt=Ue.style),jt)if(At){var hn=this.style;if(this.style=this.createStyle(Lt?{}:hn),Lt)for(var vn=keys(hn),bn=0;bn<vn.length;bn++){var _n=vn[bn];_n in jt&&(jt[_n]=jt[_n],this.style[_n]=hn[_n])}for(var wn=keys(jt),bn=0;bn<wn.length;bn++){var _n=wn[bn];this.style[_n]=this.style[_n]}this._transitionState(Ie,{style:jt},Dt,this.getAnimationStyleProps())}else this.useStyle(jt);for(var kn=this.__inHover?PRIMARY_STATES_KEYS_IN_HOVER_LAYER:PRIMARY_STATES_KEYS,bn=0;bn<kn.length;bn++){var _n=kn[bn];Fe&&Fe[_n]!=null?this[_n]=Fe[_n]:Lt&&Ue[_n]!=null&&(this[_n]=Ue[_n])}},$e.prototype._mergeStates=function(Ie){for(var Fe=xe.prototype._mergeStates.call(this,Ie),Ue,qe=0;qe<Ie.length;qe++){var At=Ie[qe];At.style&&(Ue=Ue||{},this._mergeStyle(Ue,At.style))}return Ue&&(Fe.style=Ue),Fe},$e.prototype._mergeStyle=function(Ie,Fe){return extend$1(Ie,Fe),Ie},$e.prototype.getAnimationStyleProps=function(){return DEFAULT_COMMON_ANIMATION_PROPS},$e.initDefaultProps=function(){var Ie=$e.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}(),$e}(Element$1),tmpRect=new BoundingRect(0,0,0,0),viewRect=new BoundingRect(0,0,0,0);function isDisplayableCulled(xe,$e,Ie){return tmpRect.copy(xe.getBoundingRect()),xe.transform&&tmpRect.applyTransform(xe.transform),viewRect.width=$e,viewRect.height=Ie,!tmpRect.intersect(viewRect)}var mathMin$9=Math.min,mathMax$9=Math.max,mathSin$4=Math.sin,mathCos$4=Math.cos,PI2$8=Math.PI*2,start=create$2(),end$1=create$2(),extremity=create$2();function fromPoints(xe,$e,Ie){if(xe.length!==0){for(var Fe=xe[0],Ue=Fe[0],qe=Fe[0],At=Fe[1],Dt=Fe[1],Lt=1;Lt<xe.length;Lt++)Fe=xe[Lt],Ue=mathMin$9(Ue,Fe[0]),qe=mathMax$9(qe,Fe[0]),At=mathMin$9(At,Fe[1]),Dt=mathMax$9(Dt,Fe[1]);$e[0]=Ue,$e[1]=At,Ie[0]=qe,Ie[1]=Dt}}function fromLine(xe,$e,Ie,Fe,Ue,qe){Ue[0]=mathMin$9(xe,Ie),Ue[1]=mathMin$9($e,Fe),qe[0]=mathMax$9(xe,Ie),qe[1]=mathMax$9($e,Fe)}var xDim=[],yDim=[];function fromCubic(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=cubicExtrema,vn=cubicAt,bn=hn(xe,Ie,Ue,At,xDim);Lt[0]=1/0,Lt[1]=1/0,jt[0]=-1/0,jt[1]=-1/0;for(var _n=0;_n<bn;_n++){var wn=vn(xe,Ie,Ue,At,xDim[_n]);Lt[0]=mathMin$9(wn,Lt[0]),jt[0]=mathMax$9(wn,jt[0])}bn=hn($e,Fe,qe,Dt,yDim);for(var _n=0;_n<bn;_n++){var kn=vn($e,Fe,qe,Dt,yDim[_n]);Lt[1]=mathMin$9(kn,Lt[1]),jt[1]=mathMax$9(kn,jt[1])}Lt[0]=mathMin$9(xe,Lt[0]),jt[0]=mathMax$9(xe,jt[0]),Lt[0]=mathMin$9(At,Lt[0]),jt[0]=mathMax$9(At,jt[0]),Lt[1]=mathMin$9($e,Lt[1]),jt[1]=mathMax$9($e,jt[1]),Lt[1]=mathMin$9(Dt,Lt[1]),jt[1]=mathMax$9(Dt,jt[1])}function fromQuadratic(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=quadraticExtremum,jt=quadraticAt$1,hn=mathMax$9(mathMin$9(Lt(xe,Ie,Ue),1),0),vn=mathMax$9(mathMin$9(Lt($e,Fe,qe),1),0),bn=jt(xe,Ie,Ue,hn),_n=jt($e,Fe,qe,vn);At[0]=mathMin$9(xe,Ue,bn),At[1]=mathMin$9($e,qe,_n),Dt[0]=mathMax$9(xe,Ue,bn),Dt[1]=mathMax$9($e,qe,_n)}function fromArc(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=min$2,hn=max$2,vn=Math.abs(Ue-qe);if(vn%PI2$8<1e-4&&vn>1e-4){Dt[0]=xe-Ie,Dt[1]=$e-Fe,Lt[0]=xe+Ie,Lt[1]=$e+Fe;return}if(start[0]=mathCos$4(Ue)*Ie+xe,start[1]=mathSin$4(Ue)*Fe+$e,end$1[0]=mathCos$4(qe)*Ie+xe,end$1[1]=mathSin$4(qe)*Fe+$e,jt(Dt,start,end$1),hn(Lt,start,end$1),Ue=Ue%PI2$8,Ue<0&&(Ue=Ue+PI2$8),qe=qe%PI2$8,qe<0&&(qe=qe+PI2$8),Ue>qe&&!At?qe+=PI2$8:Ue<qe&&At&&(Ue+=PI2$8),At){var bn=qe;qe=Ue,Ue=bn}for(var _n=0;_n<qe;_n+=Math.PI/2)_n>Ue&&(extremity[0]=mathCos$4(_n)*Ie+xe,extremity[1]=mathSin$4(_n)*Fe+$e,jt(Dt,extremity,Dt),hn(Lt,extremity,Lt))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min$1=[],max$1=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=PI$8*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(xe){var $e=Math.round(xe/PI$8*1e8)/1e8;return $e%2*PI$8}function normalizeArcAngles(xe,$e){var Ie=modPI2(xe[0]);Ie<0&&(Ie+=PI2$7);var Fe=Ie-xe[0],Ue=xe[1];Ue+=Fe,!$e&&Ue-Ie>=PI2$7?Ue=Ie+PI2$7:$e&&Ie-Ue>=PI2$7?Ue=Ie-PI2$7:!$e&&Ie>Ue?Ue=Ie+(PI2$7-modPI2(Ie-Ue)):$e&&Ie<Ue&&(Ue=Ie-(PI2$7-modPI2(Ue-Ie))),xe[0]=Ie,xe[1]=Ue}var PathProxy=function(){function xe($e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,$e&&(this._saveData=!1),this._saveData&&(this.data=[])}return xe.prototype.increaseVersion=function(){this._version++},xe.prototype.getVersion=function(){return this._version},xe.prototype.setScale=function($e,Ie,Fe){Fe=Fe||0,Fe>0&&(this._ux=mathAbs$2(Fe/devicePixelRatio/$e)||0,this._uy=mathAbs$2(Fe/devicePixelRatio/Ie)||0)},xe.prototype.setDPR=function($e){this.dpr=$e},xe.prototype.setContext=function($e){this._ctx=$e},xe.prototype.getContext=function(){return this._ctx},xe.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},xe.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},xe.prototype.moveTo=function($e,Ie){return this._drawPendingPt(),this.addData(CMD$4.M,$e,Ie),this._ctx&&this._ctx.moveTo($e,Ie),this._x0=$e,this._y0=Ie,this._xi=$e,this._yi=Ie,this},xe.prototype.lineTo=function($e,Ie){var Fe=mathAbs$2($e-this._xi),Ue=mathAbs$2(Ie-this._yi),qe=Fe>this._ux||Ue>this._uy;if(this.addData(CMD$4.L,$e,Ie),this._ctx&&qe&&this._ctx.lineTo($e,Ie),qe)this._xi=$e,this._yi=Ie,this._pendingPtDist=0;else{var At=Fe*Fe+Ue*Ue;At>this._pendingPtDist&&(this._pendingPtX=$e,this._pendingPtY=Ie,this._pendingPtDist=At)}return this},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){return this._drawPendingPt(),this.addData(CMD$4.C,$e,Ie,Fe,Ue,qe,At),this._ctx&&this._ctx.bezierCurveTo($e,Ie,Fe,Ue,qe,At),this._xi=qe,this._yi=At,this},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this.addData(CMD$4.Q,$e,Ie,Fe,Ue),this._ctx&&this._ctx.quadraticCurveTo($e,Ie,Fe,Ue),this._xi=Fe,this._yi=Ue,this},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this._drawPendingPt(),tmpAngles[0]=Ue,tmpAngles[1]=qe,normalizeArcAngles(tmpAngles,At),Ue=tmpAngles[0],qe=tmpAngles[1];var Dt=qe-Ue;return this.addData(CMD$4.A,$e,Ie,Fe,Fe,Ue,Dt,0,At?0:1),this._ctx&&this._ctx.arc($e,Ie,Fe,Ue,qe,At),this._xi=mathCos$3(qe)*Fe+$e,this._yi=mathSin$3(qe)*Fe+Ie,this},xe.prototype.arcTo=function($e,Ie,Fe,Ue,qe){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo($e,Ie,Fe,Ue,qe),this},xe.prototype.rect=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this._ctx&&this._ctx.rect($e,Ie,Fe,Ue),this.addData(CMD$4.R,$e,Ie,Fe,Ue),this},xe.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.Z);var $e=this._ctx,Ie=this._x0,Fe=this._y0;return $e&&$e.closePath(),this._xi=Ie,this._yi=Fe,this},xe.prototype.fill=function($e){$e&&$e.fill(),this.toStatic()},xe.prototype.stroke=function($e){$e&&$e.stroke(),this.toStatic()},xe.prototype.len=function(){return this._len},xe.prototype.setData=function($e){var Ie=$e.length;!(this.data&&this.data.length===Ie)&&hasTypedArray&&(this.data=new Float32Array(Ie));for(var Fe=0;Fe<Ie;Fe++)this.data[Fe]=$e[Fe];this._len=Ie},xe.prototype.appendPath=function($e){$e instanceof Array||($e=[$e]);for(var Ie=$e.length,Fe=0,Ue=this._len,qe=0;qe<Ie;qe++)Fe+=$e[qe].len();hasTypedArray&&this.data instanceof Float32Array&&(this.data=new Float32Array(Ue+Fe));for(var qe=0;qe<Ie;qe++)for(var At=$e[qe].data,Dt=0;Dt<At.length;Dt++)this.data[Ue++]=At[Dt];this._len=Ue},xe.prototype.addData=function($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(this._saveData){var hn=this.data;this._len+arguments.length>hn.length&&(this._expandData(),hn=this.data);for(var vn=0;vn<arguments.length;vn++)hn[this._len++]=arguments[vn]}},xe.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},xe.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var $e=[],Ie=0;Ie<this._len;Ie++)$e[Ie]=this.data[Ie];this.data=$e}},xe.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var $e=this.data;$e instanceof Array&&($e.length=this._len,hasTypedArray&&this._len>11&&(this.data=new Float32Array($e)))}},xe.prototype.getBoundingRect=function(){min$1[0]=min$1[1]=min2[0]=min2[1]=Number.MAX_VALUE,max$1[0]=max$1[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var $e=this.data,Ie=0,Fe=0,Ue=0,qe=0,At;for(At=0;At<this._len;){var Dt=$e[At++],Lt=At===1;switch(Lt&&(Ie=$e[At],Fe=$e[At+1],Ue=Ie,qe=Fe),Dt){case CMD$4.M:Ie=Ue=$e[At++],Fe=qe=$e[At++],min2[0]=Ue,min2[1]=qe,max2[0]=Ue,max2[1]=qe;break;case CMD$4.L:fromLine(Ie,Fe,$e[At],$e[At+1],min2,max2),Ie=$e[At++],Fe=$e[At++];break;case CMD$4.C:fromCubic(Ie,Fe,$e[At++],$e[At++],$e[At++],$e[At++],$e[At],$e[At+1],min2,max2),Ie=$e[At++],Fe=$e[At++];break;case CMD$4.Q:fromQuadratic(Ie,Fe,$e[At++],$e[At++],$e[At],$e[At+1],min2,max2),Ie=$e[At++],Fe=$e[At++];break;case CMD$4.A:var jt=$e[At++],hn=$e[At++],vn=$e[At++],bn=$e[At++],_n=$e[At++],wn=$e[At++]+_n;At+=1;var kn=!$e[At++];Lt&&(Ue=mathCos$3(_n)*vn+jt,qe=mathSin$3(_n)*bn+hn),fromArc(jt,hn,vn,bn,_n,wn,kn,min2,max2),Ie=mathCos$3(wn)*vn+jt,Fe=mathSin$3(wn)*bn+hn;break;case CMD$4.R:Ue=Ie=$e[At++],qe=Fe=$e[At++];var Cn=$e[At++],Sn=$e[At++];fromLine(Ue,qe,Ue+Cn,qe+Sn,min2,max2);break;case CMD$4.Z:Ie=Ue,Fe=qe;break}min$2(min$1,min$1,min2),max$2(max$1,max$1,max2)}return At===0&&(min$1[0]=min$1[1]=max$1[0]=max$1[1]=0),new BoundingRect(min$1[0],min$1[1],max$1[0]-min$1[0],max$1[1]-min$1[1])},xe.prototype._calculateLength=function(){var $e=this.data,Ie=this._len,Fe=this._ux,Ue=this._uy,qe=0,At=0,Dt=0,Lt=0;this._pathSegLen||(this._pathSegLen=[]);for(var jt=this._pathSegLen,hn=0,vn=0,bn=0;bn<Ie;){var _n=$e[bn++],wn=bn===1;wn&&(qe=$e[bn],At=$e[bn+1],Dt=qe,Lt=At);var kn=-1;switch(_n){case CMD$4.M:qe=Dt=$e[bn++],At=Lt=$e[bn++];break;case CMD$4.L:{var Cn=$e[bn++],Sn=$e[bn++],xn=Cn-qe,En=Sn-At;(mathAbs$2(xn)>Fe||mathAbs$2(En)>Ue||bn===Ie-1)&&(kn=Math.sqrt(xn*xn+En*En),qe=Cn,At=Sn);break}case CMD$4.C:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++],$n=$e[bn++],Pn=$e[bn++];kn=cubicLength(qe,At,Tn,An,Cn,Sn,$n,Pn,10),qe=$n,At=Pn;break}case CMD$4.Q:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++];kn=quadraticLength(qe,At,Tn,An,Cn,Sn,10),qe=Cn,At=Sn;break}case CMD$4.A:var Nn=$e[bn++],Mn=$e[bn++],In=$e[bn++],On=$e[bn++],Rn=$e[bn++],Bn=$e[bn++],Vn=Bn+Rn;bn+=1,wn&&(Dt=mathCos$3(Rn)*In+Nn,Lt=mathSin$3(Rn)*On+Mn),kn=mathMax$8(In,On)*mathMin$8(PI2$7,Math.abs(Bn)),qe=mathCos$3(Vn)*In+Nn,At=mathSin$3(Vn)*On+Mn;break;case CMD$4.R:{Dt=qe=$e[bn++],Lt=At=$e[bn++];var Ln=$e[bn++],Dn=$e[bn++];kn=Ln*2+Dn*2;break}case CMD$4.Z:{var xn=Dt-qe,En=Lt-At;kn=Math.sqrt(xn*xn+En*En),qe=Dt,At=Lt;break}}kn>=0&&(jt[vn++]=kn,hn+=kn)}return this._pathLen=hn,hn},xe.prototype.rebuildPath=function($e,Ie){var Fe=this.data,Ue=this._ux,qe=this._uy,At=this._len,Dt,Lt,jt,hn,vn,bn,_n=Ie<1,wn,kn,Cn=0,Sn=0,xn,En=0,Tn,An;if(!(_n&&(this._pathSegLen||this._calculateLength(),wn=this._pathSegLen,kn=this._pathLen,xn=Ie*kn,!xn)))e:for(var $n=0;$n<At;){var Pn=Fe[$n++],Nn=$n===1;switch(Nn&&(jt=Fe[$n],hn=Fe[$n+1],Dt=jt,Lt=hn),Pn!==CMD$4.L&&En>0&&($e.lineTo(Tn,An),En=0),Pn){case CMD$4.M:Dt=jt=Fe[$n++],Lt=hn=Fe[$n++],$e.moveTo(jt,hn);break;case CMD$4.L:{vn=Fe[$n++],bn=Fe[$n++];var Mn=mathAbs$2(vn-jt),In=mathAbs$2(bn-hn);if(Mn>Ue||In>qe){if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+vn*Rn,hn*(1-Rn)+bn*Rn);break e}Cn+=On}$e.lineTo(vn,bn),jt=vn,hn=bn,En=0}else{var Bn=Mn*Mn+In*In;Bn>En&&(Tn=vn,An=bn,En=Bn)}break}case CMD$4.C:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++],Fn=Fe[$n++],zn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;cubicSubdivide(jt,Vn,Dn,Fn,Rn,tmpOutX),cubicSubdivide(hn,Ln,Hn,zn,Rn,tmpOutY),$e.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}Cn+=On}$e.bezierCurveTo(Vn,Ln,Dn,Hn,Fn,zn),jt=Fn,hn=zn;break}case CMD$4.Q:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;quadraticSubdivide(jt,Vn,Dn,Rn,tmpOutX),quadraticSubdivide(hn,Ln,Hn,Rn,tmpOutY),$e.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}Cn+=On}$e.quadraticCurveTo(Vn,Ln,Dn,Hn),jt=Dn,hn=Hn;break}case CMD$4.A:var jn=Fe[$n++],Gn=Fe[$n++],Wn=Fe[$n++],Xn=Fe[$n++],er=Fe[$n++],rr=Fe[$n++],Jn=Fe[$n++],qn=!Fe[$n++],Yn=Wn>Xn?Wn:Xn,ar=mathAbs$2(Wn-Xn)>.001,tr=er+rr,or=!1;if(_n){var On=wn[Sn++];Cn+On>xn&&(tr=er+rr*(xn-Cn)/On,or=!0),Cn+=On}if(ar&&$e.ellipse?$e.ellipse(jn,Gn,Wn,Xn,Jn,er,tr,qn):$e.arc(jn,Gn,Yn,er,tr,qn),or)break e;Nn&&(Dt=mathCos$3(er)*Wn+jn,Lt=mathSin$3(er)*Xn+Gn),jt=mathCos$3(tr)*Wn+jn,hn=mathSin$3(tr)*Xn+Gn;break;case CMD$4.R:Dt=jt=Fe[$n],Lt=hn=Fe[$n+1],vn=Fe[$n++],bn=Fe[$n++];var sr=Fe[$n++],Kn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Zn=xn-Cn;$e.moveTo(vn,bn),$e.lineTo(vn+mathMin$8(Zn,sr),bn),Zn-=sr,Zn>0&&$e.lineTo(vn+sr,bn+mathMin$8(Zn,Kn)),Zn-=Kn,Zn>0&&$e.lineTo(vn+mathMax$8(sr-Zn,0),bn+Kn),Zn-=sr,Zn>0&&$e.lineTo(vn,bn+mathMax$8(Kn-Zn,0));break e}Cn+=On}$e.rect(vn,bn,sr,Kn);break;case CMD$4.Z:if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+Dt*Rn,hn*(1-Rn)+Lt*Rn);break e}Cn+=On}$e.closePath(),jt=Dt,hn=Lt}}},xe.prototype.clone=function(){var $e=new xe,Ie=this.data;return $e.data=Ie.slice?Ie.slice():Array.prototype.slice.call(Ie),$e._len=this._len,$e},xe.CMD=CMD$4,xe.initDefaultProps=function(){var $e=xe.prototype;$e._saveData=!0,$e._ux=0,$e._uy=0,$e._pendingPtDist=0,$e._version=0}(),xe}();function containStroke$4(xe,$e,Ie,Fe,Ue,qe,At){if(Ue===0)return!1;var Dt=Ue,Lt=0,jt=xe;if(At>$e+Dt&&At>Fe+Dt||At<$e-Dt&&At<Fe-Dt||qe>xe+Dt&&qe>Ie+Dt||qe<xe-Dt&&qe<Ie-Dt)return!1;if(xe!==Ie)Lt=($e-Fe)/(xe-Ie),jt=(xe*Fe-Ie*$e)/(xe-Ie);else return Math.abs(qe-xe)<=Dt/2;var hn=Lt*qe-At+jt,vn=hn*hn/(Lt*Lt+1);return vn<=Dt/2*Dt/2}function containStroke$3(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){if(Lt===0)return!1;var vn=Lt;if(hn>$e+vn&&hn>Fe+vn&&hn>qe+vn&&hn>Dt+vn||hn<$e-vn&&hn<Fe-vn&&hn<qe-vn&&hn<Dt-vn||jt>xe+vn&&jt>Ie+vn&&jt>Ue+vn&&jt>At+vn||jt<xe-vn&&jt<Ie-vn&&jt<Ue-vn&&jt<At-vn)return!1;var bn=cubicProjectPoint(xe,$e,Ie,Fe,Ue,qe,At,Dt,jt,hn,null);return bn<=vn/2}function containStroke$2(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){if(At===0)return!1;var jt=At;if(Lt>$e+jt&&Lt>Fe+jt&&Lt>qe+jt||Lt<$e-jt&&Lt<Fe-jt&&Lt<qe-jt||Dt>xe+jt&&Dt>Ie+jt&&Dt>Ue+jt||Dt<xe-jt&&Dt<Ie-jt&&Dt<Ue-jt)return!1;var hn=quadraticProjectPoint(xe,$e,Ie,Fe,Ue,qe,Dt,Lt,null);return hn<=jt/2}var PI2$6=Math.PI*2;function normalizeRadian(xe){return xe%=PI2$6,xe<0&&(xe+=PI2$6),xe}var PI2$5=Math.PI*2;function containStroke$1(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){if(At===0)return!1;var jt=At;Dt-=xe,Lt-=$e;var hn=Math.sqrt(Dt*Dt+Lt*Lt);if(hn-jt>Ie||hn+jt<Ie)return!1;if(Math.abs(Fe-Ue)%PI2$5<1e-4)return!0;if(qe){var vn=Fe;Fe=normalizeRadian(Ue),Ue=normalizeRadian(vn)}else Fe=normalizeRadian(Fe),Ue=normalizeRadian(Ue);Fe>Ue&&(Ue+=PI2$5);var bn=Math.atan2(Lt,Dt);return bn<0&&(bn+=PI2$5),bn>=Fe&&bn<=Ue||bn+PI2$5>=Fe&&bn+PI2$5<=Ue}function windingLine(xe,$e,Ie,Fe,Ue,qe){if(qe>$e&&qe>Fe||qe<$e&&qe<Fe||Fe===$e)return 0;var At=(qe-$e)/(Fe-$e),Dt=Fe<$e?1:-1;(At===1||At===0)&&(Dt=Fe<$e?.5:-.5);var Lt=At*(Ie-xe)+xe;return Lt===Ue?1/0:Lt>Ue?Dt:0}var CMD$3=PathProxy.CMD,PI2$4=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(xe,$e){return Math.abs(xe-$e)<EPSILON$1}var roots=[-1,-1,-1],extrema=[-1,-1];function swapExtrema(){var xe=extrema[0];extrema[0]=extrema[1],extrema[1]=xe}function windingCubic(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(jt>$e&&jt>Fe&&jt>qe&&jt>Dt||jt<$e&&jt<Fe&&jt<qe&&jt<Dt)return 0;var hn=cubicRootAt($e,Fe,qe,Dt,jt,roots);if(hn===0)return 0;for(var vn=0,bn=-1,_n=void 0,wn=void 0,kn=0;kn<hn;kn++){var Cn=roots[kn],Sn=Cn===0||Cn===1?.5:1,xn=cubicAt(xe,Ie,Ue,At,Cn);xn<Lt||(bn<0&&(bn=cubicExtrema($e,Fe,qe,Dt,extrema),extrema[1]<extrema[0]&&bn>1&&swapExtrema(),_n=cubicAt($e,Fe,qe,Dt,extrema[0]),bn>1&&(wn=cubicAt($e,Fe,qe,Dt,extrema[1]))),bn===2?Cn<extrema[0]?vn+=_n<$e?Sn:-Sn:Cn<extrema[1]?vn+=wn<_n?Sn:-Sn:vn+=Dt<wn?Sn:-Sn:Cn<extrema[0]?vn+=_n<$e?Sn:-Sn:vn+=Dt<_n?Sn:-Sn)}return vn}function windingQuadratic(xe,$e,Ie,Fe,Ue,qe,At,Dt){if(Dt>$e&&Dt>Fe&&Dt>qe||Dt<$e&&Dt<Fe&&Dt<qe)return 0;var Lt=quadraticRootAt($e,Fe,qe,Dt,roots);if(Lt===0)return 0;var jt=quadraticExtremum($e,Fe,qe);if(jt>=0&&jt<=1){for(var hn=0,vn=quadraticAt$1($e,Fe,qe,jt),bn=0;bn<Lt;bn++){var _n=roots[bn]===0||roots[bn]===1?.5:1,wn=quadraticAt$1(xe,Ie,Ue,roots[bn]);wn<At||(roots[bn]<jt?hn+=vn<$e?_n:-_n:hn+=qe<vn?_n:-_n)}return hn}else{var _n=roots[0]===0||roots[0]===1?.5:1,wn=quadraticAt$1(xe,Ie,Ue,roots[0]);return wn<At?0:qe<$e?_n:-_n}}function windingArc(xe,$e,Ie,Fe,Ue,qe,At,Dt){if(Dt-=$e,Dt>Ie||Dt<-Ie)return 0;var Lt=Math.sqrt(Ie*Ie-Dt*Dt);roots[0]=-Lt,roots[1]=Lt;var jt=Math.abs(Fe-Ue);if(jt<1e-4)return 0;if(jt>=PI2$4-1e-4){Fe=0,Ue=PI2$4;var hn=qe?1:-1;return At>=roots[0]+xe&&At<=roots[1]+xe?hn:0}if(Fe>Ue){var vn=Fe;Fe=Ue,Ue=vn}Fe<0&&(Fe+=PI2$4,Ue+=PI2$4);for(var bn=0,_n=0;_n<2;_n++){var wn=roots[_n];if(wn+xe>At){var kn=Math.atan2(Dt,wn),hn=qe?1:-1;kn<0&&(kn=PI2$4+kn),(kn>=Fe&&kn<=Ue||kn+PI2$4>=Fe&&kn+PI2$4<=Ue)&&(kn>Math.PI/2&&kn<Math.PI*1.5&&(hn=-hn),bn+=hn)}}return bn}function containPath(xe,$e,Ie,Fe,Ue){for(var qe=xe.data,At=xe.len(),Dt=0,Lt=0,jt=0,hn=0,vn=0,bn,_n,wn=0;wn<At;){var kn=qe[wn++],Cn=wn===1;switch(kn===CMD$3.M&&wn>1&&(Ie||(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue))),Cn&&(Lt=qe[wn],jt=qe[wn+1],hn=Lt,vn=jt),kn){case CMD$3.M:hn=qe[wn++],vn=qe[wn++],Lt=hn,jt=vn;break;case CMD$3.L:if(Ie){if(containStroke$4(Lt,jt,qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.C:if(Ie){if(containStroke$3(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingCubic(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.Q:if(Ie){if(containStroke$2(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingQuadratic(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.A:var Sn=qe[wn++],xn=qe[wn++],En=qe[wn++],Tn=qe[wn++],An=qe[wn++],$n=qe[wn++];wn+=1;var Pn=!!(1-qe[wn++]);bn=Math.cos(An)*En+Sn,_n=Math.sin(An)*Tn+xn,Cn?(hn=bn,vn=_n):Dt+=windingLine(Lt,jt,bn,_n,Fe,Ue);var Nn=(Fe-Sn)*Tn/En+Sn;if(Ie){if(containStroke$1(Sn,xn,Tn,An,An+$n,Pn,$e,Nn,Ue))return!0}else Dt+=windingArc(Sn,xn,Tn,An,An+$n,Pn,Nn,Ue);Lt=Math.cos(An+$n)*En+Sn,jt=Math.sin(An+$n)*Tn+xn;break;case CMD$3.R:hn=Lt=qe[wn++],vn=jt=qe[wn++];var Mn=qe[wn++],In=qe[wn++];if(bn=hn+Mn,_n=vn+In,Ie){if(containStroke$4(hn,vn,bn,vn,$e,Fe,Ue)||containStroke$4(bn,vn,bn,_n,$e,Fe,Ue)||containStroke$4(bn,_n,hn,_n,$e,Fe,Ue)||containStroke$4(hn,_n,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(bn,vn,bn,_n,Fe,Ue),Dt+=windingLine(hn,_n,hn,vn,Fe,Ue);break;case CMD$3.Z:if(Ie){if(containStroke$4(Lt,jt,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue);Lt=hn,jt=vn;break}}return!Ie&&!isAroundEqual$1(jt,vn)&&(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue)||0),Dt!==0}function contain$2(xe,$e,Ie){return containPath(xe,0,!1,$e,Ie)}function containStroke(xe,$e,Ie,Fe){return containPath(xe,$e,!0,Ie,Fe)}var DEFAULT_PATH_STYLE=defaults$1({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$1({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(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.update=function(){var Ie=this;xe.prototype.update.call(this);var Fe=this.style;if(Fe.decal){var Ue=this._decalEl=this._decalEl||new $e;Ue.buildPath===$e.prototype.buildPath&&(Ue.buildPath=function(Lt){Ie.buildPath(Lt,Ie.shape)}),Ue.silent=!0;var qe=Ue.style;for(var At in Fe)qe[At]!==Fe[At]&&(qe[At]=Fe[At]);qe.fill=Fe.fill?Fe.decal:null,qe.decal=null,qe.shadowColor=null,Fe.strokeFirst&&(qe.stroke=null);for(var Dt=0;Dt<pathCopyParams.length;++Dt)Ue[pathCopyParams[Dt]]=this[pathCopyParams[Dt]];Ue.__dirty|=REDRAW_BIT}else this._decalEl&&(this._decalEl=null)},$e.prototype.getDecalElement=function(){return this._decalEl},$e.prototype._init=function(Ie){var Fe=keys(Ie);this.shape=this.getDefaultShape();var Ue=this.getDefaultStyle();Ue&&this.useStyle(Ue);for(var qe=0;qe<Fe.length;qe++){var At=Fe[qe],Dt=Ie[At];At==="style"?this.style?extend$1(this.style,Dt):this.useStyle(Dt):At==="shape"?extend$1(this.shape,Dt):xe.prototype.attrKV.call(this,At,Dt)}this.style||this.useStyle({})},$e.prototype.getDefaultStyle=function(){return null},$e.prototype.getDefaultShape=function(){return{}},$e.prototype.canBeInsideText=function(){return this.hasFill()},$e.prototype.getInsideTextFill=function(){var Ie=this.style.fill;if(Ie!=="none"){if(isString$2(Ie)){var Fe=lum(Ie,0);return Fe>.5?DARK_LABEL_COLOR:Fe>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(Ie)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},$e.prototype.getInsideTextStroke=function(Ie){var Fe=this.style.fill;if(isString$2(Fe)){var Ue=this.__zr,qe=!!(Ue&&Ue.isDarkMode()),At=lum(Ie,0)<DARK_MODE_THRESHOLD;if(qe===At)return Fe}},$e.prototype.buildPath=function(Ie,Fe,Ue){},$e.prototype.pathUpdated=function(){this.__dirty&=~SHAPE_CHANGED_BIT},$e.prototype.getUpdatedPathProxy=function(Ie){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,Ie),this.path},$e.prototype.createPathProxy=function(){this.path=new PathProxy(!1)},$e.prototype.hasStroke=function(){var Ie=this.style,Fe=Ie.stroke;return!(Fe==null||Fe==="none"||!(Ie.lineWidth>0))},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.getBoundingRect=function(){var Ie=this._rect,Fe=this.style,Ue=!Ie;if(Ue){var qe=!1;this.path||(qe=!0,this.createPathProxy());var At=this.path;(qe||this.__dirty&SHAPE_CHANGED_BIT)&&(At.beginPath(),this.buildPath(At,this.shape,!1),this.pathUpdated()),Ie=At.getBoundingRect()}if(this._rect=Ie,this.hasStroke()&&this.path&&this.path.len()>0){var Dt=this._rectStroke||(this._rectStroke=Ie.clone());if(this.__dirty||Ue){Dt.copy(Ie);var Lt=Fe.strokeNoScale?this.getLineScale():1,jt=Fe.lineWidth;if(!this.hasFill()){var hn=this.strokeContainThreshold;jt=Math.max(jt,hn??4)}Lt>1e-10&&(Dt.width+=jt/Lt,Dt.height+=jt/Lt,Dt.x-=jt/Lt/2,Dt.y-=jt/Lt/2)}return Dt}return Ie},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect(),At=this.style;if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var Dt=this.path;if(this.hasStroke()){var Lt=At.lineWidth,jt=At.strokeNoScale?this.getLineScale():1;if(jt>1e-10&&(this.hasFill()||(Lt=Math.max(Lt,this.strokeContainThreshold)),containStroke(Dt,Lt/jt,Ie,Fe)))return!0}if(this.hasFill())return contain$2(Dt,Ie,Fe)}return!1},$e.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},$e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},$e.prototype.animateShape=function(Ie){return this.animate("shape",Ie)},$e.prototype.updateDuringAnimation=function(Ie){Ie==="style"?this.dirtyStyle():Ie==="shape"?this.dirtyShape():this.markRedraw()},$e.prototype.attrKV=function(Ie,Fe){Ie==="shape"?this.setShape(Fe):xe.prototype.attrKV.call(this,Ie,Fe)},$e.prototype.setShape=function(Ie,Fe){var Ue=this.shape;return Ue||(Ue=this.shape={}),typeof Ie=="string"?Ue[Ie]=Fe:extend$1(Ue,Ie),this.dirtyShape(),this},$e.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_PATH_STYLE,Ie)},$e.prototype._innerSaveToNormal=function(Ie){xe.prototype._innerSaveToNormal.call(this,Ie);var Fe=this._normalState;Ie.shape&&!Fe.shape&&(Fe.shape=extend$1({},this.shape))},$e.prototype._applyStateObj=function(Ie,Fe,Ue,qe,At,Dt){xe.prototype._applyStateObj.call(this,Ie,Fe,Ue,qe,At,Dt);var Lt=!(Fe&&qe),jt;if(Fe&&Fe.shape?At?qe?jt=Fe.shape:(jt=extend$1({},Ue.shape),extend$1(jt,Fe.shape)):(jt=extend$1({},qe?this.shape:Ue.shape),extend$1(jt,Fe.shape)):Lt&&(jt=Ue.shape),jt)if(At){this.shape=extend$1({},this.shape);for(var hn={},vn=keys(jt),bn=0;bn<vn.length;bn++){var _n=vn[bn];typeof jt[_n]=="object"?this.shape[_n]=jt[_n]:hn[_n]=jt[_n]}this._transitionState(Ie,{shape:hn},Dt)}else this.shape=jt,this.dirtyShape()},$e.prototype._mergeStates=function(Ie){for(var Fe=xe.prototype._mergeStates.call(this,Ie),Ue,qe=0;qe<Ie.length;qe++){var At=Ie[qe];At.shape&&(Ue=Ue||{},this._mergeStyle(Ue,At.shape))}return Ue&&(Fe.shape=Ue),Fe},$e.prototype.getAnimationStyleProps=function(){return DEFAULT_PATH_ANIMATION_PROPS},$e.prototype.isZeroArea=function(){return!1},$e.extend=function(Ie){var Fe=function(qe){__extends(At,qe);function At(Dt){var Lt=qe.call(this,Dt)||this;return Ie.init&&Ie.init.call(Lt,Dt),Lt}return At.prototype.getDefaultStyle=function(){return clone$4(Ie.style)},At.prototype.getDefaultShape=function(){return clone$4(Ie.shape)},At}($e);for(var Ue in Ie)typeof Ie[Ue]=="function"&&(Fe.prototype[Ue]=Ie[Ue]);return Fe},$e.initDefaultProps=function(){var Ie=$e.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}(),$e}(Displayable),DEFAULT_TSPAN_STYLE=defaults$1({strokeFirst:!0,font:DEFAULT_FONT,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},DEFAULT_PATH_STYLE),TSpan=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.hasStroke=function(){var Ie=this.style,Fe=Ie.stroke;return Fe!=null&&Fe!=="none"&&Ie.lineWidth>0},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_TSPAN_STYLE,Ie)},$e.prototype.setBoundingRect=function(Ie){this._rect=Ie},$e.prototype.getBoundingRect=function(){var Ie=this.style;if(!this._rect){var Fe=Ie.text;Fe!=null?Fe+="":Fe="";var Ue=getBoundingRect(Fe,Ie.font,Ie.textAlign,Ie.textBaseline);if(Ue.x+=Ie.x||0,Ue.y+=Ie.y||0,this.hasStroke()){var qe=Ie.lineWidth;Ue.x-=qe/2,Ue.y-=qe/2,Ue.width+=qe,Ue.height+=qe}this._rect=Ue}return this._rect},$e.initDefaultProps=function(){var Ie=$e.prototype;Ie.dirtyRectTolerance=10}(),$e}(Displayable);TSpan.prototype.type="tspan";var DEFAULT_IMAGE_STYLE=defaults$1({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults$1({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(xe){return!!(xe&&typeof xe!="string"&&xe.width&&xe.height)}var ZRImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.createStyle=function(Ie){return createObject(DEFAULT_IMAGE_STYLE,Ie)},$e.prototype._getSize=function(Ie){var Fe=this.style,Ue=Fe[Ie];if(Ue!=null)return Ue;var qe=isImageLike$1(Fe.image)?Fe.image:this.__image;if(!qe)return 0;var At=Ie==="width"?"height":"width",Dt=Fe[At];return Dt==null?qe[Ie]:qe[Ie]/qe[At]*Dt},$e.prototype.getWidth=function(){return this._getSize("width")},$e.prototype.getHeight=function(){return this._getSize("height")},$e.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},$e.prototype.getBoundingRect=function(){var Ie=this.style;return this._rect||(this._rect=new BoundingRect(Ie.x||0,Ie.y||0,this.getWidth(),this.getHeight())),this._rect},$e}(Displayable);ZRImage.prototype.type="image";function buildPath$2(xe,$e){var Ie=$e.x,Fe=$e.y,Ue=$e.width,qe=$e.height,At=$e.r,Dt,Lt,jt,hn;Ue<0&&(Ie=Ie+Ue,Ue=-Ue),qe<0&&(Fe=Fe+qe,qe=-qe),typeof At=="number"?Dt=Lt=jt=hn=At:At instanceof Array?At.length===1?Dt=Lt=jt=hn=At[0]:At.length===2?(Dt=jt=At[0],Lt=hn=At[1]):At.length===3?(Dt=At[0],Lt=hn=At[1],jt=At[2]):(Dt=At[0],Lt=At[1],jt=At[2],hn=At[3]):Dt=Lt=jt=hn=0;var vn;Dt+Lt>Ue&&(vn=Dt+Lt,Dt*=Ue/vn,Lt*=Ue/vn),jt+hn>Ue&&(vn=jt+hn,jt*=Ue/vn,hn*=Ue/vn),Lt+jt>qe&&(vn=Lt+jt,Lt*=qe/vn,jt*=qe/vn),Dt+hn>qe&&(vn=Dt+hn,Dt*=qe/vn,hn*=qe/vn),xe.moveTo(Ie+Dt,Fe),xe.lineTo(Ie+Ue-Lt,Fe),Lt!==0&&xe.arc(Ie+Ue-Lt,Fe+Lt,Lt,-Math.PI/2,0),xe.lineTo(Ie+Ue,Fe+qe-jt),jt!==0&&xe.arc(Ie+Ue-jt,Fe+qe-jt,jt,0,Math.PI/2),xe.lineTo(Ie+hn,Fe+qe),hn!==0&&xe.arc(Ie+hn,Fe+qe-hn,hn,Math.PI/2,Math.PI),xe.lineTo(Ie,Fe+Dt),Dt!==0&&xe.arc(Ie+Dt,Fe+Dt,Dt,Math.PI,Math.PI*1.5)}var round$2=Math.round;function subPixelOptimizeLine$1(xe,$e,Ie){if($e){var Fe=$e.x1,Ue=$e.x2,qe=$e.y1,At=$e.y2;xe.x1=Fe,xe.x2=Ue,xe.y1=qe,xe.y2=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(round$2(Fe*2)===round$2(Ue*2)&&(xe.x1=xe.x2=subPixelOptimize$1(Fe,Dt,!0)),round$2(qe*2)===round$2(At*2)&&(xe.y1=xe.y2=subPixelOptimize$1(qe,Dt,!0))),xe}}function subPixelOptimizeRect$1(xe,$e,Ie){if($e){var Fe=$e.x,Ue=$e.y,qe=$e.width,At=$e.height;xe.x=Fe,xe.y=Ue,xe.width=qe,xe.height=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(xe.x=subPixelOptimize$1(Fe,Dt,!0),xe.y=subPixelOptimize$1(Ue,Dt,!0),xe.width=Math.max(subPixelOptimize$1(Fe+qe,Dt,!1)-xe.x,qe===0?0:1),xe.height=Math.max(subPixelOptimize$1(Ue+At,Dt,!1)-xe.y,At===0?0:1)),xe}}function subPixelOptimize$1(xe,$e,Ie){if(!$e)return xe;var Fe=round$2(xe*2);return(Fe+round$2($e))%2===0?Fe/2:(Fe+(Ie?1:-1))/2}var RectShape=function(){function xe(){this.x=0,this.y=0,this.width=0,this.height=0}return xe}(),subPixelOptimizeOutputShape$1={},Rect$2=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RectShape},$e.prototype.buildPath=function(Ie,Fe){var Ue,qe,At,Dt;if(this.subPixelOptimize){var Lt=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,Fe,this.style);Ue=Lt.x,qe=Lt.y,At=Lt.width,Dt=Lt.height,Lt.r=Fe.r,Fe=Lt}else Ue=Fe.x,qe=Fe.y,At=Fe.width,Dt=Fe.height;Fe.r?buildPath$2(Ie,Fe):Ie.rect(Ue,qe,At,Dt)},$e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},$e}(Path);Rect$2.prototype.type="rect";var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults$1({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(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe.type="text",Fe._children=[],Fe._defaultStyle=DEFAULT_RICH_TEXT_COLOR,Fe.attr(Ie),Fe}return $e.prototype.childrenRef=function(){return this._children},$e.prototype.update=function(){xe.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var Ie=0;Ie<this._children.length;Ie++){var Fe=this._children[Ie];Fe.zlevel=this.zlevel,Fe.z=this.z,Fe.z2=this.z2,Fe.culling=this.culling,Fe.cursor=this.cursor,Fe.invisible=this.invisible}},$e.prototype.updateTransform=function(){var Ie=this.innerTransformable;Ie?(Ie.updateTransform(),Ie.transform&&(this.transform=Ie.transform)):xe.prototype.updateTransform.call(this)},$e.prototype.getLocalTransform=function(Ie){var Fe=this.innerTransformable;return Fe?Fe.getLocalTransform(Ie):xe.prototype.getLocalTransform.call(this,Ie)},$e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),xe.prototype.getComputedTransform.call(this)},$e.prototype._updateSubTexts=function(){this._childCursor=0,normalizeTextStyle(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},$e.prototype.addSelfToZr=function(Ie){xe.prototype.addSelfToZr.call(this,Ie);for(var Fe=0;Fe<this._children.length;Fe++)this._children[Fe].__zr=Ie},$e.prototype.removeSelfFromZr=function(Ie){xe.prototype.removeSelfFromZr.call(this,Ie);for(var Fe=0;Fe<this._children.length;Fe++)this._children[Fe].__zr=null},$e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var Ie=new BoundingRect(0,0,0,0),Fe=this._children,Ue=[],qe=null,At=0;At<Fe.length;At++){var Dt=Fe[At],Lt=Dt.getBoundingRect(),jt=Dt.getLocalTransform(Ue);jt?(Ie.copy(Lt),Ie.applyTransform(jt),qe=qe||Ie.clone(),qe.union(Ie)):(qe=qe||Lt.clone(),qe.union(Lt))}this._rect=qe||Ie}return this._rect},$e.prototype.setDefaultTextStyle=function(Ie){this._defaultStyle=Ie||DEFAULT_RICH_TEXT_COLOR},$e.prototype.setTextContent=function(Ie){},$e.prototype._mergeStyle=function(Ie,Fe){if(!Fe)return Ie;var Ue=Fe.rich,qe=Ie.rich||Ue&&{};return extend$1(Ie,Fe),Ue&&qe?(this._mergeRich(qe,Ue),Ie.rich=qe):qe&&(Ie.rich=qe),Ie},$e.prototype._mergeRich=function(Ie,Fe){for(var Ue=keys(Fe),qe=0;qe<Ue.length;qe++){var At=Ue[qe];Ie[At]=Ie[At]||{},extend$1(Ie[At],Fe[At])}},$e.prototype.getAnimationStyleProps=function(){return DEFAULT_TEXT_ANIMATION_PROPS},$e.prototype._getOrCreateChild=function(Ie){var Fe=this._children[this._childCursor];return(!Fe||!(Fe instanceof Ie))&&(Fe=new Ie),this._children[this._childCursor++]=Fe,Fe.__zr=this.__zr,Fe.parent=this,Fe},$e.prototype._updatePlainTexts=function(){var Ie=this.style,Fe=Ie.font||DEFAULT_FONT,Ue=Ie.padding,qe=getStyleText(Ie),At=parsePlainText(qe,Ie),Dt=needDrawBackground(Ie),Lt=!!Ie.backgroundColor,jt=At.outerHeight,hn=At.outerWidth,vn=At.contentWidth,bn=At.lines,_n=At.lineHeight,wn=this._defaultStyle,kn=Ie.x||0,Cn=Ie.y||0,Sn=Ie.align||wn.align||"left",xn=Ie.verticalAlign||wn.verticalAlign||"top",En=kn,Tn=adjustTextY(Cn,At.contentHeight,xn);if(Dt||Ue){var An=adjustTextX(kn,hn,Sn),$n=adjustTextY(Cn,jt,xn);Dt&&this._renderBackground(Ie,Ie,An,$n,hn,jt)}Tn+=_n/2,Ue&&(En=getTextXForPadding(kn,Sn,Ue),xn==="top"?Tn+=Ue[0]:xn==="bottom"&&(Tn-=Ue[2]));for(var Pn=0,Nn=!1,Mn=getFill("fill"in Ie?Ie.fill:(Nn=!0,wn.fill)),In=getStroke("stroke"in Ie?Ie.stroke:!Lt&&(!wn.autoStroke||Nn)?(Pn=DEFAULT_STROKE_LINE_WIDTH,wn.stroke):null),On=Ie.textShadowBlur>0,Rn=Ie.width!=null&&(Ie.overflow==="truncate"||Ie.overflow==="break"||Ie.overflow==="breakAll"),Bn=At.calculatedLineHeight,Vn=0;Vn<bn.length;Vn++){var Ln=this._getOrCreateChild(TSpan),Dn=Ln.createStyle();Ln.useStyle(Dn),Dn.text=bn[Vn],Dn.x=En,Dn.y=Tn,Sn&&(Dn.textAlign=Sn),Dn.textBaseline="middle",Dn.opacity=Ie.opacity,Dn.strokeFirst=!0,On&&(Dn.shadowBlur=Ie.textShadowBlur||0,Dn.shadowColor=Ie.textShadowColor||"transparent",Dn.shadowOffsetX=Ie.textShadowOffsetX||0,Dn.shadowOffsetY=Ie.textShadowOffsetY||0),Dn.stroke=In,Dn.fill=Mn,In&&(Dn.lineWidth=Ie.lineWidth||Pn,Dn.lineDash=Ie.lineDash,Dn.lineDashOffset=Ie.lineDashOffset||0),Dn.font=Fe,setSeparateFont(Dn,Ie),Tn+=_n,Rn&&Ln.setBoundingRect(new BoundingRect(adjustTextX(Dn.x,Ie.width,Dn.textAlign),adjustTextY(Dn.y,Bn,Dn.textBaseline),vn,Bn))}},$e.prototype._updateRichTexts=function(){var Ie=this.style,Fe=getStyleText(Ie),Ue=parseRichText(Fe,Ie),qe=Ue.width,At=Ue.outerWidth,Dt=Ue.outerHeight,Lt=Ie.padding,jt=Ie.x||0,hn=Ie.y||0,vn=this._defaultStyle,bn=Ie.align||vn.align,_n=Ie.verticalAlign||vn.verticalAlign,wn=adjustTextX(jt,At,bn),kn=adjustTextY(hn,Dt,_n),Cn=wn,Sn=kn;Lt&&(Cn+=Lt[3],Sn+=Lt[0]);var xn=Cn+qe;needDrawBackground(Ie)&&this._renderBackground(Ie,Ie,wn,kn,At,Dt);for(var En=!!Ie.backgroundColor,Tn=0;Tn<Ue.lines.length;Tn++){for(var An=Ue.lines[Tn],$n=An.tokens,Pn=$n.length,Nn=An.lineHeight,Mn=An.width,In=0,On=Cn,Rn=xn,Bn=Pn-1,Vn=void 0;In<Pn&&(Vn=$n[In],!Vn.align||Vn.align==="left");)this._placeToken(Vn,Ie,Nn,Sn,On,"left",En),Mn-=Vn.width,On+=Vn.width,In++;for(;Bn>=0&&(Vn=$n[Bn],Vn.align==="right");)this._placeToken(Vn,Ie,Nn,Sn,Rn,"right",En),Mn-=Vn.width,Rn-=Vn.width,Bn--;for(On+=(qe-(On-Cn)-(xn-Rn)-Mn)/2;In<=Bn;)Vn=$n[In],this._placeToken(Vn,Ie,Nn,Sn,On+Vn.width/2,"center",En),On+=Vn.width,In++;Sn+=Nn}},$e.prototype._placeToken=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Fe.rich[Ie.styleName]||{};jt.text=Ie.text;var hn=Ie.verticalAlign,vn=qe+Ue/2;hn==="top"?vn=qe+Ie.height/2:hn==="bottom"&&(vn=qe+Ue-Ie.height/2);var bn=!Ie.isLineHolder&&needDrawBackground(jt);bn&&this._renderBackground(jt,Fe,Dt==="right"?At-Ie.width:Dt==="center"?At-Ie.width/2:At,vn-Ie.height/2,Ie.width,Ie.height);var _n=!!jt.backgroundColor,wn=Ie.textPadding;wn&&(At=getTextXForPadding(At,Dt,wn),vn-=Ie.height/2-wn[0]-Ie.innerHeight/2);var kn=this._getOrCreateChild(TSpan),Cn=kn.createStyle();kn.useStyle(Cn);var Sn=this._defaultStyle,xn=!1,En=0,Tn=getFill("fill"in jt?jt.fill:"fill"in Fe?Fe.fill:(xn=!0,Sn.fill)),An=getStroke("stroke"in jt?jt.stroke:"stroke"in Fe?Fe.stroke:!_n&&!Lt&&(!Sn.autoStroke||xn)?(En=DEFAULT_STROKE_LINE_WIDTH,Sn.stroke):null),$n=jt.textShadowBlur>0||Fe.textShadowBlur>0;Cn.text=Ie.text,Cn.x=At,Cn.y=vn,$n&&(Cn.shadowBlur=jt.textShadowBlur||Fe.textShadowBlur||0,Cn.shadowColor=jt.textShadowColor||Fe.textShadowColor||"transparent",Cn.shadowOffsetX=jt.textShadowOffsetX||Fe.textShadowOffsetX||0,Cn.shadowOffsetY=jt.textShadowOffsetY||Fe.textShadowOffsetY||0),Cn.textAlign=Dt,Cn.textBaseline="middle",Cn.font=Ie.font||DEFAULT_FONT,Cn.opacity=retrieve3(jt.opacity,Fe.opacity,1),setSeparateFont(Cn,jt),An&&(Cn.lineWidth=retrieve3(jt.lineWidth,Fe.lineWidth,En),Cn.lineDash=retrieve2(jt.lineDash,Fe.lineDash),Cn.lineDashOffset=Fe.lineDashOffset||0,Cn.stroke=An),Tn&&(Cn.fill=Tn);var Pn=Ie.contentWidth,Nn=Ie.contentHeight;kn.setBoundingRect(new BoundingRect(adjustTextX(Cn.x,Pn,Cn.textAlign),adjustTextY(Cn.y,Nn,Cn.textBaseline),Pn,Nn))},$e.prototype._renderBackground=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ie.backgroundColor,jt=Ie.borderWidth,hn=Ie.borderColor,vn=Lt&&Lt.image,bn=Lt&&!vn,_n=Ie.borderRadius,wn=this,kn,Cn;if(bn||Ie.lineHeight||jt&&hn){kn=this._getOrCreateChild(Rect$2),kn.useStyle(kn.createStyle()),kn.style.fill=null;var Sn=kn.shape;Sn.x=Ue,Sn.y=qe,Sn.width=At,Sn.height=Dt,Sn.r=_n,kn.dirtyShape()}if(bn){var xn=kn.style;xn.fill=Lt||null,xn.fillOpacity=retrieve2(Ie.fillOpacity,1)}else if(vn){Cn=this._getOrCreateChild(ZRImage),Cn.onload=function(){wn.dirtyStyle()};var En=Cn.style;En.image=Lt.image,En.x=Ue,En.y=qe,En.width=At,En.height=Dt}if(jt&&hn){var xn=kn.style;xn.lineWidth=jt,xn.stroke=hn,xn.strokeOpacity=retrieve2(Ie.strokeOpacity,1),xn.lineDash=Ie.borderDash,xn.lineDashOffset=Ie.borderDashOffset||0,kn.strokeContainThreshold=0,kn.hasFill()&&kn.hasStroke()&&(xn.strokeFirst=!0,xn.lineWidth*=2)}var Tn=(kn||Cn).style;Tn.shadowBlur=Ie.shadowBlur||0,Tn.shadowColor=Ie.shadowColor||"transparent",Tn.shadowOffsetX=Ie.shadowOffsetX||0,Tn.shadowOffsetY=Ie.shadowOffsetY||0,Tn.opacity=retrieve3(Ie.opacity,Fe.opacity,1)},$e.makeFont=function(Ie){var Fe="";return hasSeparateFont(Ie)&&(Fe=[Ie.fontStyle,Ie.fontWeight,parseFontSize(Ie.fontSize),Ie.fontFamily||"sans-serif"].join(" ")),Fe&&trim$2(Fe)||Ie.textFont||Ie.font},$e}(Displayable),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(xe){return typeof xe=="string"&&(xe.indexOf("px")!==-1||xe.indexOf("rem")!==-1||xe.indexOf("em")!==-1)?xe:isNaN(+xe)?DEFAULT_FONT_SIZE+"px":xe+"px"}function setSeparateFont(xe,$e){for(var Ie=0;Ie<FONT_PARTS.length;Ie++){var Fe=FONT_PARTS[Ie],Ue=$e[Fe];Ue!=null&&(xe[Fe]=Ue)}}function hasSeparateFont(xe){return xe.fontSize!=null||xe.fontFamily||xe.fontWeight}function normalizeTextStyle(xe){return normalizeStyle(xe),each$f(xe.rich,normalizeStyle),xe}function normalizeStyle(xe){if(xe){xe.font=ZRText.makeFont(xe);var $e=xe.align;$e==="middle"&&($e="center"),xe.align=$e==null||VALID_TEXT_ALIGN[$e]?$e:"left";var Ie=xe.verticalAlign;Ie==="center"&&(Ie="middle"),xe.verticalAlign=Ie==null||VALID_TEXT_VERTICAL_ALIGN[Ie]?Ie:"top";var Fe=xe.padding;Fe&&(xe.padding=normalizeCssArray$1(xe.padding))}}function getStroke(xe,$e){return xe==null||$e<=0||xe==="transparent"||xe==="none"?null:xe.image||xe.colorStops?"#000":xe}function getFill(xe){return xe==null||xe==="none"?null:xe.image||xe.colorStops?"#000":xe}function getTextXForPadding(xe,$e,Ie){return $e==="right"?xe-Ie[1]:$e==="center"?xe+Ie[3]/2-Ie[1]/2:xe+Ie[3]}function getStyleText(xe){var $e=xe.text;return $e!=null&&($e+=""),$e}function needDrawBackground(xe){return!!(xe.backgroundColor||xe.lineHeight||xe.borderWidth&&xe.borderColor)}var getECData=makeInner(),setCommonECData=function(xe,$e,Ie,Fe){if(Fe){var Ue=getECData(Fe);Ue.dataIndex=Ie,Ue.dataType=$e,Ue.seriesIndex=xe,Ue.ssrType="chart",Fe.type==="group"&&Fe.traverse(function(qe){var At=getECData(qe);At.seriesIndex=xe,At.dataIndex=Ie,At.dataType=$e,At.ssrType="chart"})}},_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(xe){return xe!=null&&xe!=="none"}function doChangeHoverState(xe,$e,Ie){xe.onHoverStateChange&&(xe.hoverState||0)!==Ie&&xe.onHoverStateChange($e),xe.hoverState=Ie}function singleEnterEmphasis(xe){doChangeHoverState(xe,"emphasis",HOVER_STATE_EMPHASIS)}function singleLeaveEmphasis(xe){xe.hoverState===HOVER_STATE_EMPHASIS&&doChangeHoverState(xe,"normal",HOVER_STATE_NORMAL)}function singleEnterBlur(xe){doChangeHoverState(xe,"blur",HOVER_STATE_BLUR)}function singleLeaveBlur(xe){xe.hoverState===HOVER_STATE_BLUR&&doChangeHoverState(xe,"normal",HOVER_STATE_NORMAL)}function singleEnterSelect(xe){xe.selected=!0}function singleLeaveSelect(xe){xe.selected=!1}function updateElementState(xe,$e,Ie){$e(xe,Ie)}function traverseUpdateState(xe,$e,Ie){updateElementState(xe,$e,Ie),xe.isGroup&&xe.traverse(function(Fe){updateElementState(Fe,$e,Ie)})}function setStatesFlag(xe,$e){switch($e){case"emphasis":xe.hoverState=HOVER_STATE_EMPHASIS;break;case"normal":xe.hoverState=HOVER_STATE_NORMAL;break;case"blur":xe.hoverState=HOVER_STATE_BLUR;break;case"select":xe.selected=!0}}function getFromStateStyle(xe,$e,Ie,Fe){for(var Ue=xe.style,qe={},At=0;At<$e.length;At++){var Dt=$e[At],Lt=Ue[Dt];qe[Dt]=Lt??(Fe&&Fe[Dt])}for(var At=0;At<xe.animators.length;At++){var jt=xe.animators[At];jt.__fromStateTransition&&jt.__fromStateTransition.indexOf(Ie)<0&&jt.targetName==="style"&&jt.saveTo(qe,$e)}return qe}function createEmphasisDefaultState(xe,$e,Ie,Fe){var Ue=Ie&&indexOf(Ie,"select")>=0,qe=!1;if(xe instanceof Path){var At=getSavedStates(xe),Dt=Ue&&At.selectFill||At.normalFill,Lt=Ue&&At.selectStroke||At.normalStroke;if(hasFillOrStroke(Dt)||hasFillOrStroke(Lt)){Fe=Fe||{};var jt=Fe.style||{};jt.fill==="inherit"?(qe=!0,Fe=extend$1({},Fe),jt=extend$1({},jt),jt.fill=Dt):!hasFillOrStroke(jt.fill)&&hasFillOrStroke(Dt)?(qe=!0,Fe=extend$1({},Fe),jt=extend$1({},jt),jt.fill=liftColor(Dt)):!hasFillOrStroke(jt.stroke)&&hasFillOrStroke(Lt)&&(qe||(Fe=extend$1({},Fe),jt=extend$1({},jt)),jt.stroke=liftColor(Lt)),Fe.style=jt}}if(Fe&&Fe.z2==null){qe||(Fe=extend$1({},Fe));var hn=xe.z2EmphasisLift;Fe.z2=xe.z2+(hn??Z2_EMPHASIS_LIFT)}return Fe}function createSelectDefaultState(xe,$e,Ie){if(Ie&&Ie.z2==null){Ie=extend$1({},Ie);var Fe=xe.z2SelectLift;Ie.z2=xe.z2+(Fe??Z2_SELECT_LIFT)}return Ie}function createBlurDefaultState(xe,$e,Ie){var Fe=indexOf(xe.currentStates,$e)>=0,Ue=xe.style.opacity,qe=Fe?null:getFromStateStyle(xe,["opacity"],$e,{opacity:1});Ie=Ie||{};var At=Ie.style||{};return At.opacity==null&&(Ie=extend$1({},Ie),At=extend$1({opacity:Fe?Ue:qe.opacity*.1},At),Ie.style=At),Ie}function elementStateProxy(xe,$e){var Ie=this.states[xe];if(this.style){if(xe==="emphasis")return createEmphasisDefaultState(this,xe,$e,Ie);if(xe==="blur")return createBlurDefaultState(this,xe,Ie);if(xe==="select")return createSelectDefaultState(this,xe,Ie)}return Ie}function setDefaultStateProxy(xe){xe.stateProxy=elementStateProxy;var $e=xe.getTextContent(),Ie=xe.getTextGuideLine();$e&&($e.stateProxy=elementStateProxy),Ie&&(Ie.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterEmphasis(xe,$e){xe.__highByOuter|=1<<($e||0),traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasis(xe,$e){!(xe.__highByOuter&=~(1<<($e||0)))&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterBlur(xe){traverseUpdateState(xe,singleEnterBlur)}function leaveBlur(xe){traverseUpdateState(xe,singleLeaveBlur)}function enterSelect(xe){traverseUpdateState(xe,singleEnterSelect)}function leaveSelect(xe){traverseUpdateState(xe,singleLeaveSelect)}function shouldSilent(xe,$e){return xe.__highDownSilentOnTouch&&$e.zrByTouch}function allLeaveBlur(xe){var $e=xe.getModel(),Ie=[],Fe=[];$e.eachComponent(function(Ue,qe){var At=getComponentStates(qe),Dt=Ue==="series",Lt=Dt?xe.getViewOfSeriesModel(qe):xe.getViewOfComponentModel(qe);!Dt&&Fe.push(Lt),At.isBlured&&(Lt.group.traverse(function(jt){singleLeaveBlur(jt)}),Dt&&Ie.push(qe)),At.isBlured=!1}),each$f(Fe,function(Ue){Ue&&Ue.toggleBlurSeries&&Ue.toggleBlurSeries(Ie,!1,$e)})}function blurSeries(xe,$e,Ie,Fe){var Ue=Fe.getModel();Ie=Ie||"coordinateSystem";function qe(jt,hn){for(var vn=0;vn<hn.length;vn++){var bn=jt.getItemGraphicEl(hn[vn]);bn&&leaveBlur(bn)}}if(xe!=null&&!(!$e||$e==="none")){var At=Ue.getSeriesByIndex(xe),Dt=At.coordinateSystem;Dt&&Dt.master&&(Dt=Dt.master);var Lt=[];Ue.eachSeries(function(jt){var hn=At===jt,vn=jt.coordinateSystem;vn&&vn.master&&(vn=vn.master);var bn=vn&&Dt?vn===Dt:hn;if(!(Ie==="series"&&!hn||Ie==="coordinateSystem"&&!bn||$e==="series"&&hn)){var _n=Fe.getViewOfSeriesModel(jt);if(_n.group.traverse(function(Cn){Cn.__highByOuter&&hn&&$e==="self"||singleEnterBlur(Cn)}),isArrayLike($e))qe(jt.getData(),$e);else if(isObject$4($e))for(var wn=keys($e),kn=0;kn<wn.length;kn++)qe(jt.getData(wn[kn]),$e[wn[kn]]);Lt.push(jt),getComponentStates(jt).isBlured=!0}}),Ue.eachComponent(function(jt,hn){if(jt!=="series"){var vn=Fe.getViewOfComponentModel(hn);vn&&vn.toggleBlurSeries&&vn.toggleBlurSeries(Lt,!0,Ue)}})}}function blurComponent(xe,$e,Ie){if(!(xe==null||$e==null)){var Fe=Ie.getModel().getComponent(xe,$e);if(Fe){getComponentStates(Fe).isBlured=!0;var Ue=Ie.getViewOfComponentModel(Fe);!Ue||!Ue.focusBlurEnabled||Ue.group.traverse(function(qe){singleEnterBlur(qe)})}}}function blurSeriesFromHighlightPayload(xe,$e,Ie){var Fe=xe.seriesIndex,Ue=xe.getData($e.dataType);if(Ue){var qe=queryDataIndex(Ue,$e);qe=(isArray$2(qe)?qe[0]:qe)||0;var At=Ue.getItemGraphicEl(qe);if(!At)for(var Dt=Ue.count(),Lt=0;!At&&Lt<Dt;)At=Ue.getItemGraphicEl(Lt++);if(At){var jt=getECData(At);blurSeries(Fe,jt.focus,jt.blurScope,Ie)}else{var hn=xe.get(["emphasis","focus"]),vn=xe.get(["emphasis","blurScope"]);hn!=null&&blurSeries(Fe,hn,vn,Ie)}}}function findComponentHighDownDispatchers(xe,$e,Ie,Fe){var Ue={focusSelf:!1,dispatchers:null};if(xe==null||xe==="series"||$e==null||Ie==null)return Ue;var qe=Fe.getModel().getComponent(xe,$e);if(!qe)return Ue;var At=Fe.getViewOfComponentModel(qe);if(!At||!At.findHighDownDispatchers)return Ue;for(var Dt=At.findHighDownDispatchers(Ie),Lt,jt=0;jt<Dt.length;jt++)if(getECData(Dt[jt]).focus==="self"){Lt=!0;break}return{focusSelf:Lt,dispatchers:Dt}}function handleGlobalMouseOverForHighDown(xe,$e,Ie){var Fe=getECData(xe),Ue=findComponentHighDownDispatchers(Fe.componentMainType,Fe.componentIndex,Fe.componentHighDownName,Ie),qe=Ue.dispatchers,At=Ue.focusSelf;qe?(At&&blurComponent(Fe.componentMainType,Fe.componentIndex,Ie),each$f(qe,function(Dt){return enterEmphasisWhenMouseOver(Dt,$e)})):(blurSeries(Fe.seriesIndex,Fe.focus,Fe.blurScope,Ie),Fe.focus==="self"&&blurComponent(Fe.componentMainType,Fe.componentIndex,Ie),enterEmphasisWhenMouseOver(xe,$e))}function handleGlobalMouseOutForHighDown(xe,$e,Ie){allLeaveBlur(Ie);var Fe=getECData(xe),Ue=findComponentHighDownDispatchers(Fe.componentMainType,Fe.componentIndex,Fe.componentHighDownName,Ie).dispatchers;Ue?each$f(Ue,function(qe){return leaveEmphasisWhenMouseOut(qe,$e)}):leaveEmphasisWhenMouseOut(xe,$e)}function toggleSelectionFromPayload(xe,$e,Ie){if(isSelectChangePayload($e)){var Fe=$e.dataType,Ue=xe.getData(Fe),qe=queryDataIndex(Ue,$e);isArray$2(qe)||(qe=[qe]),xe[$e.type===TOGGLE_SELECT_ACTION_TYPE?"toggleSelect":$e.type===SELECT_ACTION_TYPE?"select":"unselect"](qe,Fe)}}function updateSeriesElementSelection(xe){var $e=xe.getAllData();each$f($e,function(Ie){var Fe=Ie.data,Ue=Ie.type;Fe.eachItemGraphicEl(function(qe,At){xe.isSelected(At,Ue)?enterSelect(qe):leaveSelect(qe)})})}function getAllSelectedIndices(xe){var $e=[];return xe.eachSeries(function(Ie){var Fe=Ie.getAllData();each$f(Fe,function(Ue){Ue.data;var qe=Ue.type,At=Ie.getSelectedDataIndices();if(At.length>0){var Dt={dataIndex:At,seriesIndex:Ie.seriesIndex};qe!=null&&(Dt.dataType=qe),$e.push(Dt)}})}),$e}function enableHoverEmphasis(xe,$e,Ie){setAsHighDownDispatcher(xe,!0),traverseUpdateState(xe,setDefaultStateProxy),enableHoverFocus(xe,$e,Ie)}function disableHoverEmphasis(xe){setAsHighDownDispatcher(xe,!1)}function toggleHoverEmphasis(xe,$e,Ie,Fe){Fe?disableHoverEmphasis(xe):enableHoverEmphasis(xe,$e,Ie)}function enableHoverFocus(xe,$e,Ie){var Fe=getECData(xe);$e!=null?(Fe.focus=$e,Fe.blurScope=Ie):Fe.focus&&(Fe.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(xe,$e,Ie,Fe){Ie=Ie||"itemStyle";for(var Ue=0;Ue<OTHER_STATES.length;Ue++){var qe=OTHER_STATES[Ue],At=$e.getModel([qe,Ie]),Dt=xe.ensureState(qe);Dt.style=Fe?Fe(At):At[defaultStyleGetterMap[Ie]]()}}function setAsHighDownDispatcher(xe,$e){var Ie=$e===!1,Fe=xe;xe.highDownSilentOnTouch&&(Fe.__highDownSilentOnTouch=xe.highDownSilentOnTouch),(!Ie||Fe.__highDownDispatcher)&&(Fe.__highByOuter=Fe.__highByOuter||0,Fe.__highDownDispatcher=!Ie)}function isHighDownDispatcher(xe){return!!(xe&&xe.__highDownDispatcher)}function enableComponentHighDownFeatures(xe,$e,Ie){var Fe=getECData(xe);Fe.componentMainType=$e.mainType,Fe.componentIndex=$e.componentIndex,Fe.componentHighDownName=Ie}function getHighlightDigit(xe){var $e=_highlightKeyMap[xe];return $e==null&&_highlightNextDigit<=32&&($e=_highlightKeyMap[xe]=_highlightNextDigit++),$e}function isSelectChangePayload(xe){var $e=xe.type;return $e===SELECT_ACTION_TYPE||$e===UNSELECT_ACTION_TYPE||$e===TOGGLE_SELECT_ACTION_TYPE}function isHighDownPayload(xe){var $e=xe.type;return $e===HIGHLIGHT_ACTION_TYPE||$e===DOWNPLAY_ACTION_TYPE}function savePathStates(xe){var $e=getSavedStates(xe);$e.normalFill=xe.style.fill,$e.normalStroke=xe.style.stroke;var Ie=xe.states.select||{};$e.selectFill=Ie.style&&Ie.style.fill||null,$e.selectStroke=Ie.style&&Ie.style.stroke||null}var CMD$2=PathProxy.CMD,points$2=[[],[],[]],mathSqrt$2=Math.sqrt,mathAtan2=Math.atan2;function transformPath(xe,$e){if($e){var Ie=xe.data,Fe=xe.len(),Ue,qe,At,Dt,Lt,jt,hn=CMD$2.M,vn=CMD$2.C,bn=CMD$2.L,_n=CMD$2.R,wn=CMD$2.A,kn=CMD$2.Q;for(At=0,Dt=0;At<Fe;){switch(Ue=Ie[At++],Dt=At,qe=0,Ue){case hn:qe=1;break;case bn:qe=1;break;case vn:qe=3;break;case kn:qe=2;break;case wn:var Cn=$e[4],Sn=$e[5],xn=mathSqrt$2($e[0]*$e[0]+$e[1]*$e[1]),En=mathSqrt$2($e[2]*$e[2]+$e[3]*$e[3]),Tn=mathAtan2(-$e[1]/En,$e[0]/xn);Ie[At]*=xn,Ie[At++]+=Cn,Ie[At]*=En,Ie[At++]+=Sn,Ie[At++]*=xn,Ie[At++]*=En,Ie[At++]+=Tn,Ie[At++]+=Tn,At+=2,Dt=At;break;case _n:jt[0]=Ie[At++],jt[1]=Ie[At++],applyTransform$1(jt,jt,$e),Ie[Dt++]=jt[0],Ie[Dt++]=jt[1],jt[0]+=Ie[At++],jt[1]+=Ie[At++],applyTransform$1(jt,jt,$e),Ie[Dt++]=jt[0],Ie[Dt++]=jt[1]}for(Lt=0;Lt<qe;Lt++){var An=points$2[Lt];An[0]=Ie[At++],An[1]=Ie[At++],applyTransform$1(An,An,$e),Ie[Dt++]=An[0],Ie[Dt++]=An[1]}}xe.increaseVersion()}}var mathSqrt$1=Math.sqrt,mathSin$2=Math.sin,mathCos$2=Math.cos,PI$7=Math.PI;function vMag(xe){return Math.sqrt(xe[0]*xe[0]+xe[1]*xe[1])}function vRatio(xe,$e){return(xe[0]*$e[0]+xe[1]*$e[1])/(vMag(xe)*vMag($e))}function vAngle(xe,$e){return(xe[0]*$e[1]<xe[1]*$e[0]?-1:1)*Math.acos(vRatio(xe,$e))}function processArc(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){var vn=Lt*(PI$7/180),bn=mathCos$2(vn)*(xe-Ie)/2+mathSin$2(vn)*($e-Fe)/2,_n=-1*mathSin$2(vn)*(xe-Ie)/2+mathCos$2(vn)*($e-Fe)/2,wn=bn*bn/(At*At)+_n*_n/(Dt*Dt);wn>1&&(At*=mathSqrt$1(wn),Dt*=mathSqrt$1(wn));var kn=(Ue===qe?-1:1)*mathSqrt$1((At*At*(Dt*Dt)-At*At*(_n*_n)-Dt*Dt*(bn*bn))/(At*At*(_n*_n)+Dt*Dt*(bn*bn)))||0,Cn=kn*At*_n/Dt,Sn=kn*-Dt*bn/At,xn=(xe+Ie)/2+mathCos$2(vn)*Cn-mathSin$2(vn)*Sn,En=($e+Fe)/2+mathSin$2(vn)*Cn+mathCos$2(vn)*Sn,Tn=vAngle([1,0],[(bn-Cn)/At,(_n-Sn)/Dt]),An=[(bn-Cn)/At,(_n-Sn)/Dt],$n=[(-1*bn-Cn)/At,(-1*_n-Sn)/Dt],Pn=vAngle(An,$n);if(vRatio(An,$n)<=-1&&(Pn=PI$7),vRatio(An,$n)>=1&&(Pn=0),Pn<0){var Nn=Math.round(Pn/PI$7*1e6)/1e6;Pn=PI$7*2+Nn%2*PI$7}hn.addData(jt,xn,En,At,Dt,Tn,Pn,vn,qe)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(xe){var $e=new PathProxy;if(!xe)return $e;var Ie=0,Fe=0,Ue=Ie,qe=Fe,At,Dt=PathProxy.CMD,Lt=xe.match(commandReg);if(!Lt)return $e;for(var jt=0;jt<Lt.length;jt++){for(var hn=Lt[jt],vn=hn.charAt(0),bn=void 0,_n=hn.match(numberReg$1)||[],wn=_n.length,kn=0;kn<wn;kn++)_n[kn]=parseFloat(_n[kn]);for(var Cn=0;Cn<wn;){var Sn=void 0,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0,Pn=void 0,Nn=Ie,Mn=Fe,In=void 0,On=void 0;switch(vn){case"l":Ie+=_n[Cn++],Fe+=_n[Cn++],bn=Dt.L,$e.addData(bn,Ie,Fe);break;case"L":Ie=_n[Cn++],Fe=_n[Cn++],bn=Dt.L,$e.addData(bn,Ie,Fe);break;case"m":Ie+=_n[Cn++],Fe+=_n[Cn++],bn=Dt.M,$e.addData(bn,Ie,Fe),Ue=Ie,qe=Fe,vn="l";break;case"M":Ie=_n[Cn++],Fe=_n[Cn++],bn=Dt.M,$e.addData(bn,Ie,Fe),Ue=Ie,qe=Fe,vn="L";break;case"h":Ie+=_n[Cn++],bn=Dt.L,$e.addData(bn,Ie,Fe);break;case"H":Ie=_n[Cn++],bn=Dt.L,$e.addData(bn,Ie,Fe);break;case"v":Fe+=_n[Cn++],bn=Dt.L,$e.addData(bn,Ie,Fe);break;case"V":Fe=_n[Cn++],bn=Dt.L,$e.addData(bn,Ie,Fe);break;case"C":bn=Dt.C,$e.addData(bn,_n[Cn++],_n[Cn++],_n[Cn++],_n[Cn++],_n[Cn++],_n[Cn++]),Ie=_n[Cn-2],Fe=_n[Cn-1];break;case"c":bn=Dt.C,$e.addData(bn,_n[Cn++]+Ie,_n[Cn++]+Fe,_n[Cn++]+Ie,_n[Cn++]+Fe,_n[Cn++]+Ie,_n[Cn++]+Fe),Ie+=_n[Cn-2],Fe+=_n[Cn-1];break;case"S":Sn=Ie,xn=Fe,In=$e.len(),On=$e.data,At===Dt.C&&(Sn+=Ie-On[In-4],xn+=Fe-On[In-3]),bn=Dt.C,Nn=_n[Cn++],Mn=_n[Cn++],Ie=_n[Cn++],Fe=_n[Cn++],$e.addData(bn,Sn,xn,Nn,Mn,Ie,Fe);break;case"s":Sn=Ie,xn=Fe,In=$e.len(),On=$e.data,At===Dt.C&&(Sn+=Ie-On[In-4],xn+=Fe-On[In-3]),bn=Dt.C,Nn=Ie+_n[Cn++],Mn=Fe+_n[Cn++],Ie+=_n[Cn++],Fe+=_n[Cn++],$e.addData(bn,Sn,xn,Nn,Mn,Ie,Fe);break;case"Q":Nn=_n[Cn++],Mn=_n[Cn++],Ie=_n[Cn++],Fe=_n[Cn++],bn=Dt.Q,$e.addData(bn,Nn,Mn,Ie,Fe);break;case"q":Nn=_n[Cn++]+Ie,Mn=_n[Cn++]+Fe,Ie+=_n[Cn++],Fe+=_n[Cn++],bn=Dt.Q,$e.addData(bn,Nn,Mn,Ie,Fe);break;case"T":Sn=Ie,xn=Fe,In=$e.len(),On=$e.data,At===Dt.Q&&(Sn+=Ie-On[In-4],xn+=Fe-On[In-3]),Ie=_n[Cn++],Fe=_n[Cn++],bn=Dt.Q,$e.addData(bn,Sn,xn,Ie,Fe);break;case"t":Sn=Ie,xn=Fe,In=$e.len(),On=$e.data,At===Dt.Q&&(Sn+=Ie-On[In-4],xn+=Fe-On[In-3]),Ie+=_n[Cn++],Fe+=_n[Cn++],bn=Dt.Q,$e.addData(bn,Sn,xn,Ie,Fe);break;case"A":En=_n[Cn++],Tn=_n[Cn++],An=_n[Cn++],$n=_n[Cn++],Pn=_n[Cn++],Nn=Ie,Mn=Fe,Ie=_n[Cn++],Fe=_n[Cn++],bn=Dt.A,processArc(Nn,Mn,Ie,Fe,$n,Pn,En,Tn,An,bn,$e);break;case"a":En=_n[Cn++],Tn=_n[Cn++],An=_n[Cn++],$n=_n[Cn++],Pn=_n[Cn++],Nn=Ie,Mn=Fe,Ie+=_n[Cn++],Fe+=_n[Cn++],bn=Dt.A,processArc(Nn,Mn,Ie,Fe,$n,Pn,En,Tn,An,bn,$e);break}}(vn==="z"||vn==="Z")&&(bn=Dt.Z,$e.addData(bn),Ie=Ue,Fe=qe),At=bn}return $e.toStatic(),$e}var SVGPath=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.applyTransform=function(Ie){},$e}(Path);function isPathProxy(xe){return xe.setData!=null}function createPathOptions(xe,$e){var Ie=createPathProxyFromString(xe),Fe=extend$1({},$e);return Fe.buildPath=function(Ue){if(isPathProxy(Ue)){Ue.setData(Ie.data);var qe=Ue.getContext();qe&&Ue.rebuildPath(qe,1)}else{var qe=Ue;Ie.rebuildPath(qe,1)}},Fe.applyTransform=function(Ue){transformPath(Ie,Ue),this.dirtyShape()},Fe}function createFromString(xe,$e){return new SVGPath(createPathOptions(xe,$e))}function extendFromString(xe,$e){var Ie=createPathOptions(xe,$e),Fe=function(Ue){__extends(qe,Ue);function qe(At){var Dt=Ue.call(this,At)||this;return Dt.applyTransform=Ie.applyTransform,Dt.buildPath=Ie.buildPath,Dt}return qe}(SVGPath);return Fe}function mergePath$1(xe,$e){for(var Ie=[],Fe=xe.length,Ue=0;Ue<Fe;Ue++){var qe=xe[Ue];Ie.push(qe.getUpdatedPathProxy(!0))}var At=new Path($e);return At.createPathProxy(),At.buildPath=function(Dt){if(isPathProxy(Dt)){Dt.appendPath(Ie);var Lt=Dt.getContext();Lt&&Dt.rebuildPath(Lt,1)}},At}function clonePath(xe,$e){$e=$e||{};var Ie=new Path;return xe.shape&&Ie.setShape(xe.shape),Ie.setStyle(xe.style),$e.bakeTransform?transformPath(Ie.path,xe.getComputedTransform()):$e.toLocal?Ie.setLocalTransform(xe.getComputedTransform()):Ie.copyTransform(xe),Ie.buildPath=xe.buildPath,Ie.applyTransform=Ie.applyTransform,Ie.z=xe.z,Ie.z2=xe.z2,Ie.zlevel=xe.zlevel,Ie}var CircleShape=function(){function xe(){this.cx=0,this.cy=0,this.r=0}return xe}(),Circle=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new CircleShape},$e.prototype.buildPath=function(Ie,Fe){Ie.moveTo(Fe.cx+Fe.r,Fe.cy),Ie.arc(Fe.cx,Fe.cy,Fe.r,0,Math.PI*2)},$e}(Path);Circle.prototype.type="circle";var EllipseShape=function(){function xe(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return xe}(),Ellipse=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new EllipseShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=.5522848,qe=Fe.cx,At=Fe.cy,Dt=Fe.rx,Lt=Fe.ry,jt=Dt*Ue,hn=Lt*Ue;Ie.moveTo(qe-Dt,At),Ie.bezierCurveTo(qe-Dt,At-hn,qe-jt,At-Lt,qe,At-Lt),Ie.bezierCurveTo(qe+jt,At-Lt,qe+Dt,At-hn,qe+Dt,At),Ie.bezierCurveTo(qe+Dt,At+hn,qe+jt,At+Lt,qe,At+Lt),Ie.bezierCurveTo(qe-jt,At+Lt,qe-Dt,At+hn,qe-Dt,At),Ie.closePath()},$e}(Path);Ellipse.prototype.type="ellipse";const Ellipse$1=Ellipse;var PI$6=Math.PI,PI2$3=PI$6*2,mathSin$1=Math.sin,mathCos$1=Math.cos,mathACos=Math.acos,mathATan2=Math.atan2,mathAbs$1=Math.abs,mathSqrt=Math.sqrt,mathMax$7=Math.max,mathMin$7=Math.min,e=1e-4;function intersect(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=Ie-xe,jt=Fe-$e,hn=At-Ue,vn=Dt-qe,bn=vn*Lt-hn*jt;if(!(bn*bn<e))return bn=(hn*($e-qe)-vn*(xe-Ue))/bn,[xe+bn*Lt,$e+bn*jt]}function computeCornerTangents(xe,$e,Ie,Fe,Ue,qe,At){var Dt=xe-Ie,Lt=$e-Fe,jt=(At?qe:-qe)/mathSqrt(Dt*Dt+Lt*Lt),hn=jt*Lt,vn=-jt*Dt,bn=xe+hn,_n=$e+vn,wn=Ie+hn,kn=Fe+vn,Cn=(bn+wn)/2,Sn=(_n+kn)/2,xn=wn-bn,En=kn-_n,Tn=xn*xn+En*En,An=Ue-qe,$n=bn*kn-wn*_n,Pn=(En<0?-1:1)*mathSqrt(mathMax$7(0,An*An*Tn-$n*$n)),Nn=($n*En-xn*Pn)/Tn,Mn=(-$n*xn-En*Pn)/Tn,In=($n*En+xn*Pn)/Tn,On=(-$n*xn+En*Pn)/Tn,Rn=Nn-Cn,Bn=Mn-Sn,Vn=In-Cn,Ln=On-Sn;return Rn*Rn+Bn*Bn>Vn*Vn+Ln*Ln&&(Nn=In,Mn=On),{cx:Nn,cy:Mn,x0:-hn,y0:-vn,x1:Nn*(Ue/An-1),y1:Mn*(Ue/An-1)}}function normalizeCornerRadius(xe){var $e;if(isArray$2(xe)){var Ie=xe.length;if(!Ie)return xe;Ie===1?$e=[xe[0],xe[0],0,0]:Ie===2?$e=[xe[0],xe[0],xe[1],xe[1]]:Ie===3?$e=xe.concat(xe[2]):$e=xe}else $e=[xe,xe,xe,xe];return $e}function buildPath$1(xe,$e){var Ie,Fe=mathMax$7($e.r,0),Ue=mathMax$7($e.r0||0,0),qe=Fe>0,At=Ue>0;if(!(!qe&&!At)){if(qe||(Fe=Ue,Ue=0),Ue>Fe){var Dt=Fe;Fe=Ue,Ue=Dt}var Lt=$e.startAngle,jt=$e.endAngle;if(!(isNaN(Lt)||isNaN(jt))){var hn=$e.cx,vn=$e.cy,bn=!!$e.clockwise,_n=mathAbs$1(jt-Lt),wn=_n>PI2$3&&_n%PI2$3;if(wn>e&&(_n=wn),!(Fe>e))xe.moveTo(hn,vn);else if(_n>PI2$3-e)xe.moveTo(hn+Fe*mathCos$1(Lt),vn+Fe*mathSin$1(Lt)),xe.arc(hn,vn,Fe,Lt,jt,!bn),Ue>e&&(xe.moveTo(hn+Ue*mathCos$1(jt),vn+Ue*mathSin$1(jt)),xe.arc(hn,vn,Ue,jt,Lt,bn));else{var kn=void 0,Cn=void 0,Sn=void 0,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0,Pn=void 0,Nn=void 0,Mn=void 0,In=void 0,On=void 0,Rn=void 0,Bn=void 0,Vn=void 0,Ln=Fe*mathCos$1(Lt),Dn=Fe*mathSin$1(Lt),Hn=Ue*mathCos$1(jt),Fn=Ue*mathSin$1(jt),zn=_n>e;if(zn){var jn=$e.cornerRadius;jn&&(Ie=normalizeCornerRadius(jn),kn=Ie[0],Cn=Ie[1],Sn=Ie[2],xn=Ie[3]);var Gn=mathAbs$1(Fe-Ue)/2;if(En=mathMin$7(Gn,Sn),Tn=mathMin$7(Gn,xn),An=mathMin$7(Gn,kn),$n=mathMin$7(Gn,Cn),Mn=Pn=mathMax$7(En,Tn),In=Nn=mathMax$7(An,$n),(Pn>e||Nn>e)&&(On=Fe*mathCos$1(jt),Rn=Fe*mathSin$1(jt),Bn=Ue*mathCos$1(Lt),Vn=Ue*mathSin$1(Lt),_n<PI$6)){var Wn=intersect(Ln,Dn,Bn,Vn,On,Rn,Hn,Fn);if(Wn){var Xn=Ln-Wn[0],er=Dn-Wn[1],rr=On-Wn[0],Jn=Rn-Wn[1],qn=1/mathSin$1(mathACos((Xn*rr+er*Jn)/(mathSqrt(Xn*Xn+er*er)*mathSqrt(rr*rr+Jn*Jn)))/2),Yn=mathSqrt(Wn[0]*Wn[0]+Wn[1]*Wn[1]);Mn=mathMin$7(Pn,(Fe-Yn)/(qn+1)),In=mathMin$7(Nn,(Ue-Yn)/(qn-1))}}}if(!zn)xe.moveTo(hn+Ln,vn+Dn);else if(Mn>e){var ar=mathMin$7(Sn,Mn),tr=mathMin$7(xn,Mn),or=computeCornerTangents(Bn,Vn,Ln,Dn,Fe,ar,bn),sr=computeCornerTangents(On,Rn,Hn,Fn,Fe,tr,bn);xe.moveTo(hn+or.cx+or.x0,vn+or.cy+or.y0),Mn<Pn&&ar===tr?xe.arc(hn+or.cx,vn+or.cy,Mn,mathATan2(or.y0,or.x0),mathATan2(sr.y0,sr.x0),!bn):(ar>0&&xe.arc(hn+or.cx,vn+or.cy,ar,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Fe,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),!bn),tr>0&&xe.arc(hn+sr.cx,vn+sr.cy,tr,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.moveTo(hn+Ln,vn+Dn),xe.arc(hn,vn,Fe,Lt,jt,!bn);if(!(Ue>e)||!zn)xe.lineTo(hn+Hn,vn+Fn);else if(In>e){var ar=mathMin$7(kn,In),tr=mathMin$7(Cn,In),or=computeCornerTangents(Hn,Fn,On,Rn,Ue,-tr,bn),sr=computeCornerTangents(Ln,Dn,Bn,Vn,Ue,-ar,bn);xe.lineTo(hn+or.cx+or.x0,vn+or.cy+or.y0),In<Nn&&ar===tr?xe.arc(hn+or.cx,vn+or.cy,In,mathATan2(or.y0,or.x0),mathATan2(sr.y0,sr.x0),!bn):(tr>0&&xe.arc(hn+or.cx,vn+or.cy,tr,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Ue,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),bn),ar>0&&xe.arc(hn+sr.cx,vn+sr.cy,ar,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.lineTo(hn+Hn,vn+Fn),xe.arc(hn,vn,Ue,jt,Lt,bn)}xe.closePath()}}}var SectorShape=function(){function xe(){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 xe}(),Sector=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SectorShape},$e.prototype.buildPath=function(Ie,Fe){buildPath$1(Ie,Fe)},$e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},$e}(Path);Sector.prototype.type="sector";var RingShape=function(){function xe(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return xe}(),Ring=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RingShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.PI*2;Ie.moveTo(Ue+Fe.r,qe),Ie.arc(Ue,qe,Fe.r,0,At,!1),Ie.moveTo(Ue+Fe.r0,qe),Ie.arc(Ue,qe,Fe.r0,0,At,!0)},$e}(Path);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(xe,$e,Ie,Fe){var Ue=[],qe=[],At=[],Dt=[],Lt,jt,hn,vn;if(Fe){hn=[1/0,1/0],vn=[-1/0,-1/0];for(var bn=0,_n=xe.length;bn<_n;bn++)min$2(hn,hn,xe[bn]),max$2(vn,vn,xe[bn]);min$2(hn,hn,Fe[0]),max$2(vn,vn,Fe[1])}for(var bn=0,_n=xe.length;bn<_n;bn++){var wn=xe[bn];if(Ie)Lt=xe[bn?bn-1:_n-1],jt=xe[(bn+1)%_n];else if(bn===0||bn===_n-1){Ue.push(clone$3(xe[bn]));continue}else Lt=xe[bn-1],jt=xe[bn+1];sub(qe,jt,Lt),scale$2(qe,qe,$e);var kn=distance(wn,Lt),Cn=distance(wn,jt),Sn=kn+Cn;Sn!==0&&(kn/=Sn,Cn/=Sn),scale$2(At,qe,-kn),scale$2(Dt,qe,Cn);var xn=add([],wn,At),En=add([],wn,Dt);Fe&&(max$2(xn,xn,hn),min$2(xn,xn,vn),max$2(En,En,hn),min$2(En,En,vn)),Ue.push(xn),Ue.push(En)}return Ie&&Ue.push(Ue.shift()),Ue}function buildPath(xe,$e,Ie){var Fe=$e.smooth,Ue=$e.points;if(Ue&&Ue.length>=2){if(Fe){var qe=smoothBezier(Ue,Fe,Ie,$e.smoothConstraint);xe.moveTo(Ue[0][0],Ue[0][1]);for(var At=Ue.length,Dt=0;Dt<(Ie?At:At-1);Dt++){var Lt=qe[Dt*2],jt=qe[Dt*2+1],hn=Ue[(Dt+1)%At];xe.bezierCurveTo(Lt[0],Lt[1],jt[0],jt[1],hn[0],hn[1])}}else{xe.moveTo(Ue[0][0],Ue[0][1]);for(var Dt=1,vn=Ue.length;Dt<vn;Dt++)xe.lineTo(Ue[Dt][0],Ue[Dt][1])}Ie&&xe.closePath()}}var PolygonShape=function(){function xe(){this.points=null,this.smooth=0,this.smoothConstraint=null}return xe}(),Polygon=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new PolygonShape},$e.prototype.buildPath=function(Ie,Fe){buildPath(Ie,Fe,!0)},$e}(Path);Polygon.prototype.type="polygon";var PolylineShape=function(){function xe(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return xe}(),Polyline$1=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new PolylineShape},$e.prototype.buildPath=function(Ie,Fe){buildPath(Ie,Fe,!1)},$e}(Path);Polyline$1.prototype.type="polyline";var subPixelOptimizeOutputShape={},LineShape=function(){function xe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return xe}(),Line$1=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new LineShape},$e.prototype.buildPath=function(Ie,Fe){var Ue,qe,At,Dt;if(this.subPixelOptimize){var Lt=subPixelOptimizeLine$1(subPixelOptimizeOutputShape,Fe,this.style);Ue=Lt.x1,qe=Lt.y1,At=Lt.x2,Dt=Lt.y2}else Ue=Fe.x1,qe=Fe.y1,At=Fe.x2,Dt=Fe.y2;var jt=Fe.percent;jt!==0&&(Ie.moveTo(Ue,qe),jt<1&&(At=Ue*(1-jt)+At*jt,Dt=qe*(1-jt)+Dt*jt),Ie.lineTo(At,Dt))},$e.prototype.pointAt=function(Ie){var Fe=this.shape;return[Fe.x1*(1-Ie)+Fe.x2*Ie,Fe.y1*(1-Ie)+Fe.y2*Ie]},$e}(Path);Line$1.prototype.type="line";var out=[],BezierCurveShape=function(){function xe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return xe}();function someVectorAt(xe,$e,Ie){var Fe=xe.cpx2,Ue=xe.cpy2;return Fe!=null||Ue!=null?[(Ie?cubicDerivativeAt:cubicAt)(xe.x1,xe.cpx1,xe.cpx2,xe.x2,$e),(Ie?cubicDerivativeAt:cubicAt)(xe.y1,xe.cpy1,xe.cpy2,xe.y2,$e)]:[(Ie?quadraticDerivativeAt:quadraticAt$1)(xe.x1,xe.cpx1,xe.x2,$e),(Ie?quadraticDerivativeAt:quadraticAt$1)(xe.y1,xe.cpy1,xe.y2,$e)]}var BezierCurve=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new BezierCurveShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.x1,qe=Fe.y1,At=Fe.x2,Dt=Fe.y2,Lt=Fe.cpx1,jt=Fe.cpy1,hn=Fe.cpx2,vn=Fe.cpy2,bn=Fe.percent;bn!==0&&(Ie.moveTo(Ue,qe),hn==null||vn==null?(bn<1&&(quadraticSubdivide(Ue,Lt,At,bn,out),Lt=out[1],At=out[2],quadraticSubdivide(qe,jt,Dt,bn,out),jt=out[1],Dt=out[2]),Ie.quadraticCurveTo(Lt,jt,At,Dt)):(bn<1&&(cubicSubdivide(Ue,Lt,hn,At,bn,out),Lt=out[1],hn=out[2],At=out[3],cubicSubdivide(qe,jt,vn,Dt,bn,out),jt=out[1],vn=out[2],Dt=out[3]),Ie.bezierCurveTo(Lt,jt,hn,vn,At,Dt)))},$e.prototype.pointAt=function(Ie){return someVectorAt(this.shape,Ie,!1)},$e.prototype.tangentAt=function(Ie){var Fe=someVectorAt(this.shape,Ie,!0);return normalize$3(Fe,Fe)},$e}(Path);BezierCurve.prototype.type="bezier-curve";var ArcShape=function(){function xe(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return xe}(),Arc=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new ArcShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.max(Fe.r,0),Dt=Fe.startAngle,Lt=Fe.endAngle,jt=Fe.clockwise,hn=Math.cos(Dt),vn=Math.sin(Dt);Ie.moveTo(hn*At+Ue,vn*At+qe),Ie.arc(Ue,qe,At,Dt,Lt,!jt)},$e}(Path);Arc.prototype.type="arc";var CompoundPath=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="compound",Ie}return $e.prototype._updatePathDirty=function(){for(var Ie=this.shape.paths,Fe=this.shapeChanged(),Ue=0;Ue<Ie.length;Ue++)Fe=Fe||Ie[Ue].shapeChanged();Fe&&this.dirtyShape()},$e.prototype.beforeBrush=function(){this._updatePathDirty();for(var Ie=this.shape.paths||[],Fe=this.getGlobalScale(),Ue=0;Ue<Ie.length;Ue++)Ie[Ue].path||Ie[Ue].createPathProxy(),Ie[Ue].path.setScale(Fe[0],Fe[1],Ie[Ue].segmentIgnoreThreshold)},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.paths||[],qe=0;qe<Ue.length;qe++)Ue[qe].buildPath(Ie,Ue[qe].shape,!0)},$e.prototype.afterBrush=function(){for(var Ie=this.shape.paths||[],Fe=0;Fe<Ie.length;Fe++)Ie[Fe].pathUpdated()},$e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Path.prototype.getBoundingRect.call(this)},$e}(Path);const CompoundPath$1=CompoundPath;var Gradient=function(){function xe($e){this.colorStops=$e||[]}return xe.prototype.addColorStop=function($e,Ie){this.colorStops.push({offset:$e,color:Ie})},xe}(),LinearGradient=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At,Dt){var Lt=xe.call(this,At)||this;return Lt.x=Ie??0,Lt.y=Fe??0,Lt.x2=Ue??1,Lt.y2=qe??0,Lt.type="linear",Lt.global=Dt||!1,Lt}return $e}(Gradient),RadialGradient=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,qe)||this;return Dt.x=Ie??.5,Dt.y=Fe??.5,Dt.r=Ue??.5,Dt.type="radial",Dt.global=At||!1,Dt}return $e}(Gradient);const RadialGradient$1=RadialGradient;var extent=[0,0],extent2=[0,0],minTv=new Point,maxTv=new Point,OrientedBoundingRect=function(){function xe($e,Ie){this._corners=[],this._axes=[],this._origin=[0,0];for(var Fe=0;Fe<4;Fe++)this._corners[Fe]=new Point;for(var Fe=0;Fe<2;Fe++)this._axes[Fe]=new Point;$e&&this.fromBoundingRect($e,Ie)}return xe.prototype.fromBoundingRect=function($e,Ie){var Fe=this._corners,Ue=this._axes,qe=$e.x,At=$e.y,Dt=qe+$e.width,Lt=At+$e.height;if(Fe[0].set(qe,At),Fe[1].set(Dt,At),Fe[2].set(Dt,Lt),Fe[3].set(qe,Lt),Ie)for(var jt=0;jt<4;jt++)Fe[jt].transform(Ie);Point.sub(Ue[0],Fe[1],Fe[0]),Point.sub(Ue[1],Fe[3],Fe[0]),Ue[0].normalize(),Ue[1].normalize();for(var jt=0;jt<2;jt++)this._origin[jt]=Ue[jt].dot(Fe[0])},xe.prototype.intersect=function($e,Ie){var Fe=!0,Ue=!Ie;return minTv.set(1/0,1/0),maxTv.set(0,0),!this._intersectCheckOneSide(this,$e,minTv,maxTv,Ue,1)&&(Fe=!1,Ue)||!this._intersectCheckOneSide($e,this,minTv,maxTv,Ue,-1)&&(Fe=!1,Ue)||Ue||Point.copy(Ie,Fe?minTv:maxTv),Fe},xe.prototype._intersectCheckOneSide=function($e,Ie,Fe,Ue,qe,At){for(var Dt=!0,Lt=0;Lt<2;Lt++){var jt=this._axes[Lt];if(this._getProjMinMaxOnAxis(Lt,$e._corners,extent),this._getProjMinMaxOnAxis(Lt,Ie._corners,extent2),extent[1]<extent2[0]||extent[0]>extent2[1]){if(Dt=!1,qe)return Dt;var hn=Math.abs(extent2[0]-extent[1]),vn=Math.abs(extent[0]-extent2[1]);Math.min(hn,vn)>Ue.len()&&(hn<vn?Point.scale(Ue,jt,-hn*At):Point.scale(Ue,jt,vn*At))}else if(Fe){var hn=Math.abs(extent2[0]-extent[1]),vn=Math.abs(extent[0]-extent2[1]);Math.min(hn,vn)<Fe.len()&&(hn<vn?Point.scale(Fe,jt,hn*At):Point.scale(Fe,jt,-vn*At))}}return Dt},xe.prototype._getProjMinMaxOnAxis=function($e,Ie,Fe){for(var Ue=this._axes[$e],qe=this._origin,At=Ie[0].dot(Ue)+qe[$e],Dt=At,Lt=At,jt=1;jt<Ie.length;jt++){var hn=Ie[jt].dot(Ue)+qe[$e];Dt=Math.min(hn,Dt),Lt=Math.max(hn,Lt)}Fe[0]=Dt,Fe[1]=Lt},xe}();const OrientedBoundingRect$1=OrientedBoundingRect;var m$1=[],IncrementalDisplayable=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.notClear=!0,Ie.incremental=!0,Ie._displayables=[],Ie._temporaryDisplayables=[],Ie._cursor=0,Ie}return $e.prototype.traverse=function(Ie,Fe){Ie.call(Fe,this)},$e.prototype.useStyle=function(){this.style={}},$e.prototype.getCursor=function(){return this._cursor},$e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},$e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},$e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},$e.prototype.addDisplayable=function(Ie,Fe){Fe?this._temporaryDisplayables.push(Ie):this._displayables.push(Ie),this.markRedraw()},$e.prototype.addDisplayables=function(Ie,Fe){Fe=Fe||!1;for(var Ue=0;Ue<Ie.length;Ue++)this.addDisplayable(Ie[Ue],Fe)},$e.prototype.getDisplayables=function(){return this._displayables},$e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},$e.prototype.eachPendingDisplayable=function(Ie){for(var Fe=this._cursor;Fe<this._displayables.length;Fe++)Ie&&Ie(this._displayables[Fe]);for(var Fe=0;Fe<this._temporaryDisplayables.length;Fe++)Ie&&Ie(this._temporaryDisplayables[Fe])},$e.prototype.update=function(){this.updateTransform();for(var Ie=this._cursor;Ie<this._displayables.length;Ie++){var Fe=this._displayables[Ie];Fe.parent=this,Fe.update(),Fe.parent=null}for(var Ie=0;Ie<this._temporaryDisplayables.length;Ie++){var Fe=this._temporaryDisplayables[Ie];Fe.parent=this,Fe.update(),Fe.parent=null}},$e.prototype.getBoundingRect=function(){if(!this._rect){for(var Ie=new BoundingRect(1/0,1/0,-1/0,-1/0),Fe=0;Fe<this._displayables.length;Fe++){var Ue=this._displayables[Fe],qe=Ue.getBoundingRect().clone();Ue.needLocalTransform()&&qe.applyTransform(Ue.getLocalTransform(m$1)),Ie.union(qe)}this._rect=Ie}return this._rect},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(qe.contain(Ue[0],Ue[1]))for(var At=0;At<this._displayables.length;At++){var Dt=this._displayables[At];if(Dt.contain(Ie,Fe))return!0}return!1},$e}(Displayable);const IncrementalDisplayable$1=IncrementalDisplayable;var transitionStore=makeInner();function getAnimationConfig(xe,$e,Ie,Fe,Ue){var qe;if($e&&$e.ecModel){var At=$e.ecModel.getUpdatePayload();qe=At&&At.animation}var Dt=$e&&$e.isAnimationEnabled(),Lt=xe==="update";if(Dt){var jt=void 0,hn=void 0,vn=void 0;Fe?(jt=retrieve2(Fe.duration,200),hn=retrieve2(Fe.easing,"cubicOut"),vn=0):(jt=$e.getShallow(Lt?"animationDurationUpdate":"animationDuration"),hn=$e.getShallow(Lt?"animationEasingUpdate":"animationEasing"),vn=$e.getShallow(Lt?"animationDelayUpdate":"animationDelay")),qe&&(qe.duration!=null&&(jt=qe.duration),qe.easing!=null&&(hn=qe.easing),qe.delay!=null&&(vn=qe.delay)),isFunction$2(vn)&&(vn=vn(Ie,Ue)),isFunction$2(jt)&&(jt=jt(Ie));var bn={duration:jt||0,delay:vn,easing:hn};return bn}else return null}function animateOrSetProps(xe,$e,Ie,Fe,Ue,qe,At){var Dt=!1,Lt;isFunction$2(Ue)?(At=qe,qe=Ue,Ue=null):isObject$4(Ue)&&(qe=Ue.cb,At=Ue.during,Dt=Ue.isFrom,Lt=Ue.removeOpt,Ue=Ue.dataIndex);var jt=xe==="leave";jt||$e.stopAnimation("leave");var hn=getAnimationConfig(xe,Fe,Ue,jt?Lt||{}:null,Fe&&Fe.getAnimationDelayParams?Fe.getAnimationDelayParams($e,Ue):null);if(hn&&hn.duration>0){var vn=hn.duration,bn=hn.delay,_n=hn.easing,wn={duration:vn,delay:bn||0,easing:_n,done:qe,force:!!qe||!!At,setToFinal:!jt,scope:xe,during:At};Dt?$e.animateFrom(Ie,wn):$e.animateTo(Ie,wn)}else $e.stopAnimation(),!Dt&&$e.attr(Ie),At&&At(1),qe&&qe()}function updateProps$1(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("update",xe,$e,Ie,Fe,Ue,qe)}function initProps(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("enter",xe,$e,Ie,Fe,Ue,qe)}function isElementRemoved(xe){if(!xe.__zr)return!0;for(var $e=0;$e<xe.animators.length;$e++){var Ie=xe.animators[$e];if(Ie.scope==="leave")return!0}return!1}function removeElement(xe,$e,Ie,Fe,Ue,qe){isElementRemoved(xe)||animateOrSetProps("leave",xe,$e,Ie,Fe,Ue,qe)}function fadeOutDisplayable(xe,$e,Ie,Fe){xe.removeTextContent(),xe.removeTextGuideLine(),removeElement(xe,{style:{opacity:0}},$e,Ie,Fe)}function removeElementWithFadeOut(xe,$e,Ie){function Fe(){xe.parent&&xe.parent.remove(xe)}xe.isGroup?xe.traverse(function(Ue){Ue.isGroup||fadeOutDisplayable(Ue,$e,Ie,Fe)}):fadeOutDisplayable(xe,$e,Ie,Fe)}function saveOldStyle(xe){transitionStore(xe).oldStyle=xe.style}function getOldStyle(xe){return transitionStore(xe).oldStyle}var mathMax$6=Math.max,mathMin$6=Math.min,_customShapeMap={};function extendShape(xe){return Path.extend(xe)}var extendPathFromString=extendFromString;function extendPath(xe,$e){return extendPathFromString(xe,$e)}function registerShape(xe,$e){_customShapeMap[xe]=$e}function getShapeClass(xe){if(_customShapeMap.hasOwnProperty(xe))return _customShapeMap[xe]}function makePath(xe,$e,Ie,Fe){var Ue=createFromString(xe,$e);return Ie&&(Fe==="center"&&(Ie=centerGraphic(Ie,Ue.getBoundingRect())),resizePath(Ue,Ie)),Ue}function makeImage(xe,$e,Ie){var Fe=new ZRImage({style:{image:xe,x:$e.x,y:$e.y,width:$e.width,height:$e.height},onload:function(Ue){if(Ie==="center"){var qe={width:Ue.width,height:Ue.height};Fe.setStyle(centerGraphic($e,qe))}}});return Fe}function centerGraphic(xe,$e){var Ie=$e.width/$e.height,Fe=xe.height*Ie,Ue;Fe<=xe.width?Ue=xe.height:(Fe=xe.width,Ue=Fe/Ie);var qe=xe.x+xe.width/2,At=xe.y+xe.height/2;return{x:qe-Fe/2,y:At-Ue/2,width:Fe,height:Ue}}var mergePath=mergePath$1;function resizePath(xe,$e){if(xe.applyTransform){var Ie=xe.getBoundingRect(),Fe=Ie.calculateTransform($e);xe.applyTransform(Fe)}}function subPixelOptimizeLine(xe,$e){return subPixelOptimizeLine$1(xe,xe,{lineWidth:$e}),xe}function subPixelOptimizeRect(xe){return subPixelOptimizeRect$1(xe.shape,xe.shape,xe.style),xe}var subPixelOptimize=subPixelOptimize$1;function getTransform$1(xe,$e){for(var Ie=identity$1([]);xe&&xe!==$e;)mul(Ie,xe.getLocalTransform(),Ie),xe=xe.parent;return Ie}function applyTransform(xe,$e,Ie){return $e&&!isArrayLike($e)&&($e=Transformable.getLocalTransform($e)),Ie&&($e=invert([],$e)),applyTransform$1([],xe,$e)}function transformDirection(xe,$e,Ie){var Fe=$e[4]===0||$e[5]===0||$e[0]===0?1:Math.abs(2*$e[4]/$e[0]),Ue=$e[4]===0||$e[5]===0||$e[2]===0?1:Math.abs(2*$e[4]/$e[2]),qe=[xe==="left"?-Fe:xe==="right"?Fe:0,xe==="top"?-Ue:xe==="bottom"?Ue:0];return qe=applyTransform(qe,$e,Ie),Math.abs(qe[0])>Math.abs(qe[1])?qe[0]>0?"right":"left":qe[1]>0?"bottom":"top"}function isNotGroup(xe){return!xe.isGroup}function isPath$1(xe){return xe.shape!=null}function groupTransition(xe,$e,Ie){if(!xe||!$e)return;function Fe(At){var Dt={};return At.traverse(function(Lt){isNotGroup(Lt)&&Lt.anid&&(Dt[Lt.anid]=Lt)}),Dt}function Ue(At){var Dt={x:At.x,y:At.y,rotation:At.rotation};return isPath$1(At)&&(Dt.shape=extend$1({},At.shape)),Dt}var qe=Fe(xe);$e.traverse(function(At){if(isNotGroup(At)&&At.anid){var Dt=qe[At.anid];if(Dt){var Lt=Ue(At);At.attr(Ue(Dt)),updateProps$1(At,Lt,Ie,getECData(At).dataIndex)}}})}function clipPointsByRect(xe,$e){return map$1(xe,function(Ie){var Fe=Ie[0];Fe=mathMax$6(Fe,$e.x),Fe=mathMin$6(Fe,$e.x+$e.width);var Ue=Ie[1];return Ue=mathMax$6(Ue,$e.y),Ue=mathMin$6(Ue,$e.y+$e.height),[Fe,Ue]})}function clipRectByRect(xe,$e){var Ie=mathMax$6(xe.x,$e.x),Fe=mathMin$6(xe.x+xe.width,$e.x+$e.width),Ue=mathMax$6(xe.y,$e.y),qe=mathMin$6(xe.y+xe.height,$e.y+$e.height);if(Fe>=Ie&&qe>=Ue)return{x:Ie,y:Ue,width:Fe-Ie,height:qe-Ue}}function createIcon(xe,$e,Ie){var Fe=extend$1({rectHover:!0},$e),Ue=Fe.style={strokeNoScale:!0};if(Ie=Ie||{x:-1,y:-1,width:2,height:2},xe)return xe.indexOf("image://")===0?(Ue.image=xe.slice(8),defaults$1(Ue,Ie),new ZRImage(Fe)):makePath(xe.replace("path://",""),Fe,Ie,"center")}function linePolygonIntersect(xe,$e,Ie,Fe,Ue){for(var qe=0,At=Ue[Ue.length-1];qe<Ue.length;qe++){var Dt=Ue[qe];if(lineLineIntersect$1(xe,$e,Ie,Fe,Dt[0],Dt[1],At[0],At[1]))return!0;At=Dt}}function lineLineIntersect$1(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=Ie-xe,jt=Fe-$e,hn=At-Ue,vn=Dt-qe,bn=crossProduct2d$1(hn,vn,Lt,jt);if(nearZero(bn))return!1;var _n=xe-Ue,wn=$e-qe,kn=crossProduct2d$1(_n,wn,Lt,jt)/bn;if(kn<0||kn>1)return!1;var Cn=crossProduct2d$1(_n,wn,hn,vn)/bn;return!(Cn<0||Cn>1)}function crossProduct2d$1(xe,$e,Ie,Fe){return xe*Fe-Ie*$e}function nearZero(xe){return xe<=1e-6&&xe>=-1e-6}function setTooltipConfig(xe){var $e=xe.itemTooltipOption,Ie=xe.componentModel,Fe=xe.itemName,Ue=isString$2($e)?{formatter:$e}:$e,qe=Ie.mainType,At=Ie.componentIndex,Dt={componentType:qe,name:Fe,$vars:["name"]};Dt[qe+"Index"]=At;var Lt=xe.formatterParamsExtra;Lt&&each$f(keys(Lt),function(hn){hasOwn(Dt,hn)||(Dt[hn]=Lt[hn],Dt.$vars.push(hn))});var jt=getECData(xe.el);jt.componentMainType=qe,jt.componentIndex=At,jt.tooltipConfig={name:Fe,option:defaults$1({content:Fe,formatterParams:Dt},Ue)}}function traverseElement(xe,$e){var Ie;xe.isGroup&&(Ie=$e(xe)),Ie||xe.traverse($e)}function traverseElements(xe,$e){if(xe)if(isArray$2(xe))for(var Ie=0;Ie<xe.length;Ie++)traverseElement(xe[Ie],$e);else traverseElement(xe,$e)}registerShape("circle",Circle);registerShape("ellipse",Ellipse$1);registerShape("sector",Sector);registerShape("ring",Ring$1);registerShape("polygon",Polygon);registerShape("polyline",Polyline$1);registerShape("rect",Rect$2);registerShape("line",Line$1);registerShape("bezierCurve",BezierCurve);registerShape("arc",Arc);const graphic=Object.freeze(Object.defineProperty({__proto__:null,Arc,BezierCurve,BoundingRect,Circle,CompoundPath:CompoundPath$1,Ellipse:Ellipse$1,Group:Group$3,Image:ZRImage,IncrementalDisplayable:IncrementalDisplayable$1,Line:Line$1,LinearGradient,OrientedBoundingRect:OrientedBoundingRect$1,Path,Point,Polygon,Polyline:Polyline$1,RadialGradient:RadialGradient$1,Rect:Rect$2,Ring:Ring$1,Sector,Text:ZRText,applyTransform,clipPointsByRect,clipRectByRect,createIcon,extendPath,extendShape,getShapeClass,getTransform:getTransform$1,groupTransition,initProps,isElementRemoved,lineLineIntersect:lineLineIntersect$1,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(xe,$e){for(var Ie=0;Ie<SPECIAL_STATES.length;Ie++){var Fe=SPECIAL_STATES[Ie],Ue=$e[Fe],qe=xe.ensureState(Fe);qe.style=qe.style||{},qe.style.text=Ue}var At=xe.currentStates.slice();xe.clearStates(!0),xe.setStyle({text:$e.normal}),xe.useStates(At,!0)}function getLabelText(xe,$e,Ie){var Fe=xe.labelFetcher,Ue=xe.labelDataIndex,qe=xe.labelDimIndex,At=$e.normal,Dt;Fe&&(Dt=Fe.getFormattedLabel(Ue,"normal",null,qe,At&&At.get("formatter"),Ie!=null?{interpolatedValue:Ie}:null)),Dt==null&&(Dt=isFunction$2(xe.defaultText)?xe.defaultText(Ue,xe,Ie):xe.defaultText);for(var Lt={normal:Dt},jt=0;jt<SPECIAL_STATES.length;jt++){var hn=SPECIAL_STATES[jt],vn=$e[hn];Lt[hn]=retrieve2(Fe?Fe.getFormattedLabel(Ue,hn,null,qe,vn&&vn.get("formatter")):null,Dt)}return Lt}function setLabelStyle(xe,$e,Ie,Fe){Ie=Ie||EMPTY_OBJ;for(var Ue=xe instanceof ZRText,qe=!1,At=0;At<DISPLAY_STATES.length;At++){var Dt=$e[DISPLAY_STATES[At]];if(Dt&&Dt.getShallow("show")){qe=!0;break}}var Lt=Ue?xe:xe.getTextContent();if(qe){Ue||(Lt||(Lt=new ZRText,xe.setTextContent(Lt)),xe.stateProxy&&(Lt.stateProxy=xe.stateProxy));var jt=getLabelText(Ie,$e),hn=$e.normal,vn=!!hn.getShallow("show"),bn=createTextStyle(hn,Fe&&Fe.normal,Ie,!1,!Ue);bn.text=jt.normal,Ue||xe.setTextConfig(createTextConfig(hn,Ie,!1));for(var At=0;At<SPECIAL_STATES.length;At++){var _n=SPECIAL_STATES[At],Dt=$e[_n];if(Dt){var wn=Lt.ensureState(_n),kn=!!retrieve2(Dt.getShallow("show"),vn);if(kn!==vn&&(wn.ignore=!kn),wn.style=createTextStyle(Dt,Fe&&Fe[_n],Ie,!0,!Ue),wn.style.text=jt[_n],!Ue){var Cn=xe.ensureState(_n);Cn.textConfig=createTextConfig(Dt,Ie,!0)}}}Lt.silent=!!hn.getShallow("silent"),Lt.style.x!=null&&(bn.x=Lt.style.x),Lt.style.y!=null&&(bn.y=Lt.style.y),Lt.ignore=!vn,Lt.useStyle(bn),Lt.dirty(),Ie.enableTextSetter&&(labelInner(Lt).setLabelText=function(Sn){var xn=getLabelText(Ie,$e,Sn);setLabelText(Lt,xn)})}else Lt&&(Lt.ignore=!0);xe.dirty()}function getLabelStatesModels(xe,$e){$e=$e||"label";for(var Ie={normal:xe.getModel($e)},Fe=0;Fe<SPECIAL_STATES.length;Fe++){var Ue=SPECIAL_STATES[Fe];Ie[Ue]=xe.getModel([Ue,$e])}return Ie}function createTextStyle(xe,$e,Ie,Fe,Ue){var qe={};return setTextStyleCommon(qe,xe,Ie,Fe,Ue),$e&&extend$1(qe,$e),qe}function createTextConfig(xe,$e,Ie){$e=$e||{};var Fe={},Ue,qe=xe.getShallow("rotate"),At=retrieve2(xe.getShallow("distance"),Ie?null:5),Dt=xe.getShallow("offset");return Ue=xe.getShallow("position")||(Ie?null:"inside"),Ue==="outside"&&(Ue=$e.defaultOutsidePosition||"top"),Ue!=null&&(Fe.position=Ue),Dt!=null&&(Fe.offset=Dt),qe!=null&&(qe*=Math.PI/180,Fe.rotation=qe),At!=null&&(Fe.distance=At),Fe.outsideFill=xe.get("color")==="inherit"?$e.inheritColor||null:"auto",Fe}function setTextStyleCommon(xe,$e,Ie,Fe,Ue){Ie=Ie||EMPTY_OBJ;var qe=$e.ecModel,At=qe&&qe.option.textStyle,Dt=getRichItemNames($e),Lt;if(Dt){Lt={};for(var jt in Dt)if(Dt.hasOwnProperty(jt)){var hn=$e.getModel(["rich",jt]);setTokenTextStyle(Lt[jt]={},hn,At,Ie,Fe,Ue,!1,!0)}}Lt&&(xe.rich=Lt);var vn=$e.get("overflow");vn&&(xe.overflow=vn);var bn=$e.get("minMargin");bn!=null&&(xe.margin=bn),setTokenTextStyle(xe,$e,At,Ie,Fe,Ue,!0,!1)}function getRichItemNames(xe){for(var $e;xe&&xe!==xe.ecModel;){var Ie=(xe.option||EMPTY_OBJ).rich;if(Ie){$e=$e||{};for(var Fe=keys(Ie),Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];$e[qe]=1}}xe=xe.parentModel}return $e}var TEXT_PROPS_WITH_GLOBAL=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],TEXT_PROPS_SELF=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],TEXT_PROPS_BOX=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function setTokenTextStyle(xe,$e,Ie,Fe,Ue,qe,At,Dt){Ie=!Ue&&Ie||EMPTY_OBJ;var Lt=Fe&&Fe.inheritColor,jt=$e.getShallow("color"),hn=$e.getShallow("textBorderColor"),vn=retrieve2($e.getShallow("opacity"),Ie.opacity);(jt==="inherit"||jt==="auto")&&(Lt?jt=Lt:jt=null),(hn==="inherit"||hn==="auto")&&(Lt?hn=Lt:hn=null),qe||(jt=jt||Ie.color,hn=hn||Ie.textBorderColor),jt!=null&&(xe.fill=jt),hn!=null&&(xe.stroke=hn);var bn=retrieve2($e.getShallow("textBorderWidth"),Ie.textBorderWidth);bn!=null&&(xe.lineWidth=bn);var _n=retrieve2($e.getShallow("textBorderType"),Ie.textBorderType);_n!=null&&(xe.lineDash=_n);var wn=retrieve2($e.getShallow("textBorderDashOffset"),Ie.textBorderDashOffset);wn!=null&&(xe.lineDashOffset=wn),!Ue&&vn==null&&!Dt&&(vn=Fe&&Fe.defaultOpacity),vn!=null&&(xe.opacity=vn),!Ue&&!qe&&xe.fill==null&&Fe.inheritColor&&(xe.fill=Fe.inheritColor);for(var kn=0;kn<TEXT_PROPS_WITH_GLOBAL.length;kn++){var Cn=TEXT_PROPS_WITH_GLOBAL[kn],Sn=retrieve2($e.getShallow(Cn),Ie[Cn]);Sn!=null&&(xe[Cn]=Sn)}for(var kn=0;kn<TEXT_PROPS_SELF.length;kn++){var Cn=TEXT_PROPS_SELF[kn],Sn=$e.getShallow(Cn);Sn!=null&&(xe[Cn]=Sn)}if(xe.verticalAlign==null){var xn=$e.getShallow("baseline");xn!=null&&(xe.verticalAlign=xn)}if(!At||!Fe.disableBox){for(var kn=0;kn<TEXT_PROPS_BOX.length;kn++){var Cn=TEXT_PROPS_BOX[kn],Sn=$e.getShallow(Cn);Sn!=null&&(xe[Cn]=Sn)}var En=$e.getShallow("borderType");En!=null&&(xe.borderDash=En),(xe.backgroundColor==="auto"||xe.backgroundColor==="inherit")&&Lt&&(xe.backgroundColor=Lt),(xe.borderColor==="auto"||xe.borderColor==="inherit")&&Lt&&(xe.borderColor=Lt)}}function getFont(xe,$e){var Ie=$e&&$e.getModel("textStyle");return trim$2([xe.fontStyle||Ie&&Ie.getShallow("fontStyle")||"",xe.fontWeight||Ie&&Ie.getShallow("fontWeight")||"",(xe.fontSize||Ie&&Ie.getShallow("fontSize")||12)+"px",xe.fontFamily||Ie&&Ie.getShallow("fontFamily")||"sans-serif"].join(" "))}var labelInner=makeInner();function setLabelValueAnimation(xe,$e,Ie,Fe){if(xe){var Ue=labelInner(xe);Ue.prevValue=Ue.value,Ue.value=Ie;var qe=$e.normal;Ue.valueAnimation=qe.get("valueAnimation"),Ue.valueAnimation&&(Ue.precision=qe.get("precision"),Ue.defaultInterpolatedText=Fe,Ue.statesModels=$e)}}function animateLabelValue(xe,$e,Ie,Fe,Ue){var qe=labelInner(xe);if(!qe.valueAnimation||qe.prevValue===qe.value)return;var At=qe.defaultInterpolatedText,Dt=retrieve2(qe.interpolatedValue,qe.prevValue),Lt=qe.value;function jt(hn){var vn=interpolateRawValues(Ie,qe.precision,Dt,Lt,hn);qe.interpolatedValue=hn===1?null:vn;var bn=getLabelText({labelDataIndex:$e,labelFetcher:Ue,defaultText:At?At(vn):vn+""},qe.statesModels,vn);setLabelText(xe,bn)}xe.percent=0,(qe.prevValue==null?initProps:updateProps$1)(xe,{percent:1},Fe,$e,null,jt)}var PATH_COLOR=["textStyle","color"],textStyleParams=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],tmpText=new ZRText,TextStyleMixin=function(){function xe(){}return xe.prototype.getTextColor=function($e){var Ie=this.ecModel;return this.getShallow("color")||(!$e&&Ie?Ie.get(PATH_COLOR):null)},xe.prototype.getFont=function(){return getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},xe.prototype.getTextRect=function($e){for(var Ie={text:$e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},Fe=0;Fe<textStyleParams.length;Fe++)Ie[textStyleParams[Fe]]=this.getShallow(textStyleParams[Fe]);return tmpText.useStyle(Ie),tmpText.update(),tmpText.getBoundingRect()},xe}(),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 xe(){}return xe.prototype.getLineStyle=function($e){return getLineStyle(this,$e)},xe}(),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 xe(){}return xe.prototype.getItemStyle=function($e,Ie){return getItemStyle(this,$e,Ie)},xe}(),Model=function(){function xe($e,Ie,Fe){this.parentModel=Ie,this.ecModel=Fe,this.option=$e}return xe.prototype.init=function($e,Ie,Fe){},xe.prototype.mergeOption=function($e,Ie){merge$1(this.option,$e,!0)},xe.prototype.get=function($e,Ie){return $e==null?this.option:this._doGet(this.parsePath($e),!Ie&&this.parentModel)},xe.prototype.getShallow=function($e,Ie){var Fe=this.option,Ue=Fe==null?Fe:Fe[$e];if(Ue==null&&!Ie){var qe=this.parentModel;qe&&(Ue=qe.getShallow($e))}return Ue},xe.prototype.getModel=function($e,Ie){var Fe=$e!=null,Ue=Fe?this.parsePath($e):null,qe=Fe?this._doGet(Ue):this.option;return Ie=Ie||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(Ue)),new xe(qe,Ie,this.ecModel)},xe.prototype.isEmpty=function(){return this.option==null},xe.prototype.restoreData=function(){},xe.prototype.clone=function(){var $e=this.constructor;return new $e(clone$4(this.option))},xe.prototype.parsePath=function($e){return typeof $e=="string"?$e.split("."):$e},xe.prototype.resolveParentPath=function($e){return $e},xe.prototype.isAnimationEnabled=function(){if(!env.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},xe.prototype._doGet=function($e,Ie){var Fe=this.option;if(!$e)return Fe;for(var Ue=0;Ue<$e.length&&!($e[Ue]&&(Fe=Fe&&typeof Fe=="object"?Fe[$e[Ue]]:null,Fe==null));Ue++);return Fe==null&&Ie&&(Fe=Ie._doGet(this.resolveParentPath($e),Ie.parentModel)),Fe},xe}();enableClassExtend(Model);enableClassCheck(Model);mixin(Model,LineStyleMixin);mixin(Model,ItemStyleMixin);mixin(Model,AreaStyleMixin);mixin(Model,TextStyleMixin);var base=Math.round(Math.random()*10);function getUID(xe){return[xe||"",base++].join("_")}function enableSubTypeDefaulter(xe){var $e={};xe.registerSubTypeDefaulter=function(Ie,Fe){var Ue=parseClassType(Ie);$e[Ue.main]=Fe},xe.determineSubType=function(Ie,Fe){var Ue=Fe.type;if(!Ue){var qe=parseClassType(Ie).main;xe.hasSubTypes(Ie)&&$e[qe]&&(Ue=$e[qe](Fe))}return Ue}}function enableTopologicalTravel(xe,$e){xe.topologicalTravel=function(qe,At,Dt,Lt){if(!qe.length)return;var jt=Ie(At),hn=jt.graph,vn=jt.noEntryList,bn={};for(each$f(qe,function(xn){bn[xn]=!0});vn.length;){var _n=vn.pop(),wn=hn[_n],kn=!!bn[_n];kn&&(Dt.call(Lt,_n,wn.originalDeps.slice()),delete bn[_n]),each$f(wn.successor,kn?Sn:Cn)}each$f(bn,function(){var xn="";throw new Error(xn)});function Cn(xn){hn[xn].entryCount--,hn[xn].entryCount===0&&vn.push(xn)}function Sn(xn){bn[xn]=!0,Cn(xn)}};function Ie(qe){var At={},Dt=[];return each$f(qe,function(Lt){var jt=Fe(At,Lt),hn=jt.originalDeps=$e(Lt),vn=Ue(hn,qe);jt.entryCount=vn.length,jt.entryCount===0&&Dt.push(Lt),each$f(vn,function(bn){indexOf(jt.predecessor,bn)<0&&jt.predecessor.push(bn);var _n=Fe(At,bn);indexOf(_n.successor,bn)<0&&_n.successor.push(Lt)})}),{graph:At,noEntryList:Dt}}function Fe(qe,At){return qe[At]||(qe[At]={predecessor:[],successor:[]}),qe[At]}function Ue(qe,At){var Dt=[];return each$f(qe,function(Lt){indexOf(At,Lt)>=0&&Dt.push(Lt)}),Dt}}function inheritDefaultOption(xe,$e){return merge$1(merge$1({},xe,!0),$e,!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",custom:"Custom chart",chart:"Chart"}},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:"旭日图",custom:"自定义图表",chart:"图表"}},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.domSupported?function(){var xe=(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase();return xe.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(xe,$e){xe=xe.toUpperCase(),localeModels[xe]=new Model($e),localeStorage[xe]=$e}function createLocaleObject(xe){if(isString$2(xe)){var $e=localeStorage[xe.toUpperCase()]||{};return xe===LOCALE_ZH||xe===LOCALE_EN?clone$4($e):merge$1(clone$4($e),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}else return merge$1(clone$4(xe),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(xe){return localeModels[xe]}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$2=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(xe,$e){return xe+="","0000".substr(0,$e-xe.length)+xe}function getPrimaryTimeUnit(xe){switch(xe){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return xe}}function isPrimaryTimeUnit(xe){return xe===getPrimaryTimeUnit(xe)}function getDefaultFormatPrecisionOfInterval(xe){switch(xe){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format$1(xe,$e,Ie,Fe){var Ue=parseDate$1(xe),qe=Ue[fullYearGetterName(Ie)](),At=Ue[monthGetterName(Ie)]()+1,Dt=Math.floor((At-1)/3)+1,Lt=Ue[dateGetterName(Ie)](),jt=Ue["get"+(Ie?"UTC":"")+"Day"](),hn=Ue[hoursGetterName(Ie)](),vn=(hn-1)%12+1,bn=Ue[minutesGetterName(Ie)](),_n=Ue[secondsGetterName(Ie)](),wn=Ue[millisecondsGetterName(Ie)](),kn=Fe instanceof Model?Fe:getLocaleModel(Fe||SYSTEM_LANG)||getDefaultLocaleModel(),Cn=kn.getModel("time"),Sn=Cn.get("month"),xn=Cn.get("monthAbbr"),En=Cn.get("dayOfWeek"),Tn=Cn.get("dayOfWeekAbbr");return($e||"").replace(/{yyyy}/g,qe+"").replace(/{yy}/g,pad(qe%100+"",2)).replace(/{Q}/g,Dt+"").replace(/{MMMM}/g,Sn[At-1]).replace(/{MMM}/g,xn[At-1]).replace(/{MM}/g,pad(At,2)).replace(/{M}/g,At+"").replace(/{dd}/g,pad(Lt,2)).replace(/{d}/g,Lt+"").replace(/{eeee}/g,En[jt]).replace(/{ee}/g,Tn[jt]).replace(/{e}/g,jt+"").replace(/{HH}/g,pad(hn,2)).replace(/{H}/g,hn+"").replace(/{hh}/g,pad(vn+"",2)).replace(/{h}/g,vn+"").replace(/{mm}/g,pad(bn,2)).replace(/{m}/g,bn+"").replace(/{ss}/g,pad(_n,2)).replace(/{s}/g,_n+"").replace(/{SSS}/g,pad(wn,3)).replace(/{S}/g,wn+"")}function leveledFormat(xe,$e,Ie,Fe,Ue){var qe=null;if(isString$2(Ie))qe=Ie;else if(isFunction$2(Ie))qe=Ie(xe.value,$e,{level:xe.level});else{var At=extend$1({},defaultLeveledFormatter);if(xe.level>0)for(var Dt=0;Dt<primaryTimeUnits.length;++Dt)At[primaryTimeUnits[Dt]]="{primary|"+At[primaryTimeUnits[Dt]]+"}";var Lt=Ie?Ie.inherit===!1?Ie:defaults$1(Ie,At):At,jt=getUnitFromValue(xe.value,Ue);if(Lt[jt])qe=Lt[jt];else if(Lt.inherit){for(var hn=timeUnits$2.indexOf(jt),Dt=hn-1;Dt>=0;--Dt)if(Lt[jt]){qe=Lt[jt];break}qe=qe||At.none}if(isArray$2(qe)){var vn=xe.level==null?0:xe.level>=0?xe.level:qe.length+xe.level;vn=Math.min(vn,qe.length-1),qe=qe[vn]}}return format$1(new Date(xe.value),qe,Ue,Fe)}function getUnitFromValue(xe,$e){var Ie=parseDate$1(xe),Fe=Ie[monthGetterName($e)]()+1,Ue=Ie[dateGetterName($e)](),qe=Ie[hoursGetterName($e)](),At=Ie[minutesGetterName($e)](),Dt=Ie[secondsGetterName($e)](),Lt=Ie[millisecondsGetterName($e)](),jt=Lt===0,hn=jt&&Dt===0,vn=hn&&At===0,bn=vn&&qe===0,_n=bn&&Ue===1,wn=_n&&Fe===1;return wn?"year":_n?"month":bn?"day":vn?"hour":hn?"minute":jt?"second":"millisecond"}function getUnitValue(xe,$e,Ie){var Fe=isNumber$2(xe)?parseDate$1(xe):xe;switch($e=$e||getUnitFromValue(xe,Ie),$e){case"year":return Fe[fullYearGetterName(Ie)]();case"half-year":return Fe[monthGetterName(Ie)]()>=6?1:0;case"quarter":return Math.floor((Fe[monthGetterName(Ie)]()+1)/4);case"month":return Fe[monthGetterName(Ie)]();case"day":return Fe[dateGetterName(Ie)]();case"half-day":return Fe[hoursGetterName(Ie)]()/24;case"hour":return Fe[hoursGetterName(Ie)]();case"minute":return Fe[minutesGetterName(Ie)]();case"second":return Fe[secondsGetterName(Ie)]();case"millisecond":return Fe[millisecondsGetterName(Ie)]()}}function fullYearGetterName(xe){return xe?"getUTCFullYear":"getFullYear"}function monthGetterName(xe){return xe?"getUTCMonth":"getMonth"}function dateGetterName(xe){return xe?"getUTCDate":"getDate"}function hoursGetterName(xe){return xe?"getUTCHours":"getHours"}function minutesGetterName(xe){return xe?"getUTCMinutes":"getMinutes"}function secondsGetterName(xe){return xe?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(xe){return xe?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(xe){return xe?"setUTCFullYear":"setFullYear"}function monthSetterName(xe){return xe?"setUTCMonth":"setMonth"}function dateSetterName(xe){return xe?"setUTCDate":"setDate"}function hoursSetterName(xe){return xe?"setUTCHours":"setHours"}function minutesSetterName(xe){return xe?"setUTCMinutes":"setMinutes"}function secondsSetterName(xe){return xe?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(xe){return xe?"setUTCMilliseconds":"setMilliseconds"}function addCommas(xe){if(!isNumeric(xe))return isString$2(xe)?xe:"-";var $e=(xe+"").split(".");return $e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+($e.length>1?"."+$e[1]:"")}function toCamelCase$1(xe,$e){return xe=(xe||"").toLowerCase().replace(/-(.)/g,function(Ie,Fe){return Fe.toUpperCase()}),$e&&xe&&(xe=xe.charAt(0).toUpperCase()+xe.slice(1)),xe}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(xe,$e,Ie){var Fe="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function Ue(hn){return hn&&trim$2(hn)?hn:"-"}function qe(hn){return!!(hn!=null&&!isNaN(hn)&&isFinite(hn))}var At=$e==="time",Dt=xe instanceof Date;if(At||Dt){var Lt=At?parseDate$1(xe):xe;if(isNaN(+Lt)){if(Dt)return"-"}else return format$1(Lt,Fe,Ie)}if($e==="ordinal")return isStringSafe(xe)?Ue(xe):isNumber$2(xe)&&qe(xe)?xe+"":"-";var jt=numericToNumber(xe);return qe(jt)?addCommas(jt):isStringSafe(xe)?Ue(xe):typeof xe=="boolean"?xe+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(xe,$e){return"{"+xe+($e??"")+"}"};function formatTpl(xe,$e,Ie){isArray$2($e)||($e=[$e]);var Fe=$e.length;if(!Fe)return"";for(var Ue=$e[0].$vars||[],qe=0;qe<Ue.length;qe++){var At=TPL_VAR_ALIAS[qe];xe=xe.replace(wrapVar(At),wrapVar(At,0))}for(var Dt=0;Dt<Fe;Dt++)for(var Lt=0;Lt<Ue.length;Lt++){var jt=$e[Dt][Ue[Lt]];xe=xe.replace(wrapVar(TPL_VAR_ALIAS[Lt],Dt),Ie?encodeHTML(jt):jt)}return xe}function formatTplSimple(xe,$e,Ie){return each$f($e,function(Fe,Ue){xe=xe.replace("{"+Ue+"}",Fe)}),xe}function getTooltipMarker(xe,$e){var Ie=isString$2(xe)?{color:xe,extraCssText:$e}:xe||{},Fe=Ie.color,Ue=Ie.type;$e=Ie.extraCssText;var qe=Ie.renderMode||"html";if(!Fe)return"";if(qe==="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(Fe)+";"+($e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+encodeHTML(Fe)+";"+($e||"")+'"></span>';var At=Ie.markerId||"markerX";return{renderMode:qe,content:"{"+At+"|}  ",style:Ue==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:Fe}:{width:10,height:10,borderRadius:5,backgroundColor:Fe}}}function convertToColorString(xe,$e){return $e=$e||"transparent",isString$2(xe)?xe:isObject$4(xe)&&xe.colorStops&&(xe.colorStops[0]||{}).color||$e}function windowOpen(xe,$e){if($e==="_blank"||$e==="blank"){var Ie=window.open();Ie.opener=null,Ie.location.href=xe}else window.open(xe,$e)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(xe,$e,Ie,Fe,Ue){var qe=0,At=0;Fe==null&&(Fe=1/0),Ue==null&&(Ue=1/0);var Dt=0;$e.eachChild(function(Lt,jt){var hn=Lt.getBoundingRect(),vn=$e.childAt(jt+1),bn=vn&&vn.getBoundingRect(),_n,wn;if(xe==="horizontal"){var kn=hn.width+(bn?-bn.x+hn.x:0);_n=qe+kn,_n>Fe||Lt.newline?(qe=0,_n=kn,At+=Dt+Ie,Dt=hn.height):Dt=Math.max(Dt,hn.height)}else{var Cn=hn.height+(bn?-bn.y+hn.y:0);wn=At+Cn,wn>Ue||Lt.newline?(qe+=Dt+Ie,At=0,wn=Cn,Dt=hn.width):Dt=Math.max(Dt,hn.width)}Lt.newline||(Lt.x=qe,Lt.y=At,Lt.markRedraw(),xe==="horizontal"?qe=_n+Ie:At=wn+Ie)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getAvailableSize(xe,$e,Ie){var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue);return(isNaN(qe)||isNaN(parseFloat(xe.left)))&&(qe=0),(isNaN(Dt)||isNaN(parseFloat(xe.right)))&&(Dt=Fe),(isNaN(At)||isNaN(parseFloat(xe.top)))&&(At=0),(isNaN(Lt)||isNaN(parseFloat(xe.bottom)))&&(Lt=Ue),Ie=normalizeCssArray(Ie||0),{width:Math.max(Dt-qe-Ie[1]-Ie[3],0),height:Math.max(Lt-At-Ie[0]-Ie[2],0)}}function getLayoutRect(xe,$e,Ie){Ie=normalizeCssArray(Ie||0);var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue),jt=parsePercent(xe.width,Fe),hn=parsePercent(xe.height,Ue),vn=Ie[2]+Ie[0],bn=Ie[1]+Ie[3],_n=xe.aspect;switch(isNaN(jt)&&(jt=Fe-Dt-bn-qe),isNaN(hn)&&(hn=Ue-Lt-vn-At),_n!=null&&(isNaN(jt)&&isNaN(hn)&&(_n>Fe/Ue?jt=Fe*.8:hn=Ue*.8),isNaN(jt)&&(jt=_n*hn),isNaN(hn)&&(hn=jt/_n)),isNaN(qe)&&(qe=Fe-Dt-jt-bn),isNaN(At)&&(At=Ue-Lt-hn-vn),xe.left||xe.right){case"center":qe=Fe/2-jt/2-Ie[3];break;case"right":qe=Fe-jt-bn;break}switch(xe.top||xe.bottom){case"middle":case"center":At=Ue/2-hn/2-Ie[0];break;case"bottom":At=Ue-hn-vn;break}qe=qe||0,At=At||0,isNaN(jt)&&(jt=Fe-bn-qe-(Dt||0)),isNaN(hn)&&(hn=Ue-vn-At-(Lt||0));var wn=new BoundingRect(qe+Ie[3],At+Ie[0],jt,hn);return wn.margin=Ie,wn}function positionElement(xe,$e,Ie,Fe,Ue,qe){var At=!Ue||!Ue.hv||Ue.hv[0],Dt=!Ue||!Ue.hv||Ue.hv[1],Lt=Ue&&Ue.boundingMode||"all";if(qe=qe||xe,qe.x=xe.x,qe.y=xe.y,!At&&!Dt)return!1;var jt;if(Lt==="raw")jt=xe.type==="group"?new BoundingRect(0,0,+$e.width||0,+$e.height||0):xe.getBoundingRect();else if(jt=xe.getBoundingRect(),xe.needLocalTransform()){var hn=xe.getLocalTransform();jt=jt.clone(),jt.applyTransform(hn)}var vn=getLayoutRect(defaults$1({width:jt.width,height:jt.height},$e),Ie,Fe),bn=At?vn.x-jt.x:0,_n=Dt?vn.y-jt.y:0;return Lt==="raw"?(qe.x=bn,qe.y=_n):(qe.x+=bn,qe.y+=_n),qe===xe&&xe.markRedraw(),!0}function sizeCalculable(xe,$e){return xe[HV_NAMES[$e][0]]!=null||xe[HV_NAMES[$e][1]]!=null&&xe[HV_NAMES[$e][2]]!=null}function fetchLayoutMode(xe){var $e=xe.layoutMode||xe.constructor.layoutMode;return isObject$4($e)?$e:$e?{type:$e}:null}function mergeLayoutParam(xe,$e,Ie){var Fe=Ie&&Ie.ignoreSize;!isArray$2(Fe)&&(Fe=[Fe,Fe]);var Ue=At(HV_NAMES[0],0),qe=At(HV_NAMES[1],1);jt(HV_NAMES[0],xe,Ue),jt(HV_NAMES[1],xe,qe);function At(hn,vn){var bn={},_n=0,wn={},kn=0,Cn=2;if(each$e(hn,function(En){wn[En]=xe[En]}),each$e(hn,function(En){Dt($e,En)&&(bn[En]=wn[En]=$e[En]),Lt(bn,En)&&_n++,Lt(wn,En)&&kn++}),Fe[vn])return Lt($e,hn[1])?wn[hn[2]]=null:Lt($e,hn[2])&&(wn[hn[1]]=null),wn;if(kn===Cn||!_n)return wn;if(_n>=Cn)return bn;for(var Sn=0;Sn<hn.length;Sn++){var xn=hn[Sn];if(!Dt(bn,xn)&&Dt(xe,xn)){bn[xn]=xe[xn];break}}return bn}function Dt(hn,vn){return hn.hasOwnProperty(vn)}function Lt(hn,vn){return hn[vn]!=null&&hn[vn]!=="auto"}function jt(hn,vn,bn){each$e(hn,function(_n){vn[_n]=bn[_n]})}}function getLayoutParams(xe){return copyLayoutParams({},xe)}function copyLayoutParams(xe,$e){return $e&&xe&&each$e(LOCATION_PARAMS,function(Ie){$e.hasOwnProperty(Ie)&&(xe[Ie]=$e[Ie])}),xe}var inner$l=makeInner(),ComponentModel=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this,Ie,Fe,Ue)||this;return qe.uid=getUID("ec_cpt_model"),qe}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue)},$e.prototype.mergeDefaultAndTheme=function(Ie,Fe){var Ue=fetchLayoutMode(this),qe=Ue?getLayoutParams(Ie):{},At=Fe.getTheme();merge$1(Ie,At.get(this.mainType)),merge$1(Ie,this.getDefaultOption()),Ue&&mergeLayoutParam(Ie,qe,Ue)},$e.prototype.mergeOption=function(Ie,Fe){merge$1(this.option,Ie,!0);var Ue=fetchLayoutMode(this);Ue&&mergeLayoutParam(this.option,Ie,Ue)},$e.prototype.optionUpdated=function(Ie,Fe){},$e.prototype.getDefaultOption=function(){var Ie=this.constructor;if(!isExtendedClass(Ie))return Ie.defaultOption;var Fe=inner$l(this);if(!Fe.defaultOption){for(var Ue=[],qe=Ie;qe;){var At=qe.prototype.defaultOption;At&&Ue.push(At),qe=qe.superClass}for(var Dt={},Lt=Ue.length-1;Lt>=0;Lt--)Dt=merge$1(Dt,Ue[Lt],!0);Fe.defaultOption=Dt}return Fe.defaultOption},$e.prototype.getReferringComponents=function(Ie,Fe){var Ue=Ie+"Index",qe=Ie+"Id";return queryReferringComponents(this.ecModel,Ie,{index:this.get(Ue,!0),id:this.get(qe,!0)},Fe)},$e.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")}},$e.prototype.getZLevelKey=function(){return""},$e.prototype.setZLevel=function(Ie){this.option.zlevel=Ie},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="component",Ie.id="",Ie.name="",Ie.mainType="",Ie.subType="",Ie.componentIndex=0}(),$e}(Model);mountExtend(ComponentModel,Model);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(xe){var $e=[];return each$f(ComponentModel.getClassesByMainType(xe),function(Ie){$e=$e.concat(Ie.dependencies||Ie.prototype.dependencies||[])}),$e=map$1($e,function(Ie){return parseClassType(Ie).main}),xe!=="dataset"&&indexOf($e,"dataset")<=0&&$e.unshift("dataset"),$e}var platform$3="";typeof navigator<"u"&&(platform$3=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$3.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","itemChildGroupId","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(xe){innerGlobalModel(xe).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(xe,$e,Ie){var Fe={},Ue=querySeriesUpstreamDatasetModel($e);if(!Ue||!xe)return Fe;var qe=[],At=[],Dt=$e.ecModel,Lt=innerGlobalModel(Dt).datasetMap,jt=Ue.uid+"_"+Ie.seriesLayoutBy,hn,vn;xe=xe.slice(),each$f(xe,function(kn,Cn){var Sn=isObject$4(kn)?kn:xe[Cn]={name:kn};Sn.type==="ordinal"&&hn==null&&(hn=Cn,vn=wn(Sn)),Fe[Sn.name]=[]});var bn=Lt.get(jt)||Lt.set(jt,{categoryWayDim:vn,valueWayDim:0});each$f(xe,function(kn,Cn){var Sn=kn.name,xn=wn(kn);if(hn==null){var En=bn.valueWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.valueWayDim+=xn}else if(hn===Cn)_n(Fe[Sn],0,xn),_n(qe,0,xn);else{var En=bn.categoryWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.categoryWayDim+=xn}});function _n(kn,Cn,Sn){for(var xn=0;xn<Sn;xn++)kn.push(Cn+xn)}function wn(kn){var Cn=kn.dimsDef;return Cn?Cn.length:1}return qe.length&&(Fe.itemName=qe),At.length&&(Fe.seriesName=At),Fe}function makeSeriesEncodeForNameBased(xe,$e,Ie){var Fe={},Ue=querySeriesUpstreamDatasetModel(xe);if(!Ue)return Fe;var qe=$e.sourceFormat,At=$e.dimensionsDefine,Dt;(qe===SOURCE_FORMAT_OBJECT_ROWS||qe===SOURCE_FORMAT_KEYED_COLUMNS)&&each$f(At,function(hn,vn){(isObject$4(hn)?hn.name:hn)==="name"&&(Dt=vn)});var Lt=function(){for(var hn={},vn={},bn=[],_n=0,wn=Math.min(5,Ie);_n<wn;_n++){var kn=doGuessOrdinal($e.data,qe,$e.seriesLayoutBy,At,$e.startIndex,_n);bn.push(kn);var Cn=kn===BE_ORDINAL.Not;if(Cn&&hn.v==null&&_n!==Dt&&(hn.v=_n),(hn.n==null||hn.n===hn.v||!Cn&&bn[hn.n]===BE_ORDINAL.Not)&&(hn.n=_n),Sn(hn)&&bn[hn.n]!==BE_ORDINAL.Not)return hn;Cn||(kn===BE_ORDINAL.Might&&vn.v==null&&_n!==Dt&&(vn.v=_n),(vn.n==null||vn.n===vn.v)&&(vn.n=_n))}function Sn(xn){return xn.v!=null&&xn.n!=null}return Sn(hn)?hn:Sn(vn)?vn:null}();if(Lt){Fe.value=[Lt.v];var jt=Dt??Lt.n;Fe.itemName=[jt],Fe.seriesName=[jt]}return Fe}function querySeriesUpstreamDatasetModel(xe){var $e=xe.get("data",!0);if(!$e)return queryReferringComponents(xe.ecModel,"dataset",{index:xe.get("datasetIndex",!0),id:xe.get("datasetId",!0)},SINGLE_REFERRING).models[0]}function queryDatasetUpstreamDatasetModels(xe){return!xe.get("transform",!0)&&!xe.get("fromTransformResult",!0)?[]:queryReferringComponents(xe.ecModel,"dataset",{index:xe.get("fromDatasetIndex",!0),id:xe.get("fromDatasetId",!0)},SINGLE_REFERRING).models}function guessOrdinal(xe,$e){return doGuessOrdinal(xe.data,xe.sourceFormat,xe.seriesLayoutBy,xe.dimensionsDefine,xe.startIndex,$e)}function doGuessOrdinal(xe,$e,Ie,Fe,Ue,qe){var At,Dt=5;if(isTypedArray$1(xe))return BE_ORDINAL.Not;var Lt,jt;if(Fe){var hn=Fe[qe];isObject$4(hn)?(Lt=hn.name,jt=hn.type):isString$2(hn)&&(Lt=hn)}if(jt!=null)return jt==="ordinal"?BE_ORDINAL.Must:BE_ORDINAL.Not;if($e===SOURCE_FORMAT_ARRAY_ROWS){var vn=xe;if(Ie===SERIES_LAYOUT_BY_ROW){for(var bn=vn[qe],_n=0;_n<(bn||[]).length&&_n<Dt;_n++)if((At=Tn(bn[Ue+_n]))!=null)return At}else for(var _n=0;_n<vn.length&&_n<Dt;_n++){var wn=vn[Ue+_n];if(wn&&(At=Tn(wn[qe]))!=null)return At}}else if($e===SOURCE_FORMAT_OBJECT_ROWS){var kn=xe;if(!Lt)return BE_ORDINAL.Not;for(var _n=0;_n<kn.length&&_n<Dt;_n++){var Cn=kn[_n];if(Cn&&(At=Tn(Cn[Lt]))!=null)return At}}else if($e===SOURCE_FORMAT_KEYED_COLUMNS){var Sn=xe;if(!Lt)return BE_ORDINAL.Not;var bn=Sn[Lt];if(!bn||isTypedArray$1(bn))return BE_ORDINAL.Not;for(var _n=0;_n<bn.length&&_n<Dt;_n++)if((At=Tn(bn[_n]))!=null)return At}else if($e===SOURCE_FORMAT_ORIGINAL)for(var xn=xe,_n=0;_n<xn.length&&_n<Dt;_n++){var Cn=xn[_n],En=getDataItemValue(Cn);if(!isArray$2(En))return BE_ORDINAL.Not;if((At=Tn(En[qe]))!=null)return At}function Tn(An){var $n=isString$2(An);if(An!=null&&isFinite(An)&&An!=="")return $n?BE_ORDINAL.Might:BE_ORDINAL.Not;if($n&&An!=="-")return BE_ORDINAL.Must}return BE_ORDINAL.Not}var internalOptionCreatorMap=createHashMap();function registerInternalOptionCreator(xe,$e){assert(internalOptionCreatorMap.get(xe)==null&&$e),internalOptionCreatorMap.set(xe,$e)}function concatInternalOptions(xe,$e,Ie){var Fe=internalOptionCreatorMap.get($e);if(!Fe)return Ie;var Ue=Fe(xe);return Ue?Ie.concat(Ue):Ie}var innerColor=makeInner(),innerDecal=makeInner(),PaletteMixin=function(){function xe(){}return xe.prototype.getColorFromPalette=function($e,Ie,Fe){var Ue=normalizeToArray(this.get("color",!0)),qe=this.get("colorLayer",!0);return getFromPalette(this,innerColor,Ue,qe,$e,Ie,Fe)},xe.prototype.clearColorPalette=function(){clearPalette(this,innerColor)},xe}();function getDecalFromPalette(xe,$e,Ie,Fe){var Ue=normalizeToArray(xe.get(["aria","decal","decals"]));return getFromPalette(xe,innerDecal,Ue,null,$e,Ie,Fe)}function getNearestPalette(xe,$e){for(var Ie=xe.length,Fe=0;Fe<Ie;Fe++)if(xe[Fe].length>$e)return xe[Fe];return xe[Ie-1]}function getFromPalette(xe,$e,Ie,Fe,Ue,qe,At){qe=qe||xe;var Dt=$e(qe),Lt=Dt.paletteIdx||0,jt=Dt.paletteNameMap=Dt.paletteNameMap||{};if(jt.hasOwnProperty(Ue))return jt[Ue];var hn=At==null||!Fe?Ie:getNearestPalette(Fe,At);if(hn=hn||Ie,!(!hn||!hn.length)){var vn=hn[Lt];return Ue&&(jt[Ue]=vn),Dt.paletteIdx=(Lt+1)%hn.length,vn}}function clearPalette(xe,$e){$e(xe).paletteIdx=0,$e(xe).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie,Fe,Ue,qe,At,Dt){qe=qe||{},this.option=null,this._theme=new Model(qe),this._locale=new Model(At),this._optionManager=Dt},$e.prototype.setOption=function(Ie,Fe,Ue){var qe=normalizeSetOptionInput(Fe);this._optionManager.setOption(Ie,Ue,qe),this._resetOption(null,qe)},$e.prototype.resetOption=function(Ie,Fe){return this._resetOption(Ie,normalizeSetOptionInput(Fe))},$e.prototype._resetOption=function(Ie,Fe){var Ue=!1,qe=this._optionManager;if(!Ie||Ie==="recreate"){var At=qe.mountOption(Ie==="recreate");!this.option||Ie==="recreate"?initBase(this,At):(this.restoreData(),this._mergeOption(At,Fe)),Ue=!0}if((Ie==="timeline"||Ie==="media")&&this.restoreData(),!Ie||Ie==="recreate"||Ie==="timeline"){var Dt=qe.getTimelineOption(this);Dt&&(Ue=!0,this._mergeOption(Dt,Fe))}if(!Ie||Ie==="recreate"||Ie==="media"){var Lt=qe.getMediaOption(this);Lt.length&&each$f(Lt,function(jt){Ue=!0,this._mergeOption(jt,Fe)},this)}return Ue},$e.prototype.mergeOption=function(Ie){this._mergeOption(Ie,null)},$e.prototype._mergeOption=function(Ie,Fe){var Ue=this.option,qe=this._componentsMap,At=this._componentsCount,Dt=[],Lt=createHashMap(),jt=Fe&&Fe.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(Ie,function(vn,bn){vn!=null&&(ComponentModel.hasClass(bn)?bn&&(Dt.push(bn),Lt.set(bn,!0)):Ue[bn]=Ue[bn]==null?clone$4(vn):merge$1(Ue[bn],vn,!0))}),jt&&jt.each(function(vn,bn){ComponentModel.hasClass(bn)&&!Lt.get(bn)&&(Dt.push(bn),Lt.set(bn,!0))}),ComponentModel.topologicalTravel(Dt,ComponentModel.getAllClassMainTypes(),hn,this);function hn(vn){var bn=concatInternalOptions(this,vn,normalizeToArray(Ie[vn])),_n=qe.get(vn),wn=_n?jt&&jt.get(vn)?"replaceMerge":"normalMerge":"replaceAll",kn=mappingToExists(_n,bn,wn);setComponentTypeToKeyInfo(kn,vn,ComponentModel),Ue[vn]=null,qe.set(vn,null),At.set(vn,0);var Cn=[],Sn=[],xn=0,En;each$f(kn,function(Tn,An){var $n=Tn.existing,Pn=Tn.newOption;if(!Pn)$n&&($n.mergeOption({},this),$n.optionUpdated({},!1));else{var Nn=vn==="series",Mn=ComponentModel.getClass(vn,Tn.keyInfo.subType,!Nn);if(!Mn)return;if(vn==="tooltip"){if(En)return;En=!0}if($n&&$n.constructor===Mn)$n.name=Tn.keyInfo.name,$n.mergeOption(Pn,this),$n.optionUpdated(Pn,!1);else{var In=extend$1({componentIndex:An},Tn.keyInfo);$n=new Mn(Pn,this,this,In),extend$1($n,In),Tn.brandNew&&($n.__requireNewView=!0),$n.init(Pn,this,this),$n.optionUpdated(null,!0)}}$n?(Cn.push($n.option),Sn.push($n),xn++):(Cn.push(void 0),Sn.push(void 0))},this),Ue[vn]=Cn,qe.set(vn,Sn),At.set(vn,xn),vn==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},$e.prototype.getOption=function(){var Ie=clone$4(this.option);return each$f(Ie,function(Fe,Ue){if(ComponentModel.hasClass(Ue)){for(var qe=normalizeToArray(Fe),At=qe.length,Dt=!1,Lt=At-1;Lt>=0;Lt--)qe[Lt]&&!isComponentIdInternal(qe[Lt])?Dt=!0:(qe[Lt]=null,!Dt&&At--);qe.length=At,Ie[Ue]=qe}}),delete Ie[OPTION_INNER_KEY],Ie},$e.prototype.getTheme=function(){return this._theme},$e.prototype.getLocaleModel=function(){return this._locale},$e.prototype.setUpdatePayload=function(Ie){this._payload=Ie},$e.prototype.getUpdatePayload=function(){return this._payload},$e.prototype.getComponent=function(Ie,Fe){var Ue=this._componentsMap.get(Ie);if(Ue){var qe=Ue[Fe||0];if(qe)return qe;if(Fe==null){for(var At=0;At<Ue.length;At++)if(Ue[At])return Ue[At]}}},$e.prototype.queryComponents=function(Ie){var Fe=Ie.mainType;if(!Fe)return[];var Ue=Ie.index,qe=Ie.id,At=Ie.name,Dt=this._componentsMap.get(Fe);if(!Dt||!Dt.length)return[];var Lt;return Ue!=null?(Lt=[],each$f(normalizeToArray(Ue),function(jt){Dt[jt]&&Lt.push(Dt[jt])})):qe!=null?Lt=queryByIdOrName("id",qe,Dt):At!=null?Lt=queryByIdOrName("name",At,Dt):Lt=filter(Dt,function(jt){return!!jt}),filterBySubType(Lt,Ie)},$e.prototype.findComponents=function(Ie){var Fe=Ie.query,Ue=Ie.mainType,qe=Dt(Fe),At=qe?this.queryComponents(qe):filter(this._componentsMap.get(Ue),function(jt){return!!jt});return Lt(filterBySubType(At,Ie));function Dt(jt){var hn=Ue+"Index",vn=Ue+"Id",bn=Ue+"Name";return jt&&(jt[hn]!=null||jt[vn]!=null||jt[bn]!=null)?{mainType:Ue,index:jt[hn],id:jt[vn],name:jt[bn]}:null}function Lt(jt){return Ie.filter?filter(jt,Ie.filter):jt}},$e.prototype.eachComponent=function(Ie,Fe,Ue){var qe=this._componentsMap;if(isFunction$2(Ie)){var At=Fe,Dt=Ie;qe.each(function(vn,bn){for(var _n=0;vn&&_n<vn.length;_n++){var wn=vn[_n];wn&&Dt.call(At,bn,wn,wn.componentIndex)}})}else for(var Lt=isString$2(Ie)?qe.get(Ie):isObject$4(Ie)?this.findComponents(Ie):null,jt=0;Lt&&jt<Lt.length;jt++){var hn=Lt[jt];hn&&Fe.call(Ue,hn,hn.componentIndex)}},$e.prototype.getSeriesByName=function(Ie){var Fe=convertOptionIdName(Ie,null);return filter(this._componentsMap.get("series"),function(Ue){return!!Ue&&Fe!=null&&Ue.name===Fe})},$e.prototype.getSeriesByIndex=function(Ie){return this._componentsMap.get("series")[Ie]},$e.prototype.getSeriesByType=function(Ie){return filter(this._componentsMap.get("series"),function(Fe){return!!Fe&&Fe.subType===Ie})},$e.prototype.getSeries=function(){return filter(this._componentsMap.get("series"),function(Ie){return!!Ie})},$e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},$e.prototype.eachSeries=function(Ie,Fe){assertSeriesInitialized(this),each$f(this._seriesIndices,function(Ue){var qe=this._componentsMap.get("series")[Ue];Ie.call(Fe,qe,Ue)},this)},$e.prototype.eachRawSeries=function(Ie,Fe){each$f(this._componentsMap.get("series"),function(Ue){Ue&&Ie.call(Fe,Ue,Ue.componentIndex)})},$e.prototype.eachSeriesByType=function(Ie,Fe,Ue){assertSeriesInitialized(this),each$f(this._seriesIndices,function(qe){var At=this._componentsMap.get("series")[qe];At.subType===Ie&&Fe.call(Ue,At,qe)},this)},$e.prototype.eachRawSeriesByType=function(Ie,Fe,Ue){return each$f(this.getSeriesByType(Ie),Fe,Ue)},$e.prototype.isSeriesFiltered=function(Ie){return assertSeriesInitialized(this),this._seriesIndicesMap.get(Ie.componentIndex)==null},$e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},$e.prototype.filterSeries=function(Ie,Fe){assertSeriesInitialized(this);var Ue=[];each$f(this._seriesIndices,function(qe){var At=this._componentsMap.get("series")[qe];Ie.call(Fe,At,qe)&&Ue.push(qe)},this),this._seriesIndices=Ue,this._seriesIndicesMap=createHashMap(Ue)},$e.prototype.restoreData=function(Ie){reCreateSeriesIndices(this);var Fe=this._componentsMap,Ue=[];Fe.each(function(qe,At){ComponentModel.hasClass(At)&&Ue.push(At)}),ComponentModel.topologicalTravel(Ue,ComponentModel.getAllClassMainTypes(),function(qe){each$f(Fe.get(qe),function(At){At&&(qe!=="series"||!isNotTargetSeries(At,Ie))&&At.restoreData()})})},$e.internalField=function(){reCreateSeriesIndices=function(Ie){var Fe=Ie._seriesIndices=[];each$f(Ie._componentsMap.get("series"),function(Ue){Ue&&Fe.push(Ue.componentIndex)}),Ie._seriesIndicesMap=createHashMap(Fe)},assertSeriesInitialized=function(Ie){},initBase=function(Ie,Fe){Ie.option={},Ie.option[OPTION_INNER_KEY]=OPTION_INNER_VALUE,Ie._componentsMap=createHashMap({series:[]}),Ie._componentsCount=createHashMap();var Ue=Fe.aria;isObject$4(Ue)&&Ue.enabled==null&&(Ue.enabled=!0),mergeTheme(Fe,Ie._theme.option),merge$1(Fe,globalDefault,!1),Ie._mergeOption(Fe,null)}}(),$e}(Model);function isNotTargetSeries(xe,$e){if($e){var Ie=$e.seriesIndex,Fe=$e.seriesId,Ue=$e.seriesName;return Ie!=null&&xe.componentIndex!==Ie||Fe!=null&&xe.id!==Fe||Ue!=null&&xe.name!==Ue}}function mergeTheme(xe,$e){var Ie=xe.color&&!xe.colorLayer;each$f($e,function(Fe,Ue){Ue==="colorLayer"&&Ie||ComponentModel.hasClass(Ue)||(typeof Fe=="object"?xe[Ue]=xe[Ue]?merge$1(xe[Ue],Fe,!1):clone$4(Fe):xe[Ue]==null&&(xe[Ue]=Fe))})}function queryByIdOrName(xe,$e,Ie){if(isArray$2($e)){var Fe=createHashMap();return each$f($e,function(qe){if(qe!=null){var At=convertOptionIdName(qe,null);At!=null&&Fe.set(qe,!0)}}),filter(Ie,function(qe){return qe&&Fe.get(qe[xe])})}else{var Ue=convertOptionIdName($e,null);return filter(Ie,function(qe){return qe&&Ue!=null&&qe[xe]===Ue})}}function filterBySubType(xe,$e){return $e.hasOwnProperty("subType")?filter(xe,function(Ie){return Ie&&Ie.subType===$e.subType}):xe}function normalizeSetOptionInput(xe){var $e=createHashMap();return xe&&each$f(normalizeToArray(xe.replaceMerge),function(Ie){$e.set(Ie,!0)}),{replaceMergeMainTypeMap:$e}}mixin(GlobalModel,PaletteMixin);var availableMethods=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],ExtensionAPI=function(){function xe($e){each$f(availableMethods,function(Ie){this[Ie]=bind$2($e[Ie],$e)},this)}return xe}(),coordinateSystemCreators={},CoordinateSystemManager=function(){function xe(){this._coordinateSystems=[]}return xe.prototype.create=function($e,Ie){var Fe=[];each$f(coordinateSystemCreators,function(Ue,qe){var At=Ue.create($e,Ie);Fe=Fe.concat(At||[])}),this._coordinateSystems=Fe},xe.prototype.update=function($e,Ie){each$f(this._coordinateSystems,function(Fe){Fe.update&&Fe.update($e,Ie)})},xe.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},xe.register=function($e,Ie){coordinateSystemCreators[$e]=Ie},xe.get=function($e){return coordinateSystemCreators[$e]},xe}(),QUERY_REG=/^(min|max)?(.+)$/,OptionManager=function(){function xe($e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=$e}return xe.prototype.setOption=function($e,Ie,Fe){$e&&(each$f(normalizeToArray($e.series),function(At){At&&At.data&&isTypedArray$1(At.data)&&setAsPrimitive(At.data)}),each$f(normalizeToArray($e.dataset),function(At){At&&At.source&&isTypedArray$1(At.source)&&setAsPrimitive(At.source)})),$e=clone$4($e);var Ue=this._optionBackup,qe=parseRawOption($e,Ie,!Ue);this._newBaseOption=qe.baseOption,Ue?(qe.timelineOptions.length&&(Ue.timelineOptions=qe.timelineOptions),qe.mediaList.length&&(Ue.mediaList=qe.mediaList),qe.mediaDefault&&(Ue.mediaDefault=qe.mediaDefault)):this._optionBackup=qe},xe.prototype.mountOption=function($e){var Ie=this._optionBackup;return this._timelineOptions=Ie.timelineOptions,this._mediaList=Ie.mediaList,this._mediaDefault=Ie.mediaDefault,this._currentMediaIndices=[],clone$4($e?Ie.baseOption:this._newBaseOption)},xe.prototype.getTimelineOption=function($e){var Ie,Fe=this._timelineOptions;if(Fe.length){var Ue=$e.getComponent("timeline");Ue&&(Ie=clone$4(Fe[Ue.getCurrentIndex()]))}return Ie},xe.prototype.getMediaOption=function($e){var Ie=this._api.getWidth(),Fe=this._api.getHeight(),Ue=this._mediaList,qe=this._mediaDefault,At=[],Dt=[];if(!Ue.length&&!qe)return Dt;for(var Lt=0,jt=Ue.length;Lt<jt;Lt++)applyMediaQuery(Ue[Lt].query,Ie,Fe)&&At.push(Lt);return!At.length&&qe&&(At=[-1]),At.length&&!indicesEquals(At,this._currentMediaIndices)&&(Dt=map$1(At,function(hn){return clone$4(hn===-1?qe.option:Ue[hn].option)})),this._currentMediaIndices=At,Dt},xe}();function parseRawOption(xe,$e,Ie){var Fe=[],Ue,qe,At=xe.baseOption,Dt=xe.timeline,Lt=xe.options,jt=xe.media,hn=!!xe.media,vn=!!(Lt||Dt||At&&At.timeline);At?(qe=At,qe.timeline||(qe.timeline=Dt)):((vn||hn)&&(xe.options=xe.media=null),qe=xe),hn&&isArray$2(jt)&&each$f(jt,function(_n){_n&&_n.option&&(_n.query?Fe.push(_n):Ue||(Ue=_n))}),bn(qe),each$f(Lt,function(_n){return bn(_n)}),each$f(Fe,function(_n){return bn(_n.option)});function bn(_n){each$f($e,function(wn){wn(_n,Ie)})}return{baseOption:qe,timelineOptions:Lt||[],mediaDefault:Ue,mediaList:Fe}}function applyMediaQuery(xe,$e,Ie){var Fe={width:$e,height:Ie,aspectratio:$e/Ie},Ue=!0;return each$f(xe,function(qe,At){var Dt=At.match(QUERY_REG);if(!(!Dt||!Dt[1]||!Dt[2])){var Lt=Dt[1],jt=Dt[2].toLowerCase();compare(Fe[jt],qe,Lt)||(Ue=!1)}}),Ue}function compare(xe,$e,Ie){return Ie==="min"?xe>=$e:Ie==="max"?xe<=$e:xe===$e}function indicesEquals(xe,$e){return xe.join(",")===$e.join(",")}var each$d=each$f,isObject$3=isObject$4,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(xe){var $e=xe&&xe.itemStyle;if($e)for(var Ie=0,Fe=POSSIBLE_STYLES.length;Ie<Fe;Ie++){var Ue=POSSIBLE_STYLES[Ie],qe=$e.normal,At=$e.emphasis;qe&&qe[Ue]&&(xe[Ue]=xe[Ue]||{},xe[Ue].normal?merge$1(xe[Ue].normal,qe[Ue]):xe[Ue].normal=qe[Ue],qe[Ue]=null),At&&At[Ue]&&(xe[Ue]=xe[Ue]||{},xe[Ue].emphasis?merge$1(xe[Ue].emphasis,At[Ue]):xe[Ue].emphasis=At[Ue],At[Ue]=null)}}function convertNormalEmphasis(xe,$e,Ie){if(xe&&xe[$e]&&(xe[$e].normal||xe[$e].emphasis)){var Fe=xe[$e].normal,Ue=xe[$e].emphasis;Fe&&(Ie?(xe[$e].normal=xe[$e].emphasis=null,defaults$1(xe[$e],Fe)):xe[$e]=Fe),Ue&&(xe.emphasis=xe.emphasis||{},xe.emphasis[$e]=Ue,Ue.focus&&(xe.emphasis.focus=Ue.focus),Ue.blurScope&&(xe.emphasis.blurScope=Ue.blurScope))}}function removeEC3NormalStatus(xe){convertNormalEmphasis(xe,"itemStyle"),convertNormalEmphasis(xe,"lineStyle"),convertNormalEmphasis(xe,"areaStyle"),convertNormalEmphasis(xe,"label"),convertNormalEmphasis(xe,"labelLine"),convertNormalEmphasis(xe,"upperLabel"),convertNormalEmphasis(xe,"edgeLabel")}function compatTextStyle(xe,$e){var Ie=isObject$3(xe)&&xe[$e],Fe=isObject$3(Ie)&&Ie.textStyle;if(Fe)for(var Ue=0,qe=TEXT_STYLE_OPTIONS.length;Ue<qe;Ue++){var At=TEXT_STYLE_OPTIONS[Ue];Fe.hasOwnProperty(At)&&(Ie[At]=Fe[At])}}function compatEC3CommonStyles(xe){xe&&(removeEC3NormalStatus(xe),compatTextStyle(xe,"label"),xe.emphasis&&compatTextStyle(xe.emphasis,"label"))}function processSeries(xe){if(isObject$3(xe)){compatEC2ItemStyle(xe),removeEC3NormalStatus(xe),compatTextStyle(xe,"label"),compatTextStyle(xe,"upperLabel"),compatTextStyle(xe,"edgeLabel"),xe.emphasis&&(compatTextStyle(xe.emphasis,"label"),compatTextStyle(xe.emphasis,"upperLabel"),compatTextStyle(xe.emphasis,"edgeLabel"));var $e=xe.markPoint;$e&&(compatEC2ItemStyle($e),compatEC3CommonStyles($e));var Ie=xe.markLine;Ie&&(compatEC2ItemStyle(Ie),compatEC3CommonStyles(Ie));var Fe=xe.markArea;Fe&&compatEC3CommonStyles(Fe);var Ue=xe.data;if(xe.type==="graph"){Ue=Ue||xe.nodes;var qe=xe.links||xe.edges;if(qe&&!isTypedArray$1(qe))for(var At=0;At<qe.length;At++)compatEC3CommonStyles(qe[At]);each$f(xe.categories,function(jt){removeEC3NormalStatus(jt)})}if(Ue&&!isTypedArray$1(Ue))for(var At=0;At<Ue.length;At++)compatEC3CommonStyles(Ue[At]);if($e=xe.markPoint,$e&&$e.data)for(var Dt=$e.data,At=0;At<Dt.length;At++)compatEC3CommonStyles(Dt[At]);if(Ie=xe.markLine,Ie&&Ie.data)for(var Lt=Ie.data,At=0;At<Lt.length;At++)isArray$2(Lt[At])?(compatEC3CommonStyles(Lt[At][0]),compatEC3CommonStyles(Lt[At][1])):compatEC3CommonStyles(Lt[At]);xe.type==="gauge"?(compatTextStyle(xe,"axisLabel"),compatTextStyle(xe,"title"),compatTextStyle(xe,"detail")):xe.type==="treemap"?(convertNormalEmphasis(xe.breadcrumb,"itemStyle"),each$f(xe.levels,function(jt){removeEC3NormalStatus(jt)})):xe.type==="tree"&&removeEC3NormalStatus(xe.leaves)}}function toArr(xe){return isArray$2(xe)?xe:xe?[xe]:[]}function toObj(xe){return(isArray$2(xe)?xe[0]:xe)||{}}function globalCompatStyle(xe,$e){each$d(toArr(xe.series),function(Fe){isObject$3(Fe)&&processSeries(Fe)});var Ie=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];$e&&Ie.push("valueAxis","categoryAxis","logAxis","timeAxis"),each$d(Ie,function(Fe){each$d(toArr(xe[Fe]),function(Ue){Ue&&(compatTextStyle(Ue,"axisLabel"),compatTextStyle(Ue.axisPointer,"label"))})}),each$d(toArr(xe.parallel),function(Fe){var Ue=Fe&&Fe.parallelAxisDefault;compatTextStyle(Ue,"axisLabel"),compatTextStyle(Ue&&Ue.axisPointer,"label")}),each$d(toArr(xe.calendar),function(Fe){convertNormalEmphasis(Fe,"itemStyle"),compatTextStyle(Fe,"dayLabel"),compatTextStyle(Fe,"monthLabel"),compatTextStyle(Fe,"yearLabel")}),each$d(toArr(xe.radar),function(Fe){compatTextStyle(Fe,"name"),Fe.name&&Fe.axisName==null&&(Fe.axisName=Fe.name,delete Fe.name),Fe.nameGap!=null&&Fe.axisNameGap==null&&(Fe.axisNameGap=Fe.nameGap,delete Fe.nameGap)}),each$d(toArr(xe.geo),function(Fe){isObject$3(Fe)&&(compatEC3CommonStyles(Fe),each$d(toArr(Fe.regions),function(Ue){compatEC3CommonStyles(Ue)}))}),each$d(toArr(xe.timeline),function(Fe){compatEC3CommonStyles(Fe),convertNormalEmphasis(Fe,"label"),convertNormalEmphasis(Fe,"itemStyle"),convertNormalEmphasis(Fe,"controlStyle",!0);var Ue=Fe.data;isArray$2(Ue)&&each$f(Ue,function(qe){isObject$4(qe)&&(convertNormalEmphasis(qe,"label"),convertNormalEmphasis(qe,"itemStyle"))})}),each$d(toArr(xe.toolbox),function(Fe){convertNormalEmphasis(Fe,"iconStyle"),each$d(Fe.feature,function(Ue){convertNormalEmphasis(Ue,"iconStyle")})}),compatTextStyle(toObj(xe.axisPointer),"label"),compatTextStyle(toObj(xe.tooltip).axisPointer,"label")}function get(xe,$e){for(var Ie=$e.split(","),Fe=xe,Ue=0;Ue<Ie.length&&(Fe=Fe&&Fe[Ie[Ue]],Fe!=null);Ue++);return Fe}function set(xe,$e,Ie,Fe){for(var Ue=$e.split(","),qe=xe,At,Dt=0;Dt<Ue.length-1;Dt++)At=Ue[Dt],qe[At]==null&&(qe[At]={}),qe=qe[At];qe[Ue[Dt]]==null&&(qe[Ue[Dt]]=Ie)}function compatLayoutProperties(xe){xe&&each$f(LAYOUT_PROPERTIES,function($e){$e[0]in xe&&!($e[1]in xe)&&(xe[$e[1]]=xe[$e[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(xe){var $e=xe&&xe.itemStyle;if($e)for(var Ie=0;Ie<BAR_ITEM_STYLE_MAP.length;Ie++){var Fe=BAR_ITEM_STYLE_MAP[Ie][1],Ue=BAR_ITEM_STYLE_MAP[Ie][0];$e[Fe]!=null&&($e[Ue]=$e[Fe])}}function compatPieLabel(xe){xe&&xe.alignTo==="edge"&&xe.margin!=null&&xe.edgeDistance==null&&(xe.edgeDistance=xe.margin)}function compatSunburstState(xe){xe&&xe.downplay&&!xe.blur&&(xe.blur=xe.downplay)}function compatGraphFocus(xe){xe&&xe.focusNodeAdjacency!=null&&(xe.emphasis=xe.emphasis||{},xe.emphasis.focus==null&&(xe.emphasis.focus="adjacency"))}function traverseTree(xe,$e){if(xe)for(var Ie=0;Ie<xe.length;Ie++)$e(xe[Ie]),xe[Ie]&&traverseTree(xe[Ie].children,$e)}function globalBackwardCompat(xe,$e){globalCompatStyle(xe,$e),xe.series=normalizeToArray(xe.series),each$f(xe.series,function(Ie){if(isObject$4(Ie)){var Fe=Ie.type;if(Fe==="line")Ie.clipOverflow!=null&&(Ie.clip=Ie.clipOverflow);else if(Fe==="pie"||Fe==="gauge"){Ie.clockWise!=null&&(Ie.clockwise=Ie.clockWise),compatPieLabel(Ie.label);var Ue=Ie.data;if(Ue&&!isTypedArray$1(Ue))for(var qe=0;qe<Ue.length;qe++)compatPieLabel(Ue[qe]);Ie.hoverOffset!=null&&(Ie.emphasis=Ie.emphasis||{},(Ie.emphasis.scaleSize=null)&&(Ie.emphasis.scaleSize=Ie.hoverOffset))}else if(Fe==="gauge"){var At=get(Ie,"pointer.color");At!=null&&set(Ie,"itemStyle.color",At)}else if(Fe==="bar"){compatBarItemStyle(Ie),compatBarItemStyle(Ie.backgroundStyle),compatBarItemStyle(Ie.emphasis);var Ue=Ie.data;if(Ue&&!isTypedArray$1(Ue))for(var qe=0;qe<Ue.length;qe++)typeof Ue[qe]=="object"&&(compatBarItemStyle(Ue[qe]),compatBarItemStyle(Ue[qe]&&Ue[qe].emphasis))}else if(Fe==="sunburst"){var Dt=Ie.highlightPolicy;Dt&&(Ie.emphasis=Ie.emphasis||{},Ie.emphasis.focus||(Ie.emphasis.focus=Dt)),compatSunburstState(Ie),traverseTree(Ie.data,compatSunburstState)}else Fe==="graph"||Fe==="sankey"?compatGraphFocus(Ie):Fe==="map"&&(Ie.mapType&&!Ie.map&&(Ie.map=Ie.mapType),Ie.mapLocation&&defaults$1(Ie,Ie.mapLocation));Ie.hoverAnimation!=null&&(Ie.emphasis=Ie.emphasis||{},Ie.emphasis&&Ie.emphasis.scale==null&&(Ie.emphasis.scale=Ie.hoverAnimation)),compatLayoutProperties(Ie)}}),xe.dataRange&&(xe.visualMap=xe.dataRange),each$f(COMPATITABLE_COMPONENTS,function(Ie){var Fe=xe[Ie];Fe&&(isArray$2(Fe)||(Fe=[Fe]),each$f(Fe,function(Ue){compatLayoutProperties(Ue)}))})}function dataStack(xe){var $e=createHashMap();xe.eachSeries(function(Ie){var Fe=Ie.get("stack");if(Fe){var Ue=$e.get(Fe)||$e.set(Fe,[]),qe=Ie.getData(),At={stackResultDimension:qe.getCalculationInfo("stackResultDimension"),stackedOverDimension:qe.getCalculationInfo("stackedOverDimension"),stackedDimension:qe.getCalculationInfo("stackedDimension"),stackedByDimension:qe.getCalculationInfo("stackedByDimension"),isStackedByIndex:qe.getCalculationInfo("isStackedByIndex"),data:qe,seriesModel:Ie};if(!At.stackedDimension||!(At.isStackedByIndex||At.stackedByDimension))return;Ue.length&&qe.setCalculationInfo("stackedOnSeries",Ue[Ue.length-1].seriesModel),Ue.push(At)}}),$e.each(calculateStack)}function calculateStack(xe){each$f(xe,function($e,Ie){var Fe=[],Ue=[NaN,NaN],qe=[$e.stackResultDimension,$e.stackedOverDimension],At=$e.data,Dt=$e.isStackedByIndex,Lt=$e.seriesModel.get("stackStrategy")||"samesign";At.modify(qe,function(jt,hn,vn){var bn=At.get($e.stackedDimension,vn);if(isNaN(bn))return Ue;var _n,wn;Dt?wn=At.getRawIndex(vn):_n=At.get($e.stackedByDimension,vn);for(var kn=NaN,Cn=Ie-1;Cn>=0;Cn--){var Sn=xe[Cn];if(Dt||(wn=Sn.data.rawIndexOf(Sn.stackedByDimension,_n)),wn>=0){var xn=Sn.data.getByRawIndex(Sn.stackResultDimension,wn);if(Lt==="all"||Lt==="positive"&&xn>0||Lt==="negative"&&xn<0||Lt==="samesign"&&bn>=0&&xn>0||Lt==="samesign"&&bn<=0&&xn<0){bn=addSafe(bn,xn),kn=xn;break}}}return Fe[0]=bn,Fe[1]=kn,Fe})})}var SourceImpl=function(){function xe($e){this.data=$e.data||($e.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=$e.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=$e.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=$e.startIndex||0,this.dimensionsDetectedCount=$e.dimensionsDetectedCount,this.metaRawOption=$e.metaRawOption;var Ie=this.dimensionsDefine=$e.dimensionsDefine;if(Ie)for(var Fe=0;Fe<Ie.length;Fe++){var Ue=Ie[Fe];Ue.type==null&&guessOrdinal(this,Fe)===BE_ORDINAL.Must&&(Ue.type="ordinal")}}return xe}();function isSourceInstance(xe){return xe instanceof SourceImpl}function createSource(xe,$e,Ie){Ie=Ie||detectSourceFormat(xe);var Fe=$e.seriesLayoutBy,Ue=determineSourceDimensions(xe,Ie,Fe,$e.sourceHeader,$e.dimensions),qe=new SourceImpl({data:xe,sourceFormat:Ie,seriesLayoutBy:Fe,dimensionsDefine:Ue.dimensionsDefine,startIndex:Ue.startIndex,dimensionsDetectedCount:Ue.dimensionsDetectedCount,metaRawOption:clone$4($e)});return qe}function createSourceFromSeriesDataOption(xe){return new SourceImpl({data:xe,sourceFormat:isTypedArray$1(xe)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL})}function cloneSourceShallow(xe){return new SourceImpl({data:xe.data,sourceFormat:xe.sourceFormat,seriesLayoutBy:xe.seriesLayoutBy,dimensionsDefine:clone$4(xe.dimensionsDefine),startIndex:xe.startIndex,dimensionsDetectedCount:xe.dimensionsDetectedCount})}function detectSourceFormat(xe){var $e=SOURCE_FORMAT_UNKNOWN;if(isTypedArray$1(xe))$e=SOURCE_FORMAT_TYPED_ARRAY;else if(isArray$2(xe)){xe.length===0&&($e=SOURCE_FORMAT_ARRAY_ROWS);for(var Ie=0,Fe=xe.length;Ie<Fe;Ie++){var Ue=xe[Ie];if(Ue!=null){if(isArray$2(Ue)||isTypedArray$1(Ue)){$e=SOURCE_FORMAT_ARRAY_ROWS;break}else if(isObject$4(Ue)){$e=SOURCE_FORMAT_OBJECT_ROWS;break}}}}else if(isObject$4(xe)){for(var qe in xe)if(hasOwn(xe,qe)&&isArrayLike(xe[qe])){$e=SOURCE_FORMAT_KEYED_COLUMNS;break}}return $e}function determineSourceDimensions(xe,$e,Ie,Fe,Ue){var qe,At;if(!xe)return{dimensionsDefine:normalizeDimensionsOption(Ue),startIndex:At,dimensionsDetectedCount:qe};if($e===SOURCE_FORMAT_ARRAY_ROWS){var Dt=xe;Fe==="auto"||Fe==null?arrayRowsTravelFirst(function(jt){jt!=null&&jt!=="-"&&(isString$2(jt)?At==null&&(At=1):At=0)},Ie,Dt,10):At=isNumber$2(Fe)?Fe:Fe?1:0,!Ue&&At===1&&(Ue=[],arrayRowsTravelFirst(function(jt,hn){Ue[hn]=jt!=null?jt+"":""},Ie,Dt,1/0)),qe=Ue?Ue.length:Ie===SERIES_LAYOUT_BY_ROW?Dt.length:Dt[0]?Dt[0].length:null}else if($e===SOURCE_FORMAT_OBJECT_ROWS)Ue||(Ue=objectRowsCollectDimensions(xe));else if($e===SOURCE_FORMAT_KEYED_COLUMNS)Ue||(Ue=[],each$f(xe,function(jt,hn){Ue.push(hn)}));else if($e===SOURCE_FORMAT_ORIGINAL){var Lt=getDataItemValue(xe[0]);qe=isArray$2(Lt)&&Lt.length||1}return{startIndex:At,dimensionsDefine:normalizeDimensionsOption(Ue),dimensionsDetectedCount:qe}}function objectRowsCollectDimensions(xe){for(var $e=0,Ie;$e<xe.length&&!(Ie=xe[$e++]););if(Ie)return keys(Ie)}function normalizeDimensionsOption(xe){if(xe){var $e=createHashMap();return map$1(xe,function(Ie,Fe){Ie=isObject$4(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 qe=$e.get(Ue.name);return qe?Ue.name+="-"+qe.count++:$e.set(Ue.name,{count:1}),Ue})}}function arrayRowsTravelFirst(xe,$e,Ie,Fe){if($e===SERIES_LAYOUT_BY_ROW)for(var Ue=0;Ue<Ie.length&&Ue<Fe;Ue++)xe(Ie[Ue]?Ie[Ue][0]:null,Ue);else for(var qe=Ie[0]||[],Ue=0;Ue<qe.length&&Ue<Fe;Ue++)xe(qe[Ue],Ue)}function shouldRetrieveDataByName(xe){var $e=xe.sourceFormat;return $e===SOURCE_FORMAT_OBJECT_ROWS||$e===SOURCE_FORMAT_KEYED_COLUMNS}var _a$1,_b,_c,providerMethods,mountMethods,DefaultDataProvider=function(){function xe($e,Ie){var Fe=isSourceInstance($e)?$e:createSourceFromSeriesDataOption($e);this._source=Fe;var Ue=this._data=Fe.data;Fe.sourceFormat===SOURCE_FORMAT_TYPED_ARRAY&&(this._offset=0,this._dimSize=Ie,this._data=Ue),mountMethods(this,Ue,Fe)}return xe.prototype.getSource=function(){return this._source},xe.prototype.count=function(){return 0},xe.prototype.getItem=function($e,Ie){},xe.prototype.appendData=function($e){},xe.prototype.clean=function(){},xe.protoInitialize=function(){var $e=xe.prototype;$e.pure=!1,$e.persistent=!0}(),xe.internalField=function(){var $e;mountMethods=function(At,Dt,Lt){var jt=Lt.sourceFormat,hn=Lt.seriesLayoutBy,vn=Lt.startIndex,bn=Lt.dimensionsDefine,_n=providerMethods[getMethodMapKey(jt,hn)];if(extend$1(At,_n),jt===SOURCE_FORMAT_TYPED_ARRAY)At.getItem=Ie,At.count=Ue,At.fillStorage=Fe;else{var wn=getRawSourceItemGetter(jt,hn);At.getItem=bind$2(wn,null,Dt,vn,bn);var kn=getRawSourceDataCounter(jt,hn);At.count=bind$2(kn,null,Dt,vn,bn)}};var Ie=function(At,Dt){At=At-this._offset,Dt=Dt||[];for(var Lt=this._data,jt=this._dimSize,hn=jt*At,vn=0;vn<jt;vn++)Dt[vn]=Lt[hn+vn];return Dt},Fe=function(At,Dt,Lt,jt){for(var hn=this._data,vn=this._dimSize,bn=0;bn<vn;bn++){for(var _n=jt[bn],wn=_n[0]==null?1/0:_n[0],kn=_n[1]==null?-1/0:_n[1],Cn=Dt-At,Sn=Lt[bn],xn=0;xn<Cn;xn++){var En=hn[xn*vn+bn];Sn[At+xn]=En,En<wn&&(wn=En),En>kn&&(kn=En)}_n[0]=wn,_n[1]=kn}},Ue=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=($e={},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},$e[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(At){var Dt=this._data;each$f(At,function(Lt,jt){for(var hn=Dt[jt]||(Dt[jt]=[]),vn=0;vn<(Lt||[]).length;vn++)hn.push(Lt[vn])})}},$e[SOURCE_FORMAT_ORIGINAL]={appendData:qe},$e[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(At){this._data=At},clean:function(){this._offset+=this.count(),this._data=null}},$e);function qe(At){for(var Dt=0;Dt<At.length;Dt++)this._data.push(At[Dt])}}(),xe}(),getItemSimply=function(xe,$e,Ie,Fe){return xe[Fe]},rawSourceItemGetterMap=(_a$1={},_a$1[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(xe,$e,Ie,Fe){return xe[Fe+$e]},_a$1[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(xe,$e,Ie,Fe,Ue){Fe+=$e;for(var qe=Ue||[],At=xe,Dt=0;Dt<At.length;Dt++){var Lt=At[Dt];qe[Dt]=Lt?Lt[Fe]:null}return qe},_a$1[SOURCE_FORMAT_OBJECT_ROWS]=getItemSimply,_a$1[SOURCE_FORMAT_KEYED_COLUMNS]=function(xe,$e,Ie,Fe,Ue){for(var qe=Ue||[],At=0;At<Ie.length;At++){var Dt=Ie[At].name,Lt=xe[Dt];qe[At]=Lt?Lt[Fe]:null}return qe},_a$1[SOURCE_FORMAT_ORIGINAL]=getItemSimply,_a$1);function getRawSourceItemGetter(xe,$e){var Ie=rawSourceItemGetterMap[getMethodMapKey(xe,$e)];return Ie}var countSimply=function(xe,$e,Ie){return xe.length},rawSourceDataCounterMap=(_b={},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]=function(xe,$e,Ie){return Math.max(0,xe.length-$e)},_b[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]=function(xe,$e,Ie){var Fe=xe[0];return Fe?Math.max(0,Fe.length-$e):0},_b[SOURCE_FORMAT_OBJECT_ROWS]=countSimply,_b[SOURCE_FORMAT_KEYED_COLUMNS]=function(xe,$e,Ie){var Fe=Ie[0].name,Ue=xe[Fe];return Ue?Ue.length:0},_b[SOURCE_FORMAT_ORIGINAL]=countSimply,_b);function getRawSourceDataCounter(xe,$e){var Ie=rawSourceDataCounterMap[getMethodMapKey(xe,$e)];return Ie}var getRawValueSimply=function(xe,$e,Ie){return xe[$e]},rawSourceValueGetterMap=(_c={},_c[SOURCE_FORMAT_ARRAY_ROWS]=getRawValueSimply,_c[SOURCE_FORMAT_OBJECT_ROWS]=function(xe,$e,Ie){return xe[Ie]},_c[SOURCE_FORMAT_KEYED_COLUMNS]=getRawValueSimply,_c[SOURCE_FORMAT_ORIGINAL]=function(xe,$e,Ie){var Fe=getDataItemValue(xe);return Fe instanceof Array?Fe[$e]:Fe},_c[SOURCE_FORMAT_TYPED_ARRAY]=getRawValueSimply,_c);function getRawSourceValueGetter(xe){var $e=rawSourceValueGetterMap[xe];return $e}function getMethodMapKey(xe,$e){return xe===SOURCE_FORMAT_ARRAY_ROWS?xe+"_"+$e:xe}function retrieveRawValue(xe,$e,Ie){if(xe){var Fe=xe.getRawDataItem($e);if(Fe!=null){var Ue=xe.getStore(),qe=Ue.getSource().sourceFormat;if(Ie!=null){var At=xe.getDimensionIndex(Ie),Dt=Ue.getDimensionProperty(At);return getRawSourceValueGetter(qe)(Fe,At,Dt)}else{var Lt=Fe;return qe===SOURCE_FORMAT_ORIGINAL&&(Lt=getDataItemValue(Fe)),Lt}}}}var DIMENSION_LABEL_REG=/\{@(.+?)\}/g,DataFormatMixin=function(){function xe(){}return xe.prototype.getDataParams=function($e,Ie){var Fe=this.getData(Ie),Ue=this.getRawValue($e,Ie),qe=Fe.getRawIndex($e),At=Fe.getName($e),Dt=Fe.getRawDataItem($e),Lt=Fe.getItemVisual($e,"style"),jt=Lt&&Lt[Fe.getItemVisual($e,"drawType")||"fill"],hn=Lt&&Lt.stroke,vn=this.mainType,bn=vn==="series",_n=Fe.userOutput&&Fe.userOutput.get();return{componentType:vn,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:bn?this.subType:null,seriesIndex:this.seriesIndex,seriesId:bn?this.id:null,seriesName:bn?this.name:null,name:At,dataIndex:qe,data:Dt,dataType:Ie,value:Ue,color:jt,borderColor:hn,dimensionNames:_n?_n.fullDimensions:null,encode:_n?_n.encode:null,$vars:["seriesName","name","value"]}},xe.prototype.getFormattedLabel=function($e,Ie,Fe,Ue,qe,At){Ie=Ie||"normal";var Dt=this.getData(Fe),Lt=this.getDataParams($e,Fe);if(At&&(Lt.value=At.interpolatedValue),Ue!=null&&isArray$2(Lt.value)&&(Lt.value=Lt.value[Ue]),!qe){var jt=Dt.getItemModel($e);qe=jt.get(Ie==="normal"?["label","formatter"]:[Ie,"label","formatter"])}if(isFunction$2(qe))return Lt.status=Ie,Lt.dimensionIndex=Ue,qe(Lt);if(isString$2(qe)){var hn=formatTpl(qe,Lt);return hn.replace(DIMENSION_LABEL_REG,function(vn,bn){var _n=bn.length,wn=bn;wn.charAt(0)==="["&&wn.charAt(_n-1)==="]"&&(wn=+wn.slice(1,_n-1));var kn=retrieveRawValue(Dt,$e,wn);if(At&&isArray$2(At.interpolatedValue)){var Cn=Dt.getDimensionIndex(wn);Cn>=0&&(kn=At.interpolatedValue[Cn])}return kn!=null?kn+"":""})}},xe.prototype.getRawValue=function($e,Ie){return retrieveRawValue(this.getData(Ie),$e)},xe.prototype.formatTooltip=function($e,Ie,Fe){},xe}();function normalizeTooltipFormatResult(xe){var $e,Ie;return isObject$4(xe)?xe.type&&(Ie=xe):$e=xe,{text:$e,frag:Ie}}function createTask(xe){return new Task(xe)}var Task=function(){function xe($e){$e=$e||{},this._reset=$e.reset,this._plan=$e.plan,this._count=$e.count,this._onDirty=$e.onDirty,this._dirty=!0}return xe.prototype.perform=function($e){var Ie=this._upstream,Fe=$e&&$e.skip;if(this._dirty&&Ie){var Ue=this.context;Ue.data=Ue.outputData=Ie.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var qe;this._plan&&!Fe&&(qe=this._plan(this.context));var At=hn(this._modBy),Dt=this._modDataCount||0,Lt=hn($e&&$e.modBy),jt=$e&&$e.modDataCount||0;(At!==Lt||Dt!==jt)&&(qe="reset");function hn(xn){return!(xn>=1)&&(xn=1),xn}var vn;(this._dirty||qe==="reset")&&(this._dirty=!1,vn=this._doReset(Fe)),this._modBy=Lt,this._modDataCount=jt;var bn=$e&&$e.step;if(Ie?this._dueEnd=Ie._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var _n=this._dueIndex,wn=Math.min(bn!=null?this._dueIndex+bn:1/0,this._dueEnd);if(!Fe&&(vn||_n<wn)){var kn=this._progress;if(isArray$2(kn))for(var Cn=0;Cn<kn.length;Cn++)this._doProgress(kn[Cn],_n,wn,Lt,jt);else this._doProgress(kn,_n,wn,Lt,jt)}this._dueIndex=wn;var Sn=this._settedOutputEnd!=null?this._settedOutputEnd:wn;this._outputDueEnd=Sn}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},xe.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},xe.prototype._doProgress=function($e,Ie,Fe,Ue,qe){iterator.reset(Ie,Fe,Ue,qe),this._callingProgress=$e,this._callingProgress({start:Ie,end:Fe,count:Fe-Ie,next:iterator.next},this.context)},xe.prototype._doReset=function($e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var Ie,Fe;!$e&&this._reset&&(Ie=this._reset(this.context),Ie&&Ie.progress&&(Fe=Ie.forceFirstProgress,Ie=Ie.progress),isArray$2(Ie)&&!Ie.length&&(Ie=null)),this._progress=Ie,this._modBy=this._modDataCount=null;var Ue=this._downstream;return Ue&&Ue.dirty(),Fe},xe.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},xe.prototype.pipe=function($e){(this._downstream!==$e||this._dirty)&&(this._downstream=$e,$e._upstream=this,$e.dirty())},xe.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},xe.prototype.getUpstream=function(){return this._upstream},xe.prototype.getDownstream=function(){return this._downstream},xe.prototype.setOutputEnd=function($e){this._outputDueEnd=this._settedOutputEnd=$e},xe}(),iterator=function(){var xe,$e,Ie,Fe,Ue,qe={reset:function(Lt,jt,hn,vn){$e=Lt,xe=jt,Ie=hn,Fe=vn,Ue=Math.ceil(Fe/Ie),qe.next=Ie>1&&Fe>0?Dt:At}};return qe;function At(){return $e<xe?$e++:null}function Dt(){var Lt=$e%Ue*Ie+Math.ceil($e/Ue),jt=$e>=xe?null:Lt<Fe?Lt:$e;return $e++,jt}}();function parseDataValue(xe,$e){var Ie=$e&&$e.type;return Ie==="ordinal"?xe:(Ie==="time"&&!isNumber$2(xe)&&xe!=null&&xe!=="-"&&(xe=+parseDate$1(xe)),xe==null||xe===""?NaN:+xe)}var valueParserMap=createHashMap({number:function(xe){return parseFloat(xe)},time:function(xe){return+parseDate$1(xe)},trim:function(xe){return isString$2(xe)?trim$2(xe):xe}});function getRawValueParser(xe){return valueParserMap.get(xe)}var ORDER_COMPARISON_OP_MAP={lt:function(xe,$e){return xe<$e},lte:function(xe,$e){return xe<=$e},gt:function(xe,$e){return xe>$e},gte:function(xe,$e){return xe>=$e}},FilterOrderComparator=function(){function xe($e,Ie){if(!isNumber$2(Ie)){var Fe="";throwError$1(Fe)}this._opFn=ORDER_COMPARISON_OP_MAP[$e],this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){return isNumber$2($e)?this._opFn($e,this._rvalFloat):this._opFn(numericToNumber($e),this._rvalFloat)},xe}(),SortOrderComparator=function(){function xe($e,Ie){var Fe=$e==="desc";this._resultLT=Fe?1:-1,Ie==null&&(Ie=Fe?"min":"max"),this._incomparable=Ie==="min"?-1/0:1/0}return xe.prototype.evaluate=function($e,Ie){var Fe=isNumber$2($e)?$e:numericToNumber($e),Ue=isNumber$2(Ie)?Ie:numericToNumber(Ie),qe=isNaN(Fe),At=isNaN(Ue);if(qe&&(Fe=this._incomparable),At&&(Ue=this._incomparable),qe&&At){var Dt=isString$2($e),Lt=isString$2(Ie);Dt&&(Fe=Lt?$e:0),Lt&&(Ue=Dt?Ie:0)}return Fe<Ue?this._resultLT:Fe>Ue?-this._resultLT:0},xe}(),FilterEqualityComparator=function(){function xe($e,Ie){this._rval=Ie,this._isEQ=$e,this._rvalTypeof=typeof Ie,this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){var Ie=$e===this._rval;if(!Ie){var Fe=typeof $e;Fe!==this._rvalTypeof&&(Fe==="number"||this._rvalTypeof==="number")&&(Ie=numericToNumber($e)===this._rvalFloat)}return this._isEQ?Ie:!Ie},xe}();function createFilterComparator(xe,$e){return xe==="eq"||xe==="ne"?new FilterEqualityComparator(xe==="eq",$e):hasOwn(ORDER_COMPARISON_OP_MAP,xe)?new FilterOrderComparator(xe,$e):null}var ExternalSource=function(){function xe(){}return xe.prototype.getRawData=function(){throw new Error("not supported")},xe.prototype.getRawDataItem=function($e){throw new Error("not supported")},xe.prototype.cloneRawData=function(){},xe.prototype.getDimensionInfo=function($e){},xe.prototype.cloneAllDimensionInfo=function(){},xe.prototype.count=function(){},xe.prototype.retrieveValue=function($e,Ie){},xe.prototype.retrieveValueFromItem=function($e,Ie){},xe.prototype.convertValue=function($e,Ie){return parseDataValue($e,Ie)},xe}();function createExternalSource(xe,$e){var Ie=new ExternalSource,Fe=xe.data,Ue=Ie.sourceFormat=xe.sourceFormat,qe=xe.startIndex,At="";xe.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError$1(At);var Dt=[],Lt={},jt=xe.dimensionsDefine;if(jt)each$f(jt,function(kn,Cn){var Sn=kn.name,xn={index:Cn,name:Sn,displayName:kn.displayName};if(Dt.push(xn),Sn!=null){var En="";hasOwn(Lt,Sn)&&throwError$1(En),Lt[Sn]=xn}});else for(var hn=0;hn<xe.dimensionsDetectedCount;hn++)Dt.push({index:hn});var vn=getRawSourceItemGetter(Ue,SERIES_LAYOUT_BY_COLUMN);$e.__isBuiltIn&&(Ie.getRawDataItem=function(kn){return vn(Fe,qe,Dt,kn)},Ie.getRawData=bind$2(getRawData,null,xe)),Ie.cloneRawData=bind$2(cloneRawData,null,xe);var bn=getRawSourceDataCounter(Ue,SERIES_LAYOUT_BY_COLUMN);Ie.count=bind$2(bn,null,Fe,qe,Dt);var _n=getRawSourceValueGetter(Ue);Ie.retrieveValue=function(kn,Cn){var Sn=vn(Fe,qe,Dt,kn);return wn(Sn,Cn)};var wn=Ie.retrieveValueFromItem=function(kn,Cn){if(kn!=null){var Sn=Dt[Cn];if(Sn)return _n(kn,Cn,Sn.name)}};return Ie.getDimensionInfo=bind$2(getDimensionInfo,null,Dt,Lt),Ie.cloneAllDimensionInfo=bind$2(cloneAllDimensionInfo,null,Dt),Ie}function getRawData(xe){var $e=xe.sourceFormat;if(!isSupportedSourceFormat($e)){var Ie="";throwError$1(Ie)}return xe.data}function cloneRawData(xe){var $e=xe.sourceFormat,Ie=xe.data;if(!isSupportedSourceFormat($e)){var Fe="";throwError$1(Fe)}if($e===SOURCE_FORMAT_ARRAY_ROWS){for(var Ue=[],qe=0,At=Ie.length;qe<At;qe++)Ue.push(Ie[qe].slice());return Ue}else if($e===SOURCE_FORMAT_OBJECT_ROWS){for(var Ue=[],qe=0,At=Ie.length;qe<At;qe++)Ue.push(extend$1({},Ie[qe]));return Ue}}function getDimensionInfo(xe,$e,Ie){if(Ie!=null){if(isNumber$2(Ie)||!isNaN(Ie)&&!hasOwn($e,Ie))return xe[Ie];if(hasOwn($e,Ie))return $e[Ie]}}function cloneAllDimensionInfo(xe){return clone$4(xe)}var externalTransformMap=createHashMap();function registerExternalTransform(xe){xe=clone$4(xe);var $e=xe.type,Ie="";$e||throwError$1(Ie);var Fe=$e.split(":");Fe.length!==2&&throwError$1(Ie);var Ue=!1;Fe[0]==="echarts"&&($e=Fe[1],Ue=!0),xe.__isBuiltIn=Ue,externalTransformMap.set($e,xe)}function applyDataTransform(xe,$e,Ie){var Fe=normalizeToArray(xe),Ue=Fe.length,qe="";Ue||throwError$1(qe);for(var At=0,Dt=Ue;At<Dt;At++){var Lt=Fe[At];$e=applySingleDataTransform(Lt,$e),At!==Dt-1&&($e.length=Math.max($e.length,1))}return $e}function applySingleDataTransform(xe,$e,Ie,Fe){var Ue="";$e.length||throwError$1(Ue),isObject$4(xe)||throwError$1(Ue);var qe=xe.type,At=externalTransformMap.get(qe);At||throwError$1(Ue);var Dt=map$1($e,function(jt){return createExternalSource(jt,At)}),Lt=normalizeToArray(At.transform({upstream:Dt[0],upstreamList:Dt,config:clone$4(xe.config)}));return map$1(Lt,function(jt,hn){var vn="";isObject$4(jt)||throwError$1(vn),jt.data||throwError$1(vn);var bn=detectSourceFormat(jt.data);isSupportedSourceFormat(bn)||throwError$1(vn);var _n,wn=$e[0];if(wn&&hn===0&&!jt.dimensions){var kn=wn.startIndex;kn&&(jt.data=wn.data.slice(0,kn).concat(jt.data)),_n={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:kn,dimensions:wn.metaRawOption.dimensions}}else _n={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN,sourceHeader:0,dimensions:jt.dimensions};return createSource(jt.data,_n,null)})}function isSupportedSourceFormat(xe){return xe===SOURCE_FORMAT_ARRAY_ROWS||xe===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(xe){return xe>65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(xe){var $e=xe.constructor;return $e===Array?xe.slice():new $e(xe)}function prepareStore(xe,$e,Ie,Fe,Ue){var qe=dataCtors[Ie||"float"];if(Ue){var At=xe[$e],Dt=At&&At.length;if(Dt!==Fe){for(var Lt=new qe(Fe),jt=0;jt<Dt;jt++)Lt[jt]=At[jt];xe[$e]=Lt}}else xe[$e]=new qe(Fe)}var DataStore=function(){function xe(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=createHashMap()}return xe.prototype.initData=function($e,Ie,Fe){this._provider=$e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var Ue=$e.getSource(),qe=this.defaultDimValueGetter=defaultDimValueGetters[Ue.sourceFormat];this._dimValueGetter=Fe||qe,this._rawExtent=[],shouldRetrieveDataByName(Ue),this._dimensions=map$1(Ie,function(At){return{type:At.type,property:At.property}}),this._initDataFromProvider(0,$e.count())},xe.prototype.getProvider=function(){return this._provider},xe.prototype.getSource=function(){return this._provider.getSource()},xe.prototype.ensureCalculationDimension=function($e,Ie){var Fe=this._calcDimNameToIdx,Ue=this._dimensions,qe=Fe.get($e);if(qe!=null){if(Ue[qe].type===Ie)return qe}else qe=Ue.length;return Ue[qe]={type:Ie},Fe.set($e,qe),this._chunks[qe]=new dataCtors[Ie||"float"](this._rawCount),this._rawExtent[qe]=getInitialExtent(),qe},xe.prototype.collectOrdinalMeta=function($e,Ie){var Fe=this._chunks[$e],Ue=this._dimensions[$e],qe=this._rawExtent,At=Ue.ordinalOffset||0,Dt=Fe.length;At===0&&(qe[$e]=getInitialExtent());for(var Lt=qe[$e],jt=At;jt<Dt;jt++){var hn=Fe[jt]=Ie.parseAndCollect(Fe[jt]);isNaN(hn)||(Lt[0]=Math.min(hn,Lt[0]),Lt[1]=Math.max(hn,Lt[1]))}Ue.ordinalMeta=Ie,Ue.ordinalOffset=Dt,Ue.type="ordinal"},xe.prototype.getOrdinalMeta=function($e){var Ie=this._dimensions[$e],Fe=Ie.ordinalMeta;return Fe},xe.prototype.getDimensionProperty=function($e){var Ie=this._dimensions[$e];return Ie&&Ie.property},xe.prototype.appendData=function($e){var Ie=this._provider,Fe=this.count();Ie.appendData($e);var Ue=Ie.count();return Ie.persistent||(Ue+=Fe),Fe<Ue&&this._initDataFromProvider(Fe,Ue,!0),[Fe,Ue]},xe.prototype.appendValues=function($e,Ie){for(var Fe=this._chunks,Ue=this._dimensions,qe=Ue.length,At=this._rawExtent,Dt=this.count(),Lt=Dt+Math.max($e.length,Ie||0),jt=0;jt<qe;jt++){var hn=Ue[jt];prepareStore(Fe,jt,hn.type,Lt,!0)}for(var vn=[],bn=Dt;bn<Lt;bn++)for(var _n=bn-Dt,wn=0;wn<qe;wn++){var hn=Ue[wn],kn=defaultDimValueGetters.arrayRows.call(this,$e[_n]||vn,hn.property,_n,wn);Fe[wn][bn]=kn;var Cn=At[wn];kn<Cn[0]&&(Cn[0]=kn),kn>Cn[1]&&(Cn[1]=kn)}return this._rawCount=this._count=Lt,{start:Dt,end:Lt}},xe.prototype._initDataFromProvider=function($e,Ie,Fe){for(var Ue=this._provider,qe=this._chunks,At=this._dimensions,Dt=At.length,Lt=this._rawExtent,jt=map$1(At,function(xn){return xn.property}),hn=0;hn<Dt;hn++){var vn=At[hn];Lt[hn]||(Lt[hn]=getInitialExtent()),prepareStore(qe,hn,vn.type,Ie,Fe)}if(Ue.fillStorage)Ue.fillStorage($e,Ie,qe,Lt);else for(var bn=[],_n=$e;_n<Ie;_n++){bn=Ue.getItem(_n,bn);for(var wn=0;wn<Dt;wn++){var kn=qe[wn],Cn=this._dimValueGetter(bn,jt[wn],_n,wn);kn[_n]=Cn;var Sn=Lt[wn];Cn<Sn[0]&&(Sn[0]=Cn),Cn>Sn[1]&&(Sn[1]=Cn)}}!Ue.persistent&&Ue.clean&&Ue.clean(),this._rawCount=this._count=Ie,this._extent=[]},xe.prototype.count=function(){return this._count},xe.prototype.get=function($e,Ie){if(!(Ie>=0&&Ie<this._count))return NaN;var Fe=this._chunks[$e];return Fe?Fe[this.getRawIndex(Ie)]:NaN},xe.prototype.getValues=function($e,Ie){var Fe=[],Ue=[];if(Ie==null){Ie=$e,$e=[];for(var qe=0;qe<this._dimensions.length;qe++)Ue.push(qe)}else Ue=$e;for(var qe=0,At=Ue.length;qe<At;qe++)Fe.push(this.get(Ue[qe],Ie));return Fe},xe.prototype.getByRawIndex=function($e,Ie){if(!(Ie>=0&&Ie<this._rawCount))return NaN;var Fe=this._chunks[$e];return Fe?Fe[Ie]:NaN},xe.prototype.getSum=function($e){var Ie=this._chunks[$e],Fe=0;if(Ie)for(var Ue=0,qe=this.count();Ue<qe;Ue++){var At=this.get($e,Ue);isNaN(At)||(Fe+=At)}return Fe},xe.prototype.getMedian=function($e){var Ie=[];this.each([$e],function(qe){isNaN(qe)||Ie.push(qe)});var Fe=Ie.sort(function(qe,At){return qe-At}),Ue=this.count();return Ue===0?0:Ue%2===1?Fe[(Ue-1)/2]:(Fe[Ue/2]+Fe[Ue/2-1])/2},xe.prototype.indexOfRawIndex=function($e){if($e>=this._rawCount||$e<0)return-1;if(!this._indices)return $e;var Ie=this._indices,Fe=Ie[$e];if(Fe!=null&&Fe<this._count&&Fe===$e)return $e;for(var Ue=0,qe=this._count-1;Ue<=qe;){var At=(Ue+qe)/2|0;if(Ie[At]<$e)Ue=At+1;else if(Ie[At]>$e)qe=At-1;else return At}return-1},xe.prototype.indicesOfNearest=function($e,Ie,Fe){var Ue=this._chunks,qe=Ue[$e],At=[];if(!qe)return At;Fe==null&&(Fe=1/0);for(var Dt=1/0,Lt=-1,jt=0,hn=0,vn=this.count();hn<vn;hn++){var bn=this.getRawIndex(hn),_n=Ie-qe[bn],wn=Math.abs(_n);wn<=Fe&&((wn<Dt||wn===Dt&&_n>=0&&Lt<0)&&(Dt=wn,Lt=_n,jt=0),_n===Lt&&(At[jt++]=hn))}return At.length=jt,At},xe.prototype.getIndices=function(){var $e,Ie=this._indices;if(Ie){var Fe=Ie.constructor,Ue=this._count;if(Fe===Array){$e=new Fe(Ue);for(var qe=0;qe<Ue;qe++)$e[qe]=Ie[qe]}else $e=new Fe(Ie.buffer,0,Ue)}else{var Fe=getIndicesCtor(this._rawCount);$e=new Fe(this.count());for(var qe=0;qe<$e.length;qe++)$e[qe]=qe}return $e},xe.prototype.filter=function($e,Ie){if(!this._count)return this;for(var Fe=this.clone(),Ue=Fe.count(),qe=getIndicesCtor(Fe._rawCount),At=new qe(Ue),Dt=[],Lt=$e.length,jt=0,hn=$e[0],vn=Fe._chunks,bn=0;bn<Ue;bn++){var _n=void 0,wn=Fe.getRawIndex(bn);if(Lt===0)_n=Ie(bn);else if(Lt===1){var kn=vn[hn][wn];_n=Ie(kn,bn)}else{for(var Cn=0;Cn<Lt;Cn++)Dt[Cn]=vn[$e[Cn]][wn];Dt[Cn]=bn,_n=Ie.apply(null,Dt)}_n&&(At[jt++]=wn)}return jt<Ue&&(Fe._indices=At),Fe._count=jt,Fe._extent=[],Fe._updateGetRawIdx(),Fe},xe.prototype.selectRange=function($e){var Ie=this.clone(),Fe=Ie._count;if(!Fe)return this;var Ue=keys($e),qe=Ue.length;if(!qe)return this;var At=Ie.count(),Dt=getIndicesCtor(Ie._rawCount),Lt=new Dt(At),jt=0,hn=Ue[0],vn=$e[hn][0],bn=$e[hn][1],_n=Ie._chunks,wn=!1;if(!Ie._indices){var kn=0;if(qe===1){for(var Cn=_n[Ue[0]],Sn=0;Sn<Fe;Sn++){var xn=Cn[Sn];(xn>=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=kn),kn++}wn=!0}else if(qe===2){for(var Cn=_n[Ue[0]],En=_n[Ue[1]],Tn=$e[Ue[1]][0],An=$e[Ue[1]][1],Sn=0;Sn<Fe;Sn++){var xn=Cn[Sn],$n=En[Sn];(xn>=vn&&xn<=bn||isNaN(xn))&&($n>=Tn&&$n<=An||isNaN($n))&&(Lt[jt++]=kn),kn++}wn=!0}}if(!wn)if(qe===1)for(var Sn=0;Sn<At;Sn++){var Pn=Ie.getRawIndex(Sn),xn=_n[Ue[0]][Pn];(xn>=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=Pn)}else for(var Sn=0;Sn<At;Sn++){for(var Nn=!0,Pn=Ie.getRawIndex(Sn),Mn=0;Mn<qe;Mn++){var In=Ue[Mn],xn=_n[In][Pn];(xn<$e[In][0]||xn>$e[In][1])&&(Nn=!1)}Nn&&(Lt[jt++]=Ie.getRawIndex(Sn))}return jt<At&&(Ie._indices=Lt),Ie._count=jt,Ie._extent=[],Ie._updateGetRawIdx(),Ie},xe.prototype.map=function($e,Ie){var Fe=this.clone($e);return this._updateDims(Fe,$e,Ie),Fe},xe.prototype.modify=function($e,Ie){this._updateDims(this,$e,Ie)},xe.prototype._updateDims=function($e,Ie,Fe){for(var Ue=$e._chunks,qe=[],At=Ie.length,Dt=$e.count(),Lt=[],jt=$e._rawExtent,hn=0;hn<Ie.length;hn++)jt[Ie[hn]]=getInitialExtent();for(var vn=0;vn<Dt;vn++){for(var bn=$e.getRawIndex(vn),_n=0;_n<At;_n++)Lt[_n]=Ue[Ie[_n]][bn];Lt[At]=vn;var wn=Fe&&Fe.apply(null,Lt);if(wn!=null){typeof wn!="object"&&(qe[0]=wn,wn=qe);for(var hn=0;hn<wn.length;hn++){var kn=Ie[hn],Cn=wn[hn],Sn=jt[kn],xn=Ue[kn];xn&&(xn[bn]=Cn),Cn<Sn[0]&&(Sn[0]=Cn),Cn>Sn[1]&&(Sn[1]=Cn)}}}},xe.prototype.lttbDownSample=function($e,Ie){var Fe=this.clone([$e],!0),Ue=Fe._chunks,qe=Ue[$e],At=this.count(),Dt=0,Lt=Math.floor(1/Ie),jt=this.getRawIndex(0),hn,vn,bn,_n=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(At/Lt)+2)*2,At));_n[Dt++]=jt;for(var wn=1;wn<At-1;wn+=Lt){for(var kn=Math.min(wn+Lt,At-1),Cn=Math.min(wn+Lt*2,At),Sn=(Cn+kn)/2,xn=0,En=kn;En<Cn;En++){var Tn=this.getRawIndex(En),An=qe[Tn];isNaN(An)||(xn+=An)}xn/=Cn-kn;var $n=wn,Pn=Math.min(wn+Lt,At),Nn=wn-1,Mn=qe[jt];hn=-1,bn=$n;for(var In=-1,On=0,En=$n;En<Pn;En++){var Tn=this.getRawIndex(En),An=qe[Tn];if(isNaN(An)){On++,In<0&&(In=Tn);continue}vn=Math.abs((Nn-Sn)*(An-Mn)-(Nn-En)*(xn-Mn)),vn>hn&&(hn=vn,bn=Tn)}On>0&&On<Pn-$n&&(_n[Dt++]=Math.min(In,bn),bn=Math.max(In,bn)),_n[Dt++]=bn,jt=bn}return _n[Dt++]=this.getRawIndex(At-1),Fe._count=Dt,Fe._indices=_n,Fe.getRawIndex=this._getRawIdx,Fe},xe.prototype.downSample=function($e,Ie,Fe,Ue){for(var qe=this.clone([$e],!0),At=qe._chunks,Dt=[],Lt=Math.floor(1/Ie),jt=At[$e],hn=this.count(),vn=qe._rawExtent[$e]=getInitialExtent(),bn=new(getIndicesCtor(this._rawCount))(Math.ceil(hn/Lt)),_n=0,wn=0;wn<hn;wn+=Lt){Lt>hn-wn&&(Lt=hn-wn,Dt.length=Lt);for(var kn=0;kn<Lt;kn++){var Cn=this.getRawIndex(wn+kn);Dt[kn]=jt[Cn]}var Sn=Fe(Dt),xn=this.getRawIndex(Math.min(wn+Ue(Dt,Sn)||0,hn-1));jt[xn]=Sn,Sn<vn[0]&&(vn[0]=Sn),Sn>vn[1]&&(vn[1]=Sn),bn[_n++]=xn}return qe._count=_n,qe._indices=bn,qe._updateGetRawIdx(),qe},xe.prototype.each=function($e,Ie){if(this._count)for(var Fe=$e.length,Ue=this._chunks,qe=0,At=this.count();qe<At;qe++){var Dt=this.getRawIndex(qe);switch(Fe){case 0:Ie(qe);break;case 1:Ie(Ue[$e[0]][Dt],qe);break;case 2:Ie(Ue[$e[0]][Dt],Ue[$e[1]][Dt],qe);break;default:for(var Lt=0,jt=[];Lt<Fe;Lt++)jt[Lt]=Ue[$e[Lt]][Dt];jt[Lt]=qe,Ie.apply(null,jt)}}},xe.prototype.getDataExtent=function($e){var Ie=this._chunks[$e],Fe=getInitialExtent();if(!Ie)return Fe;var Ue=this.count(),qe=!this._indices,At;if(qe)return this._rawExtent[$e].slice();if(At=this._extent[$e],At)return At.slice();At=Fe;for(var Dt=At[0],Lt=At[1],jt=0;jt<Ue;jt++){var hn=this.getRawIndex(jt),vn=Ie[hn];vn<Dt&&(Dt=vn),vn>Lt&&(Lt=vn)}return At=[Dt,Lt],this._extent[$e]=At,At},xe.prototype.getRawDataItem=function($e){var Ie=this.getRawIndex($e);if(this._provider.persistent)return this._provider.getItem(Ie);for(var Fe=[],Ue=this._chunks,qe=0;qe<Ue.length;qe++)Fe.push(Ue[qe][Ie]);return Fe},xe.prototype.clone=function($e,Ie){var Fe=new xe,Ue=this._chunks,qe=$e&&reduce($e,function(Dt,Lt){return Dt[Lt]=!0,Dt},{});if(qe)for(var At=0;At<Ue.length;At++)Fe._chunks[At]=qe[At]?cloneChunk(Ue[At]):Ue[At];else Fe._chunks=Ue;return this._copyCommonProps(Fe),Ie||(Fe._indices=this._cloneIndices()),Fe._updateGetRawIdx(),Fe},xe.prototype._copyCommonProps=function($e){$e._count=this._count,$e._rawCount=this._rawCount,$e._provider=this._provider,$e._dimensions=this._dimensions,$e._extent=clone$4(this._extent),$e._rawExtent=clone$4(this._rawExtent)},xe.prototype._cloneIndices=function(){if(this._indices){var $e=this._indices.constructor,Ie=void 0;if($e===Array){var Fe=this._indices.length;Ie=new $e(Fe);for(var Ue=0;Ue<Fe;Ue++)Ie[Ue]=this._indices[Ue]}else Ie=new $e(this._indices);return Ie}return null},xe.prototype._getRawIdxIdentity=function($e){return $e},xe.prototype._getRawIdx=function($e){return $e<this._count&&$e>=0?this._indices[$e]:-1},xe.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},xe.internalField=function(){function $e(Ie,Fe,Ue,qe){return parseDataValue(Ie[qe],this._dimensions[qe])}defaultDimValueGetters={arrayRows:$e,objectRows:function(Ie,Fe,Ue,qe){return parseDataValue(Ie[Fe],this._dimensions[qe])},keyedColumns:$e,original:function(Ie,Fe,Ue,qe){var At=Ie&&(Ie.value==null?Ie:Ie.value);return parseDataValue(At instanceof Array?At[qe]:At,this._dimensions[qe])},typedArray:function(Ie,Fe,Ue,qe){return Ie[qe]}}}(),xe}(),SourceManager=function(){function xe($e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=$e}return xe.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},xe.prototype._setLocalSource=function($e,Ie){this._sourceList=$e,this._upstreamSignList=Ie,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},xe.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},xe.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},xe.prototype._createSource=function(){this._setLocalSource([],[]);var $e=this._sourceHost,Ie=this._getUpstreamSourceManagers(),Fe=!!Ie.length,Ue,qe;if(isSeries($e)){var At=$e,Dt=void 0,Lt=void 0,jt=void 0;if(Fe){var hn=Ie[0];hn.prepareSource(),jt=hn.getSource(),Dt=jt.data,Lt=jt.sourceFormat,qe=[hn._getVersionSign()]}else Dt=At.get("data",!0),Lt=isTypedArray$1(Dt)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,qe=[];var vn=this._getSourceMetaRawOption()||{},bn=jt&&jt.metaRawOption||{},_n=retrieve2(vn.seriesLayoutBy,bn.seriesLayoutBy)||null,wn=retrieve2(vn.sourceHeader,bn.sourceHeader),kn=retrieve2(vn.dimensions,bn.dimensions),Cn=_n!==bn.seriesLayoutBy||!!wn!=!!bn.sourceHeader||kn;Ue=Cn?[createSource(Dt,{seriesLayoutBy:_n,sourceHeader:wn,dimensions:kn},Lt)]:[]}else{var Sn=$e;if(Fe){var xn=this._applyTransform(Ie);Ue=xn.sourceList,qe=xn.upstreamSignList}else{var En=Sn.get("source",!0);Ue=[createSource(En,this._getSourceMetaRawOption(),null)],qe=[]}}this._setLocalSource(Ue,qe)},xe.prototype._applyTransform=function($e){var Ie=this._sourceHost,Fe=Ie.get("transform",!0),Ue=Ie.get("fromTransformResult",!0);if(Ue!=null){var qe="";$e.length!==1&&doThrow(qe)}var At,Dt=[],Lt=[];return each$f($e,function(jt){jt.prepareSource();var hn=jt.getSource(Ue||0),vn="";Ue!=null&&!hn&&doThrow(vn),Dt.push(hn),Lt.push(jt._getVersionSign())}),Fe?At=applyDataTransform(Fe,Dt,{datasetIndex:Ie.componentIndex}):Ue!=null&&(At=[cloneSourceShallow(Dt[0])]),{sourceList:At,upstreamSignList:Lt}},xe.prototype._isDirty=function(){if(this._dirty)return!0;for(var $e=this._getUpstreamSourceManagers(),Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];if(Fe._isDirty()||this._upstreamSignList[Ie]!==Fe._getVersionSign())return!0}},xe.prototype.getSource=function($e){$e=$e||0;var Ie=this._sourceList[$e];if(!Ie){var Fe=this._getUpstreamSourceManagers();return Fe[0]&&Fe[0].getSource($e)}return Ie},xe.prototype.getSharedDataStore=function($e){var Ie=$e.makeStoreSchema();return this._innerGetDataStore(Ie.dimensions,$e.source,Ie.hash)},xe.prototype._innerGetDataStore=function($e,Ie,Fe){var Ue=0,qe=this._storeList,At=qe[Ue];At||(At=qe[Ue]={});var Dt=At[Fe];if(!Dt){var Lt=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&Lt?Dt=Lt._innerGetDataStore($e,Ie,Fe):(Dt=new DataStore,Dt.initData(new DefaultDataProvider(Ie,$e.length),$e)),At[Fe]=Dt}return Dt},xe.prototype._getUpstreamSourceManagers=function(){var $e=this._sourceHost;if(isSeries($e)){var Ie=querySeriesUpstreamDatasetModel($e);return Ie?[Ie.getSourceManager()]:[]}else return map$1(queryDatasetUpstreamDatasetModels($e),function(Fe){return Fe.getSourceManager()})},xe.prototype._getSourceMetaRawOption=function(){var $e=this._sourceHost,Ie,Fe,Ue;if(isSeries($e))Ie=$e.get("seriesLayoutBy",!0),Fe=$e.get("sourceHeader",!0),Ue=$e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var qe=$e;Ie=qe.get("seriesLayoutBy",!0),Fe=qe.get("sourceHeader",!0),Ue=qe.get("dimensions",!0)}return{seriesLayoutBy:Ie,sourceHeader:Fe,dimensions:Ue}},xe}();function disableTransformOptionMerge(xe){var $e=xe.option.transform;$e&&setAsPrimitive(xe.option.transform)}function isSeries(xe){return xe.mainType==="series"}function doThrow(xe){throw new Error(xe)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipTextStyle(xe,$e){var Ie=xe.color||"#6e7079",Fe=xe.fontSize||12,Ue=xe.fontWeight||"400",qe=xe.color||"#464646",At=xe.fontSize||14,Dt=xe.fontWeight||"900";return $e==="html"?{nameStyle:"font-size:"+encodeHTML(Fe+"")+"px;color:"+encodeHTML(Ie)+";font-weight:"+encodeHTML(Ue+""),valueStyle:"font-size:"+encodeHTML(At+"")+"px;color:"+encodeHTML(qe)+";font-weight:"+encodeHTML(Dt+"")}:{nameStyle:{fontSize:Fe,fill:Ie,fontWeight:Ue},valueStyle:{fontSize:At,fill:qe,fontWeight:Dt}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["",`
`,`

`,`


`];function createTooltipMarkup(xe,$e){return $e.type=xe,$e}function isSectionFragment(xe){return xe.type==="section"}function getBuilder(xe){return isSectionFragment(xe)?buildSection:buildNameValue}function getBlockGapLevel(xe){if(isSectionFragment(xe)){var $e=0,Ie=xe.blocks.length,Fe=Ie>1||Ie>0&&!xe.noHeader;return each$f(xe.blocks,function(Ue){var qe=getBlockGapLevel(Ue);qe>=$e&&($e=qe+ +(Fe&&(!qe||isSectionFragment(Ue)&&!Ue.noHeader)))}),$e}return 0}function buildSection(xe,$e,Ie,Fe){var Ue=$e.noHeader,qe=getGap(getBlockGapLevel($e)),At=[],Dt=$e.blocks||[];assert(!Dt||isArray$2(Dt)),Dt=Dt||[];var Lt=xe.orderMode;if($e.sortBlocks&&Lt){Dt=Dt.slice();var jt={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(jt,Lt)){var hn=new SortOrderComparator(jt[Lt],null);Dt.sort(function(wn,kn){return hn.evaluate(wn.sortParam,kn.sortParam)})}else Lt==="seriesDesc"&&Dt.reverse()}each$f(Dt,function(wn,kn){var Cn=$e.valueFormatter,Sn=getBuilder(wn)(Cn?extend$1(extend$1({},xe),{valueFormatter:Cn}):xe,wn,kn>0?qe.html:0,Fe);Sn!=null&&At.push(Sn)});var vn=xe.renderMode==="richText"?At.join(qe.richText):wrapBlockHTML(At.join(""),Ue?Ie:qe.html);if(Ue)return vn;var bn=makeValueReadable($e.header,"ordinal",xe.useUTC),_n=getTooltipTextStyle(Fe,xe.renderMode).nameStyle;return xe.renderMode==="richText"?wrapInlineNameRichText(xe,bn,_n)+qe.richText+vn:wrapBlockHTML('<div style="'+_n+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+encodeHTML(bn)+"</div>"+vn,Ie)}function buildNameValue(xe,$e,Ie,Fe){var Ue=xe.renderMode,qe=$e.noName,At=$e.noValue,Dt=!$e.markerType,Lt=$e.name,jt=xe.useUTC,hn=$e.valueFormatter||xe.valueFormatter||function(Tn){return Tn=isArray$2(Tn)?Tn:[Tn],map$1(Tn,function(An,$n){return makeValueReadable(An,isArray$2(_n)?_n[$n]:_n,jt)})};if(!(qe&&At)){var vn=Dt?"":xe.markupStyleCreator.makeTooltipMarker($e.markerType,$e.markerColor||"#333",Ue),bn=qe?"":makeValueReadable(Lt,"ordinal",jt),_n=$e.valueType,wn=At?[]:hn($e.value,$e.dataIndex),kn=!Dt||!qe,Cn=!Dt&&qe,Sn=getTooltipTextStyle(Fe,Ue),xn=Sn.nameStyle,En=Sn.valueStyle;return Ue==="richText"?(Dt?"":vn)+(qe?"":wrapInlineNameRichText(xe,bn,xn))+(At?"":wrapInlineValueRichText(xe,wn,kn,Cn,En)):wrapBlockHTML((Dt?"":vn)+(qe?"":wrapInlineNameHTML(bn,!Dt,xn))+(At?"":wrapInlineValueHTML(wn,kn,Cn,En)),Ie)}}function buildTooltipMarkup(xe,$e,Ie,Fe,Ue,qe){if(xe){var At=getBuilder(xe),Dt={useUTC:Ue,renderMode:Ie,orderMode:Fe,markupStyleCreator:$e,valueFormatter:xe.valueFormatter};return At(Dt,xe,0,qe)}}function getGap(xe){return{html:HTML_GAPS[xe],richText:RICH_TEXT_GAPS[xe]}}function wrapBlockHTML(xe,$e){var Ie='<div style="clear:both"></div>',Fe="margin: "+$e+"px 0 0";return'<div style="'+Fe+";"+TOOLTIP_LINE_HEIGHT_CSS+';">'+xe+Ie+"</div>"}function wrapInlineNameHTML(xe,$e,Ie){var Fe=$e?"margin-left:2px":"";return'<span style="'+Ie+";"+Fe+'">'+encodeHTML(xe)+"</span>"}function wrapInlineValueHTML(xe,$e,Ie,Fe){var Ue=Ie?"10px":"20px",qe=$e?"float:right;margin-left:"+Ue:"";return xe=isArray$2(xe)?xe:[xe],'<span style="'+qe+";"+Fe+'">'+map$1(xe,function(At){return encodeHTML(At)}).join("&nbsp;&nbsp;")+"</span>"}function wrapInlineNameRichText(xe,$e,Ie){return xe.markupStyleCreator.wrapRichTextStyle($e,Ie)}function wrapInlineValueRichText(xe,$e,Ie,Fe,Ue){var qe=[Ue],At=Fe?10:20;return Ie&&qe.push({padding:[0,0,0,At],align:"right"}),xe.markupStyleCreator.wrapRichTextStyle(isArray$2($e)?$e.join("  "):$e,qe)}function retrieveVisualColorForTooltipMarker(xe,$e){var Ie=xe.getData().getItemVisual($e,"style"),Fe=Ie[xe.visualDrawType];return convertToColorString(Fe)}function getPaddingFromTooltipModel(xe,$e){var Ie=xe.get("padding");return Ie??($e==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function xe(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return xe.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},xe.prototype.makeTooltipMarker=function($e,Ie,Fe){var Ue=Fe==="richText"?this._generateStyleName():null,qe=getTooltipMarker({color:Ie,type:$e,renderMode:Fe,markerId:Ue});return isString$2(qe)?qe:(this.richTextStyles[Ue]=qe.style,qe.content)},xe.prototype.wrapRichTextStyle=function($e,Ie){var Fe={};isArray$2(Ie)?each$f(Ie,function(qe){return extend$1(Fe,qe)}):extend$1(Fe,Ie);var Ue=this._generateStyleName();return this.richTextStyles[Ue]=Fe,"{"+Ue+"|"+$e+"}"},xe}();function defaultSeriesFormatTooltip(xe){var $e=xe.series,Ie=xe.dataIndex,Fe=xe.multipleSeries,Ue=$e.getData(),qe=Ue.mapDimensionsAll("defaultedTooltip"),At=qe.length,Dt=$e.getRawValue(Ie),Lt=isArray$2(Dt),jt=retrieveVisualColorForTooltipMarker($e,Ie),hn,vn,bn,_n;if(At>1||Lt&&!At){var wn=formatTooltipArrayValue(Dt,$e,Ie,qe,jt);hn=wn.inlineValues,vn=wn.inlineValueTypes,bn=wn.blocks,_n=wn.inlineValues[0]}else if(At){var kn=Ue.getDimensionInfo(qe[0]);_n=hn=retrieveRawValue(Ue,Ie,qe[0]),vn=kn.type}else _n=hn=Lt?Dt[0]:Dt;var Cn=isNameSpecified($e),Sn=Cn&&$e.name||"",xn=Ue.getName(Ie),En=Fe?Sn:xn;return createTooltipMarkup("section",{header:Sn,noHeader:Fe||!Cn,sortParam:_n,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:jt,name:En,noName:!trim$2(En),value:hn,valueType:vn,dataIndex:Ie})].concat(bn||[])})}function formatTooltipArrayValue(xe,$e,Ie,Fe,Ue){var qe=$e.getData(),At=reduce(xe,function(vn,bn,_n){var wn=qe.getDimensionInfo(_n);return vn=vn||wn&&wn.tooltip!==!1&&wn.displayName!=null},!1),Dt=[],Lt=[],jt=[];Fe.length?each$f(Fe,function(vn){hn(retrieveRawValue(qe,Ie,vn),vn)}):each$f(xe,hn);function hn(vn,bn){var _n=qe.getDimensionInfo(bn);!_n||_n.otherDims.tooltip===!1||(At?jt.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:Ue,name:_n.displayName,value:vn,valueType:_n.type})):(Dt.push(vn),Lt.push(_n.type)))}return{inlineValues:Dt,inlineValueTypes:Lt,blocks:jt}}var inner$k=makeInner();function getSelectionKey(xe,$e){return xe.getName($e)||xe.getId($e)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie._selectedDataIndicesMap={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(Ie,Ue);var qe=inner$k(this).sourceManager=new SourceManager(this);qe.prepareSource();var At=this.getInitialData(Ie,Ue);wrapData(At,this),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.mergeDefaultAndTheme=function(Ie,Fe){var Ue=fetchLayoutMode(this),qe=Ue?getLayoutParams(Ie):{},At=this.subType;ComponentModel.hasClass(At)&&(At+="Series"),merge$1(Ie,Fe.getTheme().get(this.subType)),merge$1(Ie,this.getDefaultOption()),defaultEmphasis(Ie,"label",["show"]),this.fillDataTextStyle(Ie.data),Ue&&mergeLayoutParam(Ie,qe,Ue)},$e.prototype.mergeOption=function(Ie,Fe){Ie=merge$1(this.option,Ie,!0),this.fillDataTextStyle(Ie.data);var Ue=fetchLayoutMode(this);Ue&&mergeLayoutParam(this.option,Ie,Ue);var qe=inner$k(this).sourceManager;qe.dirty(),qe.prepareSource();var At=this.getInitialData(Ie,Fe);wrapData(At,this),this.dataTask.dirty(),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.fillDataTextStyle=function(Ie){if(Ie&&!isTypedArray$1(Ie))for(var Fe=["show"],Ue=0;Ue<Ie.length;Ue++)Ie[Ue]&&Ie[Ue].label&&defaultEmphasis(Ie[Ue],"label",Fe)},$e.prototype.getInitialData=function(Ie,Fe){},$e.prototype.appendData=function(Ie){var Fe=this.getRawData();Fe.appendData(Ie.data)},$e.prototype.getData=function(Ie){var Fe=getCurrentTask(this);if(Fe){var Ue=Fe.context.data;return Ie==null?Ue:Ue.getLinkedData(Ie)}else return inner$k(this).data},$e.prototype.getAllData=function(){var Ie=this.getData();return Ie&&Ie.getLinkedDataAll?Ie.getLinkedDataAll():[{data:Ie}]},$e.prototype.setData=function(Ie){var Fe=getCurrentTask(this);if(Fe){var Ue=Fe.context;Ue.outputData=Ie,Fe!==this.dataTask&&(Ue.data=Ie)}inner$k(this).data=Ie},$e.prototype.getEncode=function(){var Ie=this.get("encode",!0);if(Ie)return createHashMap(Ie)},$e.prototype.getSourceManager=function(){return inner$k(this).sourceManager},$e.prototype.getSource=function(){return this.getSourceManager().getSource()},$e.prototype.getRawData=function(){return inner$k(this).dataBeforeProcessed},$e.prototype.getColorBy=function(){var Ie=this.get("colorBy");return Ie||"series"},$e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},$e.prototype.getBaseAxis=function(){var Ie=this.coordinateSystem;return Ie&&Ie.getBaseAxis&&Ie.getBaseAxis()},$e.prototype.formatTooltip=function(Ie,Fe,Ue){return defaultSeriesFormatTooltip({series:this,dataIndex:Ie,multipleSeries:Fe})},$e.prototype.isAnimationEnabled=function(){var Ie=this.ecModel;if(env.node&&!(Ie&&Ie.ssr))return!1;var Fe=this.getShallow("animation");return Fe&&this.getData().count()>this.getShallow("animationThreshold")&&(Fe=!1),!!Fe},$e.prototype.restoreData=function(){this.dataTask.dirty()},$e.prototype.getColorFromPalette=function(Ie,Fe,Ue){var qe=this.ecModel,At=PaletteMixin.prototype.getColorFromPalette.call(this,Ie,Fe,Ue);return At||(At=qe.getColorFromPalette(Ie,Fe,Ue)),At},$e.prototype.coordDimToDataDim=function(Ie){return this.getRawData().mapDimensionsAll(Ie)},$e.prototype.getProgressive=function(){return this.get("progressive")},$e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},$e.prototype.select=function(Ie,Fe){this._innerSelect(this.getData(Fe),Ie)},$e.prototype.unselect=function(Ie,Fe){var Ue=this.option.selectedMap;if(Ue){var qe=this.option.selectedMode,At=this.getData(Fe);if(qe==="series"||Ue==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var Dt=0;Dt<Ie.length;Dt++){var Lt=Ie[Dt],jt=getSelectionKey(At,Lt);Ue[jt]=!1,this._selectedDataIndicesMap[jt]=-1}}},$e.prototype.toggleSelect=function(Ie,Fe){for(var Ue=[],qe=0;qe<Ie.length;qe++)Ue[0]=Ie[qe],this.isSelected(Ie[qe],Fe)?this.unselect(Ue,Fe):this.select(Ue,Fe)},$e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var Ie=this._selectedDataIndicesMap,Fe=keys(Ie),Ue=[],qe=0;qe<Fe.length;qe++){var At=Ie[Fe[qe]];At>=0&&Ue.push(At)}return Ue},$e.prototype.isSelected=function(Ie,Fe){var Ue=this.option.selectedMap;if(!Ue)return!1;var qe=this.getData(Fe);return(Ue==="all"||Ue[getSelectionKey(qe,Ie)])&&!qe.getItemModel(Ie).get(["select","disabled"])},$e.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},$e.prototype._innerSelect=function(Ie,Fe){var Ue,qe,At=this.option,Dt=At.selectedMode,Lt=Fe.length;if(!(!Dt||!Lt)){if(Dt==="series")At.selectedMap="all";else if(Dt==="multiple"){isObject$4(At.selectedMap)||(At.selectedMap={});for(var jt=At.selectedMap,hn=0;hn<Lt;hn++){var vn=Fe[hn],bn=getSelectionKey(Ie,vn);jt[bn]=!0,this._selectedDataIndicesMap[bn]=Ie.getRawIndex(vn)}}else if(Dt==="single"||Dt===!0){var _n=Fe[Lt-1],bn=getSelectionKey(Ie,_n);At.selectedMap=(Ue={},Ue[bn]=!0,Ue),this._selectedDataIndicesMap=(qe={},qe[bn]=Ie.getRawIndex(_n),qe)}}},$e.prototype._initSelectedMapFromData=function(Ie){if(!this.option.selectedMap){var Fe=[];Ie.hasItemOption&&Ie.each(function(Ue){var qe=Ie.getRawDataItem(Ue);qe&&qe.selected&&Fe.push(Ue)}),Fe.length>0&&this._innerSelect(Ie,Fe)}},$e.registerClass=function(Ie){return ComponentModel.registerClass(Ie)},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="series.__base__",Ie.seriesIndex=0,Ie.ignoreStyleOnData=!1,Ie.hasSymbolVisual=!1,Ie.defaultSymbol="circle",Ie.visualStyleAccessPath="itemStyle",Ie.visualDrawType="fill"}(),$e}(ComponentModel);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel);function autoSeriesName(xe){var $e=xe.name;isNameSpecified(xe)||(xe.name=getSeriesAutoName(xe)||$e)}function getSeriesAutoName(xe){var $e=xe.getRawData(),Ie=$e.mapDimensionsAll("seriesName"),Fe=[];return each$f(Ie,function(Ue){var qe=$e.getDimensionInfo(Ue);qe.displayName&&Fe.push(qe.displayName)}),Fe.join(" ")}function dataTaskCount(xe){return xe.model.getRawData().count()}function dataTaskReset(xe){var $e=xe.model;return $e.setData($e.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(xe,$e){$e.outputData&&xe.end>$e.outputData.count()&&$e.model.getRawData().cloneShallow($e.outputData)}function wrapData(xe,$e){each$f(concatArray(xe.CHANGABLE_METHODS,xe.DOWNSAMPLE_METHODS),function(Ie){xe.wrapMethod(Ie,curry$1(onDataChange,$e))})}function onDataChange(xe,$e){var Ie=getCurrentTask(xe);return Ie&&Ie.setOutputEnd(($e||this).count()),$e}function getCurrentTask(xe){var $e=(xe.ecModel||{}).scheduler,Ie=$e&&$e.getPipeline(xe.uid);if(Ie){var Fe=Ie.currentTask;if(Fe){var Ue=Fe.agentStubMap;Ue&&(Fe=Ue.get(xe.uid))}return Fe}}var ComponentView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewComponent")}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){},xe.prototype.toggleBlurSeries=function($e,Ie,Fe){},xe.prototype.eachRendered=function($e){var Ie=this.group;Ie&&Ie.traverse($e)},xe}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);function createRenderPlanner(){var xe=makeInner();return function($e){var Ie=xe($e),Fe=$e.pipelineContext,Ue=!!Ie.large,qe=!!Ie.progressiveRender,At=Ie.large=!!(Fe&&Fe.large),Dt=Ie.progressiveRender=!!(Fe&&Fe.progressiveRender);return(Ue!==At||qe!==Dt)&&"reset"}}var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.highlight=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"emphasis")},xe.prototype.downplay=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"normal")},xe.prototype.remove=function($e,Ie){this.group.removeAll()},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.eachRendered=function($e){traverseElements(this.group,$e)},xe.markUpdateMethod=function($e,Ie){inner$j($e).updateMethod=Ie},xe.protoInitialize=function(){var $e=xe.prototype;$e.type="chart"}(),xe}();function elSetState(xe,$e,Ie){xe&&isHighDownDispatcher(xe)&&($e==="emphasis"?enterEmphasis:leaveEmphasis)(xe,Ie)}function toggleHighlight(xe,$e,Ie){var Fe=queryDataIndex(xe,$e),Ue=$e&&$e.highlightKey!=null?getHighlightDigit($e.highlightKey):null;Fe!=null?each$f(normalizeToArray(Fe),function(qe){elSetState(xe.getItemGraphicEl(qe),Ie,Ue)}):xe.eachItemGraphicEl(function(qe){elSetState(qe,Ie,Ue)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(xe){return renderPlanner(xe.model)}function renderTaskReset(xe){var $e=xe.model,Ie=xe.ecModel,Fe=xe.api,Ue=xe.payload,qe=$e.pipelineContext.progressiveRender,At=xe.view,Dt=Ue&&inner$j(Ue).updateMethod,Lt=qe?"incrementalPrepareRender":Dt&&At[Dt]?Dt:"render";return Lt!=="render"&&At[Lt]($e,Ie,Fe,Ue),progressMethodMap[Lt]}var progressMethodMap={incrementalPrepareRender:{progress:function(xe,$e){$e.view.incrementalRender(xe,$e.model,$e.ecModel,$e.api,$e.payload)}},render:{forceFirstProgress:!0,progress:function(xe,$e){$e.view.render($e.model,$e.ecModel,$e.api,$e.payload)}}},ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle$2(xe,$e,Ie){var Fe,Ue=0,qe=0,At=null,Dt,Lt,jt,hn;$e=$e||0;function vn(){qe=new Date().getTime(),At=null,xe.apply(Lt,jt||[])}var bn=function(){for(var _n=[],wn=0;wn<arguments.length;wn++)_n[wn]=arguments[wn];Fe=new Date().getTime(),Lt=this,jt=_n;var kn=hn||$e,Cn=hn||Ie;hn=null,Dt=Fe-(Cn?Ue:qe)-kn,clearTimeout(At),Cn?At=setTimeout(vn,kn):Dt>=0?vn():At=setTimeout(vn,-Dt),Ue=Fe};return bn.clear=function(){At&&(clearTimeout(At),At=null)},bn.debounceNextCall=function(_n){hn=_n},bn}function createOrUpdate(xe,$e,Ie,Fe){var Ue=xe[$e];if(Ue){var qe=Ue[ORIGIN_METHOD]||Ue,At=Ue[THROTTLE_TYPE],Dt=Ue[RATE];if(Dt!==Ie||At!==Fe){if(Ie==null||!Fe)return xe[$e]=qe;Ue=xe[$e]=throttle$2(qe,Ie,Fe==="debounce"),Ue[ORIGIN_METHOD]=qe,Ue[THROTTLE_TYPE]=Fe,Ue[RATE]=Ie}return Ue}}function clear$1(xe,$e){var Ie=xe[$e];Ie&&Ie[ORIGIN_METHOD]&&(Ie.clear&&Ie.clear(),xe[$e]=Ie[ORIGIN_METHOD])}var inner$i=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(xe,$e){var Ie=xe.visualStyleMapper||defaultStyleMappers[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(xe,$e){var Ie=xe.visualDrawType||defaultColorKey[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=xe.getModel(Fe),qe=getStyleMapper(xe,Fe),At=qe(Ue),Dt=Ue.getShallow("decal");Dt&&(Ie.setVisual("decal",Dt),Dt.dirty=!0);var Lt=getDefaultColorKey(xe,Fe),jt=At[Lt],hn=isFunction$2(jt)?jt:null,vn=At.fill==="auto"||At.stroke==="auto";if(!At[Lt]||hn||vn){var bn=xe.getColorFromPalette(xe.name,null,$e.getSeriesCount());At[Lt]||(At[Lt]=bn,Ie.setVisual("colorFromPalette",!0)),At.fill=At.fill==="auto"||isFunction$2(At.fill)?bn:At.fill,At.stroke=At.stroke==="auto"||isFunction$2(At.stroke)?bn:At.stroke}if(Ie.setVisual("style",At),Ie.setVisual("drawType",Lt),!$e.isSeriesFiltered(xe)&&hn)return Ie.setVisual("colorFromPalette",!1),{dataEach:function(_n,wn){var kn=xe.getDataParams(wn),Cn=extend$1({},At);Cn[Lt]=hn(kn),_n.setItemVisual(wn,"style",Cn)}}}},sharedModel=new Model,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){if(!(xe.ignoreStyleOnData||$e.isSeriesFiltered(xe))){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=getStyleMapper(xe,Fe),qe=Ie.getVisual("drawType");return{dataEach:Ie.hasItemOption?function(At,Dt){var Lt=At.getRawDataItem(Dt);if(Lt&&Lt[Fe]){sharedModel.option=Lt[Fe];var jt=Ue(sharedModel),hn=At.ensureUniqueItemVisual(Dt,"style");extend$1(hn,jt),sharedModel.option.decal&&(At.setItemVisual(Dt,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),qe in jt&&At.setItemVisual(Dt,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(xe){var $e=createHashMap();xe.eachSeries(function(Ie){var Fe=Ie.getColorBy();if(!Ie.isColorBySeries()){var Ue=Ie.type+"-"+Fe,qe=$e.get(Ue);qe||(qe={},$e.set(Ue,qe)),inner$i(Ie).scope=qe}}),xe.eachSeries(function(Ie){if(!(Ie.isColorBySeries()||xe.isSeriesFiltered(Ie))){var Fe=Ie.getRawData(),Ue={},qe=Ie.getData(),At=inner$i(Ie).scope,Dt=Ie.visualStyleAccessPath||"itemStyle",Lt=getDefaultColorKey(Ie,Dt);qe.each(function(jt){var hn=qe.getRawIndex(jt);Ue[hn]=jt}),Fe.each(function(jt){var hn=Ue[jt],vn=qe.getItemVisual(hn,"colorFromPalette");if(vn){var bn=qe.ensureUniqueItemVisual(hn,"style"),_n=Fe.getName(jt)||jt+"",wn=Fe.count();bn[Lt]=Ie.getColorFromPalette(_n,At,wn)}})}})}},PI$5=Math.PI;function defaultLoading(xe,$e){$e=$e||{},defaults$1($e,{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,Fe=new Rect$2({style:{fill:$e.maskColor},zlevel:$e.zlevel,z:1e4});Ie.add(Fe);var Ue=new ZRText({style:{text:$e.text,fill:$e.textColor,fontSize:$e.fontSize,fontWeight:$e.fontWeight,fontStyle:$e.fontStyle,fontFamily:$e.fontFamily},zlevel:$e.zlevel,z:10001}),qe=new Rect$2({style:{fill:"none"},textContent:Ue,textConfig:{position:"right",distance:10},zlevel:$e.zlevel,z:10001});Ie.add(qe);var At;return $e.showSpinner&&(At=new Arc({shape:{startAngle:-PI$5/2,endAngle:-PI$5/2+.1,r:$e.spinnerRadius},style:{stroke:$e.color,lineCap:"round",lineWidth:$e.lineWidth},zlevel:$e.zlevel,z:10001}),At.animateShape(!0).when(1e3,{endAngle:PI$5*3/2}).start("circularInOut"),At.animateShape(!0).when(1e3,{startAngle:PI$5*3/2}).delay(300).start("circularInOut"),Ie.add(At)),Ie.resize=function(){var Dt=Ue.getBoundingRect().width,Lt=$e.showSpinner?$e.spinnerRadius:0,jt=(xe.getWidth()-Lt*2-($e.showSpinner&&Dt?10:0)-Dt)/2-($e.showSpinner&&Dt?0:5+Dt/2)+($e.showSpinner?0:Dt/2)+(Dt?0:Lt),hn=xe.getHeight()/2;$e.showSpinner&&At.setShape({cx:jt,cy:hn}),qe.setShape({x:jt-Lt,y:hn-Lt,width:Lt*2,height:Lt*2}),Fe.setShape({x:0,y:0,width:xe.getWidth(),height:xe.getHeight()})},Ie.resize(),Ie}var Scheduler=function(){function xe($e,Ie,Fe,Ue){this._stageTaskMap=createHashMap(),this.ecInstance=$e,this.api=Ie,Fe=this._dataProcessorHandlers=Fe.slice(),Ue=this._visualHandlers=Ue.slice(),this._allHandlers=Fe.concat(Ue)}return xe.prototype.restoreData=function($e,Ie){$e.restoreData(Ie),this._stageTaskMap.each(function(Fe){var Ue=Fe.overallTask;Ue&&Ue.dirty()})},xe.prototype.getPerformArgs=function($e,Ie){if($e.__pipeline){var Fe=this._pipelineMap.get($e.__pipeline.id),Ue=Fe.context,qe=!Ie&&Fe.progressiveEnabled&&(!Ue||Ue.progressiveRender)&&$e.__idxInPipeline>Fe.blockIndex,At=qe?Fe.step:null,Dt=Ue&&Ue.modDataCount,Lt=Dt!=null?Math.ceil(Dt/At):null;return{step:At,modBy:Lt,modDataCount:Dt}}},xe.prototype.getPipeline=function($e){return this._pipelineMap.get($e)},xe.prototype.updateStreamModes=function($e,Ie){var Fe=this._pipelineMap.get($e.uid),Ue=$e.getData(),qe=Ue.count(),At=Fe.progressiveEnabled&&Ie.incrementalPrepareRender&&qe>=Fe.threshold,Dt=$e.get("large")&&qe>=$e.get("largeThreshold"),Lt=$e.get("progressiveChunkMode")==="mod"?qe:null;$e.pipelineContext=Fe.context={progressiveRender:At,modDataCount:Lt,large:Dt}},xe.prototype.restorePipelines=function($e){var Ie=this,Fe=Ie._pipelineMap=createHashMap();$e.eachSeries(function(Ue){var qe=Ue.getProgressive(),At=Ue.uid;Fe.set(At,{id:At,head:null,tail:null,threshold:Ue.getProgressiveThreshold(),progressiveEnabled:qe&&!(Ue.preventIncremental&&Ue.preventIncremental()),blockIndex:-1,step:Math.round(qe||700),count:0}),Ie._pipe(Ue,Ue.dataTask)})},xe.prototype.prepareStageTasks=function(){var $e=this._stageTaskMap,Ie=this.api.getModel(),Fe=this.api;each$f(this._allHandlers,function(Ue){var qe=$e.get(Ue.uid)||$e.set(Ue.uid,{}),At="";assert(!(Ue.reset&&Ue.overallReset),At),Ue.reset&&this._createSeriesStageTask(Ue,qe,Ie,Fe),Ue.overallReset&&this._createOverallStageTask(Ue,qe,Ie,Fe)},this)},xe.prototype.prepareView=function($e,Ie,Fe,Ue){var qe=$e.renderTask,At=qe.context;At.model=Ie,At.ecModel=Fe,At.api=Ue,qe.__block=!$e.incrementalPrepareRender,this._pipe(Ie,qe)},xe.prototype.performDataProcessorTasks=function($e,Ie){this._performStageTasks(this._dataProcessorHandlers,$e,Ie,{block:!0})},xe.prototype.performVisualTasks=function($e,Ie,Fe){this._performStageTasks(this._visualHandlers,$e,Ie,Fe)},xe.prototype._performStageTasks=function($e,Ie,Fe,Ue){Ue=Ue||{};var qe=!1,At=this;each$f($e,function(Lt,jt){if(!(Ue.visualType&&Ue.visualType!==Lt.visualType)){var hn=At._stageTaskMap.get(Lt.uid),vn=hn.seriesTaskMap,bn=hn.overallTask;if(bn){var _n,wn=bn.agentStubMap;wn.each(function(Cn){Dt(Ue,Cn)&&(Cn.dirty(),_n=!0)}),_n&&bn.dirty(),At.updatePayload(bn,Fe);var kn=At.getPerformArgs(bn,Ue.block);wn.each(function(Cn){Cn.perform(kn)}),bn.perform(kn)&&(qe=!0)}else vn&&vn.each(function(Cn,Sn){Dt(Ue,Cn)&&Cn.dirty();var xn=At.getPerformArgs(Cn,Ue.block);xn.skip=!Lt.performRawSeries&&Ie.isSeriesFiltered(Cn.context.model),At.updatePayload(Cn,Fe),Cn.perform(xn)&&(qe=!0)})}});function Dt(Lt,jt){return Lt.setDirty&&(!Lt.dirtyMap||Lt.dirtyMap.get(jt.__pipeline.id))}this.unfinished=qe||this.unfinished},xe.prototype.performSeriesTasks=function($e){var Ie;$e.eachSeries(function(Fe){Ie=Fe.dataTask.perform()||Ie}),this.unfinished=Ie||this.unfinished},xe.prototype.plan=function(){this._pipelineMap.each(function($e){var Ie=$e.tail;do{if(Ie.__block){$e.blockIndex=Ie.__idxInPipeline;break}Ie=Ie.getUpstream()}while(Ie)})},xe.prototype.updatePayload=function($e,Ie){Ie!=="remain"&&($e.context.payload=Ie)},xe.prototype._createSeriesStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.seriesTaskMap,Dt=Ie.seriesTaskMap=createHashMap(),Lt=$e.seriesType,jt=$e.getTargetSeries;$e.createOnAllSeries?Fe.eachRawSeries(hn):Lt?Fe.eachRawSeriesByType(Lt,hn):jt&&jt(Fe,Ue).each(hn);function hn(vn){var bn=vn.uid,_n=Dt.set(bn,At&&At.get(bn)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));_n.context={model:vn,ecModel:Fe,api:Ue,useClearVisual:$e.isVisual&&!$e.isLayout,plan:$e.plan,reset:$e.reset,scheduler:qe},qe._pipe(vn,_n)}},xe.prototype._createOverallStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.overallTask=Ie.overallTask||createTask({reset:overallTaskReset});At.context={ecModel:Fe,api:Ue,overallReset:$e.overallReset,scheduler:qe};var Dt=At.agentStubMap,Lt=At.agentStubMap=createHashMap(),jt=$e.seriesType,hn=$e.getTargetSeries,vn=!0,bn=!1,_n="";assert(!$e.createOnAllSeries,_n),jt?Fe.eachRawSeriesByType(jt,wn):hn?hn(Fe,Ue).each(wn):(vn=!1,each$f(Fe.getSeries(),wn));function wn(kn){var Cn=kn.uid,Sn=Lt.set(Cn,Dt&&Dt.get(Cn)||(bn=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));Sn.context={model:kn,overallProgress:vn},Sn.agent=At,Sn.__block=vn,qe._pipe(kn,Sn)}bn&&At.dirty()},xe.prototype._pipe=function($e,Ie){var Fe=$e.uid,Ue=this._pipelineMap.get(Fe);!Ue.head&&(Ue.head=Ie),Ue.tail&&Ue.tail.pipe(Ie),Ue.tail=Ie,Ie.__idxInPipeline=Ue.count++,Ie.__pipeline=Ue},xe.wrapStageHandler=function($e,Ie){return isFunction$2($e)&&($e={overallReset:$e,seriesType:detectSeriseType($e)}),$e.uid=getUID("stageHandler"),Ie&&($e.visualType=Ie),$e},xe}();function overallTaskReset(xe){xe.overallReset(xe.ecModel,xe.api,xe.payload)}function stubReset(xe){return xe.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(xe){return xe.plan?xe.plan(xe.model,xe.ecModel,xe.api,xe.payload):null}function seriesTaskReset(xe){xe.useClearVisual&&xe.data.clearAllVisual();var $e=xe.resetDefines=normalizeToArray(xe.reset(xe.model,xe.ecModel,xe.api,xe.payload));return $e.length>1?map$1($e,function(Ie,Fe){return makeSeriesTaskProgress(Fe)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(xe){return function($e,Ie){var Fe=Ie.data,Ue=Ie.resetDefines[xe];if(Ue&&Ue.dataEach)for(var qe=$e.start;qe<$e.end;qe++)Ue.dataEach(Fe,qe);else Ue&&Ue.progress&&Ue.progress($e,Fe)}}function seriesTaskCount(xe){return xe.data.count()}function detectSeriseType(xe){seriesType=null;try{xe(ecModelMock,apiMock)}catch{}return seriesType}var ecModelMock={},apiMock={},seriesType;mockMethods(ecModelMock,GlobalModel);mockMethods(apiMock,ExtensionAPI);ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function(xe){seriesType=xe};ecModelMock.eachComponent=function(xe){xe.mainType==="series"&&xe.subType&&(seriesType=xe.subType)};function mockMethods(xe,$e){for(var Ie in $e.prototype)xe[Ie]=noop$2}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;var ECEventProcessor=function(){function xe(){}return xe.prototype.normalizeQuery=function($e){var Ie={},Fe={},Ue={};if(isString$2($e)){var qe=parseClassType($e);Ie.mainType=qe.main||null,Ie.subType=qe.sub||null}else{var At=["Index","Name","Id"],Dt={name:1,dataIndex:1,dataType:1};each$f($e,function(Lt,jt){for(var hn=!1,vn=0;vn<At.length;vn++){var bn=At[vn],_n=jt.lastIndexOf(bn);if(_n>0&&_n===jt.length-bn.length){var wn=jt.slice(0,_n);wn!=="data"&&(Ie.mainType=wn,Ie[bn.toLowerCase()]=Lt,hn=!0)}}Dt.hasOwnProperty(jt)&&(Fe[jt]=Lt,hn=!0),hn||(Ue[jt]=Lt)})}return{cptQuery:Ie,dataQuery:Fe,otherQuery:Ue}},xe.prototype.filter=function($e,Ie){var Fe=this.eventInfo;if(!Fe)return!0;var Ue=Fe.targetEl,qe=Fe.packedEvent,At=Fe.model,Dt=Fe.view;if(!At||!Dt)return!0;var Lt=Ie.cptQuery,jt=Ie.dataQuery;return hn(Lt,At,"mainType")&&hn(Lt,At,"subType")&&hn(Lt,At,"index","componentIndex")&&hn(Lt,At,"name")&&hn(Lt,At,"id")&&hn(jt,qe,"name")&&hn(jt,qe,"dataIndex")&&hn(jt,qe,"dataType")&&(!Dt.filterForExposedEvent||Dt.filterForExposedEvent($e,Ie.otherQuery,Ue,qe));function hn(vn,bn,_n,wn){return vn[_n]==null||bn[wn||_n]===vn[_n]}},xe.prototype.afterTrigger=function(){this.eventInfo=null},xe}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData();if(xe.legendIcon&&Ie.setVisual("legendIcon",xe.legendIcon),!xe.hasSymbolVisual)return;for(var Fe={},Ue={},qe=!1,At=0;At<SYMBOL_PROPS_WITH_CB.length;At++){var Dt=SYMBOL_PROPS_WITH_CB[At],Lt=xe.get(Dt);isFunction$2(Lt)?(qe=!0,Ue[Dt]=Lt):Fe[Dt]=Lt}if(Fe.symbol=Fe.symbol||xe.defaultSymbol,Ie.setVisual(extend$1({legendIcon:xe.legendIcon||Fe.symbol,symbolKeepAspect:xe.get("symbolKeepAspect")},Fe)),$e.isSeriesFiltered(xe))return;var jt=keys(Ue);function hn(vn,bn){for(var _n=xe.getRawValue(bn),wn=xe.getDataParams(bn),kn=0;kn<jt.length;kn++){var Cn=jt[kn];vn.setItemVisual(bn,Cn,Ue[Cn](_n,wn))}}return{dataEach:qe?hn:null}}},dataSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){if(!xe.hasSymbolVisual||$e.isSeriesFiltered(xe))return;var Ie=xe.getData();function Fe(Ue,qe){for(var At=Ue.getItemModel(qe),Dt=0;Dt<SYMBOL_PROPS.length;Dt++){var Lt=SYMBOL_PROPS[Dt],jt=At.getShallow(Lt,!0);jt!=null&&Ue.setItemVisual(qe,Lt,jt)}}return{dataEach:Ie.hasItemOption?Fe:null}}};function getItemVisualFromData(xe,$e,Ie){switch(Ie){case"color":var Fe=xe.getItemVisual($e,"style");return Fe[xe.getVisual("drawType")];case"opacity":return xe.getItemVisual($e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return xe.getItemVisual($e,Ie)}}function getVisualFromData(xe,$e){switch($e){case"color":var Ie=xe.getVisual("style");return Ie[xe.getVisual("drawType")];case"opacity":return xe.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return xe.getVisual($e)}}function setItemVisualFromData(xe,$e,Ie,Fe){switch(Ie){case"color":var Ue=xe.ensureUniqueItemVisual($e,"style");Ue[xe.getVisual("drawType")]=Fe,xe.setItemVisual($e,"colorFromPalette",!1);break;case"opacity":xe.ensureUniqueItemVisual($e,"style").opacity=Fe;break;case"symbol":case"symbolSize":case"liftZ":xe.setItemVisual($e,Ie,Fe);break}}function createLegacyDataSelectAction(xe,$e){function Ie(Fe,Ue){var qe=[];return Fe.eachComponent({mainType:"series",subType:xe,query:Ue},function(At){qe.push(At.seriesIndex)}),qe}each$f([[xe+"ToggleSelect","toggleSelect"],[xe+"Select","select"],[xe+"UnSelect","unselect"]],function(Fe){$e(Fe[0],function(Ue,qe,At){Ue=extend$1({},Ue),At.dispatchAction(extend$1(Ue,{type:Fe[1],seriesIndex:Ie(qe,Ue)}))})})}function handleSeriesLegacySelectEvents(xe,$e,Ie,Fe,Ue){var qe=xe+$e;Ie.isSilent(qe)||Fe.eachComponent({mainType:"series",subType:"pie"},function(At){for(var Dt=At.seriesIndex,Lt=At.option.selectedMap,jt=Ue.selected,hn=0;hn<jt.length;hn++)if(jt[hn].seriesIndex===Dt){var vn=At.getData(),bn=queryDataIndex(vn,Ue.fromActionPayload);Ie.trigger(qe,{type:qe,seriesId:At.id,name:isArray$2(bn)?vn.getName(bn[0]):vn.getName(bn),selected:isString$2(Lt)?Lt:extend$1({},Lt)})}})}function handleLegacySelectEvents(xe,$e,Ie){xe.on("selectchanged",function(Fe){var Ue=Ie.getModel();Fe.isFromClick?(handleSeriesLegacySelectEvents("map","selectchanged",$e,Ue,Fe),handleSeriesLegacySelectEvents("pie","selectchanged",$e,Ue,Fe)):Fe.fromAction==="select"?(handleSeriesLegacySelectEvents("map","selected",$e,Ue,Fe),handleSeriesLegacySelectEvents("pie","selected",$e,Ue,Fe)):Fe.fromAction==="unselect"&&(handleSeriesLegacySelectEvents("map","unselected",$e,Ue,Fe),handleSeriesLegacySelectEvents("pie","unselected",$e,Ue,Fe))})}function findEventDispatcher(xe,$e,Ie){for(var Fe;xe&&!($e(xe)&&(Fe=xe,Ie));)xe=xe.__hostTarget||xe.parent;return Fe}var wmUniqueIndex=Math.round(Math.random()*9),supportDefineProperty=typeof Object.defineProperty=="function",WeakMap$1=function(){function xe(){this._id="__ec_inner_"+wmUniqueIndex++}return xe.prototype.get=function($e){return this._guard($e)[this._id]},xe.prototype.set=function($e,Ie){var Fe=this._guard($e);return supportDefineProperty?Object.defineProperty(Fe,this._id,{value:Ie,enumerable:!1,configurable:!0}):Fe[this._id]=Ie,this},xe.prototype.delete=function($e){return this.has($e)?(delete this._guard($e)[this._id],!0):!1},xe.prototype.has=function($e){return!!this._guard($e)[this._id]},xe.prototype._guard=function($e){if($e!==Object($e))throw TypeError("Value of WeakMap is not a non-null object.");return $e},xe}(),Triangle=Path.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(xe,$e){var Ie=$e.cx,Fe=$e.cy,Ue=$e.width/2,qe=$e.height/2;xe.moveTo(Ie,Fe-qe),xe.lineTo(Ie+Ue,Fe+qe),xe.lineTo(Ie-Ue,Fe+qe),xe.closePath()}}),Diamond=Path.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(xe,$e){var Ie=$e.cx,Fe=$e.cy,Ue=$e.width/2,qe=$e.height/2;xe.moveTo(Ie,Fe-qe),xe.lineTo(Ie+Ue,Fe),xe.lineTo(Ie,Fe+qe),xe.lineTo(Ie-Ue,Fe),xe.closePath()}}),Pin=Path.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(xe,$e){var Ie=$e.x,Fe=$e.y,Ue=$e.width/5*3,qe=Math.max(Ue,$e.height),At=Ue/2,Dt=At*At/(qe-At),Lt=Fe-qe+At+Dt,jt=Math.asin(Dt/At),hn=Math.cos(jt)*At,vn=Math.sin(jt),bn=Math.cos(jt),_n=At*.6,wn=At*.7;xe.moveTo(Ie-hn,Lt+Dt),xe.arc(Ie,Lt,At,Math.PI-jt,Math.PI*2+jt),xe.bezierCurveTo(Ie+hn-vn*_n,Lt+Dt+bn*_n,Ie,Fe-wn,Ie,Fe),xe.bezierCurveTo(Ie,Fe-wn,Ie-hn+vn*_n,Lt+Dt+bn*_n,Ie-hn,Lt+Dt),xe.closePath()}}),Arrow=Path.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(xe,$e){var Ie=$e.height,Fe=$e.width,Ue=$e.x,qe=$e.y,At=Fe/3*2;xe.moveTo(Ue,qe),xe.lineTo(Ue+At,qe+Ie),xe.lineTo(Ue,qe+Ie/4*3),xe.lineTo(Ue-At,qe+Ie),xe.lineTo(Ue,qe),xe.closePath()}}),symbolCtors={line:Line$1,rect:Rect$2,roundRect:Rect$2,square:Rect$2,circle:Circle,diamond:Diamond,pin:Pin,arrow:Arrow,triangle:Triangle},symbolShapeMakers={line:function(xe,$e,Ie,Fe,Ue){Ue.x1=xe,Ue.y1=$e+Fe/2,Ue.x2=xe+Ie,Ue.y2=$e+Fe/2},rect:function(xe,$e,Ie,Fe,Ue){Ue.x=xe,Ue.y=$e,Ue.width=Ie,Ue.height=Fe},roundRect:function(xe,$e,Ie,Fe,Ue){Ue.x=xe,Ue.y=$e,Ue.width=Ie,Ue.height=Fe,Ue.r=Math.min(Ie,Fe)/4},square:function(xe,$e,Ie,Fe,Ue){var qe=Math.min(Ie,Fe);Ue.x=xe,Ue.y=$e,Ue.width=qe,Ue.height=qe},circle:function(xe,$e,Ie,Fe,Ue){Ue.cx=xe+Ie/2,Ue.cy=$e+Fe/2,Ue.r=Math.min(Ie,Fe)/2},diamond:function(xe,$e,Ie,Fe,Ue){Ue.cx=xe+Ie/2,Ue.cy=$e+Fe/2,Ue.width=Ie,Ue.height=Fe},pin:function(xe,$e,Ie,Fe,Ue){Ue.x=xe+Ie/2,Ue.y=$e+Fe/2,Ue.width=Ie,Ue.height=Fe},arrow:function(xe,$e,Ie,Fe,Ue){Ue.x=xe+Ie/2,Ue.y=$e+Fe/2,Ue.width=Ie,Ue.height=Fe},triangle:function(xe,$e,Ie,Fe,Ue){Ue.cx=xe+Ie/2,Ue.cy=$e+Fe/2,Ue.width=Ie,Ue.height=Fe}},symbolBuildProxies={};each$f(symbolCtors,function(xe,$e){symbolBuildProxies[$e]=new xe});var SymbolClz=Path.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(xe,$e,Ie){var Fe=calculateTextPosition(xe,$e,Ie),Ue=this.shape;return Ue&&Ue.symbolType==="pin"&&$e.position==="inside"&&(Fe.y=Ie.y+Ie.height*.4),Fe},buildPath:function(xe,$e,Ie){var Fe=$e.symbolType;if(Fe!=="none"){var Ue=symbolBuildProxies[Fe];Ue||(Fe="rect",Ue=symbolBuildProxies[Fe]),symbolShapeMakers[Fe]($e.x,$e.y,$e.width,$e.height,Ue.shape),Ue.buildPath(xe,Ue.shape,Ie)}}});function symbolPathSetColor(xe,$e){if(this.type!=="image"){var Ie=this.style;this.__isEmptyBrush?(Ie.stroke=xe,Ie.fill=$e||"#fff",Ie.lineWidth=2):this.shape.symbolType==="line"?Ie.stroke=xe:Ie.fill=xe,this.markRedraw()}}function createSymbol$1(xe,$e,Ie,Fe,Ue,qe,At){var Dt=xe.indexOf("empty")===0;Dt&&(xe=xe.substr(5,1).toLowerCase()+xe.substr(6));var Lt;return xe.indexOf("image://")===0?Lt=makeImage(xe.slice(8),new BoundingRect($e,Ie,Fe,Ue),At?"center":"cover"):xe.indexOf("path://")===0?Lt=makePath(xe.slice(7),{},new BoundingRect($e,Ie,Fe,Ue),At?"center":"cover"):Lt=new SymbolClz({shape:{symbolType:xe,x:$e,y:Ie,width:Fe,height:Ue}}),Lt.__isEmptyBrush=Dt,Lt.setColor=symbolPathSetColor,qe&&Lt.setColor(qe),Lt}function normalizeSymbolSize(xe){return isArray$2(xe)||(xe=[+xe,+xe]),[xe[0]||0,xe[1]||0]}function normalizeSymbolOffset(xe,$e){if(xe!=null)return isArray$2(xe)||(xe=[xe,xe]),[parsePercent(xe[0],$e[0])||0,parsePercent(retrieve2(xe[1],xe[0]),$e[1])||0]}function isSafeNum(xe){return isFinite(xe)}function createLinearGradient(xe,$e,Ie){var Fe=$e.x==null?0:$e.x,Ue=$e.x2==null?1:$e.x2,qe=$e.y==null?0:$e.y,At=$e.y2==null?0:$e.y2;$e.global||(Fe=Fe*Ie.width+Ie.x,Ue=Ue*Ie.width+Ie.x,qe=qe*Ie.height+Ie.y,At=At*Ie.height+Ie.y),Fe=isSafeNum(Fe)?Fe:0,Ue=isSafeNum(Ue)?Ue:1,qe=isSafeNum(qe)?qe:0,At=isSafeNum(At)?At:0;var Dt=xe.createLinearGradient(Fe,qe,Ue,At);return Dt}function createRadialGradient(xe,$e,Ie){var Fe=Ie.width,Ue=Ie.height,qe=Math.min(Fe,Ue),At=$e.x==null?.5:$e.x,Dt=$e.y==null?.5:$e.y,Lt=$e.r==null?.5:$e.r;$e.global||(At=At*Fe+Ie.x,Dt=Dt*Ue+Ie.y,Lt=Lt*qe),At=isSafeNum(At)?At:.5,Dt=isSafeNum(Dt)?Dt:.5,Lt=Lt>=0&&isSafeNum(Lt)?Lt:.5;var jt=xe.createRadialGradient(At,Dt,0,At,Dt,Lt);return jt}function getCanvasGradient(xe,$e,Ie){for(var Fe=$e.type==="radial"?createRadialGradient(xe,$e,Ie):createLinearGradient(xe,$e,Ie),Ue=$e.colorStops,qe=0;qe<Ue.length;qe++)Fe.addColorStop(Ue[qe].offset,Ue[qe].color);return Fe}function isClipPathChanged(xe,$e){if(xe===$e||!xe&&!$e)return!1;if(!xe||!$e||xe.length!==$e.length)return!0;for(var Ie=0;Ie<xe.length;Ie++)if(xe[Ie]!==$e[Ie])return!0;return!1}function parseInt10(xe){return parseInt(xe,10)}function getSize$1(xe,$e,Ie){var Fe=["width","height"][$e],Ue=["clientWidth","clientHeight"][$e],qe=["paddingLeft","paddingTop"][$e],At=["paddingRight","paddingBottom"][$e];if(Ie[Fe]!=null&&Ie[Fe]!=="auto")return parseFloat(Ie[Fe]);var Dt=document.defaultView.getComputedStyle(xe);return(xe[Ue]||parseInt10(Dt[Fe])||parseInt10(xe.style[Fe]))-(parseInt10(Dt[qe])||0)-(parseInt10(Dt[At])||0)|0}function normalizeLineDash(xe,$e){return!xe||xe==="solid"||!($e>0)?null:xe==="dashed"?[4*$e,2*$e]:xe==="dotted"?[$e]:isNumber$2(xe)?[xe]:isArray$2(xe)?xe:null}function getLineDash(xe){var $e=xe.style,Ie=$e.lineDash&&$e.lineWidth>0&&normalizeLineDash($e.lineDash,$e.lineWidth),Fe=$e.lineDashOffset;if(Ie){var Ue=$e.strokeNoScale&&xe.getLineScale?xe.getLineScale():1;Ue&&Ue!==1&&(Ie=map$1(Ie,function(qe){return qe/Ue}),Fe/=Ue)}return[Ie,Fe]}var pathProxyForDraw=new PathProxy(!0);function styleHasStroke(xe){var $e=xe.stroke;return!($e==null||$e==="none"||!(xe.lineWidth>0))}function isValidStrokeFillStyle(xe){return typeof xe=="string"&&xe!=="none"}function styleHasFill(xe){var $e=xe.fill;return $e!=null&&$e!=="none"}function doFillPath(xe,$e){if($e.fillOpacity!=null&&$e.fillOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.fillOpacity*$e.opacity,xe.fill(),xe.globalAlpha=Ie}else xe.fill()}function doStrokePath(xe,$e){if($e.strokeOpacity!=null&&$e.strokeOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.strokeOpacity*$e.opacity,xe.stroke(),xe.globalAlpha=Ie}else xe.stroke()}function createCanvasPattern(xe,$e,Ie){var Fe=createOrUpdateImage($e.image,$e.__image,Ie);if(isImageReady(Fe)){var Ue=xe.createPattern(Fe,$e.repeat||"repeat");if(typeof DOMMatrix=="function"&&Ue&&Ue.setTransform){var qe=new DOMMatrix;qe.translateSelf($e.x||0,$e.y||0),qe.rotateSelf(0,0,($e.rotation||0)*RADIAN_TO_DEGREE),qe.scaleSelf($e.scaleX||1,$e.scaleY||1),Ue.setTransform(qe)}return Ue}}function brushPath(xe,$e,Ie,Fe){var Ue,qe=styleHasStroke(Ie),At=styleHasFill(Ie),Dt=Ie.strokePercent,Lt=Dt<1,jt=!$e.path;(!$e.silent||Lt)&&jt&&$e.createPathProxy();var hn=$e.path||pathProxyForDraw,vn=$e.__dirty;if(!Fe){var bn=Ie.fill,_n=Ie.stroke,wn=At&&!!bn.colorStops,kn=qe&&!!_n.colorStops,Cn=At&&!!bn.image,Sn=qe&&!!_n.image,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0;(wn||kn)&&($n=$e.getBoundingRect()),wn&&(xn=vn?getCanvasGradient(xe,bn,$n):$e.__canvasFillGradient,$e.__canvasFillGradient=xn),kn&&(En=vn?getCanvasGradient(xe,_n,$n):$e.__canvasStrokeGradient,$e.__canvasStrokeGradient=En),Cn&&(Tn=vn||!$e.__canvasFillPattern?createCanvasPattern(xe,bn,$e):$e.__canvasFillPattern,$e.__canvasFillPattern=Tn),Sn&&(An=vn||!$e.__canvasStrokePattern?createCanvasPattern(xe,_n,$e):$e.__canvasStrokePattern,$e.__canvasStrokePattern=Tn),wn?xe.fillStyle=xn:Cn&&(Tn?xe.fillStyle=Tn:At=!1),kn?xe.strokeStyle=En:Sn&&(An?xe.strokeStyle=An:qe=!1)}var Pn=$e.getGlobalScale();hn.setScale(Pn[0],Pn[1],$e.segmentIgnoreThreshold);var Nn,Mn;xe.setLineDash&&Ie.lineDash&&(Ue=getLineDash($e),Nn=Ue[0],Mn=Ue[1]);var In=!0;(jt||vn&SHAPE_CHANGED_BIT)&&(hn.setDPR(xe.dpr),Lt?hn.setContext(null):(hn.setContext(xe),In=!1),hn.reset(),$e.buildPath(hn,$e.shape,Fe),hn.toStatic(),$e.pathUpdated()),In&&hn.rebuildPath(xe,Lt?Dt:1),Nn&&(xe.setLineDash(Nn),xe.lineDashOffset=Mn),Fe||(Ie.strokeFirst?(qe&&doStrokePath(xe,Ie),At&&doFillPath(xe,Ie)):(At&&doFillPath(xe,Ie),qe&&doStrokePath(xe,Ie))),Nn&&xe.setLineDash([])}function brushImage(xe,$e,Ie){var Fe=$e.__image=createOrUpdateImage(Ie.image,$e.__image,$e,$e.onload);if(!(!Fe||!isImageReady(Fe))){var Ue=Ie.x||0,qe=Ie.y||0,At=$e.getWidth(),Dt=$e.getHeight(),Lt=Fe.width/Fe.height;if(At==null&&Dt!=null?At=Dt*Lt:Dt==null&&At!=null?Dt=At/Lt:At==null&&Dt==null&&(At=Fe.width,Dt=Fe.height),Ie.sWidth&&Ie.sHeight){var jt=Ie.sx||0,hn=Ie.sy||0;xe.drawImage(Fe,jt,hn,Ie.sWidth,Ie.sHeight,Ue,qe,At,Dt)}else if(Ie.sx&&Ie.sy){var jt=Ie.sx,hn=Ie.sy,vn=At-jt,bn=Dt-hn;xe.drawImage(Fe,jt,hn,vn,bn,Ue,qe,At,Dt)}else xe.drawImage(Fe,Ue,qe,At,Dt)}}function brushText(xe,$e,Ie){var Fe,Ue=Ie.text;if(Ue!=null&&(Ue+=""),Ue){xe.font=Ie.font||DEFAULT_FONT,xe.textAlign=Ie.textAlign,xe.textBaseline=Ie.textBaseline;var qe=void 0,At=void 0;xe.setLineDash&&Ie.lineDash&&(Fe=getLineDash($e),qe=Fe[0],At=Fe[1]),qe&&(xe.setLineDash(qe),xe.lineDashOffset=At),Ie.strokeFirst?(styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y),styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y)):(styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y),styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y)),qe&&xe.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(xe,$e,Ie,Fe,Ue){var qe=!1;if(!Fe&&(Ie=Ie||{},$e===Ie))return!1;if(Fe||$e.opacity!==Ie.opacity){flushPathDrawn(xe,Ue),qe=!0;var At=Math.max(Math.min($e.opacity,1),0);xe.globalAlpha=isNaN(At)?DEFAULT_COMMON_STYLE.opacity:At}(Fe||$e.blend!==Ie.blend)&&(qe||(flushPathDrawn(xe,Ue),qe=!0),xe.globalCompositeOperation=$e.blend||DEFAULT_COMMON_STYLE.blend);for(var Dt=0;Dt<SHADOW_NUMBER_PROPS.length;Dt++){var Lt=SHADOW_NUMBER_PROPS[Dt];(Fe||$e[Lt]!==Ie[Lt])&&(qe||(flushPathDrawn(xe,Ue),qe=!0),xe[Lt]=xe.dpr*($e[Lt]||0))}return(Fe||$e.shadowColor!==Ie.shadowColor)&&(qe||(flushPathDrawn(xe,Ue),qe=!0),xe.shadowColor=$e.shadowColor||DEFAULT_COMMON_STYLE.shadowColor),qe}function bindPathAndTextCommonStyle(xe,$e,Ie,Fe,Ue){var qe=getStyle$1($e,Ue.inHover),At=Fe?null:Ie&&getStyle$1(Ie,Ue.inHover)||{};if(qe===At)return!1;var Dt=bindCommonProps(xe,qe,At,Fe,Ue);if((Fe||qe.fill!==At.fill)&&(Dt||(flushPathDrawn(xe,Ue),Dt=!0),isValidStrokeFillStyle(qe.fill)&&(xe.fillStyle=qe.fill)),(Fe||qe.stroke!==At.stroke)&&(Dt||(flushPathDrawn(xe,Ue),Dt=!0),isValidStrokeFillStyle(qe.stroke)&&(xe.strokeStyle=qe.stroke)),(Fe||qe.opacity!==At.opacity)&&(Dt||(flushPathDrawn(xe,Ue),Dt=!0),xe.globalAlpha=qe.opacity==null?1:qe.opacity),$e.hasStroke()){var Lt=qe.lineWidth,jt=Lt/(qe.strokeNoScale&&$e.getLineScale?$e.getLineScale():1);xe.lineWidth!==jt&&(Dt||(flushPathDrawn(xe,Ue),Dt=!0),xe.lineWidth=jt)}for(var hn=0;hn<STROKE_PROPS.length;hn++){var vn=STROKE_PROPS[hn],bn=vn[0];(Fe||qe[bn]!==At[bn])&&(Dt||(flushPathDrawn(xe,Ue),Dt=!0),xe[bn]=qe[bn]||vn[1])}return Dt}function bindImageStyle(xe,$e,Ie,Fe,Ue){return bindCommonProps(xe,getStyle$1($e,Ue.inHover),Ie&&getStyle$1(Ie,Ue.inHover),Fe,Ue)}function setContextTransform(xe,$e){var Ie=$e.transform,Fe=xe.dpr||1;Ie?xe.setTransform(Fe*Ie[0],Fe*Ie[1],Fe*Ie[2],Fe*Ie[3],Fe*Ie[4],Fe*Ie[5]):xe.setTransform(Fe,0,0,Fe,0,0)}function updateClipStatus(xe,$e,Ie){for(var Fe=!1,Ue=0;Ue<xe.length;Ue++){var qe=xe[Ue];Fe=Fe||qe.isZeroArea(),setContextTransform($e,qe),$e.beginPath(),qe.buildPath($e,qe.shape),$e.clip()}Ie.allClipped=Fe}function isTransformChanged(xe,$e){return xe&&$e?xe[0]!==$e[0]||xe[1]!==$e[1]||xe[2]!==$e[2]||xe[3]!==$e[3]||xe[4]!==$e[4]||xe[5]!==$e[5]:!(!xe&&!$e)}var DRAW_TYPE_PATH=1,DRAW_TYPE_IMAGE=2,DRAW_TYPE_TEXT=3,DRAW_TYPE_INCREMENTAL=4;function canPathBatch(xe){var $e=styleHasFill(xe),Ie=styleHasStroke(xe);return!(xe.lineDash||!(+$e^+Ie)||$e&&typeof xe.fill!="string"||Ie&&typeof xe.stroke!="string"||xe.strokePercent<1||xe.strokeOpacity<1||xe.fillOpacity<1)}function flushPathDrawn(xe,$e){$e.batchFill&&xe.fill(),$e.batchStroke&&xe.stroke(),$e.batchFill="",$e.batchStroke=""}function getStyle$1(xe,$e){return $e&&xe.__hoverStyle||xe.style}function brushSingle(xe,$e){brush$1(xe,$e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function brush$1(xe,$e,Ie,Fe){var Ue=$e.transform;if(!$e.shouldBePainted(Ie.viewWidth,Ie.viewHeight,!1,!1)){$e.__dirty&=~REDRAW_BIT,$e.__isRendered=!1;return}var qe=$e.__clipPaths,At=Ie.prevElClipPaths,Dt=!1,Lt=!1;if((!At||isClipPathChanged(qe,At))&&(At&&At.length&&(flushPathDrawn(xe,Ie),xe.restore(),Lt=Dt=!0,Ie.prevElClipPaths=null,Ie.allClipped=!1,Ie.prevEl=null),qe&&qe.length&&(flushPathDrawn(xe,Ie),xe.save(),updateClipStatus(qe,xe,Ie),Dt=!0),Ie.prevElClipPaths=qe),Ie.allClipped){$e.__isRendered=!1;return}$e.beforeBrush&&$e.beforeBrush(),$e.innerBeforeBrush();var jt=Ie.prevEl;jt||(Lt=Dt=!0);var hn=$e instanceof Path&&$e.autoBatch&&canPathBatch($e.style);Dt||isTransformChanged(Ue,jt.transform)?(flushPathDrawn(xe,Ie),setContextTransform(xe,$e)):hn||flushPathDrawn(xe,Ie);var vn=getStyle$1($e,Ie.inHover);$e instanceof Path?(Ie.lastDrawType!==DRAW_TYPE_PATH&&(Lt=!0,Ie.lastDrawType=DRAW_TYPE_PATH),bindPathAndTextCommonStyle(xe,$e,jt,Lt,Ie),(!hn||!Ie.batchFill&&!Ie.batchStroke)&&xe.beginPath(),brushPath(xe,$e,vn,hn),hn&&(Ie.batchFill=vn.fill||"",Ie.batchStroke=vn.stroke||"")):$e instanceof TSpan?(Ie.lastDrawType!==DRAW_TYPE_TEXT&&(Lt=!0,Ie.lastDrawType=DRAW_TYPE_TEXT),bindPathAndTextCommonStyle(xe,$e,jt,Lt,Ie),brushText(xe,$e,vn)):$e instanceof ZRImage?(Ie.lastDrawType!==DRAW_TYPE_IMAGE&&(Lt=!0,Ie.lastDrawType=DRAW_TYPE_IMAGE),bindImageStyle(xe,$e,jt,Lt,Ie),brushImage(xe,$e,vn)):$e.getTemporalDisplayables&&(Ie.lastDrawType!==DRAW_TYPE_INCREMENTAL&&(Lt=!0,Ie.lastDrawType=DRAW_TYPE_INCREMENTAL),brushIncremental(xe,$e,Ie)),hn&&Fe&&flushPathDrawn(xe,Ie),$e.innerAfterBrush(),$e.afterBrush&&$e.afterBrush(),Ie.prevEl=$e,$e.__dirty=0,$e.__isRendered=!0}function brushIncremental(xe,$e,Ie){var Fe=$e.getDisplayables(),Ue=$e.getTemporalDisplayables();xe.save();var qe={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:Ie.viewWidth,viewHeight:Ie.viewHeight,inHover:Ie.inHover},At,Dt;for(At=$e.getCursor(),Dt=Fe.length;At<Dt;At++){var Lt=Fe[At];Lt.beforeBrush&&Lt.beforeBrush(),Lt.innerBeforeBrush(),brush$1(xe,Lt,qe,At===Dt-1),Lt.innerAfterBrush(),Lt.afterBrush&&Lt.afterBrush(),qe.prevEl=Lt}for(var jt=0,hn=Ue.length;jt<hn;jt++){var Lt=Ue[jt];Lt.beforeBrush&&Lt.beforeBrush(),Lt.innerBeforeBrush(),brush$1(xe,Lt,qe,jt===hn-1),Lt.innerAfterBrush(),Lt.afterBrush&&Lt.afterBrush(),qe.prevEl=Lt}$e.clearTemporalDisplayables(),$e.notClear=!0,xe.restore()}var decalMap=new WeakMap$1,decalCache=new LRU(100),decalKeys=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function createOrUpdatePatternFromDecal(xe,$e){if(xe==="none")return null;var Ie=$e.getDevicePixelRatio(),Fe=$e.getZr(),Ue=Fe.painter.type==="svg";xe.dirty&&decalMap.delete(xe);var qe=decalMap.get(xe);if(qe)return qe;var At=defaults$1(xe,{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});At.backgroundColor==="none"&&(At.backgroundColor=null);var Dt={repeat:"repeat"};return Lt(Dt),Dt.rotation=At.rotation,Dt.scaleX=Dt.scaleY=Ue?1:1/Ie,decalMap.set(xe,Dt),xe.dirty=!1,Dt;function Lt(jt){for(var hn=[Ie],vn=!0,bn=0;bn<decalKeys.length;++bn){var _n=At[decalKeys[bn]];if(_n!=null&&!isArray$2(_n)&&!isString$2(_n)&&!isNumber$2(_n)&&typeof _n!="boolean"){vn=!1;break}hn.push(_n)}var wn;if(vn){wn=hn.join(",")+(Ue?"-svg":"");var kn=decalCache.get(wn);kn&&(Ue?jt.svgElement=kn:jt.image=kn)}var Cn=normalizeDashArrayX(At.dashArrayX),Sn=normalizeDashArrayY(At.dashArrayY),xn=normalizeSymbolArray(At.symbol),En=getLineBlockLengthX(Cn),Tn=getLineBlockLengthY(Sn),An=!Ue&&platformApi.createCanvas(),$n=Ue&&{tag:"g",attrs:{},key:"dcl",children:[]},Pn=Mn(),Nn;An&&(An.width=Pn.width*Ie,An.height=Pn.height*Ie,Nn=An.getContext("2d")),In(),vn&&decalCache.put(wn,An||$n),jt.image=An,jt.svgElement=$n,jt.svgWidth=Pn.width,jt.svgHeight=Pn.height;function Mn(){for(var On=1,Rn=0,Bn=En.length;Rn<Bn;++Rn)On=getLeastCommonMultiple(On,En[Rn]);for(var Vn=1,Rn=0,Bn=xn.length;Rn<Bn;++Rn)Vn=getLeastCommonMultiple(Vn,xn[Rn].length);On*=Vn;var Ln=Tn*En.length*xn.length;return{width:Math.max(1,Math.min(On,At.maxTileWidth)),height:Math.max(1,Math.min(Ln,At.maxTileHeight))}}function In(){Nn&&(Nn.clearRect(0,0,An.width,An.height),At.backgroundColor&&(Nn.fillStyle=At.backgroundColor,Nn.fillRect(0,0,An.width,An.height)));for(var On=0,Rn=0;Rn<Sn.length;++Rn)On+=Sn[Rn];if(On<=0)return;for(var Bn=-Tn,Vn=0,Ln=0,Dn=0;Bn<Pn.height;){if(Vn%2===0){for(var Hn=Ln/2%xn.length,Fn=0,zn=0,jn=0;Fn<Pn.width*2;){for(var Gn=0,Rn=0;Rn<Cn[Dn].length;++Rn)Gn+=Cn[Dn][Rn];if(Gn<=0)break;if(zn%2===0){var Wn=(1-At.symbolSize)*.5,Xn=Fn+Cn[Dn][zn]*Wn,er=Bn+Sn[Vn]*Wn,rr=Cn[Dn][zn]*At.symbolSize,Jn=Sn[Vn]*At.symbolSize,qn=jn/2%xn[Hn].length;Yn(Xn,er,rr,Jn,xn[Hn][qn])}Fn+=Cn[Dn][zn],++jn,++zn,zn===Cn[Dn].length&&(zn=0)}++Dn,Dn===Cn.length&&(Dn=0)}Bn+=Sn[Vn],++Ln,++Vn,Vn===Sn.length&&(Vn=0)}function Yn(ar,tr,or,sr,Kn){var Zn=Ue?1:Ie,nr=createSymbol$1(Kn,ar*Zn,tr*Zn,or*Zn,sr*Zn,At.color,At.symbolKeepAspect);if(Ue){var lr=Fe.painter.renderOneToVNode(nr);lr&&$n.children.push(lr)}else brushSingle(Nn,nr)}}}}function normalizeSymbolArray(xe){if(!xe||xe.length===0)return[["rect"]];if(isString$2(xe))return[[xe]];for(var $e=!0,Ie=0;Ie<xe.length;++Ie)if(!isString$2(xe[Ie])){$e=!1;break}if($e)return normalizeSymbolArray([xe]);for(var Fe=[],Ie=0;Ie<xe.length;++Ie)isString$2(xe[Ie])?Fe.push([xe[Ie]]):Fe.push(xe[Ie]);return Fe}function normalizeDashArrayX(xe){if(!xe||xe.length===0)return[[0,0]];if(isNumber$2(xe)){var $e=Math.ceil(xe);return[[$e,$e]]}for(var Ie=!0,Fe=0;Fe<xe.length;++Fe)if(!isNumber$2(xe[Fe])){Ie=!1;break}if(Ie)return normalizeDashArrayX([xe]);for(var Ue=[],Fe=0;Fe<xe.length;++Fe)if(isNumber$2(xe[Fe])){var $e=Math.ceil(xe[Fe]);Ue.push([$e,$e])}else{var $e=map$1(xe[Fe],function(Dt){return Math.ceil(Dt)});$e.length%2===1?Ue.push($e.concat($e)):Ue.push($e)}return Ue}function normalizeDashArrayY(xe){if(!xe||typeof xe=="object"&&xe.length===0)return[0,0];if(isNumber$2(xe)){var $e=Math.ceil(xe);return[$e,$e]}var Ie=map$1(xe,function(Fe){return Math.ceil(Fe)});return xe.length%2?Ie.concat(Ie):Ie}function getLineBlockLengthX(xe){return map$1(xe,function($e){return getLineBlockLengthY($e)})}function getLineBlockLengthY(xe){for(var $e=0,Ie=0;Ie<xe.length;++Ie)$e+=xe[Ie];return xe.length%2===1?$e*2:$e}function decalVisual(xe,$e){xe.eachRawSeries(function(Ie){if(!xe.isSeriesFiltered(Ie)){var Fe=Ie.getData();Fe.hasItemVisual()&&Fe.each(function(At){var Dt=Fe.getItemVisual(At,"decal");if(Dt){var Lt=Fe.ensureUniqueItemVisual(At,"style");Lt.decal=createOrUpdatePatternFromDecal(Dt,$e)}});var Ue=Fe.getVisual("decal");if(Ue){var qe=Fe.getVisual("style");qe.decal=createOrUpdatePatternFromDecal(Ue,$e)}}})}var lifecycle=new Eventful,implsStore={};function registerImpl(xe,$e){implsStore[xe]=$e}function getImpl(xe){return implsStore[xe]}var 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(xe){return function(){for(var $e=[],Ie=0;Ie<arguments.length;Ie++)$e[Ie]=arguments[Ie];if(this.isDisposed()){this.id;return}return toLowercaseNameAndCallEventful(this,xe,$e)}}function createRegisterEventWithLowercaseMessageCenter(xe){return function(){for(var $e=[],Ie=0;Ie<arguments.length;Ie++)$e[Ie]=arguments[Ie];return toLowercaseNameAndCallEventful(this,xe,$e)}}function toLowercaseNameAndCallEventful(xe,$e,Ie){return Ie[0]=Ie[0]&&Ie[0].toLowerCase(),Eventful.prototype[$e].apply(xe,Ie)}var MessageCenter=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e}(Eventful),messageCenterProto=MessageCenter.prototype;messageCenterProto.on=createRegisterEventWithLowercaseMessageCenter("on");messageCenterProto.off=createRegisterEventWithLowercaseMessageCenter("off");var prepare,prepareView,updateDirectly,updateMethods,doConvertPixel,updateStreamModes,doDispatchAction,flushPendingActions,triggerUpdatedEvent,bindRenderedEvent,bindMouseEvent,render,renderComponents,renderSeries,createExtensionAPI,enableConnect,markStatusToUpdate,applyChangedStates,ECharts=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this,new ECEventProcessor)||this;qe._chartsViews=[],qe._chartsMap={},qe._componentsViews=[],qe._componentsMap={},qe._pendingActions=[],Ue=Ue||{},isString$2(Fe)&&(Fe=themeStorage[Fe]),qe._dom=Ie;var At="canvas",Dt="auto",Lt=!1;Ue.ssr&&registerSSRDataGetter(function(bn){var _n=getECData(bn),wn=_n.dataIndex;if(wn!=null){var kn=createHashMap();return kn.set("series_index",_n.seriesIndex),kn.set("data_index",wn),_n.ssrType&&kn.set("ssr_type",_n.ssrType),kn}});var jt=qe._zr=init$2(Ie,{renderer:Ue.renderer||At,devicePixelRatio:Ue.devicePixelRatio,width:Ue.width,height:Ue.height,ssr:Ue.ssr,useDirtyRect:retrieve2(Ue.useDirtyRect,Lt),useCoarsePointer:retrieve2(Ue.useCoarsePointer,Dt),pointerSize:Ue.pointerSize});qe._ssr=Ue.ssr,qe._throttledZrFlush=throttle$2(bind$2(jt.flush,jt),17),Fe=clone$4(Fe),Fe&&globalBackwardCompat(Fe,!0),qe._theme=Fe,qe._locale=createLocaleObject(Ue.locale||SYSTEM_LANG),qe._coordSysMgr=new CoordinateSystemManager;var hn=qe._api=createExtensionAPI(qe);function vn(bn,_n){return bn.__prio-_n.__prio}return sort$2(visualFuncs,vn),sort$2(dataProcessorFuncs,vn),qe._scheduler=new Scheduler(qe,hn,dataProcessorFuncs,visualFuncs),qe._messageCenter=new MessageCenter,qe._initEvents(),qe.resize=bind$2(qe.resize,qe),jt.animation.on("frame",qe._onframe,qe),bindRenderedEvent(jt,qe),bindMouseEvent(jt,qe),setAsPrimitive(qe),qe}return $e.prototype._onframe=function(){if(!this._disposed){applyChangedStates(this);var Ie=this._scheduler;if(this[PENDING_UPDATE]){var Fe=this[PENDING_UPDATE].silent;this[IN_MAIN_PROCESS_KEY]=!0;try{prepare(this),updateMethods.update.call(this,null,this[PENDING_UPDATE].updateParams)}catch(Lt){throw this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,Lt}this._zr.flush(),this[IN_MAIN_PROCESS_KEY]=!1,this[PENDING_UPDATE]=null,flushPendingActions.call(this,Fe),triggerUpdatedEvent.call(this,Fe)}else if(Ie.unfinished){var Ue=TEST_FRAME_REMAIN_TIME,qe=this._model,At=this._api;Ie.unfinished=!1;do{var Dt=+new Date;Ie.performSeriesTasks(qe),Ie.performDataProcessorTasks(qe),updateStreamModes(this,qe),Ie.performVisualTasks(qe),renderSeries(this,this._model,At,"remain",{}),Ue-=+new Date-Dt}while(Ue>0&&Ie.unfinished);Ie.unfinished||this._zr.flush()}}},$e.prototype.getDom=function(){return this._dom},$e.prototype.getId=function(){return this.id},$e.prototype.getZr=function(){return this._zr},$e.prototype.isSSR=function(){return this._ssr},$e.prototype.setOption=function(Ie,Fe,Ue){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var qe,At,Dt;if(isObject$4(Fe)&&(Ue=Fe.lazyUpdate,qe=Fe.silent,At=Fe.replaceMerge,Dt=Fe.transition,Fe=Fe.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||Fe){var Lt=new OptionManager(this._api),jt=this._theme,hn=this._model=new GlobalModel;hn.scheduler=this._scheduler,hn.ssr=this._ssr,hn.init(null,null,null,jt,this._locale,Lt)}this._model.setOption(Ie,{replaceMerge:At},optionPreprocessorFuncs);var vn={seriesTransition:Dt,optionChanged:!0};if(Ue)this[PENDING_UPDATE]={silent:qe,updateParams:vn},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,vn)}catch(bn){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,bn}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.setTheme=function(){},$e.prototype.getModel=function(){return this._model},$e.prototype.getOption=function(){return this._model&&this._model.getOption()},$e.prototype.getWidth=function(){return this._zr.getWidth()},$e.prototype.getHeight=function(){return this._zr.getHeight()},$e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env.hasGlobalWindow&&window.devicePixelRatio||1},$e.prototype.getRenderedCanvas=function(Ie){return this.renderToCanvas(Ie)},$e.prototype.renderToCanvas=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.getRenderedCanvas({backgroundColor:Ie.backgroundColor||this._model.get("backgroundColor"),pixelRatio:Ie.pixelRatio||this.getDevicePixelRatio()})},$e.prototype.renderToSVGString=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.renderToString({useViewBox:Ie.useViewBox})},$e.prototype.getSvgDataURL=function(){if(env.svgSupported){var Ie=this._zr,Fe=Ie.storage.getDisplayList();return each$f(Fe,function(Ue){Ue.stopAnimation(null,!0)}),Ie.painter.toDataURL()}},$e.prototype.getDataURL=function(Ie){if(this._disposed){this.id;return}Ie=Ie||{};var Fe=Ie.excludeComponents,Ue=this._model,qe=[],At=this;each$f(Fe,function(Lt){Ue.eachComponent({mainType:Lt},function(jt){var hn=At._componentsMap[jt.__viewId];hn.group.ignore||(qe.push(hn),hn.group.ignore=!0)})});var Dt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(Ie).toDataURL("image/"+(Ie&&Ie.type||"png"));return each$f(qe,function(Lt){Lt.group.ignore=!1}),Dt},$e.prototype.getConnectedDataURL=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.type==="svg",Ue=this.group,qe=Math.min,At=Math.max,Dt=1/0;if(connectedGroups[Ue]){var Lt=Dt,jt=Dt,hn=-Dt,vn=-Dt,bn=[],_n=Ie&&Ie.pixelRatio||this.getDevicePixelRatio();each$f(instances$1,function(En,Tn){if(En.group===Ue){var An=Fe?En.getZr().painter.getSvgDom().innerHTML:En.renderToCanvas(clone$4(Ie)),$n=En.getDom().getBoundingClientRect();Lt=qe($n.left,Lt),jt=qe($n.top,jt),hn=At($n.right,hn),vn=At($n.bottom,vn),bn.push({dom:An,left:$n.left,top:$n.top})}}),Lt*=_n,jt*=_n,hn*=_n,vn*=_n;var wn=hn-Lt,kn=vn-jt,Cn=platformApi.createCanvas(),Sn=init$2(Cn,{renderer:Fe?"svg":"canvas"});if(Sn.resize({width:wn,height:kn}),Fe){var xn="";return each$f(bn,function(En){var Tn=En.left-Lt,An=En.top-jt;xn+='<g transform="translate('+Tn+","+An+')">'+En.dom+"</g>"}),Sn.painter.getSvgRoot().innerHTML=xn,Ie.connectedBackgroundColor&&Sn.painter.setBackgroundColor(Ie.connectedBackgroundColor),Sn.refreshImmediately(),Sn.painter.toDataURL()}else return Ie.connectedBackgroundColor&&Sn.add(new Rect$2({shape:{x:0,y:0,width:wn,height:kn},style:{fill:Ie.connectedBackgroundColor}})),each$f(bn,function(En){var Tn=new ZRImage({style:{x:En.left*_n-Lt,y:En.top*_n-jt,image:En.dom}});Sn.add(Tn)}),Sn.refreshImmediately(),Cn.toDataURL("image/"+(Ie&&Ie.type||"png"))}else return this.getDataURL(Ie)},$e.prototype.convertToPixel=function(Ie,Fe){return doConvertPixel(this,"convertToPixel",Ie,Fe)},$e.prototype.convertFromPixel=function(Ie,Fe){return doConvertPixel(this,"convertFromPixel",Ie,Fe)},$e.prototype.containPixel=function(Ie,Fe){if(this._disposed){this.id;return}var Ue=this._model,qe,At=parseFinder$1(Ue,Ie);return each$f(At,function(Dt,Lt){Lt.indexOf("Models")>=0&&each$f(Dt,function(jt){var hn=jt.coordinateSystem;if(hn&&hn.containPoint)qe=qe||!!hn.containPoint(Fe);else if(Lt==="seriesModels"){var vn=this._chartsMap[jt.__viewId];vn&&vn.containPoint&&(qe=qe||vn.containPoint(Fe,jt))}},this)},this),!!qe},$e.prototype.getVisual=function(Ie,Fe){var Ue=this._model,qe=parseFinder$1(Ue,Ie,{defaultMainType:"series"}),At=qe.seriesModel,Dt=At.getData(),Lt=qe.hasOwnProperty("dataIndexInside")?qe.dataIndexInside:qe.hasOwnProperty("dataIndex")?Dt.indexOfRawIndex(qe.dataIndex):null;return Lt!=null?getItemVisualFromData(Dt,Lt,Fe):getVisualFromData(Dt,Fe)},$e.prototype.getViewOfComponentModel=function(Ie){return this._componentsMap[Ie.__viewId]},$e.prototype.getViewOfSeriesModel=function(Ie){return this._chartsMap[Ie.__viewId]},$e.prototype._initEvents=function(){var Ie=this;each$f(MOUSE_EVENT_NAMES,function(Fe){var Ue=function(qe){var At=Ie.getModel(),Dt=qe.target,Lt,jt=Fe==="globalout";if(jt?Lt={}:Dt&&findEventDispatcher(Dt,function(wn){var kn=getECData(wn);if(kn&&kn.dataIndex!=null){var Cn=kn.dataModel||At.getSeriesByIndex(kn.seriesIndex);return Lt=Cn&&Cn.getDataParams(kn.dataIndex,kn.dataType,Dt)||{},!0}else if(kn.eventData)return Lt=extend$1({},kn.eventData),!0},!0),Lt){var hn=Lt.componentType,vn=Lt.componentIndex;(hn==="markLine"||hn==="markPoint"||hn==="markArea")&&(hn="series",vn=Lt.seriesIndex);var bn=hn&&vn!=null&&At.getComponent(hn,vn),_n=bn&&Ie[bn.mainType==="series"?"_chartsMap":"_componentsMap"][bn.__viewId];Lt.event=qe,Lt.type=Fe,Ie._$eventProcessor.eventInfo={targetEl:Dt,packedEvent:Lt,model:bn,view:_n},Ie.trigger(Fe,Lt)}};Ue.zrEventfulCallAtLast=!0,Ie._zr.on(Fe,Ue,Ie)}),each$f(eventActionMap,function(Fe,Ue){Ie._messageCenter.on(Ue,function(qe){this.trigger(Ue,qe)},Ie)}),each$f(["selectchanged"],function(Fe){Ie._messageCenter.on(Fe,function(Ue){this.trigger(Fe,Ue)},Ie)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},$e.prototype.isDisposed=function(){return this._disposed},$e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},$e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var Ie=this.getDom();Ie&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var Fe=this,Ue=Fe._api,qe=Fe._model;each$f(Fe._componentsViews,function(At){At.dispose(qe,Ue)}),each$f(Fe._chartsViews,function(At){At.dispose(qe,Ue)}),Fe._zr.dispose(),Fe._dom=Fe._model=Fe._chartsMap=Fe._componentsMap=Fe._chartsViews=Fe._componentsViews=Fe._scheduler=Fe._api=Fe._zr=Fe._throttledZrFlush=Fe._theme=Fe._coordSysMgr=Fe._messageCenter=null,delete instances$1[Fe.id]},$e.prototype.resize=function(Ie){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(Ie);var Fe=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!Fe){var Ue=Fe.resetOption("media"),qe=Ie&&Ie.silent;this[PENDING_UPDATE]&&(qe==null&&(qe=this[PENDING_UPDATE].silent),Ue=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{Ue&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend$1({duration:0},Ie&&Ie.animation)})}catch(At){throw this[IN_MAIN_PROCESS_KEY]=!1,At}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.showLoading=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$4(Ie)&&(Fe=Ie,Ie=""),Ie=Ie||"default",this.hideLoading(),!!loadingEffects[Ie]){var Ue=loadingEffects[Ie](this._api,Fe),qe=this._zr;this._loadingFX=Ue,qe.add(Ue)}},$e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},$e.prototype.makeActionFromEvent=function(Ie){var Fe=extend$1({},Ie);return Fe.type=eventActionMap[Ie.type],Fe},$e.prototype.dispatchAction=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$4(Fe)||(Fe={silent:!!Fe}),!!actions[Ie.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(Ie);return}var Ue=Fe.silent;doDispatchAction.call(this,Ie,Ue);var qe=Fe.flush;qe?this._zr.flush():qe!==!1&&env.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,Ue),triggerUpdatedEvent.call(this,Ue)}},$e.prototype.updateLabelLayout=function(){lifecycle.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},$e.prototype.appendData=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.seriesIndex,Ue=this.getModel(),qe=Ue.getSeriesByIndex(Fe);qe.appendData(Ie),this._scheduler.unfinished=!0,this.getZr().wakeUp()},$e.internalField=function(){prepare=function(vn){var bn=vn._scheduler;bn.restorePipelines(vn._model),bn.prepareStageTasks(),prepareView(vn,!0),prepareView(vn,!1),bn.plan()},prepareView=function(vn,bn){for(var _n=vn._model,wn=vn._scheduler,kn=bn?vn._componentsViews:vn._chartsViews,Cn=bn?vn._componentsMap:vn._chartsMap,Sn=vn._zr,xn=vn._api,En=0;En<kn.length;En++)kn[En].__alive=!1;bn?_n.eachComponent(function($n,Pn){$n!=="series"&&Tn(Pn)}):_n.eachSeries(Tn);function Tn($n){var Pn=$n.__requireNewView;$n.__requireNewView=!1;var Nn="_ec_"+$n.id+"_"+$n.type,Mn=!Pn&&Cn[Nn];if(!Mn){var In=parseClassType($n.type),On=bn?ComponentView.getClass(In.main,In.sub):ChartView.getClass(In.sub);Mn=new On,Mn.init(_n,xn),Cn[Nn]=Mn,kn.push(Mn),Sn.add(Mn.group)}$n.__viewId=Mn.__id=Nn,Mn.__alive=!0,Mn.__model=$n,Mn.group.__ecComponentInfo={mainType:$n.mainType,index:$n.componentIndex},!bn&&wn.prepareView(Mn,$n,_n,xn)}for(var En=0;En<kn.length;){var An=kn[En];An.__alive?En++:(!bn&&An.renderTask.dispose(),Sn.remove(An.group),An.dispose(_n,xn),kn.splice(En,1),Cn[An.__id]===An&&delete Cn[An.__id],An.__id=An.group.__ecComponentInfo=null)}},updateDirectly=function(vn,bn,_n,wn,kn){var Cn=vn._model;if(Cn.setUpdatePayload(_n),!wn){each$f([].concat(vn._componentsViews).concat(vn._chartsViews),An);return}var Sn={};Sn[wn+"Id"]=_n[wn+"Id"],Sn[wn+"Index"]=_n[wn+"Index"],Sn[wn+"Name"]=_n[wn+"Name"];var xn={mainType:wn,query:Sn};kn&&(xn.subType=kn);var En=_n.excludeSeriesId,Tn;En!=null&&(Tn=createHashMap(),each$f(normalizeToArray(En),function($n){var Pn=convertOptionIdName($n,null);Pn!=null&&Tn.set(Pn,!0)})),Cn&&Cn.eachComponent(xn,function($n){var Pn=Tn&&Tn.get($n.id)!=null;if(!Pn)if(isHighDownPayload(_n))if($n instanceof SeriesModel)_n.type===HIGHLIGHT_ACTION_TYPE&&!_n.notBlur&&!$n.get(["emphasis","disabled"])&&blurSeriesFromHighlightPayload($n,_n,vn._api);else{var Nn=findComponentHighDownDispatchers($n.mainType,$n.componentIndex,_n.name,vn._api),Mn=Nn.focusSelf,In=Nn.dispatchers;_n.type===HIGHLIGHT_ACTION_TYPE&&Mn&&!_n.notBlur&&blurComponent($n.mainType,$n.componentIndex,vn._api),In&&each$f(In,function(On){_n.type===HIGHLIGHT_ACTION_TYPE?enterEmphasis(On):leaveEmphasis(On)})}else isSelectChangePayload(_n)&&$n instanceof SeriesModel&&(toggleSelectionFromPayload($n,_n,vn._api),updateSeriesElementSelection($n),markStatusToUpdate(vn))},vn),Cn&&Cn.eachComponent(xn,function($n){var Pn=Tn&&Tn.get($n.id)!=null;Pn||An(vn[wn==="series"?"_chartsMap":"_componentsMap"][$n.__viewId])},vn);function An($n){$n&&$n.__alive&&$n[bn]&&$n[bn]($n.__model,Cn,vn._api,_n)}},updateMethods={prepareAndUpdate:function(vn){prepare(this),updateMethods.update.call(this,vn,{optionChanged:vn.newOption!=null})},update:function(vn,bn){var _n=this._model,wn=this._api,kn=this._zr,Cn=this._coordSysMgr,Sn=this._scheduler;if(_n){_n.setUpdatePayload(vn),Sn.restoreData(_n,vn),Sn.performSeriesTasks(_n),Cn.create(_n,wn),Sn.performDataProcessorTasks(_n,vn),updateStreamModes(this,_n),Cn.update(_n,wn),Ie(_n),Sn.performVisualTasks(_n,vn),render(this,_n,wn,vn,bn);var xn=_n.get("backgroundColor")||"transparent",En=_n.get("darkMode");kn.setBackgroundColor(xn),En!=null&&En!=="auto"&&kn.setDarkMode(En),lifecycle.trigger("afterupdate",_n,wn)}},updateTransform:function(vn){var bn=this,_n=this._model,wn=this._api;if(_n){_n.setUpdatePayload(vn);var kn=[];_n.eachComponent(function(Sn,xn){if(Sn!=="series"){var En=bn.getViewOfComponentModel(xn);if(En&&En.__alive)if(En.updateTransform){var Tn=En.updateTransform(xn,_n,wn,vn);Tn&&Tn.update&&kn.push(En)}else kn.push(En)}});var Cn=createHashMap();_n.eachSeries(function(Sn){var xn=bn._chartsMap[Sn.__viewId];if(xn.updateTransform){var En=xn.updateTransform(Sn,_n,wn,vn);En&&En.update&&Cn.set(Sn.uid,1)}else Cn.set(Sn.uid,1)}),Ie(_n),this._scheduler.performVisualTasks(_n,vn,{setDirty:!0,dirtyMap:Cn}),renderSeries(this,_n,wn,vn,{},Cn),lifecycle.trigger("afterupdate",_n,wn)}},updateView:function(vn){var bn=this._model;bn&&(bn.setUpdatePayload(vn),ChartView.markUpdateMethod(vn,"updateView"),Ie(bn),this._scheduler.performVisualTasks(bn,vn,{setDirty:!0}),render(this,bn,this._api,vn,{}),lifecycle.trigger("afterupdate",bn,this._api))},updateVisual:function(vn){var bn=this,_n=this._model;_n&&(_n.setUpdatePayload(vn),_n.eachSeries(function(wn){wn.getData().clearAllVisual()}),ChartView.markUpdateMethod(vn,"updateVisual"),Ie(_n),this._scheduler.performVisualTasks(_n,vn,{visualType:"visual",setDirty:!0}),_n.eachComponent(function(wn,kn){if(wn!=="series"){var Cn=bn.getViewOfComponentModel(kn);Cn&&Cn.__alive&&Cn.updateVisual(kn,_n,bn._api,vn)}}),_n.eachSeries(function(wn){var kn=bn._chartsMap[wn.__viewId];kn.updateVisual(wn,_n,bn._api,vn)}),lifecycle.trigger("afterupdate",_n,this._api))},updateLayout:function(vn){updateMethods.update.call(this,vn)}},doConvertPixel=function(vn,bn,_n,wn){if(vn._disposed){vn.id;return}for(var kn=vn._model,Cn=vn._coordSysMgr.getCoordinateSystems(),Sn,xn=parseFinder$1(kn,_n),En=0;En<Cn.length;En++){var Tn=Cn[En];if(Tn[bn]&&(Sn=Tn[bn](kn,xn,wn))!=null)return Sn}},updateStreamModes=function(vn,bn){var _n=vn._chartsMap,wn=vn._scheduler;bn.eachSeries(function(kn){wn.updateStreamModes(kn,_n[kn.__viewId])})},doDispatchAction=function(vn,bn){var _n=this,wn=this.getModel(),kn=vn.type,Cn=vn.escapeConnect,Sn=actions[kn],xn=Sn.actionInfo,En=(xn.update||"update").split(":"),Tn=En.pop(),An=En[0]!=null&&parseClassType(En[0]);this[IN_MAIN_PROCESS_KEY]=!0;var $n=[vn],Pn=!1;vn.batch&&(Pn=!0,$n=map$1(vn.batch,function(Vn){return Vn=defaults$1(extend$1({},Vn),vn),Vn.batch=null,Vn}));var Nn=[],Mn,In=isSelectChangePayload(vn),On=isHighDownPayload(vn);if(On&&allLeaveBlur(this._api),each$f($n,function(Vn){if(Mn=Sn.action(Vn,_n._model,_n._api),Mn=Mn||extend$1({},Vn),Mn.type=xn.event||Mn.type,Nn.push(Mn),On){var Ln=preParseFinder(vn),Dn=Ln.queryOptionMap,Hn=Ln.mainTypeSpecified,Fn=Hn?Dn.keys()[0]:"series";updateDirectly(_n,Tn,Vn,Fn),markStatusToUpdate(_n)}else In?(updateDirectly(_n,Tn,Vn,"series"),markStatusToUpdate(_n)):An&&updateDirectly(_n,Tn,Vn,An.main,An.sub)}),Tn!=="none"&&!On&&!In&&!An)try{this[PENDING_UPDATE]?(prepare(this),updateMethods.update.call(this,vn),this[PENDING_UPDATE]=null):updateMethods[Tn].call(this,vn)}catch(Vn){throw this[IN_MAIN_PROCESS_KEY]=!1,Vn}if(Pn?Mn={type:xn.event||kn,escapeConnect:Cn,batch:Nn}:Mn=Nn[0],this[IN_MAIN_PROCESS_KEY]=!1,!bn){var Rn=this._messageCenter;if(Rn.trigger(Mn.type,Mn),In){var Bn={type:"selectchanged",escapeConnect:Cn,selected:getAllSelectedIndices(wn),isFromClick:vn.isFromClick||!1,fromAction:vn.type,fromActionPayload:vn};Rn.trigger(Bn.type,Bn)}}},flushPendingActions=function(vn){for(var bn=this._pendingActions;bn.length;){var _n=bn.shift();doDispatchAction.call(this,_n,vn)}},triggerUpdatedEvent=function(vn){!vn&&this.trigger("updated")},bindRenderedEvent=function(vn,bn){vn.on("rendered",function(_n){bn.trigger("rendered",_n),vn.animation.isFinished()&&!bn[PENDING_UPDATE]&&!bn._scheduler.unfinished&&!bn._pendingActions.length&&bn.trigger("finished")})},bindMouseEvent=function(vn,bn){vn.on("mouseover",function(_n){var wn=_n.target,kn=findEventDispatcher(wn,isHighDownDispatcher);kn&&(handleGlobalMouseOverForHighDown(kn,_n,bn._api),markStatusToUpdate(bn))}).on("mouseout",function(_n){var wn=_n.target,kn=findEventDispatcher(wn,isHighDownDispatcher);kn&&(handleGlobalMouseOutForHighDown(kn,_n,bn._api),markStatusToUpdate(bn))}).on("click",function(_n){var wn=_n.target,kn=findEventDispatcher(wn,function(xn){return getECData(xn).dataIndex!=null},!0);if(kn){var Cn=kn.selected?"unselect":"select",Sn=getECData(kn);bn._api.dispatchAction({type:Cn,dataType:Sn.dataType,dataIndexInside:Sn.dataIndex,seriesIndex:Sn.seriesIndex,isFromClick:!0})}})};function Ie(vn){vn.clearColorPalette(),vn.eachSeries(function(bn){bn.clearColorPalette()})}function Fe(vn){var bn=[],_n=[],wn=!1;if(vn.eachComponent(function(xn,En){var Tn=En.get("zlevel")||0,An=En.get("z")||0,$n=En.getZLevelKey();wn=wn||!!$n,(xn==="series"?_n:bn).push({zlevel:Tn,z:An,idx:En.componentIndex,type:xn,key:$n})}),wn){var kn=bn.concat(_n),Cn,Sn;sort$2(kn,function(xn,En){return xn.zlevel===En.zlevel?xn.z-En.z:xn.zlevel-En.zlevel}),each$f(kn,function(xn){var En=vn.getComponent(xn.type,xn.idx),Tn=xn.zlevel,An=xn.key;Cn!=null&&(Tn=Math.max(Cn,Tn)),An?(Tn===Cn&&An!==Sn&&Tn++,Sn=An):Sn&&(Tn===Cn&&Tn++,Sn=""),Cn=Tn,En.setZLevel(Tn)})}}render=function(vn,bn,_n,wn,kn){Fe(bn),renderComponents(vn,bn,_n,wn,kn),each$f(vn._chartsViews,function(Cn){Cn.__alive=!1}),renderSeries(vn,bn,_n,wn,kn),each$f(vn._chartsViews,function(Cn){Cn.__alive||Cn.remove(bn,_n)})},renderComponents=function(vn,bn,_n,wn,kn,Cn){each$f(Cn||vn._componentsViews,function(Sn){var xn=Sn.__model;jt(xn,Sn),Sn.render(xn,bn,_n,wn),Dt(xn,Sn),hn(xn,Sn)})},renderSeries=function(vn,bn,_n,wn,kn,Cn){var Sn=vn._scheduler;kn=extend$1(kn||{},{updatedSeries:bn.getSeries()}),lifecycle.trigger("series:beforeupdate",bn,_n,kn);var xn=!1;bn.eachSeries(function(En){var Tn=vn._chartsMap[En.__viewId];Tn.__alive=!0;var An=Tn.renderTask;Sn.updatePayload(An,wn),jt(En,Tn),Cn&&Cn.get(En.uid)&&An.dirty(),An.perform(Sn.getPerformArgs(An))&&(xn=!0),Tn.group.silent=!!En.get("silent"),At(En,Tn),updateSeriesElementSelection(En)}),Sn.unfinished=xn||Sn.unfinished,lifecycle.trigger("series:layoutlabels",bn,_n,kn),lifecycle.trigger("series:transition",bn,_n,kn),bn.eachSeries(function(En){var Tn=vn._chartsMap[En.__viewId];Dt(En,Tn),hn(En,Tn)}),qe(vn,bn),lifecycle.trigger("series:afterupdate",bn,_n,kn)},markStatusToUpdate=function(vn){vn[STATUS_NEEDS_UPDATE_KEY]=!0,vn.getZr().wakeUp()},applyChangedStates=function(vn){vn[STATUS_NEEDS_UPDATE_KEY]&&(vn.getZr().storage.traverse(function(bn){isElementRemoved(bn)||Ue(bn)}),vn[STATUS_NEEDS_UPDATE_KEY]=!1)};function Ue(vn){for(var bn=[],_n=vn.currentStates,wn=0;wn<_n.length;wn++){var kn=_n[wn];kn==="emphasis"||kn==="blur"||kn==="select"||bn.push(kn)}vn.selected&&vn.states.select&&bn.push("select"),vn.hoverState===HOVER_STATE_EMPHASIS&&vn.states.emphasis?bn.push("emphasis"):vn.hoverState===HOVER_STATE_BLUR&&vn.states.blur&&bn.push("blur"),vn.useStates(bn)}function qe(vn,bn){var _n=vn._zr,wn=_n.storage,kn=0;wn.traverse(function(Cn){Cn.isGroup||kn++}),kn>bn.get("hoverLayerThreshold")&&!env.node&&!env.worker&&bn.eachSeries(function(Cn){if(!Cn.preventUsingHoverLayer){var Sn=vn._chartsMap[Cn.__viewId];Sn.__alive&&Sn.eachRendered(function(xn){xn.states.emphasis&&(xn.states.emphasis.hoverLayer=!0)})}})}function At(vn,bn){var _n=vn.get("blendMode")||null;bn.eachRendered(function(wn){wn.isGroup||(wn.style.blend=_n)})}function Dt(vn,bn){if(!vn.preventAutoZ){var _n=vn.get("z")||0,wn=vn.get("zlevel")||0;bn.eachRendered(function(kn){return Lt(kn,_n,wn,-1/0),!0})}}function Lt(vn,bn,_n,wn){var kn=vn.getTextContent(),Cn=vn.getTextGuideLine(),Sn=vn.isGroup;if(Sn)for(var xn=vn.childrenRef(),En=0;En<xn.length;En++)wn=Math.max(Lt(xn[En],bn,_n,wn),wn);else vn.z=bn,vn.zlevel=_n,wn=Math.max(vn.z2,wn);if(kn&&(kn.z=bn,kn.zlevel=_n,isFinite(wn)&&(kn.z2=wn+2)),Cn){var Tn=vn.textGuideLineConfig;Cn.z=bn,Cn.zlevel=_n,isFinite(wn)&&(Cn.z2=wn+(Tn&&Tn.showAbove?1:-1))}return wn}function jt(vn,bn){bn.eachRendered(function(_n){if(!isElementRemoved(_n)){var wn=_n.getTextContent(),kn=_n.getTextGuideLine();_n.stateTransition&&(_n.stateTransition=null),wn&&wn.stateTransition&&(wn.stateTransition=null),kn&&kn.stateTransition&&(kn.stateTransition=null),_n.hasState()?(_n.prevStates=_n.currentStates,_n.clearStates()):_n.prevStates&&(_n.prevStates=null)}})}function hn(vn,bn){var _n=vn.getModel("stateAnimation"),wn=vn.isAnimationEnabled(),kn=_n.get("duration"),Cn=kn>0?{duration:kn,delay:_n.get("delay"),easing:_n.get("easing")}:null;bn.eachRendered(function(Sn){if(Sn.states&&Sn.states.emphasis){if(isElementRemoved(Sn))return;if(Sn instanceof Path&&savePathStates(Sn),Sn.__dirty){var xn=Sn.prevStates;xn&&Sn.useStates(xn)}if(wn){Sn.stateTransition=Cn;var En=Sn.getTextContent(),Tn=Sn.getTextGuideLine();En&&(En.stateTransition=Cn),Tn&&(Tn.stateTransition=Cn)}Sn.__dirty&&Ue(Sn)}})}createExtensionAPI=function(vn){return new(function(bn){__extends(_n,bn);function _n(){return bn!==null&&bn.apply(this,arguments)||this}return _n.prototype.getCoordinateSystems=function(){return vn._coordSysMgr.getCoordinateSystems()},_n.prototype.getComponentByElement=function(wn){for(;wn;){var kn=wn.__ecComponentInfo;if(kn!=null)return vn._model.getComponent(kn.mainType,kn.index);wn=wn.parent}},_n.prototype.enterEmphasis=function(wn,kn){enterEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.leaveEmphasis=function(wn,kn){leaveEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.enterBlur=function(wn){enterBlur(wn),markStatusToUpdate(vn)},_n.prototype.leaveBlur=function(wn){leaveBlur(wn),markStatusToUpdate(vn)},_n.prototype.enterSelect=function(wn){enterSelect(wn),markStatusToUpdate(vn)},_n.prototype.leaveSelect=function(wn){leaveSelect(wn),markStatusToUpdate(vn)},_n.prototype.getModel=function(){return vn.getModel()},_n.prototype.getViewOfComponentModel=function(wn){return vn.getViewOfComponentModel(wn)},_n.prototype.getViewOfSeriesModel=function(wn){return vn.getViewOfSeriesModel(wn)},_n}(ExtensionAPI))(vn)},enableConnect=function(vn){function bn(_n,wn){for(var kn=0;kn<_n.length;kn++){var Cn=_n[kn];Cn[CONNECT_STATUS_KEY]=wn}}each$f(eventActionMap,function(_n,wn){vn._messageCenter.on(wn,function(kn){if(connectedGroups[vn.group]&&vn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(kn&&kn.escapeConnect)return;var Cn=vn.makeActionFromEvent(kn),Sn=[];each$f(instances$1,function(xn){xn!==vn&&xn.group===vn.group&&Sn.push(xn)}),bn(Sn,CONNECT_STATUS_PENDING),each$f(Sn,function(xn){xn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&xn.dispatchAction(Cn)}),bn(Sn,CONNECT_STATUS_UPDATED)}})})}}(),$e}(Eventful),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function(xe,$e,Ie){var Fe=this;function Ue(){for(var qe=[],At=0;At<arguments.length;At++)qe[At]=arguments[At];$e&&$e.apply&&$e.apply(this,qe),Fe.off(xe,Ue)}this.on.call(this,xe,Ue,Ie)};var MOUSE_EVENT_NAMES=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function disposedWarning(xe){}var actions={},eventActionMap={},dataProcessorFuncs=[],optionPreprocessorFuncs=[],visualFuncs=[],themeStorage={},loadingEffects={},instances$1={},connectedGroups={},idBase=+new Date-0,DOM_ATTRIBUTE_KEY="_echarts_instance_";function init$1(xe,$e,Ie){{var Fe=getInstanceByDom(xe);if(Fe)return Fe}var Ue=new ECharts(xe,$e,Ie);return Ue.id="ec_"+idBase++,instances$1[Ue.id]=Ue,setAttribute(xe,DOM_ATTRIBUTE_KEY,Ue.id),enableConnect(Ue),lifecycle.trigger("afterinit",Ue),Ue}function getInstanceByDom(xe){return instances$1[getAttribute(xe,DOM_ATTRIBUTE_KEY)]}function registerTheme(xe,$e){themeStorage[xe]=$e}function registerPreprocessor(xe){indexOf(optionPreprocessorFuncs,xe)<0&&optionPreprocessorFuncs.push(xe)}function registerProcessor(xe,$e){normalizeRegister(dataProcessorFuncs,xe,$e,PRIORITY_PROCESSOR_DEFAULT)}function registerPostInit(xe){registerUpdateLifecycle("afterinit",xe)}function registerPostUpdate(xe){registerUpdateLifecycle("afterupdate",xe)}function registerUpdateLifecycle(xe,$e){lifecycle.on(xe,$e)}function registerAction(xe,$e,Ie){isFunction$2($e)&&(Ie=$e,$e="");var Fe=isObject$4(xe)?xe.type:[xe,xe={event:$e}][0];xe.event=(xe.event||Fe).toLowerCase(),$e=xe.event,!eventActionMap[$e]&&(assert(ACTION_REG.test(Fe)&&ACTION_REG.test($e)),actions[Fe]||(actions[Fe]={action:Ie,actionInfo:xe}),eventActionMap[$e]=Fe)}function registerCoordinateSystem(xe,$e){CoordinateSystemManager.register(xe,$e)}function registerLayout(xe,$e){normalizeRegister(visualFuncs,xe,$e,PRIORITY_VISUAL_LAYOUT,"layout")}function registerVisual(xe,$e){normalizeRegister(visualFuncs,xe,$e,PRIORITY_VISUAL_CHART,"visual")}var registeredTasks=[];function normalizeRegister(xe,$e,Ie,Fe,Ue){if((isFunction$2($e)||isObject$4($e))&&(Ie=$e,$e=Fe),!(indexOf(registeredTasks,Ie)>=0)){registeredTasks.push(Ie);var qe=Scheduler.wrapStageHandler(Ie,Ue);qe.__prio=$e,qe.__raw=Ie,xe.push(qe)}}function registerLoading(xe,$e){loadingEffects[xe]=$e}function registerMap$1(xe,$e,Ie){var Fe=getImpl("registerMap");Fe&&Fe(xe,$e,Ie)}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);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop$2);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop$2);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop$2);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop$2);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop$2);registerTheme("light",lightTheme);registerTheme("dark",theme);var extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap:registerMap$1,registerImpl,PRIORITY,ComponentModel,ComponentView,SeriesModel,ChartView,registerComponentModel:function(xe){ComponentModel.registerClass(xe)},registerComponentView:function(xe){ComponentView.registerClass(xe)},registerSeriesModel:function(xe){SeriesModel.registerClass(xe)},registerChartView:function(xe){ChartView.registerClass(xe)},registerSubTypeDefaulter:function(xe,$e){ComponentModel.registerSubTypeDefaulter(xe,$e)},registerPainter:function(xe,$e){registerPainter(xe,$e)}};function use(xe){if(isArray$2(xe)){each$f(xe,function($e){use($e)});return}indexOf(extensions,xe)>=0||(extensions.push(xe),isFunction$2(xe)&&(xe={install:xe}),xe.install(extensionRegisters))}function dataIndexMapValueLength(xe){return xe==null?0:xe.length||1}function defaultKeyGetter(xe){return xe}var DataDiffer=function(){function xe($e,Ie,Fe,Ue,qe,At){this._old=$e,this._new=Ie,this._oldKeyGetter=Fe||defaultKeyGetter,this._newKeyGetter=Ue||defaultKeyGetter,this.context=qe,this._diffModeMultiple=At==="multiple"}return xe.prototype.add=function($e){return this._add=$e,this},xe.prototype.update=function($e){return this._update=$e,this},xe.prototype.updateManyToOne=function($e){return this._updateManyToOne=$e,this},xe.prototype.updateOneToMany=function($e){return this._updateOneToMany=$e,this},xe.prototype.updateManyToMany=function($e){return this._updateManyToMany=$e,this},xe.prototype.remove=function($e){return this._remove=$e,this},xe.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},xe.prototype._executeOneToOne=function(){var $e=this._old,Ie=this._new,Fe={},Ue=new Array($e.length),qe=new Array(Ie.length);this._initIndexMap($e,null,Ue,"_oldKeyGetter"),this._initIndexMap(Ie,Fe,qe,"_newKeyGetter");for(var At=0;At<$e.length;At++){var Dt=Ue[At],Lt=Fe[Dt],jt=dataIndexMapValueLength(Lt);if(jt>1){var hn=Lt.shift();Lt.length===1&&(Fe[Dt]=Lt[0]),this._update&&this._update(hn,At)}else jt===1?(Fe[Dt]=null,this._update&&this._update(Lt,At)):this._remove&&this._remove(At)}this._performRestAdd(qe,Fe)},xe.prototype._executeMultiple=function(){var $e=this._old,Ie=this._new,Fe={},Ue={},qe=[],At=[];this._initIndexMap($e,Fe,qe,"_oldKeyGetter"),this._initIndexMap(Ie,Ue,At,"_newKeyGetter");for(var Dt=0;Dt<qe.length;Dt++){var Lt=qe[Dt],jt=Fe[Lt],hn=Ue[Lt],vn=dataIndexMapValueLength(jt),bn=dataIndexMapValueLength(hn);if(vn>1&&bn===1)this._updateManyToOne&&this._updateManyToOne(hn,jt),Ue[Lt]=null;else if(vn===1&&bn>1)this._updateOneToMany&&this._updateOneToMany(hn,jt),Ue[Lt]=null;else if(vn===1&&bn===1)this._update&&this._update(hn,jt),Ue[Lt]=null;else if(vn>1&&bn>1)this._updateManyToMany&&this._updateManyToMany(hn,jt),Ue[Lt]=null;else if(vn>1)for(var _n=0;_n<vn;_n++)this._remove&&this._remove(jt[_n]);else this._remove&&this._remove(jt)}this._performRestAdd(At,Ue)},xe.prototype._performRestAdd=function($e,Ie){for(var Fe=0;Fe<$e.length;Fe++){var Ue=$e[Fe],qe=Ie[Ue],At=dataIndexMapValueLength(qe);if(At>1)for(var Dt=0;Dt<At;Dt++)this._add&&this._add(qe[Dt]);else At===1&&this._add&&this._add(qe);Ie[Ue]=null}},xe.prototype._initIndexMap=function($e,Ie,Fe,Ue){for(var qe=this._diffModeMultiple,At=0;At<$e.length;At++){var Dt="_ec_"+this[Ue]($e[At],At);if(qe||(Fe[At]=Dt),!!Ie){var Lt=Ie[Dt],jt=dataIndexMapValueLength(Lt);jt===0?(Ie[Dt]=At,qe&&Fe.push(Dt)):jt===1?Ie[Dt]=[Lt,At]:Lt.push(At)}}},xe}(),DimensionUserOuput=function(){function xe($e,Ie){this._encode=$e,this._schema=Ie}return xe.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},xe.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},xe}();function summarizeDimensions(xe,$e){var Ie={},Fe=Ie.encode={},Ue=createHashMap(),qe=[],At=[],Dt={};each$f(xe.dimensions,function(bn){var _n=xe.getDimensionInfo(bn),wn=_n.coordDim;if(wn){var kn=_n.coordDimIndex;getOrCreateEncodeArr(Fe,wn)[kn]=bn,_n.isExtraCoord||(Ue.set(wn,1),mayLabelDimType(_n.type)&&(qe[0]=bn),getOrCreateEncodeArr(Dt,wn)[kn]=xe.getDimensionIndex(_n.name)),_n.defaultTooltip&&At.push(bn)}VISUAL_DIMENSIONS.each(function(Cn,Sn){var xn=getOrCreateEncodeArr(Fe,Sn),En=_n.otherDims[Sn];En!=null&&En!==!1&&(xn[En]=_n.name)})});var Lt=[],jt={};Ue.each(function(bn,_n){var wn=Fe[_n];jt[_n]=wn[0],Lt=Lt.concat(wn)}),Ie.dataDimsOnCoord=Lt,Ie.dataDimIndicesOnCoord=map$1(Lt,function(bn){return xe.getDimensionInfo(bn).storeDimIndex}),Ie.encodeFirstDimNotExtra=jt;var hn=Fe.label;hn&&hn.length&&(qe=hn.slice());var vn=Fe.tooltip;return vn&&vn.length?At=vn.slice():At.length||(At=qe.slice()),Fe.defaultedLabel=qe,Fe.defaultedTooltip=At,Ie.userOutput=new DimensionUserOuput(Dt,$e),Ie}function getOrCreateEncodeArr(xe,$e){return xe.hasOwnProperty($e)||(xe[$e]=[]),xe[$e]}function getDimensionTypeByAxis(xe){return xe==="category"?"ordinal":xe==="time"?"time":"float"}function mayLabelDimType(xe){return!(xe==="ordinal"||xe==="time")}var SeriesDimensionDefine=function(){function xe($e){this.otherDims={},$e!=null&&extend$1(this,$e)}return xe}(),inner$h=makeInner(),dimTypeShort={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},SeriesDataSchema=function(){function xe($e){this.dimensions=$e.dimensions,this._dimOmitted=$e.dimensionOmitted,this.source=$e.source,this._fullDimCount=$e.fullDimensionCount,this._updateDimOmitted($e.dimensionOmitted)}return xe.prototype.isDimensionOmitted=function(){return this._dimOmitted},xe.prototype._updateDimOmitted=function($e){this._dimOmitted=$e,$e&&(this._dimNameMap||(this._dimNameMap=ensureSourceDimNameMap(this.source)))},xe.prototype.getSourceDimensionIndex=function($e){return retrieve2(this._dimNameMap.get($e),-1)},xe.prototype.getSourceDimension=function($e){var Ie=this.source.dimensionsDefine;if(Ie)return Ie[$e]},xe.prototype.makeStoreSchema=function(){for(var $e=this._fullDimCount,Ie=shouldRetrieveDataByName(this.source),Fe=!shouldOmitUnusedDimensions($e),Ue="",qe=[],At=0,Dt=0;At<$e;At++){var Lt=void 0,jt=void 0,hn=void 0,vn=this.dimensions[Dt];if(vn&&vn.storeDimIndex===At)Lt=Ie?vn.name:null,jt=vn.type,hn=vn.ordinalMeta,Dt++;else{var bn=this.getSourceDimension(At);bn&&(Lt=Ie?bn.name:null,jt=bn.type)}qe.push({property:Lt,type:jt,ordinalMeta:hn}),Ie&&Lt!=null&&(!vn||!vn.isCalculationCoord)&&(Ue+=Fe?Lt.replace(/\`/g,"`1").replace(/\$/g,"`2"):Lt),Ue+="$",Ue+=dimTypeShort[jt]||"f",hn&&(Ue+=hn.uid),Ue+="$"}var _n=this.source,wn=[_n.seriesLayoutBy,_n.startIndex,Ue].join("$$");return{dimensions:qe,hash:wn}},xe.prototype.makeOutputDimensionNames=function(){for(var $e=[],Ie=0,Fe=0;Ie<this._fullDimCount;Ie++){var Ue=void 0,qe=this.dimensions[Fe];if(qe&&qe.storeDimIndex===Ie)qe.isCalculationCoord||(Ue=qe.name),Fe++;else{var At=this.getSourceDimension(Ie);At&&(Ue=At.name)}$e.push(Ue)}return $e},xe.prototype.appendCalculationDimension=function($e){this.dimensions.push($e),$e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},xe}();function isSeriesDataSchema(xe){return xe instanceof SeriesDataSchema}function createDimNameMap(xe){for(var $e=createHashMap(),Ie=0;Ie<(xe||[]).length;Ie++){var Fe=xe[Ie],Ue=isObject$4(Fe)?Fe.name:Fe;Ue!=null&&$e.get(Ue)==null&&$e.set(Ue,Ie)}return $e}function ensureSourceDimNameMap(xe){var $e=inner$h(xe);return $e.dimNameMap||($e.dimNameMap=createDimNameMap(xe.dimensionsDefine))}function shouldOmitUnusedDimensions(xe){return xe>30}var isObject$2=isObject$4,map=map$1,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 xe($e,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 Fe,Ue=!1;isSeriesDataSchema($e)?(Fe=$e.dimensions,this._dimOmitted=$e.isDimensionOmitted(),this._schema=$e):(Ue=!0,Fe=$e),Fe=Fe||["x","y"];for(var qe={},At=[],Dt={},Lt=!1,jt={},hn=0;hn<Fe.length;hn++){var vn=Fe[hn],bn=isString$2(vn)?new SeriesDimensionDefine({name:vn}):vn instanceof SeriesDimensionDefine?vn:new SeriesDimensionDefine(vn),_n=bn.name;bn.type=bn.type||"float",bn.coordDim||(bn.coordDim=_n,bn.coordDimIndex=0);var wn=bn.otherDims=bn.otherDims||{};At.push(_n),qe[_n]=bn,jt[_n]!=null&&(Lt=!0),bn.createInvertedIndices&&(Dt[_n]=[]),wn.itemName===0&&(this._nameDimIdx=hn),wn.itemId===0&&(this._idDimIdx=hn),Ue&&(bn.storeDimIndex=hn)}if(this.dimensions=At,this._dimInfos=qe,this._initGetDimensionInfo(Lt),this.hostModel=Ie,this._invertedIndicesMap=Dt,this._dimOmitted){var kn=this._dimIdxToName=createHashMap();each$f(At,function(Cn){kn.set(qe[Cn].storeDimIndex,Cn)})}}return xe.prototype.getDimension=function($e){var Ie=this._recognizeDimIndex($e);if(Ie==null)return $e;if(Ie=$e,!this._dimOmitted)return this.dimensions[Ie];var Fe=this._dimIdxToName.get(Ie);if(Fe!=null)return Fe;var Ue=this._schema.getSourceDimension(Ie);if(Ue)return Ue.name},xe.prototype.getDimensionIndex=function($e){var Ie=this._recognizeDimIndex($e);if(Ie!=null)return Ie;if($e==null)return-1;var Fe=this._getDimInfo($e);return Fe?Fe.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex($e):-1},xe.prototype._recognizeDimIndex=function($e){if(isNumber$2($e)||$e!=null&&!isNaN($e)&&!this._getDimInfo($e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex($e)<0))return+$e},xe.prototype._getStoreDimIndex=function($e){var Ie=this.getDimensionIndex($e);return Ie},xe.prototype.getDimensionInfo=function($e){return this._getDimInfo(this.getDimension($e))},xe.prototype._initGetDimensionInfo=function($e){var Ie=this._dimInfos;this._getDimInfo=$e?function(Fe){return Ie.hasOwnProperty(Fe)?Ie[Fe]:void 0}:function(Fe){return Ie[Fe]}},xe.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},xe.prototype.mapDimension=function($e,Ie){var Fe=this._dimSummary;if(Ie==null)return Fe.encodeFirstDimNotExtra[$e];var Ue=Fe.encode[$e];return Ue?Ue[Ie]:null},xe.prototype.mapDimensionsAll=function($e){var Ie=this._dimSummary,Fe=Ie.encode[$e];return(Fe||[]).slice()},xe.prototype.getStore=function(){return this._store},xe.prototype.initData=function($e,Ie,Fe){var Ue=this,qe;if($e instanceof DataStore&&(qe=$e),!qe){var At=this.dimensions,Dt=isSourceInstance($e)||isArrayLike($e)?new DefaultDataProvider($e,At.length):$e;qe=new DataStore;var Lt=map(At,function(jt){return{type:Ue._dimInfos[jt].type,property:jt}});qe.initData(Dt,Lt,Fe)}this._store=qe,this._nameList=(Ie||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,qe.count()),this._dimSummary=summarizeDimensions(this,this._schema),this.userOutput=this._dimSummary.userOutput},xe.prototype.appendData=function($e){var Ie=this._store.appendData($e);this._doInit(Ie[0],Ie[1])},xe.prototype.appendValues=function($e,Ie){var Fe=this._store.appendValues($e,Ie.length),Ue=Fe.start,qe=Fe.end,At=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),Ie)for(var Dt=Ue;Dt<qe;Dt++){var Lt=Dt-Ue;this._nameList[Dt]=Ie[Lt],At&&makeIdFromName(this,Dt)}},xe.prototype._updateOrdinalMeta=function(){for(var $e=this._store,Ie=this.dimensions,Fe=0;Fe<Ie.length;Fe++){var Ue=this._dimInfos[Ie[Fe]];Ue.ordinalMeta&&$e.collectOrdinalMeta(Ue.storeDimIndex,Ue.ordinalMeta)}},xe.prototype._shouldMakeIdFromName=function(){var $e=this._store.getProvider();return this._idDimIdx==null&&$e.getSource().sourceFormat!==SOURCE_FORMAT_TYPED_ARRAY&&!$e.fillStorage},xe.prototype._doInit=function($e,Ie){if(!($e>=Ie)){var Fe=this._store,Ue=Fe.getProvider();this._updateOrdinalMeta();var qe=this._nameList,At=this._idList,Dt=Ue.getSource().sourceFormat,Lt=Dt===SOURCE_FORMAT_ORIGINAL;if(Lt&&!Ue.pure)for(var jt=[],hn=$e;hn<Ie;hn++){var vn=Ue.getItem(hn,jt);if(!this.hasItemOption&&isDataItemOption(vn)&&(this.hasItemOption=!0),vn){var bn=vn.name;qe[hn]==null&&bn!=null&&(qe[hn]=convertOptionIdName(bn,null));var _n=vn.id;At[hn]==null&&_n!=null&&(At[hn]=convertOptionIdName(_n,null))}}if(this._shouldMakeIdFromName())for(var hn=$e;hn<Ie;hn++)makeIdFromName(this,hn);prepareInvertedIndex(this)}},xe.prototype.getApproximateExtent=function($e){return this._approximateExtent[$e]||this._store.getDataExtent(this._getStoreDimIndex($e))},xe.prototype.setApproximateExtent=function($e,Ie){Ie=this.getDimension(Ie),this._approximateExtent[Ie]=$e.slice()},xe.prototype.getCalculationInfo=function($e){return this._calculationInfo[$e]},xe.prototype.setCalculationInfo=function($e,Ie){isObject$2($e)?extend$1(this._calculationInfo,$e):this._calculationInfo[$e]=Ie},xe.prototype.getName=function($e){var Ie=this.getRawIndex($e),Fe=this._nameList[Ie];return Fe==null&&this._nameDimIdx!=null&&(Fe=getIdNameFromStore(this,this._nameDimIdx,Ie)),Fe==null&&(Fe=""),Fe},xe.prototype._getCategory=function($e,Ie){var Fe=this._store.get($e,Ie),Ue=this._store.getOrdinalMeta($e);return Ue?Ue.categories[Fe]:Fe},xe.prototype.getId=function($e){return getId(this,this.getRawIndex($e))},xe.prototype.count=function(){return this._store.count()},xe.prototype.get=function($e,Ie){var Fe=this._store,Ue=this._dimInfos[$e];if(Ue)return Fe.get(Ue.storeDimIndex,Ie)},xe.prototype.getByRawIndex=function($e,Ie){var Fe=this._store,Ue=this._dimInfos[$e];if(Ue)return Fe.getByRawIndex(Ue.storeDimIndex,Ie)},xe.prototype.getIndices=function(){return this._store.getIndices()},xe.prototype.getDataExtent=function($e){return this._store.getDataExtent(this._getStoreDimIndex($e))},xe.prototype.getSum=function($e){return this._store.getSum(this._getStoreDimIndex($e))},xe.prototype.getMedian=function($e){return this._store.getMedian(this._getStoreDimIndex($e))},xe.prototype.getValues=function($e,Ie){var Fe=this,Ue=this._store;return isArray$2($e)?Ue.getValues(map($e,function(qe){return Fe._getStoreDimIndex(qe)}),Ie):Ue.getValues($e)},xe.prototype.hasValue=function($e){for(var Ie=this._dimSummary.dataDimIndicesOnCoord,Fe=0,Ue=Ie.length;Fe<Ue;Fe++)if(isNaN(this._store.get(Ie[Fe],$e)))return!1;return!0},xe.prototype.indexOfName=function($e){for(var Ie=0,Fe=this._store.count();Ie<Fe;Ie++)if(this.getName(Ie)===$e)return Ie;return-1},xe.prototype.getRawIndex=function($e){return this._store.getRawIndex($e)},xe.prototype.indexOfRawIndex=function($e){return this._store.indexOfRawIndex($e)},xe.prototype.rawIndexOf=function($e,Ie){var Fe=$e&&this._invertedIndicesMap[$e],Ue=Fe[Ie];return Ue==null||isNaN(Ue)?INDEX_NOT_FOUND:Ue},xe.prototype.indicesOfNearest=function($e,Ie,Fe){return this._store.indicesOfNearest(this._getStoreDimIndex($e),Ie,Fe)},xe.prototype.each=function($e,Ie,Fe){isFunction$2($e)&&(Fe=Ie,Ie=$e,$e=[]);var Ue=Fe||this,qe=map(normalizeDimensions($e),this._getStoreDimIndex,this);this._store.each(qe,Ue?bind$2(Ie,Ue):Ie)},xe.prototype.filterSelf=function($e,Ie,Fe){isFunction$2($e)&&(Fe=Ie,Ie=$e,$e=[]);var Ue=Fe||this,qe=map(normalizeDimensions($e),this._getStoreDimIndex,this);return this._store=this._store.filter(qe,Ue?bind$2(Ie,Ue):Ie),this},xe.prototype.selectRange=function($e){var Ie=this,Fe={},Ue=keys($e);return each$f(Ue,function(qe){var At=Ie._getStoreDimIndex(qe);Fe[At]=$e[qe]}),this._store=this._store.selectRange(Fe),this},xe.prototype.mapArray=function($e,Ie,Fe){isFunction$2($e)&&(Fe=Ie,Ie=$e,$e=[]),Fe=Fe||this;var Ue=[];return this.each($e,function(){Ue.push(Ie&&Ie.apply(this,arguments))},Fe),Ue},xe.prototype.map=function($e,Ie,Fe,Ue){var qe=Fe||Ue||this,At=map(normalizeDimensions($e),this._getStoreDimIndex,this),Dt=cloneListForMapAndSample(this);return Dt._store=this._store.map(At,qe?bind$2(Ie,qe):Ie),Dt},xe.prototype.modify=function($e,Ie,Fe,Ue){var qe=Fe||Ue||this,At=map(normalizeDimensions($e),this._getStoreDimIndex,this);this._store.modify(At,qe?bind$2(Ie,qe):Ie)},xe.prototype.downSample=function($e,Ie,Fe,Ue){var qe=cloneListForMapAndSample(this);return qe._store=this._store.downSample(this._getStoreDimIndex($e),Ie,Fe,Ue),qe},xe.prototype.lttbDownSample=function($e,Ie){var Fe=cloneListForMapAndSample(this);return Fe._store=this._store.lttbDownSample(this._getStoreDimIndex($e),Ie),Fe},xe.prototype.getRawDataItem=function($e){return this._store.getRawDataItem($e)},xe.prototype.getItemModel=function($e){var Ie=this.hostModel,Fe=this.getRawDataItem($e);return new Model(Fe,Ie,Ie&&Ie.ecModel)},xe.prototype.diff=function($e){var Ie=this;return new DataDiffer($e?$e.getStore().getIndices():[],this.getStore().getIndices(),function(Fe){return getId($e,Fe)},function(Fe){return getId(Ie,Fe)})},xe.prototype.getVisual=function($e){var Ie=this._visual;return Ie&&Ie[$e]},xe.prototype.setVisual=function($e,Ie){this._visual=this._visual||{},isObject$2($e)?extend$1(this._visual,$e):this._visual[$e]=Ie},xe.prototype.getItemVisual=function($e,Ie){var Fe=this._itemVisuals[$e],Ue=Fe&&Fe[Ie];return Ue??this.getVisual(Ie)},xe.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},xe.prototype.ensureUniqueItemVisual=function($e,Ie){var Fe=this._itemVisuals,Ue=Fe[$e];Ue||(Ue=Fe[$e]={});var qe=Ue[Ie];return qe==null&&(qe=this.getVisual(Ie),isArray$2(qe)?qe=qe.slice():isObject$2(qe)&&(qe=extend$1({},qe)),Ue[Ie]=qe),qe},xe.prototype.setItemVisual=function($e,Ie,Fe){var Ue=this._itemVisuals[$e]||{};this._itemVisuals[$e]=Ue,isObject$2(Ie)?extend$1(Ue,Ie):Ue[Ie]=Fe},xe.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},xe.prototype.setLayout=function($e,Ie){isObject$2($e)?extend$1(this._layout,$e):this._layout[$e]=Ie},xe.prototype.getLayout=function($e){return this._layout[$e]},xe.prototype.getItemLayout=function($e){return this._itemLayouts[$e]},xe.prototype.setItemLayout=function($e,Ie,Fe){this._itemLayouts[$e]=Fe?extend$1(this._itemLayouts[$e]||{},Ie):Ie},xe.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},xe.prototype.setItemGraphicEl=function($e,Ie){var Fe=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(Fe,this.dataType,$e,Ie),this._graphicEls[$e]=Ie},xe.prototype.getItemGraphicEl=function($e){return this._graphicEls[$e]},xe.prototype.eachItemGraphicEl=function($e,Ie){each$f(this._graphicEls,function(Fe,Ue){Fe&&$e&&$e.call(Ie,Fe,Ue)})},xe.prototype.cloneShallow=function($e){return $e||($e=new xe(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties($e,this),$e._store=this._store,$e},xe.prototype.wrapMethod=function($e,Ie){var Fe=this[$e];isFunction$2(Fe)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push($e),this[$e]=function(){var Ue=Fe.apply(this,arguments);return Ie.apply(this,[Ue].concat(slice(arguments)))})},xe.internalField=function(){prepareInvertedIndex=function($e){var Ie=$e._invertedIndicesMap;each$f(Ie,function(Fe,Ue){var qe=$e._dimInfos[Ue],At=qe.ordinalMeta,Dt=$e._store;if(At){Fe=Ie[Ue]=new CtorInt32Array(At.categories.length);for(var Lt=0;Lt<Fe.length;Lt++)Fe[Lt]=INDEX_NOT_FOUND;for(var Lt=0;Lt<Dt.count();Lt++)Fe[Dt.get(qe.storeDimIndex,Lt)]=Lt}})},getIdNameFromStore=function($e,Ie,Fe){return convertOptionIdName($e._getCategory(Ie,Fe),null)},getId=function($e,Ie){var Fe=$e._idList[Ie];return Fe==null&&$e._idDimIdx!=null&&(Fe=getIdNameFromStore($e,$e._idDimIdx,Ie)),Fe==null&&(Fe=ID_PREFIX+Ie),Fe},normalizeDimensions=function($e){return isArray$2($e)||($e=$e!=null?[$e]:[]),$e},cloneListForMapAndSample=function($e){var Ie=new xe($e._schema?$e._schema:map($e.dimensions,$e._getDimInfo,$e),$e.hostModel);return transferProperties(Ie,$e),Ie},transferProperties=function($e,Ie){each$f(TRANSFERABLE_PROPERTIES.concat(Ie.__wrappedMethods||[]),function(Fe){Ie.hasOwnProperty(Fe)&&($e[Fe]=Ie[Fe])}),$e.__wrappedMethods=Ie.__wrappedMethods,each$f(CLONE_PROPERTIES,function(Fe){$e[Fe]=clone$4(Ie[Fe])}),$e._calculationInfo=extend$1({},Ie._calculationInfo)},makeIdFromName=function($e,Ie){var Fe=$e._nameList,Ue=$e._idList,qe=$e._nameDimIdx,At=$e._idDimIdx,Dt=Fe[Ie],Lt=Ue[Ie];if(Dt==null&&qe!=null&&(Fe[Ie]=Dt=getIdNameFromStore($e,qe,Ie)),Lt==null&&At!=null&&(Ue[Ie]=Lt=getIdNameFromStore($e,At,Ie)),Lt==null&&Dt!=null){var jt=$e._nameRepeatCount,hn=jt[Dt]=(jt[Dt]||0)+1;Lt=Dt,hn>1&&(Lt+="__ec__"+hn),Ue[Ie]=Lt}}}(),xe}();function prepareSeriesDataSchema(xe,$e){isSourceInstance(xe)||(xe=createSourceFromSeriesDataOption(xe)),$e=$e||{};var Ie=$e.coordDimensions||[],Fe=$e.dimensionsDefine||xe.dimensionsDefine||[],Ue=createHashMap(),qe=[],At=getDimCount(xe,Ie,Fe,$e.dimensionsCount),Dt=$e.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(At),Lt=Fe===xe.dimensionsDefine,jt=Lt?ensureSourceDimNameMap(xe):createDimNameMap(Fe),hn=$e.encodeDefine;!hn&&$e.encodeDefaulter&&(hn=$e.encodeDefaulter(xe,At));for(var vn=createHashMap(hn),bn=new CtorInt32Array$1(At),_n=0;_n<bn.length;_n++)bn[_n]=-1;function wn(Mn){var In=bn[Mn];if(In<0){var On=Fe[Mn],Rn=isObject$4(On)?On:{name:On},Bn=new SeriesDimensionDefine,Vn=Rn.name;Vn!=null&&jt.get(Vn)!=null&&(Bn.name=Bn.displayName=Vn),Rn.type!=null&&(Bn.type=Rn.type),Rn.displayName!=null&&(Bn.displayName=Rn.displayName);var Ln=qe.length;return bn[Mn]=Ln,Bn.storeDimIndex=Mn,qe.push(Bn),Bn}return qe[In]}if(!Dt)for(var _n=0;_n<At;_n++)wn(_n);vn.each(function(Mn,In){var On=normalizeToArray(Mn).slice();if(On.length===1&&!isString$2(On[0])&&On[0]<0){vn.set(In,!1);return}var Rn=vn.set(In,[]);each$f(On,function(Bn,Vn){var Ln=isString$2(Bn)?jt.get(Bn):Bn;Ln!=null&&Ln<At&&(Rn[Vn]=Ln,Cn(wn(Ln),In,Vn))})});var kn=0;each$f(Ie,function(Mn){var In,On,Rn,Bn;if(isString$2(Mn))In=Mn,Bn={};else{Bn=Mn,In=Bn.name;var Vn=Bn.ordinalMeta;Bn.ordinalMeta=null,Bn=extend$1({},Bn),Bn.ordinalMeta=Vn,On=Bn.dimsDef,Rn=Bn.otherDims,Bn.name=Bn.coordDim=Bn.coordDimIndex=Bn.dimsDef=Bn.otherDims=null}var Ln=vn.get(In);if(Ln!==!1){if(Ln=normalizeToArray(Ln),!Ln.length)for(var Dn=0;Dn<(On&&On.length||1);Dn++){for(;kn<At&&wn(kn).coordDim!=null;)kn++;kn<At&&Ln.push(kn++)}each$f(Ln,function(Hn,Fn){var zn=wn(Hn);if(Lt&&Bn.type!=null&&(zn.type=Bn.type),Cn(defaults$1(zn,Bn),In,Fn),zn.name==null&&On){var jn=On[Fn];!isObject$4(jn)&&(jn={name:jn}),zn.name=zn.displayName=jn.name,zn.defaultTooltip=jn.defaultTooltip}Rn&&defaults$1(zn.otherDims,Rn)})}});function Cn(Mn,In,On){VISUAL_DIMENSIONS.get(In)!=null?Mn.otherDims[In]=On:(Mn.coordDim=In,Mn.coordDimIndex=On,Ue.set(In,!0))}var Sn=$e.generateCoord,xn=$e.generateCoordCount,En=xn!=null;xn=Sn?xn||1:0;var Tn=Sn||"value";function An(Mn){Mn.name==null&&(Mn.name=Mn.coordDim)}if(Dt)each$f(qe,function(Mn){An(Mn)}),qe.sort(function(Mn,In){return Mn.storeDimIndex-In.storeDimIndex});else for(var $n=0;$n<At;$n++){var Pn=wn($n),Nn=Pn.coordDim;Nn==null&&(Pn.coordDim=genCoordDimName(Tn,Ue,En),Pn.coordDimIndex=0,(!Sn||xn<=0)&&(Pn.isExtraCoord=!0),xn--),An(Pn),Pn.type==null&&(guessOrdinal(xe,$n)===BE_ORDINAL.Must||Pn.isExtraCoord&&(Pn.otherDims.itemName!=null||Pn.otherDims.seriesName!=null))&&(Pn.type="ordinal")}return removeDuplication(qe),new SeriesDataSchema({source:xe,dimensions:qe,fullDimensionCount:At,dimensionOmitted:Dt})}function removeDuplication(xe){for(var $e=createHashMap(),Ie=0;Ie<xe.length;Ie++){var Fe=xe[Ie],Ue=Fe.name,qe=$e.get(Ue)||0;qe>0&&(Fe.name=Ue+(qe-1)),qe++,$e.set(Ue,qe)}}function getDimCount(xe,$e,Ie,Fe){var Ue=Math.max(xe.dimensionsDetectedCount||1,$e.length,Ie.length,Fe||0);return each$f($e,function(qe){var At;isObject$4(qe)&&(At=qe.dimsDef)&&(Ue=Math.max(Ue,At.length))}),Ue}function genCoordDimName(xe,$e,Ie){if(Ie||$e.hasKey(xe)){for(var Fe=0;$e.hasKey(xe+Fe);)Fe++;xe+=Fe}return $e.set(xe,!0),xe}var CoordSysInfo=function(){function xe($e){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=$e}return xe}();function getCoordSysInfoBySeries(xe){var $e=xe.get("coordinateSystem"),Ie=new CoordSysInfo($e),Fe=fetchers[$e];if(Fe)return Fe(xe,Ie,Ie.axisMap,Ie.categoryAxisMap),Ie}var fetchers={cartesian2d:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],qe=xe.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["x","y"],Ie.set("x",Ue),Ie.set("y",qe),isCategory(Ue)&&(Fe.set("x",Ue),$e.firstCategoryDimIndex=0),isCategory(qe)&&(Fe.set("y",qe),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},singleAxis:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["single"],Ie.set("single",Ue),isCategory(Ue)&&(Fe.set("single",Ue),$e.firstCategoryDimIndex=0)},polar:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("polar",SINGLE_REFERRING).models[0],qe=Ue.findAxisModel("radiusAxis"),At=Ue.findAxisModel("angleAxis");$e.coordSysDims=["radius","angle"],Ie.set("radius",qe),Ie.set("angle",At),isCategory(qe)&&(Fe.set("radius",qe),$e.firstCategoryDimIndex=0),isCategory(At)&&(Fe.set("angle",At),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},geo:function(xe,$e,Ie,Fe){$e.coordSysDims=["lng","lat"]},parallel:function(xe,$e,Ie,Fe){var Ue=xe.ecModel,qe=Ue.getComponent("parallel",xe.get("parallelIndex")),At=$e.coordSysDims=qe.dimensions.slice();each$f(qe.parallelAxisIndex,function(Dt,Lt){var jt=Ue.getComponent("parallelAxis",Dt),hn=At[Lt];Ie.set(hn,jt),isCategory(jt)&&(Fe.set(hn,jt),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=Lt))})}};function isCategory(xe){return xe.get("type")==="category"}function enableDataStack(xe,$e,Ie){Ie=Ie||{};var Fe=Ie.byIndex,Ue=Ie.stackedCoordDimension,qe,At,Dt;isLegacyDimensionsInput($e)?qe=$e:(At=$e.schema,qe=At.dimensions,Dt=$e.store);var Lt=!!(xe&&xe.get("stack")),jt,hn,vn,bn;if(each$f(qe,function(xn,En){isString$2(xn)&&(qe[En]=xn={name:xn}),Lt&&!xn.isExtraCoord&&(!Fe&&!jt&&xn.ordinalMeta&&(jt=xn),!hn&&xn.type!=="ordinal"&&xn.type!=="time"&&(!Ue||Ue===xn.coordDim)&&(hn=xn))}),hn&&!Fe&&!jt&&(Fe=!0),hn){vn="__\0ecstackresult_"+xe.id,bn="__\0ecstackedover_"+xe.id,jt&&(jt.createInvertedIndices=!0);var _n=hn.coordDim,wn=hn.type,kn=0;each$f(qe,function(xn){xn.coordDim===_n&&kn++});var Cn={name:vn,coordDim:_n,coordDimIndex:kn,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length},Sn={name:bn,coordDim:bn,coordDimIndex:kn+1,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length+1};At?(Dt&&(Cn.storeDimIndex=Dt.ensureCalculationDimension(bn,wn),Sn.storeDimIndex=Dt.ensureCalculationDimension(vn,wn)),At.appendCalculationDimension(Cn),At.appendCalculationDimension(Sn)):(qe.push(Cn),qe.push(Sn))}return{stackedDimension:hn&&hn.name,stackedByDimension:jt&&jt.name,isStackedByIndex:Fe,stackedOverDimension:bn,stackResultDimension:vn}}function isLegacyDimensionsInput(xe){return!isSeriesDataSchema(xe.schema)}function isDimensionStacked(xe,$e){return!!$e&&$e===xe.getCalculationInfo("stackedDimension")}function getStackedDimension(xe,$e){return isDimensionStacked(xe,$e)?xe.getCalculationInfo("stackResultDimension"):$e}function getCoordSysDimDefs(xe,$e){var Ie=xe.get("coordinateSystem"),Fe=CoordinateSystemManager.get(Ie),Ue;return $e&&$e.coordSysDims&&(Ue=map$1($e.coordSysDims,function(qe){var At={name:qe},Dt=$e.axisMap.get(qe);if(Dt){var Lt=Dt.get("type");At.type=getDimensionTypeByAxis(Lt)}return At})),Ue||(Ue=Fe&&(Fe.getDimensionsInfo?Fe.getDimensionsInfo():Fe.dimensions.slice())||["x","y"]),Ue}function injectOrdinalMeta(xe,$e,Ie){var Fe,Ue;return Ie&&each$f(xe,function(qe,At){var Dt=qe.coordDim,Lt=Ie.categoryAxisMap.get(Dt);Lt&&(Fe==null&&(Fe=At),qe.ordinalMeta=Lt.getOrdinalMeta(),$e&&(qe.createInvertedIndices=!0)),qe.otherDims.itemName!=null&&(Ue=!0)}),!Ue&&Fe!=null&&(xe[Fe].otherDims.itemName=0),Fe}function createSeriesData(xe,$e,Ie){Ie=Ie||{};var Fe=$e.getSourceManager(),Ue,qe=!1;xe?(qe=!0,Ue=createSourceFromSeriesDataOption(xe)):(Ue=Fe.getSource(),qe=Ue.sourceFormat===SOURCE_FORMAT_ORIGINAL);var At=getCoordSysInfoBySeries($e),Dt=getCoordSysDimDefs($e,At),Lt=Ie.useEncodeDefaulter,jt=isFunction$2(Lt)?Lt:Lt?curry$1(makeSeriesEncodeForAxisCoordSys,Dt,$e):null,hn={coordDimensions:Dt,generateCoord:Ie.generateCoord,encodeDefine:$e.getEncode(),encodeDefaulter:jt,canOmitUnusedDimensions:!qe},vn=prepareSeriesDataSchema(Ue,hn),bn=injectOrdinalMeta(vn.dimensions,Ie.createInvertedIndices,At),_n=qe?null:Fe.getSharedDataStore(vn),wn=enableDataStack($e,{schema:vn,store:_n}),kn=new SeriesData(vn,$e);kn.setCalculationInfo(wn);var Cn=bn!=null&&isNeedCompleteOrdinalData(Ue)?function(Sn,xn,En,Tn){return Tn===bn?En:this.defaultDimValueGetter(Sn,xn,En,Tn)}:null;return kn.hasItemOption=!1,kn.initData(qe?Ue:_n,null,Cn),kn}function isNeedCompleteOrdinalData(xe){if(xe.sourceFormat===SOURCE_FORMAT_ORIGINAL){var $e=firstDataNotNull(xe.data||[]);return!isArray$2(getDataItemValue($e))}}function firstDataNotNull(xe){for(var $e=0;$e<xe.length&&xe[$e]==null;)$e++;return xe[$e]}var Scale=function(){function xe($e){this._setting=$e||{},this._extent=[1/0,-1/0]}return xe.prototype.getSetting=function($e){return this._setting[$e]},xe.prototype.unionExtent=function($e){var Ie=this._extent;$e[0]<Ie[0]&&(Ie[0]=$e[0]),$e[1]>Ie[1]&&(Ie[1]=$e[1])},xe.prototype.unionExtentFromData=function($e,Ie){this.unionExtent($e.getApproximateExtent(Ie))},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;isNaN($e)||(Fe[0]=$e),isNaN(Ie)||(Fe[1]=Ie)},xe.prototype.isInExtentRange=function($e){return this._extent[0]<=$e&&this._extent[1]>=$e},xe.prototype.isBlank=function(){return this._isBlank},xe.prototype.setBlank=function($e){this._isBlank=$e},xe}();enableClassManagement(Scale);var uidBase=0,OrdinalMeta=function(){function xe($e){this.categories=$e.categories||[],this._needCollect=$e.needCollect,this._deduplication=$e.deduplication,this.uid=++uidBase}return xe.createByAxisModel=function($e){var Ie=$e.option,Fe=Ie.data,Ue=Fe&&map$1(Fe,getName);return new xe({categories:Ue,needCollect:!Ue,deduplication:Ie.dedplication!==!1})},xe.prototype.getOrdinal=function($e){return this._getOrCreateMap().get($e)},xe.prototype.parseAndCollect=function($e){var Ie,Fe=this._needCollect;if(!isString$2($e)&&!Fe)return $e;if(Fe&&!this._deduplication)return Ie=this.categories.length,this.categories[Ie]=$e,Ie;var Ue=this._getOrCreateMap();return Ie=Ue.get($e),Ie==null&&(Fe?(Ie=this.categories.length,this.categories[Ie]=$e,Ue.set($e,Ie)):Ie=NaN),Ie},xe.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},xe}();function getName(xe){return isObject$4(xe)&&xe.value!=null?xe.value:xe+""}function isIntervalOrLogScale(xe){return xe.type==="interval"||xe.type==="log"}function intervalScaleNiceTicks(xe,$e,Ie,Fe){var Ue={},qe=xe[1]-xe[0],At=Ue.interval=nice(qe/$e);Ie!=null&&At<Ie&&(At=Ue.interval=Ie),Fe!=null&&At>Fe&&(At=Ue.interval=Fe);var Dt=Ue.intervalPrecision=getIntervalPrecision(At),Lt=Ue.niceTickExtent=[round$3(Math.ceil(xe[0]/At)*At,Dt),round$3(Math.floor(xe[1]/At)*At,Dt)];return fixExtent(Lt,xe),Ue}function increaseInterval(xe){var $e=Math.pow(10,quantityExponent(xe)),Ie=xe/$e;return Ie?Ie===2?Ie=3:Ie===3?Ie=5:Ie*=2:Ie=1,round$3(Ie*$e)}function getIntervalPrecision(xe){return getPrecision(xe)+2}function clamp(xe,$e,Ie){xe[$e]=Math.max(Math.min(xe[$e],Ie[1]),Ie[0])}function fixExtent(xe,$e){!isFinite(xe[0])&&(xe[0]=$e[0]),!isFinite(xe[1])&&(xe[1]=$e[1]),clamp(xe,0,$e),clamp(xe,1,$e),xe[0]>xe[1]&&(xe[0]=xe[1])}function contain$1(xe,$e){return xe>=$e[0]&&xe<=$e[1]}function normalize$2(xe,$e){return $e[1]===$e[0]?.5:(xe-$e[0])/($e[1]-$e[0])}function scale(xe,$e){return xe*($e[1]-$e[0])+$e[0]}var OrdinalScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;Fe.type="ordinal";var Ue=Fe.getSetting("ordinalMeta");return Ue||(Ue=new OrdinalMeta({})),isArray$2(Ue)&&(Ue=new OrdinalMeta({categories:map$1(Ue,function(qe){return isObject$4(qe)?qe.value:qe})})),Fe._ordinalMeta=Ue,Fe._extent=Fe.getSetting("extent")||[0,Ue.categories.length-1],Fe}return $e.prototype.parse=function(Ie){return Ie==null?NaN:isString$2(Ie)?this._ordinalMeta.getOrdinal(Ie):Math.round(Ie)},$e.prototype.contain=function(Ie){return Ie=this.parse(Ie),contain$1(Ie,this._extent)&&this._ordinalMeta.categories[Ie]!=null},$e.prototype.normalize=function(Ie){return Ie=this._getTickNumber(this.parse(Ie)),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=Math.round(scale(Ie,this._extent)),this.getRawOrdinalNumber(Ie)},$e.prototype.getTicks=function(){for(var Ie=[],Fe=this._extent,Ue=Fe[0];Ue<=Fe[1];)Ie.push({value:Ue}),Ue++;return Ie},$e.prototype.getMinorTicks=function(Ie){},$e.prototype.setSortInfo=function(Ie){if(Ie==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var Fe=Ie.ordinalNumbers,Ue=this._ordinalNumbersByTick=[],qe=this._ticksByOrdinalNumber=[],At=0,Dt=this._ordinalMeta.categories.length,Lt=Math.min(Dt,Fe.length);At<Lt;++At){var jt=Fe[At];Ue[At]=jt,qe[jt]=At}for(var hn=0;At<Dt;++At){for(;qe[hn]!=null;)hn++;Ue.push(hn),qe[hn]=At}},$e.prototype._getTickNumber=function(Ie){var Fe=this._ticksByOrdinalNumber;return Fe&&Ie>=0&&Ie<Fe.length?Fe[Ie]:Ie},$e.prototype.getRawOrdinalNumber=function(Ie){var Fe=this._ordinalNumbersByTick;return Fe&&Ie>=0&&Ie<Fe.length?Fe[Ie]:Ie},$e.prototype.getLabel=function(Ie){if(!this.isBlank()){var Fe=this.getRawOrdinalNumber(Ie.value),Ue=this._ordinalMeta.categories[Fe];return Ue==null?"":Ue+""}},$e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},$e.prototype.unionExtentFromData=function(Ie,Fe){this.unionExtent(Ie.getApproximateExtent(Fe))},$e.prototype.isInExtentRange=function(Ie){return Ie=this._getTickNumber(Ie),this._extent[0]<=Ie&&this._extent[1]>=Ie},$e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},$e.prototype.calcNiceTicks=function(){},$e.prototype.calcNiceExtent=function(){},$e.type="ordinal",$e}(Scale);Scale.registerClass(OrdinalScale);var roundNumber=round$3,IntervalScale=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="interval",Ie._interval=0,Ie._intervalPrecision=2,Ie}return $e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.prototype.setExtent=function(Ie,Fe){var Ue=this._extent;isNaN(Ie)||(Ue[0]=parseFloat(Ie)),isNaN(Fe)||(Ue[1]=parseFloat(Fe))},$e.prototype.unionExtent=function(Ie){var Fe=this._extent;Ie[0]<Fe[0]&&(Fe[0]=Ie[0]),Ie[1]>Fe[1]&&(Fe[1]=Ie[1]),this.setExtent(Fe[0],Fe[1])},$e.prototype.getInterval=function(){return this._interval},$e.prototype.setInterval=function(Ie){this._interval=Ie,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(Ie)},$e.prototype.getTicks=function(Ie){var Fe=this._interval,Ue=this._extent,qe=this._niceExtent,At=this._intervalPrecision,Dt=[];if(!Fe)return Dt;var Lt=1e4;Ue[0]<qe[0]&&(Ie?Dt.push({value:roundNumber(qe[0]-Fe,At)}):Dt.push({value:Ue[0]}));for(var jt=qe[0];jt<=qe[1]&&(Dt.push({value:jt}),jt=roundNumber(jt+Fe,At),jt!==Dt[Dt.length-1].value);)if(Dt.length>Lt)return[];var hn=Dt.length?Dt[Dt.length-1].value:qe[1];return Ue[1]>hn&&(Ie?Dt.push({value:roundNumber(hn+Fe,At)}):Dt.push({value:Ue[1]})),Dt},$e.prototype.getMinorTicks=function(Ie){for(var Fe=this.getTicks(!0),Ue=[],qe=this.getExtent(),At=1;At<Fe.length;At++){for(var Dt=Fe[At],Lt=Fe[At-1],jt=0,hn=[],vn=Dt.value-Lt.value,bn=vn/Ie;jt<Ie-1;){var _n=roundNumber(Lt.value+(jt+1)*bn);_n>qe[0]&&_n<qe[1]&&hn.push(_n),jt++}Ue.push(hn)}return Ue},$e.prototype.getLabel=function(Ie,Fe){if(Ie==null)return"";var Ue=Fe&&Fe.precision;Ue==null?Ue=getPrecision(Ie.value)||0:Ue==="auto"&&(Ue=this._intervalPrecision);var qe=roundNumber(Ie.value,Ue,!0);return addCommas(qe)},$e.prototype.calcNiceTicks=function(Ie,Fe,Ue){Ie=Ie||5;var qe=this._extent,At=qe[1]-qe[0];if(isFinite(At)){At<0&&(At=-At,qe.reverse());var Dt=intervalScaleNiceTicks(qe,Ie,Fe,Ue);this._intervalPrecision=Dt.intervalPrecision,this._interval=Dt.interval,this._niceExtent=Dt.niceTickExtent}},$e.prototype.calcNiceExtent=function(Ie){var Fe=this._extent;if(Fe[0]===Fe[1])if(Fe[0]!==0){var Ue=Math.abs(Fe[0]);Ie.fixMax||(Fe[1]+=Ue/2),Fe[0]-=Ue/2}else Fe[1]=1;var qe=Fe[1]-Fe[0];isFinite(qe)||(Fe[0]=0,Fe[1]=1),this.calcNiceTicks(Ie.splitNumber,Ie.minInterval,Ie.maxInterval);var At=this._interval;Ie.fixMin||(Fe[0]=roundNumber(Math.floor(Fe[0]/At)*At)),Ie.fixMax||(Fe[1]=roundNumber(Math.ceil(Fe[1]/At)*At))},$e.prototype.setNiceExtent=function(Ie,Fe){this._niceExtent=[Ie,Fe]},$e.type="interval",$e}(Scale);Scale.registerClass(IntervalScale);var supportFloat32Array=typeof Float32Array<"u",Float32ArrayCtor=supportFloat32Array?Float32Array:Array;function createFloat32Array(xe){return isArray$2(xe)?supportFloat32Array?new Float32Array(xe):xe:new Float32ArrayCtor(xe)}var STACK_PREFIX="__ec_stack_";function getSeriesStackId$1(xe){return xe.get("stack")||STACK_PREFIX+xe.seriesIndex}function getAxisKey$1(xe){return xe.dim+xe.index}function getLayoutOnAxis(xe){var $e=[],Ie=xe.axis,Fe="axis0";if(Ie.type==="category"){for(var Ue=Ie.getBandWidth(),qe=0;qe<xe.count;qe++)$e.push(defaults$1({bandWidth:Ue,axisKey:Fe,stackId:STACK_PREFIX+qe},xe));for(var At=doCalBarWidthAndOffset($e),Dt=[],qe=0;qe<xe.count;qe++){var Lt=At[Fe][STACK_PREFIX+qe];Lt.offsetCenter=Lt.offset+Lt.width/2,Dt.push(Lt)}return Dt}}function prepareLayoutBarSeries(xe,$e){var Ie=[];return $e.eachSeriesByType(xe,function(Fe){isOnCartesian(Fe)&&Ie.push(Fe)}),Ie}function getValueAxesMinGaps(xe){var $e={};each$f(xe,function(Lt){var jt=Lt.coordinateSystem,hn=jt.getBaseAxis();if(!(hn.type!=="time"&&hn.type!=="value"))for(var vn=Lt.getData(),bn=hn.dim+"_"+hn.index,_n=vn.getDimensionIndex(vn.mapDimension(hn.dim)),wn=vn.getStore(),kn=0,Cn=wn.count();kn<Cn;++kn){var Sn=wn.get(_n,kn);$e[bn]?$e[bn].push(Sn):$e[bn]=[Sn]}});var Ie={};for(var Fe in $e)if($e.hasOwnProperty(Fe)){var Ue=$e[Fe];if(Ue){Ue.sort(function(Lt,jt){return Lt-jt});for(var qe=null,At=1;At<Ue.length;++At){var Dt=Ue[At]-Ue[At-1];Dt>0&&(qe=qe===null?Dt:Math.min(qe,Dt))}Ie[Fe]=qe}}return Ie}function makeColumnLayout(xe){var $e=getValueAxesMinGaps(xe),Ie=[];return each$f(xe,function(Fe){var Ue=Fe.coordinateSystem,qe=Ue.getBaseAxis(),At=qe.getExtent(),Dt;if(qe.type==="category")Dt=qe.getBandWidth();else if(qe.type==="value"||qe.type==="time"){var Lt=qe.dim+"_"+qe.index,jt=$e[Lt],hn=Math.abs(At[1]-At[0]),vn=qe.scale.getExtent(),bn=Math.abs(vn[1]-vn[0]);Dt=jt?hn/bn*jt:hn}else{var _n=Fe.getData();Dt=Math.abs(At[1]-At[0])/_n.count()}var wn=parsePercent(Fe.get("barWidth"),Dt),kn=parsePercent(Fe.get("barMaxWidth"),Dt),Cn=parsePercent(Fe.get("barMinWidth")||(isInLargeMode(Fe)?.5:1),Dt),Sn=Fe.get("barGap"),xn=Fe.get("barCategoryGap");Ie.push({bandWidth:Dt,barWidth:wn,barMaxWidth:kn,barMinWidth:Cn,barGap:Sn,barCategoryGap:xn,axisKey:getAxisKey$1(qe),stackId:getSeriesStackId$1(Fe)})}),doCalBarWidthAndOffset(Ie)}function doCalBarWidthAndOffset(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.axisKey,At=Fe.bandWidth,Dt=$e[qe]||{bandWidth:At,remainedWidth:At,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},Lt=Dt.stacks;$e[qe]=Dt;var jt=Fe.stackId;Lt[jt]||Dt.autoWidthCount++,Lt[jt]=Lt[jt]||{width:0,maxWidth:0};var hn=Fe.barWidth;hn&&!Lt[jt].width&&(Lt[jt].width=hn,hn=Math.min(Dt.remainedWidth,hn),Dt.remainedWidth-=hn);var vn=Fe.barMaxWidth;vn&&(Lt[jt].maxWidth=vn);var bn=Fe.barMinWidth;bn&&(Lt[jt].minWidth=bn);var _n=Fe.barGap;_n!=null&&(Dt.gap=_n);var wn=Fe.barCategoryGap;wn!=null&&(Dt.categoryGap=wn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=Fe.categoryGap;if(Dt==null){var Lt=keys(qe).length;Dt=Math.max(35-Lt*4,15)+"%"}var jt=parsePercent(Dt,At),hn=parsePercent(Fe.gap,1),vn=Fe.remainedWidth,bn=Fe.autoWidthCount,_n=(vn-jt)/(bn+(bn-1)*hn);_n=Math.max(_n,0),each$f(qe,function(Sn){var xn=Sn.maxWidth,En=Sn.minWidth;if(Sn.width){var Tn=Sn.width;xn&&(Tn=Math.min(Tn,xn)),En&&(Tn=Math.max(Tn,En)),Sn.width=Tn,vn-=Tn+hn*Tn,bn--}else{var Tn=_n;xn&&xn<Tn&&(Tn=Math.min(xn,vn)),En&&En>Tn&&(Tn=En),Tn!==_n&&(Sn.width=Tn,vn-=Tn+hn*Tn,bn--)}}),_n=(vn-jt)/(bn+(bn-1)*hn),_n=Math.max(_n,0);var wn=0,kn;each$f(qe,function(Sn,xn){Sn.width||(Sn.width=_n),kn=Sn,wn+=Sn.width*(1+hn)}),kn&&(wn-=kn.width*hn);var Cn=-wn/2;each$f(qe,function(Sn,xn){Ie[Ue][xn]=Ie[Ue][xn]||{bandWidth:At,offset:Cn,width:Sn.width},Cn+=Sn.width*(1+hn)})}),Ie}function retrieveColumnLayout(xe,$e,Ie){if(xe&&$e){var Fe=xe[getAxisKey$1($e)];return Fe!=null&&Ie!=null?Fe[getSeriesStackId$1(Ie)]:Fe}}function layout$4(xe,$e){var Ie=prepareLayoutBarSeries(xe,$e),Fe=makeColumnLayout(Ie);each$f(Ie,function(Ue){var qe=Ue.getData(),At=Ue.coordinateSystem,Dt=At.getBaseAxis(),Lt=getSeriesStackId$1(Ue),jt=Fe[getAxisKey$1(Dt)][Lt],hn=jt.offset,vn=jt.width;qe.setLayout({bandWidth:jt.bandWidth,offset:hn,size:vn})})}function createProgressiveLayout(xe){return{seriesType:xe,plan:createRenderPlanner(),reset:function($e){if(isOnCartesian($e)){var Ie=$e.getData(),Fe=$e.coordinateSystem,Ue=Fe.getBaseAxis(),qe=Fe.getOtherAxis(Ue),At=Ie.getDimensionIndex(Ie.mapDimension(qe.dim)),Dt=Ie.getDimensionIndex(Ie.mapDimension(Ue.dim)),Lt=$e.get("showBackground",!0),jt=Ie.mapDimension(qe.dim),hn=Ie.getCalculationInfo("stackResultDimension"),vn=isDimensionStacked(Ie,jt)&&!!Ie.getCalculationInfo("stackedOnSeries"),bn=qe.isHorizontal(),_n=getValueAxisStart(Ue,qe),wn=isInLargeMode($e),kn=$e.get("barMinHeight")||0,Cn=hn&&Ie.getDimensionIndex(hn),Sn=Ie.getLayout("size"),xn=Ie.getLayout("offset");return{progress:function(En,Tn){for(var An=En.count,$n=wn&&createFloat32Array(An*3),Pn=wn&&Lt&&createFloat32Array(An*3),Nn=wn&&createFloat32Array(An),Mn=Fe.master.getRect(),In=bn?Mn.width:Mn.height,On,Rn=Tn.getStore(),Bn=0;(On=En.next())!=null;){var Vn=Rn.get(vn?Cn:At,On),Ln=Rn.get(Dt,On),Dn=_n,Hn=void 0;vn&&(Hn=+Vn-Rn.get(At,On));var Fn=void 0,zn=void 0,jn=void 0,Gn=void 0;if(bn){var Wn=Fe.dataToPoint([Vn,Ln]);if(vn){var Xn=Fe.dataToPoint([Hn,Ln]);Dn=Xn[0]}Fn=Dn,zn=Wn[1]+xn,jn=Wn[0]-Dn,Gn=Sn,Math.abs(jn)<kn&&(jn=(jn<0?-1:1)*kn)}else{var Wn=Fe.dataToPoint([Ln,Vn]);if(vn){var Xn=Fe.dataToPoint([Ln,Hn]);Dn=Xn[1]}Fn=Wn[0]+xn,zn=Dn,jn=Sn,Gn=Wn[1]-Dn,Math.abs(Gn)<kn&&(Gn=(Gn<=0?-1:1)*kn)}wn?($n[Bn]=Fn,$n[Bn+1]=zn,$n[Bn+2]=bn?jn:Gn,Pn&&(Pn[Bn]=bn?Mn.x:Fn,Pn[Bn+1]=bn?zn:Mn.y,Pn[Bn+2]=In),Nn[On]=On):Tn.setItemLayout(On,{x:Fn,y:zn,width:jn,height:Gn}),Bn+=3}wn&&Tn.setLayout({largePoints:$n,largeDataIndices:Nn,largeBackgroundPoints:Pn,valueAxisHorizontal:bn})}}}}}}function isOnCartesian(xe){return xe.coordinateSystem&&xe.coordinateSystem.type==="cartesian2d"}function isInLargeMode(xe){return xe.pipelineContext&&xe.pipelineContext.large}function getValueAxisStart(xe,$e){return $e.toGlobalCoord($e.dataToCoord($e.type==="log"?1:0))}var bisect=function(xe,$e,Ie,Fe){for(;Ie<Fe;){var Ue=Ie+Fe>>>1;xe[Ue][1]<$e?Ie=Ue+1:Fe=Ue}return Ie},TimeScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="time",Fe}return $e.prototype.getLabel=function(Ie){var Fe=this.getSetting("useUTC");return format$1(Ie.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,Fe,this.getSetting("locale"))},$e.prototype.getFormattedLabel=function(Ie,Fe,Ue){var qe=this.getSetting("useUTC"),At=this.getSetting("locale");return leveledFormat(Ie,Fe,Ue,At,qe)},$e.prototype.getTicks=function(){var Ie=this._interval,Fe=this._extent,Ue=[];if(!Ie)return Ue;Ue.push({value:Fe[0],level:0});var qe=this.getSetting("useUTC"),At=getIntervalTicks(this._minLevelUnit,this._approxInterval,qe,Fe);return Ue=Ue.concat(At),Ue.push({value:Fe[1],level:0}),Ue},$e.prototype.calcNiceExtent=function(Ie){var Fe=this._extent;if(Fe[0]===Fe[1]&&(Fe[0]-=ONE_DAY,Fe[1]+=ONE_DAY),Fe[1]===-1/0&&Fe[0]===1/0){var Ue=new Date;Fe[1]=+new Date(Ue.getFullYear(),Ue.getMonth(),Ue.getDate()),Fe[0]=Fe[1]-ONE_DAY}this.calcNiceTicks(Ie.splitNumber,Ie.minInterval,Ie.maxInterval)},$e.prototype.calcNiceTicks=function(Ie,Fe,Ue){Ie=Ie||10;var qe=this._extent,At=qe[1]-qe[0];this._approxInterval=At/Ie,Fe!=null&&this._approxInterval<Fe&&(this._approxInterval=Fe),Ue!=null&&this._approxInterval>Ue&&(this._approxInterval=Ue);var Dt=scaleIntervals.length,Lt=Math.min(bisect(scaleIntervals,this._approxInterval,0,Dt),Dt-1);this._interval=scaleIntervals[Lt][1],this._minLevelUnit=scaleIntervals[Math.max(Lt-1,0)][0]},$e.prototype.parse=function(Ie){return isNumber$2(Ie)?Ie:+parseDate$1(Ie)},$e.prototype.contain=function(Ie){return contain$1(this.parse(Ie),this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(this.parse(Ie),this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.type="time",$e}(IntervalScale),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(xe,$e,Ie,Fe){var Ue=parseDate$1($e),qe=parseDate$1(Ie),At=function(wn){return getUnitValue(Ue,wn,Fe)===getUnitValue(qe,wn,Fe)},Dt=function(){return At("year")},Lt=function(){return Dt()&&At("month")},jt=function(){return Lt()&&At("day")},hn=function(){return jt()&&At("hour")},vn=function(){return hn()&&At("minute")},bn=function(){return vn()&&At("second")},_n=function(){return bn()&&At("millisecond")};switch(xe){case"year":return Dt();case"month":return Lt();case"day":return jt();case"hour":return hn();case"minute":return vn();case"second":return bn();case"millisecond":return _n()}}function getDateInterval(xe,$e){return xe/=ONE_DAY,xe>16?16:xe>7.5?7:xe>3.5?4:xe>1.5?2:1}function getMonthInterval(xe){var $e=30*ONE_DAY;return xe/=$e,xe>6?6:xe>3?3:xe>2?2:1}function getHourInterval(xe){return xe/=ONE_HOUR,xe>12?12:xe>6?6:xe>3.5?4:xe>2?2:1}function getMinutesAndSecondsInterval(xe,$e){return xe/=$e?ONE_MINUTE:ONE_SECOND,xe>30?30:xe>20?20:xe>15?15:xe>10?10:xe>5?5:xe>2?2:1}function getMillisecondsInterval(xe){return nice(xe)}function getFirstTimestampOfUnit(xe,$e,Ie){var Fe=new Date(xe);switch(getPrimaryTimeUnit($e)){case"year":case"month":Fe[monthSetterName(Ie)](0);case"day":Fe[dateSetterName(Ie)](1);case"hour":Fe[hoursSetterName(Ie)](0);case"minute":Fe[minutesSetterName(Ie)](0);case"second":Fe[secondsSetterName(Ie)](0),Fe[millisecondsSetterName(Ie)](0)}return Fe.getTime()}function getIntervalTicks(xe,$e,Ie,Fe){var Ue=1e4,qe=timeUnits$2,At=0;function Dt(In,On,Rn,Bn,Vn,Ln,Dn){for(var Hn=new Date(On),Fn=On,zn=Hn[Bn]();Fn<Rn&&Fn<=Fe[1];)Dn.push({value:Fn}),zn+=In,Hn[Vn](zn),Fn=Hn.getTime();Dn.push({value:Fn,notAdd:!0})}function Lt(In,On,Rn){var Bn=[],Vn=!On.length;if(!isUnitValueSame(getPrimaryTimeUnit(In),Fe[0],Fe[1],Ie)){Vn&&(On=[{value:getFirstTimestampOfUnit(new Date(Fe[0]),In,Ie)},{value:Fe[1]}]);for(var Ln=0;Ln<On.length-1;Ln++){var Dn=On[Ln].value,Hn=On[Ln+1].value;if(Dn!==Hn){var Fn=void 0,zn=void 0,jn=void 0,Gn=!1;switch(In){case"year":Fn=Math.max(1,Math.round($e/ONE_DAY/365)),zn=fullYearGetterName(Ie),jn=fullYearSetterName(Ie);break;case"half-year":case"quarter":case"month":Fn=getMonthInterval($e),zn=monthGetterName(Ie),jn=monthSetterName(Ie);break;case"week":case"half-week":case"day":Fn=getDateInterval($e),zn=dateGetterName(Ie),jn=dateSetterName(Ie),Gn=!0;break;case"half-day":case"quarter-day":case"hour":Fn=getHourInterval($e),zn=hoursGetterName(Ie),jn=hoursSetterName(Ie);break;case"minute":Fn=getMinutesAndSecondsInterval($e,!0),zn=minutesGetterName(Ie),jn=minutesSetterName(Ie);break;case"second":Fn=getMinutesAndSecondsInterval($e,!1),zn=secondsGetterName(Ie),jn=secondsSetterName(Ie);break;case"millisecond":Fn=getMillisecondsInterval($e),zn=millisecondsGetterName(Ie),jn=millisecondsSetterName(Ie);break}Dt(Fn,Dn,Hn,zn,jn,Gn,Bn),In==="year"&&Rn.length>1&&Ln===0&&Rn.unshift({value:Rn[0].value-Fn})}}for(var Ln=0;Ln<Bn.length;Ln++)Rn.push(Bn[Ln]);return Bn}}for(var jt=[],hn=[],vn=0,bn=0,_n=0;_n<qe.length&&At++<Ue;++_n){var wn=getPrimaryTimeUnit(qe[_n]);if(isPrimaryTimeUnit(qe[_n])){Lt(qe[_n],jt[jt.length-1]||[],hn);var kn=qe[_n+1]?getPrimaryTimeUnit(qe[_n+1]):null;if(wn!==kn){if(hn.length){bn=vn,hn.sort(function(In,On){return In.value-On.value});for(var Cn=[],Sn=0;Sn<hn.length;++Sn){var xn=hn[Sn].value;(Sn===0||hn[Sn-1].value!==xn)&&(Cn.push(hn[Sn]),xn>=Fe[0]&&xn<=Fe[1]&&vn++)}var En=(Fe[1]-Fe[0])/$e;if(vn>En*1.5&&bn>En/1.5||(jt.push(Cn),vn>En||xe===qe[_n]))break}hn=[]}}}for(var Tn=filter(map$1(jt,function(In){return filter(In,function(On){return On.value>=Fe[0]&&On.value<=Fe[1]&&!On.notAdd})}),function(In){return In.length>0}),An=[],$n=Tn.length-1,_n=0;_n<Tn.length;++_n)for(var Pn=Tn[_n],Nn=0;Nn<Pn.length;++Nn)An.push({value:Pn[Nn].value,level:$n-_n});An.sort(function(In,On){return In.value-On.value});for(var Mn=[],_n=0;_n<An.length;++_n)(_n===0||An[_n].value!==An[_n-1].value)&&Mn.push(An[_n]);return Mn}Scale.registerClass(TimeScale);var scaleProto=Scale.prototype,intervalScaleProto=IntervalScale.prototype,roundingErrorFix=round$3,mathFloor$1=Math.floor,mathCeil$1=Math.ceil,mathPow$1=Math.pow,mathLog$1=Math.log,LogScale=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="log",Ie.base=10,Ie._originalScale=new IntervalScale,Ie._interval=0,Ie}return $e.prototype.getTicks=function(Ie){var Fe=this._originalScale,Ue=this._extent,qe=Fe.getExtent(),At=intervalScaleProto.getTicks.call(this,Ie);return map$1(At,function(Dt){var Lt=Dt.value,jt=round$3(mathPow$1(this.base,Lt));return jt=Lt===Ue[0]&&this._fixMin?fixRoundingError(jt,qe[0]):jt,jt=Lt===Ue[1]&&this._fixMax?fixRoundingError(jt,qe[1]):jt,{value:jt}},this)},$e.prototype.setExtent=function(Ie,Fe){var Ue=mathLog$1(this.base);Ie=mathLog$1(Math.max(0,Ie))/Ue,Fe=mathLog$1(Math.max(0,Fe))/Ue,intervalScaleProto.setExtent.call(this,Ie,Fe)},$e.prototype.getExtent=function(){var Ie=this.base,Fe=scaleProto.getExtent.call(this);Fe[0]=mathPow$1(Ie,Fe[0]),Fe[1]=mathPow$1(Ie,Fe[1]);var Ue=this._originalScale,qe=Ue.getExtent();return this._fixMin&&(Fe[0]=fixRoundingError(Fe[0],qe[0])),this._fixMax&&(Fe[1]=fixRoundingError(Fe[1],qe[1])),Fe},$e.prototype.unionExtent=function(Ie){this._originalScale.unionExtent(Ie);var Fe=this.base;Ie[0]=mathLog$1(Ie[0])/mathLog$1(Fe),Ie[1]=mathLog$1(Ie[1])/mathLog$1(Fe),scaleProto.unionExtent.call(this,Ie)},$e.prototype.unionExtentFromData=function(Ie,Fe){this.unionExtent(Ie.getApproximateExtent(Fe))},$e.prototype.calcNiceTicks=function(Ie){Ie=Ie||10;var Fe=this._extent,Ue=Fe[1]-Fe[0];if(!(Ue===1/0||Ue<=0)){var qe=quantity(Ue),At=Ie/Ue*qe;for(At<=.5&&(qe*=10);!isNaN(qe)&&Math.abs(qe)<1&&Math.abs(qe)>0;)qe*=10;var Dt=[round$3(mathCeil$1(Fe[0]/qe)*qe),round$3(mathFloor$1(Fe[1]/qe)*qe)];this._interval=qe,this._niceExtent=Dt}},$e.prototype.calcNiceExtent=function(Ie){intervalScaleProto.calcNiceExtent.call(this,Ie),this._fixMin=Ie.fixMin,this._fixMax=Ie.fixMax},$e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=scale(Ie,this._extent),mathPow$1(this.base,Ie)},$e.type="log",$e}(Scale),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(xe,$e){return roundingErrorFix(xe,getPrecision($e))}Scale.registerClass(LogScale);var ScaleRawExtentInfo=function(){function xe($e,Ie,Fe){this._prepareParams($e,Ie,Fe)}return xe.prototype._prepareParams=function($e,Ie,Fe){Fe[1]<Fe[0]&&(Fe=[NaN,NaN]),this._dataMin=Fe[0],this._dataMax=Fe[1];var Ue=this._isOrdinal=$e.type==="ordinal";this._needCrossZero=$e.type==="interval"&&Ie.getNeedCrossZero&&Ie.getNeedCrossZero();var qe=this._modelMinRaw=Ie.get("min",!0);isFunction$2(qe)?this._modelMinNum=parseAxisModelMinMax($e,qe({min:Fe[0],max:Fe[1]})):qe!=="dataMin"&&(this._modelMinNum=parseAxisModelMinMax($e,qe));var At=this._modelMaxRaw=Ie.get("max",!0);if(isFunction$2(At)?this._modelMaxNum=parseAxisModelMinMax($e,At({min:Fe[0],max:Fe[1]})):At!=="dataMax"&&(this._modelMaxNum=parseAxisModelMinMax($e,At)),Ue)this._axisDataLen=Ie.getCategories().length;else{var Dt=Ie.get("boundaryGap"),Lt=isArray$2(Dt)?Dt:[Dt||0,Dt||0];typeof Lt[0]=="boolean"||typeof Lt[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[parsePercent$1(Lt[0],1),parsePercent$1(Lt[1],1)]}},xe.prototype.calculate=function(){var $e=this._isOrdinal,Ie=this._dataMin,Fe=this._dataMax,Ue=this._axisDataLen,qe=this._boundaryGapInner,At=$e?null:Fe-Ie||Math.abs(Ie),Dt=this._modelMinRaw==="dataMin"?Ie:this._modelMinNum,Lt=this._modelMaxRaw==="dataMax"?Fe:this._modelMaxNum,jt=Dt!=null,hn=Lt!=null;Dt==null&&(Dt=$e?Ue?0:NaN:Ie-qe[0]*At),Lt==null&&(Lt=$e?Ue?Ue-1:NaN:Fe+qe[1]*At),(Dt==null||!isFinite(Dt))&&(Dt=NaN),(Lt==null||!isFinite(Lt))&&(Lt=NaN);var vn=eqNaN(Dt)||eqNaN(Lt)||$e&&!Ue;this._needCrossZero&&(Dt>0&&Lt>0&&!jt&&(Dt=0),Dt<0&&Lt<0&&!hn&&(Lt=0));var bn=this._determinedMin,_n=this._determinedMax;return bn!=null&&(Dt=bn,jt=!0),_n!=null&&(Lt=_n,hn=!0),{min:Dt,max:Lt,minFixed:jt,maxFixed:hn,isBlank:vn}},xe.prototype.modifyDataMinMax=function($e,Ie){this[DATA_MIN_MAX_ATTR[$e]]=Ie},xe.prototype.setDeterminedMinMax=function($e,Ie){var Fe=DETERMINED_MIN_MAX_ATTR[$e];this[Fe]=Ie},xe.prototype.freeze=function(){this.frozen=!0},xe}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(xe,$e,Ie){var Fe=xe.rawExtentInfo;return Fe||(Fe=new ScaleRawExtentInfo(xe,$e,Ie),xe.rawExtentInfo=Fe,Fe)}function parseAxisModelMinMax(xe,$e){return $e==null?null:eqNaN($e)?NaN:xe.parse($e)}function getScaleExtent(xe,$e){var Ie=xe.type,Fe=ensureScaleRawExtentInfo(xe,$e,xe.getExtent()).calculate();xe.setBlank(Fe.isBlank);var Ue=Fe.min,qe=Fe.max,At=$e.ecModel;if(At&&Ie==="time"){var Dt=prepareLayoutBarSeries("bar",At),Lt=!1;if(each$f(Dt,function(vn){Lt=Lt||vn.getBaseAxis()===$e.axis}),Lt){var jt=makeColumnLayout(Dt),hn=adjustScaleForOverflow(Ue,qe,$e,jt);Ue=hn.min,qe=hn.max}}return{extent:[Ue,qe],fixMin:Fe.minFixed,fixMax:Fe.maxFixed}}function adjustScaleForOverflow(xe,$e,Ie,Fe){var Ue=Ie.axis.getExtent(),qe=Ue[1]-Ue[0],At=retrieveColumnLayout(Fe,Ie.axis);if(At===void 0)return{min:xe,max:$e};var Dt=1/0;each$f(At,function(_n){Dt=Math.min(_n.offset,Dt)});var Lt=-1/0;each$f(At,function(_n){Lt=Math.max(_n.offset+_n.width,Lt)}),Dt=Math.abs(Dt),Lt=Math.abs(Lt);var jt=Dt+Lt,hn=$e-xe,vn=1-(Dt+Lt)/qe,bn=hn/vn-hn;return $e+=bn*(Lt/jt),xe-=bn*(Dt/jt),{min:xe,max:$e}}function niceScaleExtent(xe,$e){var Ie=$e,Fe=getScaleExtent(xe,Ie),Ue=Fe.extent,qe=Ie.get("splitNumber");xe instanceof LogScale&&(xe.base=Ie.get("logBase"));var At=xe.type,Dt=Ie.get("interval"),Lt=At==="interval"||At==="time";xe.setExtent(Ue[0],Ue[1]),xe.calcNiceExtent({splitNumber:qe,fixMin:Fe.fixMin,fixMax:Fe.fixMax,minInterval:Lt?Ie.get("minInterval"):null,maxInterval:Lt?Ie.get("maxInterval"):null}),Dt!=null&&xe.setInterval&&xe.setInterval(Dt)}function createScaleByModel$1(xe,$e){if($e=$e||xe.get("type"),$e)switch($e){case"category":return new OrdinalScale({ordinalMeta:xe.getOrdinalMeta?xe.getOrdinalMeta():xe.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale({locale:xe.ecModel.getLocaleModel(),useUTC:xe.ecModel.get("useUTC")});default:return new(Scale.getClass($e)||IntervalScale)}}function ifAxisCrossZero(xe){var $e=xe.scale.getExtent(),Ie=$e[0],Fe=$e[1];return!(Ie>0&&Fe>0||Ie<0&&Fe<0)}function makeLabelFormatter(xe){var $e=xe.getLabelModel().get("formatter"),Ie=xe.type==="category"?xe.scale.getExtent()[0]:null;return xe.scale.type==="time"?function(Fe){return function(Ue,qe){return xe.scale.getFormattedLabel(Ue,qe,Fe)}}($e):isString$2($e)?function(Fe){return function(Ue){var qe=xe.scale.getLabel(Ue),At=Fe.replace("{value}",qe??"");return At}}($e):isFunction$2($e)?function(Fe){return function(Ue,qe){return Ie!=null&&(qe=Ue.value-Ie),Fe(getAxisRawValue(xe,Ue),qe,Ue.level!=null?{level:Ue.level}:null)}}($e):function(Fe){return xe.scale.getLabel(Fe)}}function getAxisRawValue(xe,$e){return xe.type==="category"?xe.scale.getLabel($e):$e.value}function estimateLabelUnionRect(xe){var $e=xe.model,Ie=xe.scale;if(!(!$e.get(["axisLabel","show"])||Ie.isBlank())){var Fe,Ue,qe=Ie.getExtent();Ie instanceof OrdinalScale?Ue=Ie.count():(Fe=Ie.getTicks(),Ue=Fe.length);var At=xe.getLabelModel(),Dt=makeLabelFormatter(xe),Lt,jt=1;Ue>40&&(jt=Math.ceil(Ue/40));for(var hn=0;hn<Ue;hn+=jt){var vn=Fe?Fe[hn]:{value:qe[0]+hn},bn=Dt(vn,hn),_n=At.getTextRect(bn),wn=rotateTextRect(_n,At.get("rotate")||0);Lt?Lt.union(wn):Lt=wn}return Lt}}function rotateTextRect(xe,$e){var Ie=$e*Math.PI/180,Fe=xe.width,Ue=xe.height,qe=Fe*Math.abs(Math.cos(Ie))+Math.abs(Ue*Math.sin(Ie)),At=Fe*Math.abs(Math.sin(Ie))+Math.abs(Ue*Math.cos(Ie)),Dt=new BoundingRect(xe.x,xe.y,qe,At);return Dt}function getOptionCategoryInterval(xe){var $e=xe.get("interval");return $e??"auto"}function shouldShowAllLabels(xe){return xe.type==="category"&&getOptionCategoryInterval(xe.getLabelModel())===0}function getDataDimensionsOnAxis(xe,$e){var Ie={};return each$f(xe.mapDimensionsAll($e),function(Fe){Ie[getStackedDimension(xe,Fe)]=!0}),keys(Ie)}function unionAxisExtentFromData(xe,$e,Ie){$e&&each$f(getDataDimensionsOnAxis($e,Ie),function(Fe){var Ue=$e.getApproximateExtent(Fe);Ue[0]<xe[0]&&(xe[0]=Ue[0]),Ue[1]>xe[1]&&(xe[1]=Ue[1])})}var AxisModelCommonMixin=function(){function xe(){}return xe.prototype.getNeedCrossZero=function(){var $e=this.option;return!$e.scale},xe.prototype.getCoordSysModel=function(){},xe}(),EPSILON=1e-8;function isAroundEqual(xe,$e){return Math.abs(xe-$e)<EPSILON}function contain(xe,$e,Ie){var Fe=0,Ue=xe[0];if(!Ue)return!1;for(var qe=1;qe<xe.length;qe++){var At=xe[qe];Fe+=windingLine(Ue[0],Ue[1],At[0],At[1],$e,Ie),Ue=At}var Dt=xe[0];return(!isAroundEqual(Ue[0],Dt[0])||!isAroundEqual(Ue[1],Dt[1]))&&(Fe+=windingLine(Ue[0],Ue[1],Dt[0],Dt[1],$e,Ie)),Fe!==0}var TMP_TRANSFORM=[];function transformPoints(xe,$e){for(var Ie=0;Ie<xe.length;Ie++)applyTransform$1(xe[Ie],xe[Ie],$e)}function updateBBoxFromPoints(xe,$e,Ie,Fe){for(var Ue=0;Ue<xe.length;Ue++){var qe=xe[Ue];Fe&&(qe=Fe.project(qe)),qe&&isFinite(qe[0])&&isFinite(qe[1])&&(min$2($e,$e,qe),max$2(Ie,Ie,qe))}}function centroid$1(xe){for(var $e=0,Ie=0,Fe=0,Ue=xe.length,qe=xe[Ue-1][0],At=xe[Ue-1][1],Dt=0;Dt<Ue;Dt++){var Lt=xe[Dt][0],jt=xe[Dt][1],hn=qe*jt-Lt*At;$e+=hn,Ie+=(qe+Lt)*hn,Fe+=(At+jt)*hn,qe=Lt,At=jt}return $e?[Ie/$e/3,Fe/$e/3,$e]:[xe[0][0]||0,xe[0][1]||0]}var Region=function(){function xe($e){this.name=$e}return xe.prototype.setCenter=function($e){this._center=$e},xe.prototype.getCenter=function(){var $e=this._center;return $e||($e=this._center=this.calcCenter()),$e},xe}(),GeoJSONPolygonGeometry=function(){function xe($e,Ie){this.type="polygon",this.exterior=$e,this.interiors=Ie}return xe}(),GeoJSONLineStringGeometry=function(){function xe($e){this.type="linestring",this.points=$e}return xe}(),GeoJSONRegion=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this,Ie)||this;return qe.type="geoJSON",qe.geometries=Fe,qe._center=Ue&&[Ue[0],Ue[1]],qe}return $e.prototype.calcCenter=function(){for(var Ie=this.geometries,Fe,Ue=0,qe=0;qe<Ie.length;qe++){var At=Ie[qe],Dt=At.exterior,Lt=Dt&&Dt.length;Lt>Ue&&(Fe=At,Ue=Lt)}if(Fe)return centroid$1(Fe.exterior);var jt=this.getBoundingRect();return[jt.x+jt.width/2,jt.y+jt.height/2]},$e.prototype.getBoundingRect=function(Ie){var Fe=this._rect;if(Fe&&!Ie)return Fe;var Ue=[1/0,1/0],qe=[-1/0,-1/0],At=this.geometries;return each$f(At,function(Dt){Dt.type==="polygon"?updateBBoxFromPoints(Dt.exterior,Ue,qe,Ie):each$f(Dt.points,function(Lt){updateBBoxFromPoints(Lt,Ue,qe,Ie)})}),isFinite(Ue[0])&&isFinite(Ue[1])&&isFinite(qe[0])&&isFinite(qe[1])||(Ue[0]=Ue[1]=qe[0]=qe[1]=0),Fe=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]),Ie||(this._rect=Fe),Fe},$e.prototype.contain=function(Ie){var Fe=this.getBoundingRect(),Ue=this.geometries;if(!Fe.contain(Ie[0],Ie[1]))return!1;e:for(var qe=0,At=Ue.length;qe<At;qe++){var Dt=Ue[qe];if(Dt.type==="polygon"){var Lt=Dt.exterior,jt=Dt.interiors;if(contain(Lt,Ie[0],Ie[1])){for(var hn=0;hn<(jt?jt.length:0);hn++)if(contain(jt[hn],Ie[0],Ie[1]))continue e;return!0}}}return!1},$e.prototype.transformTo=function(Ie,Fe,Ue,qe){var At=this.getBoundingRect(),Dt=At.width/At.height;Ue?qe||(qe=Ue/Dt):Ue=Dt*qe;for(var Lt=new BoundingRect(Ie,Fe,Ue,qe),jt=At.calculateTransform(Lt),hn=this.geometries,vn=0;vn<hn.length;vn++){var bn=hn[vn];bn.type==="polygon"?(transformPoints(bn.exterior,jt),each$f(bn.interiors,function(_n){transformPoints(_n,jt)})):each$f(bn.points,function(_n){transformPoints(_n,jt)})}At=this._rect,At.copy(Lt),this._center=[At.x+At.width/2,At.y+At.height/2]},$e.prototype.cloneShallow=function(Ie){Ie==null&&(Ie=this.name);var Fe=new $e(Ie,this.geometries,this._center);return Fe._rect=this._rect,Fe.transformTo=null,Fe},$e}(Region),GeoSVGRegion=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this,Ie)||this;return Ue.type="geoSVG",Ue._elOnlyForCalculate=Fe,Ue}return $e.prototype.calcCenter=function(){for(var Ie=this._elOnlyForCalculate,Fe=Ie.getBoundingRect(),Ue=[Fe.x+Fe.width/2,Fe.y+Fe.height/2],qe=identity$1(TMP_TRANSFORM),At=Ie;At&&!At.isGeoSVGGraphicRoot;)mul(qe,At.getLocalTransform(),qe),At=At.parent;return invert(qe,qe),applyTransform$1(Ue,Ue,qe),Ue},$e}(Region);function decode(xe){if(!xe.UTF8Encoding)return xe;var $e=xe,Ie=$e.UTF8Scale;Ie==null&&(Ie=1024);var Fe=$e.features;return each$f(Fe,function(Ue){var qe=Ue.geometry,At=qe.encodeOffsets,Dt=qe.coordinates;if(At)switch(qe.type){case"LineString":qe.coordinates=decodeRing(Dt,At,Ie);break;case"Polygon":decodeRings(Dt,At,Ie);break;case"MultiLineString":decodeRings(Dt,At,Ie);break;case"MultiPolygon":each$f(Dt,function(Lt,jt){return decodeRings(Lt,At[jt],Ie)})}}),$e.UTF8Encoding=!1,$e}function decodeRings(xe,$e,Ie){for(var Fe=0;Fe<xe.length;Fe++)xe[Fe]=decodeRing(xe[Fe],$e[Fe],Ie)}function decodeRing(xe,$e,Ie){for(var Fe=[],Ue=$e[0],qe=$e[1],At=0;At<xe.length;At+=2){var Dt=xe.charCodeAt(At)-64,Lt=xe.charCodeAt(At+1)-64;Dt=Dt>>1^-(Dt&1),Lt=Lt>>1^-(Lt&1),Dt+=Ue,Lt+=qe,Ue=Dt,qe=Lt,Fe.push([Dt/Ie,Lt/Ie])}return Fe}function parseGeoJSON(xe,$e){return xe=decode(xe),map$1(filter(xe.features,function(Ie){return Ie.geometry&&Ie.properties&&Ie.geometry.coordinates.length>0}),function(Ie){var Fe=Ie.properties,Ue=Ie.geometry,qe=[];switch(Ue.type){case"Polygon":var At=Ue.coordinates;qe.push(new GeoJSONPolygonGeometry(At[0],At.slice(1)));break;case"MultiPolygon":each$f(Ue.coordinates,function(Lt){Lt[0]&&qe.push(new GeoJSONPolygonGeometry(Lt[0],Lt.slice(1)))});break;case"LineString":qe.push(new GeoJSONLineStringGeometry([Ue.coordinates]));break;case"MultiLineString":qe.push(new GeoJSONLineStringGeometry(Ue.coordinates))}var Dt=new GeoJSONRegion(Fe[$e||"name"],qe,Fe.cp);return Dt.properties=Fe,Dt})}var inner$g=makeInner();function createAxisLabels(xe){return xe.type==="category"?makeCategoryLabels(xe):makeRealNumberLabels(xe)}function createAxisTicks(xe,$e){return xe.type==="category"?makeCategoryTicks(xe,$e):{ticks:map$1(xe.scale.getTicks(),function(Ie){return Ie.value})}}function makeCategoryLabels(xe){var $e=xe.getLabelModel(),Ie=makeCategoryLabelsActually(xe,$e);return!$e.get("show")||xe.scale.isBlank()?{labels:[],labelCategoryInterval:Ie.labelCategoryInterval}:Ie}function makeCategoryLabelsActually(xe,$e){var Ie=getListCache(xe,"labels"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;return isFunction$2(Fe)?qe=makeLabelsByCustomizedCategoryInterval(xe,Fe):(At=Fe==="auto"?makeAutoCategoryInterval(xe):Fe,qe=makeLabelsByNumericCategoryInterval(xe,At)),listCacheSet(Ie,Fe,{labels:qe,labelCategoryInterval:At})}function makeCategoryTicks(xe,$e){var Ie=getListCache(xe,"ticks"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;if((!$e.get("show")||xe.scale.isBlank())&&(qe=[]),isFunction$2(Fe))qe=makeLabelsByCustomizedCategoryInterval(xe,Fe,!0);else if(Fe==="auto"){var Dt=makeCategoryLabelsActually(xe,xe.getLabelModel());At=Dt.labelCategoryInterval,qe=map$1(Dt.labels,function(Lt){return Lt.tickValue})}else At=Fe,qe=makeLabelsByNumericCategoryInterval(xe,At,!0);return listCacheSet(Ie,Fe,{ticks:qe,tickCategoryInterval:At})}function makeRealNumberLabels(xe){var $e=xe.scale.getTicks(),Ie=makeLabelFormatter(xe);return{labels:map$1($e,function(Fe,Ue){return{level:Fe.level,formattedLabel:Ie(Fe,Ue),rawLabel:xe.scale.getLabel(Fe),tickValue:Fe.value}})}}function getListCache(xe,$e){return inner$g(xe)[$e]||(inner$g(xe)[$e]=[])}function listCacheGet(xe,$e){for(var Ie=0;Ie<xe.length;Ie++)if(xe[Ie].key===$e)return xe[Ie].value}function listCacheSet(xe,$e,Ie){return xe.push({key:$e,value:Ie}),Ie}function makeAutoCategoryInterval(xe){var $e=inner$g(xe).autoInterval;return $e??(inner$g(xe).autoInterval=xe.calculateCategoryInterval())}function calculateCategoryInterval(xe){var $e=fetchAutoCategoryIntervalCalculationParams(xe),Ie=makeLabelFormatter(xe),Fe=($e.axisRotate-$e.labelRotate)/180*Math.PI,Ue=xe.scale,qe=Ue.getExtent(),At=Ue.count();if(qe[1]-qe[0]<1)return 0;var Dt=1;At>40&&(Dt=Math.max(1,Math.floor(At/40)));for(var Lt=qe[0],jt=xe.dataToCoord(Lt+1)-xe.dataToCoord(Lt),hn=Math.abs(jt*Math.cos(Fe)),vn=Math.abs(jt*Math.sin(Fe)),bn=0,_n=0;Lt<=qe[1];Lt+=Dt){var wn=0,kn=0,Cn=getBoundingRect(Ie({value:Lt}),$e.font,"center","top");wn=Cn.width*1.3,kn=Cn.height*1.3,bn=Math.max(bn,wn,7),_n=Math.max(_n,kn,7)}var Sn=bn/hn,xn=_n/vn;isNaN(Sn)&&(Sn=1/0),isNaN(xn)&&(xn=1/0);var En=Math.max(0,Math.floor(Math.min(Sn,xn))),Tn=inner$g(xe.model),An=xe.getExtent(),$n=Tn.lastAutoInterval,Pn=Tn.lastTickCount;return $n!=null&&Pn!=null&&Math.abs($n-En)<=1&&Math.abs(Pn-At)<=1&&$n>En&&Tn.axisExtent0===An[0]&&Tn.axisExtent1===An[1]?En=$n:(Tn.lastTickCount=At,Tn.lastAutoInterval=En,Tn.axisExtent0=An[0],Tn.axisExtent1=An[1]),En}function fetchAutoCategoryIntervalCalculationParams(xe){var $e=xe.getLabelModel();return{axisRotate:xe.getRotate?xe.getRotate():xe.isHorizontal&&!xe.isHorizontal()?90:0,labelRotate:$e.get("rotate")||0,font:$e.getFont()}}function makeLabelsByNumericCategoryInterval(xe,$e,Ie){var Fe=makeLabelFormatter(xe),Ue=xe.scale,qe=Ue.getExtent(),At=xe.getLabelModel(),Dt=[],Lt=Math.max(($e||0)+1,1),jt=qe[0],hn=Ue.count();jt!==0&&Lt>1&&hn/Lt>2&&(jt=Math.round(Math.ceil(jt/Lt)*Lt));var vn=shouldShowAllLabels(xe),bn=At.get("showMinLabel")||vn,_n=At.get("showMaxLabel")||vn;bn&&jt!==qe[0]&&kn(qe[0]);for(var wn=jt;wn<=qe[1];wn+=Lt)kn(wn);_n&&wn-Lt!==qe[1]&&kn(qe[1]);function kn(Cn){var Sn={value:Cn};Dt.push(Ie?Cn:{formattedLabel:Fe(Sn),rawLabel:Ue.getLabel(Sn),tickValue:Cn})}return Dt}function makeLabelsByCustomizedCategoryInterval(xe,$e,Ie){var Fe=xe.scale,Ue=makeLabelFormatter(xe),qe=[];return each$f(Fe.getTicks(),function(At){var Dt=Fe.getLabel(At),Lt=At.value;$e(At.value,Dt)&&qe.push(Ie?Lt:{formattedLabel:Ue(At),rawLabel:Dt,tickValue:Lt})}),qe}var NORMALIZED_EXTENT=[0,1],Axis=function(){function xe($e,Ie,Fe){this.onBand=!1,this.inverse=!1,this.dim=$e,this.scale=Ie,this._extent=Fe||[0,0]}return xe.prototype.contain=function($e){var Ie=this._extent,Fe=Math.min(Ie[0],Ie[1]),Ue=Math.max(Ie[0],Ie[1]);return $e>=Fe&&$e<=Ue},xe.prototype.containData=function($e){return this.scale.contain($e)},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.getPixelPrecision=function($e){return getPixelPrecision($e||this.scale.getExtent(),this._extent)},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;Fe[0]=$e,Fe[1]=Ie},xe.prototype.dataToCoord=function($e,Ie){var Fe=this._extent,Ue=this.scale;return $e=Ue.normalize($e),this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count())),linearMap$2($e,NORMALIZED_EXTENT,Fe,Ie)},xe.prototype.coordToData=function($e,Ie){var Fe=this._extent,Ue=this.scale;this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count()));var qe=linearMap$2($e,Fe,NORMALIZED_EXTENT,Ie);return this.scale.scale(qe)},xe.prototype.pointToData=function($e,Ie){},xe.prototype.getTicksCoords=function($e){$e=$e||{};var Ie=$e.tickModel||this.getTickModel(),Fe=createAxisTicks(this,Ie),Ue=Fe.ticks,qe=map$1(Ue,function(Dt){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(Dt):Dt),tickValue:Dt}},this),At=Ie.get("alignWithLabel");return fixOnBandTicksCoords(this,qe,At,$e.clamp),qe},xe.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var $e=this.model.getModel("minorTick"),Ie=$e.get("splitNumber");Ie>0&&Ie<100||(Ie=5);var Fe=this.scale.getMinorTicks(Ie),Ue=map$1(Fe,function(qe){return map$1(qe,function(At){return{coord:this.dataToCoord(At),tickValue:At}},this)},this);return Ue},xe.prototype.getViewLabels=function(){return createAxisLabels(this).labels},xe.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},xe.prototype.getTickModel=function(){return this.model.getModel("axisTick")},xe.prototype.getBandWidth=function(){var $e=this._extent,Ie=this.scale.getExtent(),Fe=Ie[1]-Ie[0]+(this.onBand?1:0);Fe===0&&(Fe=1);var Ue=Math.abs($e[1]-$e[0]);return Math.abs(Ue)/Fe},xe.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},xe}();function fixExtentWithBands(xe,$e){var Ie=xe[1]-xe[0],Fe=$e,Ue=Ie/Fe/2;xe[0]+=Ue,xe[1]-=Ue}function fixOnBandTicksCoords(xe,$e,Ie,Fe){var Ue=$e.length;if(!xe.onBand||Ie||!Ue)return;var qe=xe.getExtent(),At,Dt;if(Ue===1)$e[0].coord=qe[0],At=$e[1]={coord:qe[1]};else{var Lt=$e[Ue-1].tickValue-$e[0].tickValue,jt=($e[Ue-1].coord-$e[0].coord)/Lt;each$f($e,function(_n){_n.coord-=jt/2});var hn=xe.scale.getExtent();Dt=1+hn[1]-$e[Ue-1].tickValue,At={coord:$e[Ue-1].coord+jt*Dt},$e.push(At)}var vn=qe[0]>qe[1];bn($e[0].coord,qe[0])&&(Fe?$e[0].coord=qe[0]:$e.shift()),Fe&&bn(qe[0],$e[0].coord)&&$e.unshift({coord:qe[0]}),bn(qe[1],At.coord)&&(Fe?At.coord=qe[1]:$e.pop()),Fe&&bn(At.coord,qe[1])&&$e.push({coord:qe[1]});function bn(_n,wn){return _n=round$3(_n),wn=round$3(wn),vn?_n>wn:_n<wn}}var PI2$2=Math.PI*2,CMD$1=PathProxy.CMD,DEFAULT_SEARCH_SPACE=["top","right","bottom","left"];function getCandidateAnchor(xe,$e,Ie,Fe,Ue){var qe=Ie.width,At=Ie.height;switch(xe){case"top":Fe.set(Ie.x+qe/2,Ie.y-$e),Ue.set(0,-1);break;case"bottom":Fe.set(Ie.x+qe/2,Ie.y+At+$e),Ue.set(0,1);break;case"left":Fe.set(Ie.x-$e,Ie.y+At/2),Ue.set(-1,0);break;case"right":Fe.set(Ie.x+qe+$e,Ie.y+At/2),Ue.set(1,0);break}}function projectPointToArc(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){At-=xe,Dt-=$e;var jt=Math.sqrt(At*At+Dt*Dt);At/=jt,Dt/=jt;var hn=At*Ie+xe,vn=Dt*Ie+$e;if(Math.abs(Fe-Ue)%PI2$2<1e-4)return Lt[0]=hn,Lt[1]=vn,jt-Ie;if(qe){var bn=Fe;Fe=normalizeRadian(Ue),Ue=normalizeRadian(bn)}else Fe=normalizeRadian(Fe),Ue=normalizeRadian(Ue);Fe>Ue&&(Ue+=PI2$2);var _n=Math.atan2(Dt,At);if(_n<0&&(_n+=PI2$2),_n>=Fe&&_n<=Ue||_n+PI2$2>=Fe&&_n+PI2$2<=Ue)return Lt[0]=hn,Lt[1]=vn,jt-Ie;var wn=Ie*Math.cos(Fe)+xe,kn=Ie*Math.sin(Fe)+$e,Cn=Ie*Math.cos(Ue)+xe,Sn=Ie*Math.sin(Ue)+$e,xn=(wn-At)*(wn-At)+(kn-Dt)*(kn-Dt),En=(Cn-At)*(Cn-At)+(Sn-Dt)*(Sn-Dt);return xn<En?(Lt[0]=wn,Lt[1]=kn,Math.sqrt(xn)):(Lt[0]=Cn,Lt[1]=Sn,Math.sqrt(En))}function projectPointToLine(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=Ue-xe,jt=qe-$e,hn=Ie-xe,vn=Fe-$e,bn=Math.sqrt(hn*hn+vn*vn);hn/=bn,vn/=bn;var _n=Lt*hn+jt*vn,wn=_n/bn;Dt&&(wn=Math.min(Math.max(wn,0),1)),wn*=bn;var kn=At[0]=xe+wn*hn,Cn=At[1]=$e+wn*vn;return Math.sqrt((kn-Ue)*(kn-Ue)+(Cn-qe)*(Cn-qe))}function projectPointToRect(xe,$e,Ie,Fe,Ue,qe,At){Ie<0&&(xe=xe+Ie,Ie=-Ie),Fe<0&&($e=$e+Fe,Fe=-Fe);var Dt=xe+Ie,Lt=$e+Fe,jt=At[0]=Math.min(Math.max(Ue,xe),Dt),hn=At[1]=Math.min(Math.max(qe,$e),Lt);return Math.sqrt((jt-Ue)*(jt-Ue)+(hn-qe)*(hn-qe))}var tmpPt=[];function nearestPointOnRect(xe,$e,Ie){var Fe=projectPointToRect($e.x,$e.y,$e.width,$e.height,xe.x,xe.y,tmpPt);return Ie.set(tmpPt[0],tmpPt[1]),Fe}function nearestPointOnPath(xe,$e,Ie){for(var Fe=0,Ue=0,qe=0,At=0,Dt,Lt,jt=1/0,hn=$e.data,vn=xe.x,bn=xe.y,_n=0;_n<hn.length;){var wn=hn[_n++];_n===1&&(Fe=hn[_n],Ue=hn[_n+1],qe=Fe,At=Ue);var kn=jt;switch(wn){case CMD$1.M:qe=hn[_n++],At=hn[_n++],Fe=qe,Ue=At;break;case CMD$1.L:kn=projectPointToLine(Fe,Ue,hn[_n],hn[_n+1],vn,bn,tmpPt,!0),Fe=hn[_n++],Ue=hn[_n++];break;case CMD$1.C:kn=cubicProjectPoint(Fe,Ue,hn[_n++],hn[_n++],hn[_n++],hn[_n++],hn[_n],hn[_n+1],vn,bn,tmpPt),Fe=hn[_n++],Ue=hn[_n++];break;case CMD$1.Q:kn=quadraticProjectPoint(Fe,Ue,hn[_n++],hn[_n++],hn[_n],hn[_n+1],vn,bn,tmpPt),Fe=hn[_n++],Ue=hn[_n++];break;case CMD$1.A:var Cn=hn[_n++],Sn=hn[_n++],xn=hn[_n++],En=hn[_n++],Tn=hn[_n++],An=hn[_n++];_n+=1;var $n=!!(1-hn[_n++]);Dt=Math.cos(Tn)*xn+Cn,Lt=Math.sin(Tn)*En+Sn,_n<=1&&(qe=Dt,At=Lt);var Pn=(vn-Cn)*En/xn+Cn;kn=projectPointToArc(Cn,Sn,En,Tn,Tn+An,$n,Pn,bn,tmpPt),Fe=Math.cos(Tn+An)*xn+Cn,Ue=Math.sin(Tn+An)*En+Sn;break;case CMD$1.R:qe=Fe=hn[_n++],At=Ue=hn[_n++];var Nn=hn[_n++],Mn=hn[_n++];kn=projectPointToRect(qe,At,Nn,Mn,vn,bn,tmpPt);break;case CMD$1.Z:kn=projectPointToLine(Fe,Ue,qe,At,vn,bn,tmpPt,!0),Fe=qe,Ue=At;break}kn<jt&&(jt=kn,Ie.set(tmpPt[0],tmpPt[1]))}return jt}var pt0=new Point,pt1=new Point,pt2=new Point,dir=new Point,dir2=new Point;function updateLabelLinePoints(xe,$e){if(xe){var Ie=xe.getTextGuideLine(),Fe=xe.getTextContent();if(Fe&&Ie){var Ue=xe.textGuideLineConfig||{},qe=[[0,0],[0,0],[0,0]],At=Ue.candidates||DEFAULT_SEARCH_SPACE,Dt=Fe.getBoundingRect().clone();Dt.applyTransform(Fe.getComputedTransform());var Lt=1/0,jt=Ue.anchor,hn=xe.getComputedTransform(),vn=hn&&invert([],hn),bn=$e.get("length2")||0;jt&&pt2.copy(jt);for(var _n=0;_n<At.length;_n++){var wn=At[_n];getCandidateAnchor(wn,0,Dt,pt0,dir),Point.scaleAndAdd(pt1,pt0,dir,bn),pt1.transform(vn);var kn=xe.getBoundingRect(),Cn=jt?jt.distance(pt1):xe instanceof Path?nearestPointOnPath(pt1,xe.path,pt2):nearestPointOnRect(pt1,kn,pt2);Cn<Lt&&(Lt=Cn,pt1.transform(hn),pt2.transform(hn),pt2.toArray(qe[0]),pt1.toArray(qe[1]),pt0.toArray(qe[2]))}limitTurnAngle(qe,$e.get("minTurnAngle")),Ie.setShape({points:qe})}}}var tmpArr=[],tmpProjPoint=new Point;function limitTurnAngle(xe,$e){if($e<=180&&$e>0){$e=$e/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt0,pt1),Point.sub(dir2,pt2,pt1);var Ie=dir.len(),Fe=dir2.len();if(!(Ie<.001||Fe<.001)){dir.scale(1/Ie),dir2.scale(1/Fe);var Ue=dir.dot(dir2),qe=Math.cos($e);if(qe<Ue){var At=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr),tmpProjPoint.scaleAndAdd(dir2,At/Math.tan(Math.PI-$e));var Dt=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(Dt))return;Dt<0?Point.copy(tmpProjPoint,pt1):Dt>1&&Point.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(xe[1])}}}}function limitSurfaceAngle(xe,$e,Ie){if(Ie<=180&&Ie>0){Ie=Ie/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt1,pt0),Point.sub(dir2,pt2,pt1);var Fe=dir.len(),Ue=dir2.len();if(!(Fe<.001||Ue<.001)){dir.scale(1/Fe),dir2.scale(1/Ue);var qe=dir.dot($e),At=Math.cos(Ie);if(qe<At){var Dt=projectPointToLine(pt1.x,pt1.y,pt2.x,pt2.y,pt0.x,pt0.y,tmpArr,!1);tmpProjPoint.fromArray(tmpArr);var Lt=Math.PI/2,jt=Math.acos(dir2.dot($e)),hn=Lt+jt-Ie;if(hn>=Lt)Point.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,Dt/Math.tan(Math.PI/2-hn));var vn=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(vn))return;vn<0?Point.copy(tmpProjPoint,pt1):vn>1&&Point.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(xe[1])}}}}function setLabelLineState(xe,$e,Ie,Fe){var Ue=Ie==="normal",qe=Ue?xe:xe.ensureState(Ie);qe.ignore=$e;var At=Fe.get("smooth");At&&At===!0&&(At=.3),qe.shape=qe.shape||{},At>0&&(qe.shape.smooth=At);var Dt=Fe.getModel("lineStyle").getLineStyle();Ue?xe.useStyle(Dt):qe.style=Dt}function buildLabelLinePath(xe,$e){var Ie=$e.smooth,Fe=$e.points;if(Fe)if(xe.moveTo(Fe[0][0],Fe[0][1]),Ie>0&&Fe.length>=3){var Ue=dist$1(Fe[0],Fe[1]),qe=dist$1(Fe[1],Fe[2]);if(!Ue||!qe){xe.lineTo(Fe[1][0],Fe[1][1]),xe.lineTo(Fe[2][0],Fe[2][1]);return}var At=Math.min(Ue,qe)*Ie,Dt=lerp$1([],Fe[1],Fe[0],At/Ue),Lt=lerp$1([],Fe[1],Fe[2],At/qe),jt=lerp$1([],Dt,Lt,.5);xe.bezierCurveTo(Dt[0],Dt[1],Dt[0],Dt[1],jt[0],jt[1]),xe.bezierCurveTo(Lt[0],Lt[1],Lt[0],Lt[1],Fe[2][0],Fe[2][1])}else for(var hn=1;hn<Fe.length;hn++)xe.lineTo(Fe[hn][0],Fe[hn][1])}function setLabelLineStyle(xe,$e,Ie){var Fe=xe.getTextGuideLine(),Ue=xe.getTextContent();if(!Ue){Fe&&xe.removeTextGuideLine();return}for(var qe=$e.normal,At=qe.get("show"),Dt=Ue.ignore,Lt=0;Lt<DISPLAY_STATES.length;Lt++){var jt=DISPLAY_STATES[Lt],hn=$e[jt],vn=jt==="normal";if(hn){var bn=hn.get("show"),_n=vn?Dt:retrieve2(Ue.states[jt]&&Ue.states[jt].ignore,Dt);if(_n||!retrieve2(bn,At)){var wn=vn?Fe:Fe&&Fe.states[jt];wn&&(wn.ignore=!0),Fe&&setLabelLineState(Fe,!0,jt,hn);continue}Fe||(Fe=new Polyline$1,xe.setTextGuideLine(Fe),!vn&&(Dt||!At)&&setLabelLineState(Fe,!0,"normal",$e.normal),xe.stateProxy&&(Fe.stateProxy=xe.stateProxy)),setLabelLineState(Fe,!1,jt,hn)}}if(Fe){defaults$1(Fe.style,Ie),Fe.style.fill=null;var kn=qe.get("showAbove"),Cn=xe.textGuideLineConfig=xe.textGuideLineConfig||{};Cn.showAbove=kn||!1,Fe.buildPath=buildLabelLinePath}}function getLabelLineStatesModels(xe,$e){$e=$e||"labelLine";for(var Ie={normal:xe.getModel($e)},Fe=0;Fe<SPECIAL_STATES.length;Fe++){var Ue=SPECIAL_STATES[Fe];Ie[Ue]=xe.getModel([Ue,$e])}return Ie}function prepareLayoutList(xe){for(var $e=[],Ie=0;Ie<xe.length;Ie++){var Fe=xe[Ie];if(!Fe.defaultAttr.ignore){var Ue=Fe.label,qe=Ue.getComputedTransform(),At=Ue.getBoundingRect(),Dt=!qe||qe[1]<1e-5&&qe[2]<1e-5,Lt=Ue.style.margin||0,jt=At.clone();jt.applyTransform(qe),jt.x-=Lt/2,jt.y-=Lt/2,jt.width+=Lt,jt.height+=Lt;var hn=Dt?new OrientedBoundingRect$1(At,qe):null;$e.push({label:Ue,labelLine:Fe.labelLine,rect:jt,localRect:At,obb:hn,priority:Fe.priority,defaultAttr:Fe.defaultAttr,layoutOption:Fe.computedLayoutOption,axisAligned:Dt,transform:qe})}}return $e}function shiftLayout(xe,$e,Ie,Fe,Ue,qe){var At=xe.length;if(At<2)return;xe.sort(function(Nn,Mn){return Nn.rect[$e]-Mn.rect[$e]});for(var Dt=0,Lt,jt=!1,hn=0,vn=0;vn<At;vn++){var bn=xe[vn],_n=bn.rect;Lt=_n[$e]-Dt,Lt<0&&(_n[$e]-=Lt,bn.label[$e]-=Lt,jt=!0);var wn=Math.max(-Lt,0);hn+=wn,Dt=_n[$e]+_n[Ie]}hn>0&&qe&&An(-hn/At,0,At);var kn=xe[0],Cn=xe[At-1],Sn,xn;En(),Sn<0&&$n(-Sn,.8),xn<0&&$n(xn,.8),En(),Tn(Sn,xn,1),Tn(xn,Sn,-1),En(),Sn<0&&Pn(-Sn),xn<0&&Pn(xn);function En(){Sn=kn.rect[$e]-Fe,xn=Ue-Cn.rect[$e]-Cn.rect[Ie]}function Tn(Nn,Mn,In){if(Nn<0){var On=Math.min(Mn,-Nn);if(On>0){An(On*In,0,At);var Rn=On+Nn;Rn<0&&$n(-Rn*In,1)}else $n(-Nn*In,1)}}function An(Nn,Mn,In){Nn!==0&&(jt=!0);for(var On=Mn;On<In;On++){var Rn=xe[On],Bn=Rn.rect;Bn[$e]+=Nn,Rn.label[$e]+=Nn}}function $n(Nn,Mn){for(var In=[],On=0,Rn=1;Rn<At;Rn++){var Bn=xe[Rn-1].rect,Vn=Math.max(xe[Rn].rect[$e]-Bn[$e]-Bn[Ie],0);In.push(Vn),On+=Vn}if(On){var Ln=Math.min(Math.abs(Nn)/On,Mn);if(Nn>0)for(var Rn=0;Rn<At-1;Rn++){var Dn=In[Rn]*Ln;An(Dn,0,Rn+1)}else for(var Rn=At-1;Rn>0;Rn--){var Dn=In[Rn-1]*Ln;An(-Dn,Rn,At)}}}function Pn(Nn){var Mn=Nn<0?-1:1;Nn=Math.abs(Nn);for(var In=Math.ceil(Nn/(At-1)),On=0;On<At-1;On++)if(Mn>0?An(In,0,On+1):An(-In,At-On-1,At),Nn-=In,Nn<=0)return}return jt}function shiftLayoutOnX(xe,$e,Ie,Fe){return shiftLayout(xe,"x","width",$e,Ie,Fe)}function shiftLayoutOnY(xe,$e,Ie,Fe){return shiftLayout(xe,"y","height",$e,Ie,Fe)}function hideOverlap(xe){var $e=[];xe.sort(function(kn,Cn){return Cn.priority-kn.priority});var Ie=new BoundingRect(0,0,0,0);function Fe(kn){if(!kn.ignore){var Cn=kn.ensureState("emphasis");Cn.ignore==null&&(Cn.ignore=!1)}kn.ignore=!0}for(var Ue=0;Ue<xe.length;Ue++){var qe=xe[Ue],At=qe.axisAligned,Dt=qe.localRect,Lt=qe.transform,jt=qe.label,hn=qe.labelLine;Ie.copy(qe.rect),Ie.width-=.1,Ie.height-=.1,Ie.x+=.05,Ie.y+=.05;for(var vn=qe.obb,bn=!1,_n=0;_n<$e.length;_n++){var wn=$e[_n];if(Ie.intersect(wn.rect)){if(At&&wn.axisAligned){bn=!0;break}if(wn.obb||(wn.obb=new OrientedBoundingRect$1(wn.localRect,wn.transform)),vn||(vn=new OrientedBoundingRect$1(Dt,Lt)),vn.intersect(wn.obb)){bn=!0;break}}}bn?(Fe(jt),hn&&Fe(hn)):(jt.attr("ignore",qe.defaultAttr.ignore),hn&&hn.attr("ignore",qe.defaultAttr.labelGuideIgnore),$e.push(qe))}}function cloneArr(xe){if(xe){for(var $e=[],Ie=0;Ie<xe.length;Ie++)$e.push(xe[Ie].slice());return $e}}function prepareLayoutCallbackParams(xe,$e){var Ie=xe.label,Fe=$e&&$e.getTextGuideLine();return{dataIndex:xe.dataIndex,dataType:xe.dataType,seriesIndex:xe.seriesModel.seriesIndex,text:xe.label.style.text,rect:xe.hostRect,labelRect:xe.rect,align:Ie.style.align,verticalAlign:Ie.style.verticalAlign,labelLinePoints:cloneArr(Fe&&Fe.shape.points)}}var LABEL_OPTION_TO_STYLE_KEYS=["align","verticalAlign","width","height","fontSize"],dummyTransformable=new Transformable,labelLayoutInnerStore=makeInner(),labelLineAnimationStore=makeInner();function extendWithKeys(xe,$e,Ie){for(var Fe=0;Fe<Ie.length;Fe++){var Ue=Ie[Fe];$e[Ue]!=null&&(xe[Ue]=$e[Ue])}}var LABEL_LAYOUT_PROPS=["x","y","rotation"],LabelManager=function(){function xe(){this._labelList=[],this._chartViewList=[]}return xe.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},xe.prototype._addLabel=function($e,Ie,Fe,Ue,qe){var At=Ue.style,Dt=Ue.__hostTarget,Lt=Dt.textConfig||{},jt=Ue.getComputedTransform(),hn=Ue.getBoundingRect().plain();BoundingRect.applyTransform(hn,hn,jt),jt?dummyTransformable.setLocalTransform(jt):(dummyTransformable.x=dummyTransformable.y=dummyTransformable.rotation=dummyTransformable.originX=dummyTransformable.originY=0,dummyTransformable.scaleX=dummyTransformable.scaleY=1),dummyTransformable.rotation=normalizeRadian(dummyTransformable.rotation);var vn=Ue.__hostTarget,bn;if(vn){bn=vn.getBoundingRect().plain();var _n=vn.getComputedTransform();BoundingRect.applyTransform(bn,bn,_n)}var wn=bn&&vn.getTextGuideLine();this._labelList.push({label:Ue,labelLine:wn,seriesModel:Fe,dataIndex:$e,dataType:Ie,layoutOption:qe,computedLayoutOption:null,rect:hn,hostRect:bn,priority:bn?bn.width*bn.height:0,defaultAttr:{ignore:Ue.ignore,labelGuideIgnore:wn&&wn.ignore,x:dummyTransformable.x,y:dummyTransformable.y,scaleX:dummyTransformable.scaleX,scaleY:dummyTransformable.scaleY,rotation:dummyTransformable.rotation,style:{x:At.x,y:At.y,align:At.align,verticalAlign:At.verticalAlign,width:At.width,height:At.height,fontSize:At.fontSize},cursor:Ue.cursor,attachedPos:Lt.position,attachedRot:Lt.rotation}})},xe.prototype.addLabelsOfSeries=function($e){var Ie=this;this._chartViewList.push($e);var Fe=$e.__model,Ue=Fe.get("labelLayout");(isFunction$2(Ue)||keys(Ue).length)&&$e.group.traverse(function(qe){if(qe.ignore)return!0;var At=qe.getTextContent(),Dt=getECData(qe);At&&!At.disableLabelLayout&&Ie._addLabel(Dt.dataIndex,Dt.dataType,Fe,At,Ue)})},xe.prototype.updateLayoutConfig=function($e){var Ie=$e.getWidth(),Fe=$e.getHeight();function Ue(En,Tn){return function(){updateLabelLinePoints(En,Tn)}}for(var qe=0;qe<this._labelList.length;qe++){var At=this._labelList[qe],Dt=At.label,Lt=Dt.__hostTarget,jt=At.defaultAttr,hn=void 0;isFunction$2(At.layoutOption)?hn=At.layoutOption(prepareLayoutCallbackParams(At,Lt)):hn=At.layoutOption,hn=hn||{},At.computedLayoutOption=hn;var vn=Math.PI/180;Lt&&Lt.setTextConfig({local:!1,position:hn.x!=null||hn.y!=null?null:jt.attachedPos,rotation:hn.rotate!=null?hn.rotate*vn:jt.attachedRot,offset:[hn.dx||0,hn.dy||0]});var bn=!1;if(hn.x!=null?(Dt.x=parsePercent(hn.x,Ie),Dt.setStyle("x",0),bn=!0):(Dt.x=jt.x,Dt.setStyle("x",jt.style.x)),hn.y!=null?(Dt.y=parsePercent(hn.y,Fe),Dt.setStyle("y",0),bn=!0):(Dt.y=jt.y,Dt.setStyle("y",jt.style.y)),hn.labelLinePoints){var _n=Lt.getTextGuideLine();_n&&(_n.setShape({points:hn.labelLinePoints}),bn=!1)}var wn=labelLayoutInnerStore(Dt);wn.needsUpdateLabelLine=bn,Dt.rotation=hn.rotate!=null?hn.rotate*vn:jt.rotation,Dt.scaleX=jt.scaleX,Dt.scaleY=jt.scaleY;for(var kn=0;kn<LABEL_OPTION_TO_STYLE_KEYS.length;kn++){var Cn=LABEL_OPTION_TO_STYLE_KEYS[kn];Dt.setStyle(Cn,hn[Cn]!=null?hn[Cn]:jt.style[Cn])}if(hn.draggable){if(Dt.draggable=!0,Dt.cursor="move",Lt){var Sn=At.seriesModel;if(At.dataIndex!=null){var xn=At.seriesModel.getData(At.dataType);Sn=xn.getItemModel(At.dataIndex)}Dt.on("drag",Ue(Lt,Sn.getModel("labelLine")))}}else Dt.off("drag"),Dt.cursor=jt.cursor}},xe.prototype.layout=function($e){var Ie=$e.getWidth(),Fe=$e.getHeight(),Ue=prepareLayoutList(this._labelList),qe=filter(Ue,function(Lt){return Lt.layoutOption.moveOverlap==="shiftX"}),At=filter(Ue,function(Lt){return Lt.layoutOption.moveOverlap==="shiftY"});shiftLayoutOnX(qe,0,Ie),shiftLayoutOnY(At,0,Fe);var Dt=filter(Ue,function(Lt){return Lt.layoutOption.hideOverlap});hideOverlap(Dt)},xe.prototype.processLabelsOverall=function(){var $e=this;each$f(this._chartViewList,function(Ie){var Fe=Ie.__model,Ue=Ie.ignoreLabelLineUpdate,qe=Fe.isAnimationEnabled();Ie.group.traverse(function(At){if(At.ignore&&!At.forceLabelAnimation)return!0;var Dt=!Ue,Lt=At.getTextContent();!Dt&&Lt&&(Dt=labelLayoutInnerStore(Lt).needsUpdateLabelLine),Dt&&$e._updateLabelLine(At,Fe),qe&&$e._animateLabels(At,Fe)})})},xe.prototype._updateLabelLine=function($e,Ie){var Fe=$e.getTextContent(),Ue=getECData($e),qe=Ue.dataIndex;if(Fe&&qe!=null){var At=Ie.getData(Ue.dataType),Dt=At.getItemModel(qe),Lt={},jt=At.getItemVisual(qe,"style");if(jt){var hn=At.getVisual("drawType");Lt.stroke=jt[hn]}var vn=Dt.getModel("labelLine");setLabelLineStyle($e,getLabelLineStatesModels(Dt),Lt),updateLabelLinePoints($e,vn)}},xe.prototype._animateLabels=function($e,Ie){var Fe=$e.getTextContent(),Ue=$e.getTextGuideLine();if(Fe&&($e.forceLabelAnimation||!Fe.ignore&&!Fe.invisible&&!$e.disableLabelAnimation&&!isElementRemoved($e))){var qe=labelLayoutInnerStore(Fe),At=qe.oldLayout,Dt=getECData($e),Lt=Dt.dataIndex,jt={x:Fe.x,y:Fe.y,rotation:Fe.rotation},hn=Ie.getData(Dt.dataType);if(At){Fe.attr(At);var bn=$e.prevStates;bn&&(indexOf(bn,"select")>=0&&Fe.attr(qe.oldLayoutSelect),indexOf(bn,"emphasis")>=0&&Fe.attr(qe.oldLayoutEmphasis)),updateProps$1(Fe,jt,Ie,Lt)}else if(Fe.attr(jt),!labelInner(Fe).valueAnimation){var vn=retrieve2(Fe.style.opacity,1);Fe.style.opacity=0,initProps(Fe,{style:{opacity:vn}},Ie,Lt)}if(qe.oldLayout=jt,Fe.states.select){var _n=qe.oldLayoutSelect={};extendWithKeys(_n,jt,LABEL_LAYOUT_PROPS),extendWithKeys(_n,Fe.states.select,LABEL_LAYOUT_PROPS)}if(Fe.states.emphasis){var wn=qe.oldLayoutEmphasis={};extendWithKeys(wn,jt,LABEL_LAYOUT_PROPS),extendWithKeys(wn,Fe.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(Fe,Lt,hn,Ie,Ie)}if(Ue&&!Ue.ignore&&!Ue.invisible){var qe=labelLineAnimationStore(Ue),At=qe.oldLayout,kn={points:Ue.shape.points};At?(Ue.attr({shape:At}),updateProps$1(Ue,{shape:kn},Ie)):(Ue.setShape(kn),Ue.style.strokePercent=0,initProps(Ue,{style:{strokePercent:1}},Ie)),qe.oldLayout=kn}},xe}(),getLabelManager=makeInner();function installLabelLayout(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Ue||(Ue=getLabelManager(Ie).labelManager=new LabelManager),Ue.clearLabels()}),xe.registerUpdateLifecycle("series:layoutlabels",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Fe.updatedSeries.forEach(function(qe){Ue.addLabelsOfSeries(Ie.getViewOfSeriesModel(qe))}),Ue.updateLayoutConfig(Ie),Ue.layout(Ie),Ue.processLabelsOverall()})}var mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=Math.PI*2,degree=180/PI$4,SVGPathRebuilder=function(){function xe(){}return xe.prototype.reset=function($e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,$e||4)},xe.prototype.moveTo=function($e,Ie){this._add("M",$e,Ie)},xe.prototype.lineTo=function($e,Ie){this._add("L",$e,Ie)},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){this._add("C",$e,Ie,Fe,Ue,qe,At)},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){this._add("Q",$e,Ie,Fe,Ue)},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this.ellipse($e,Ie,Fe,Fe,0,Ue,qe,At)},xe.prototype.ellipse=function($e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Dt-At,hn=!Lt,vn=Math.abs(jt),bn=isAroundZero(vn-PI2$1)||(hn?jt>=PI2$1:-jt>=PI2$1),_n=jt>0?jt%PI2$1:jt%PI2$1+PI2$1,wn=!1;bn?wn=!0:isAroundZero(vn)?wn=!1:wn=_n>=PI$4==!!hn;var kn=$e+Fe*mathCos(At),Cn=Ie+Ue*mathSin(At);this._start&&this._add("M",kn,Cn);var Sn=Math.round(qe*degree);if(bn){var xn=1/this._p,En=(hn?1:-1)*(PI2$1-xn);this._add("A",Fe,Ue,Sn,1,+hn,$e+Fe*mathCos(At+En),Ie+Ue*mathSin(At+En)),xn>.01&&this._add("A",Fe,Ue,Sn,0,+hn,kn,Cn)}else{var Tn=$e+Fe*mathCos(Dt),An=Ie+Ue*mathSin(Dt);this._add("A",Fe,Ue,Sn,+wn,+hn,Tn,An)}},xe.prototype.rect=function($e,Ie,Fe,Ue){this._add("M",$e,Ie),this._add("l",Fe,0),this._add("l",0,Ue),this._add("l",-Fe,0),this._add("Z")},xe.prototype.closePath=function(){this._d.length>0&&this._add("Z")},xe.prototype._add=function($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){for(var hn=[],vn=this._p,bn=1;bn<arguments.length;bn++){var _n=arguments[bn];if(isNaN(_n)){this._invalid=!0;return}hn.push(Math.round(_n*vn)/vn)}this._d.push($e+hn.join(" ")),this._start=$e==="Z"},xe.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},xe.prototype.getStr=function(){return this._str},xe}(),NONE="none",mathRound=Math.round;function pathHasFill(xe){var $e=xe.fill;return $e!=null&&$e!==NONE}function pathHasStroke(xe){var $e=xe.stroke;return $e!=null&&$e!==NONE}var strokeProps=["lineCap","miterLimit","lineJoin"],svgStrokeProps=map$1(strokeProps,function(xe){return"stroke-"+xe.toLowerCase()});function mapStyleToAttrs(xe,$e,Ie,Fe){var Ue=$e.opacity==null?1:$e.opacity;if(Ie instanceof ZRImage){xe("opacity",Ue);return}if(pathHasFill($e)){var qe=normalizeColor($e.fill);xe("fill",qe.color);var At=$e.fillOpacity!=null?$e.fillOpacity*qe.opacity*Ue:qe.opacity*Ue;At<1&&xe("fill-opacity",At)}else xe("fill",NONE);if(pathHasStroke($e)){var Dt=normalizeColor($e.stroke);xe("stroke",Dt.color);var Lt=$e.strokeNoScale?Ie.getLineScale():1,jt=Lt?($e.lineWidth||0)/Lt:0,hn=$e.strokeOpacity!=null?$e.strokeOpacity*Dt.opacity*Ue:Dt.opacity*Ue,vn=$e.strokeFirst;if(jt!==1&&xe("stroke-width",jt),vn&&xe("paint-order",vn?"stroke":"fill"),hn<1&&xe("stroke-opacity",hn),$e.lineDash){var bn=getLineDash(Ie),_n=bn[0],wn=bn[1];_n&&(wn=mathRound(wn||0),xe("stroke-dasharray",_n.join(",")),(wn||Fe)&&xe("stroke-dashoffset",wn))}for(var kn=0;kn<strokeProps.length;kn++){var Cn=strokeProps[kn];if($e[Cn]!==DEFAULT_PATH_STYLE[Cn]){var Sn=$e[Cn]||DEFAULT_PATH_STYLE[Cn];Sn&&xe(svgStrokeProps[kn],Sn)}}}}var SVGNS="http://www.w3.org/2000/svg",XLINKNS="http://www.w3.org/1999/xlink",XMLNS="http://www.w3.org/2000/xmlns/",XML_NAMESPACE="http://www.w3.org/XML/1998/namespace",META_DATA_PREFIX="ecmeta_";function createElement(xe){return document.createElementNS(SVGNS,xe)}function createVNode(xe,$e,Ie,Fe,Ue){return{tag:xe,attrs:Ie||{},children:Fe,text:Ue,key:$e}}function createElementOpen(xe,$e){var Ie=[];if($e)for(var Fe in $e){var Ue=$e[Fe],qe=Fe;Ue!==!1&&(Ue!==!0&&Ue!=null&&(qe+='="'+Ue+'"'),Ie.push(qe))}return"<"+xe+" "+Ie.join(" ")+">"}function createElementClose(xe){return"</"+xe+">"}function vNodeToString(xe,$e){$e=$e||{};var Ie=$e.newline?`
`:"";function Fe(Ue){var qe=Ue.children,At=Ue.tag,Dt=Ue.attrs,Lt=Ue.text;return createElementOpen(At,Dt)+(At!=="style"?encodeHTML(Lt):Lt||"")+(qe?""+Ie+map$1(qe,function(jt){return Fe(jt)}).join(Ie)+Ie:"")+createElementClose(At)}return Fe(xe)}function getCssString(xe,$e,Ie){Ie=Ie||{};var Fe=Ie.newline?`
`:"",Ue=" {"+Fe,qe=Fe+"}",At=map$1(keys(xe),function(Lt){return Lt+Ue+map$1(keys(xe[Lt]),function(jt){return jt+":"+xe[Lt][jt]+";"}).join(Fe)+qe}).join(Fe),Dt=map$1(keys($e),function(Lt){return"@keyframes "+Lt+Ue+map$1(keys($e[Lt]),function(jt){return jt+Ue+map$1(keys($e[Lt][jt]),function(hn){var vn=$e[Lt][jt][hn];return hn==="d"&&(vn='path("'+vn+'")'),hn+":"+vn+";"}).join(Fe)+qe}).join(Fe)+qe}).join(Fe);return!At&&!Dt?"":["<![CDATA[",At,Dt,"]]>"].join(Fe)}function createBrushScope(xe){return{zrId:xe,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(xe,$e,Ie,Fe){return createVNode("svg","root",{width:xe,height:$e,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:Fe?"0 0 "+xe+" "+$e:!1},Ie)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},transformOriginKey="transform-origin";function buildPathString(xe,$e,Ie){var Fe=extend$1({},xe.shape);extend$1(Fe,$e),xe.buildPath(Ie,Fe);var Ue=new SVGPathRebuilder;return Ue.reset(getPathPrecision(xe)),Ie.rebuildPath(Ue,1),Ue.generateStr(),Ue.getStr()}function setTransformOrigin(xe,$e){var Ie=$e.originX,Fe=$e.originY;(Ie||Fe)&&(xe[transformOriginKey]=Ie+"px "+Fe+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(xe,$e){var Ie=$e.zrId+"-ani-"+$e.cssAnimIdx++;return $e.cssAnims[Ie]=xe,Ie}function createCompoundPathCSSAnimation(xe,$e,Ie){var Fe=xe.shape.paths,Ue={},qe,At;if(each$f(Fe,function(Lt){var jt=createBrushScope(Ie.zrId);jt.animation=!0,createCSSAnimation(Lt,{},jt,!0);var hn=jt.cssAnims,vn=jt.cssNodes,bn=keys(hn),_n=bn.length;if(_n){At=bn[_n-1];var wn=hn[At];for(var kn in wn){var Cn=wn[kn];Ue[kn]=Ue[kn]||{d:""},Ue[kn].d+=Cn.d||""}for(var Sn in vn){var xn=vn[Sn].animation;xn.indexOf(At)>=0&&(qe=xn)}}}),!!qe){$e.d=!1;var Dt=addAnimation(Ue,Ie);return qe.replace(At,Dt)}}function getEasingFunc(xe){return isString$2(xe)?EASING_MAP[xe]?"cubic-bezier("+EASING_MAP[xe]+")":createCubicEasingFunc(xe)?xe:"":""}function createCSSAnimation(xe,$e,Ie,Fe){var Ue=xe.animators,qe=Ue.length,At=[];if(xe instanceof CompoundPath$1){var Dt=createCompoundPathCSSAnimation(xe,$e,Ie);if(Dt)At.push(Dt);else if(!qe)return}else if(!qe)return;for(var Lt={},jt=0;jt<qe;jt++){var hn=Ue[jt],vn=[hn.getMaxTime()/1e3+"s"],bn=getEasingFunc(hn.getClip().easing),_n=hn.getDelay();bn?vn.push(bn):vn.push("linear"),_n&&vn.push(_n/1e3+"s"),hn.getLoop()&&vn.push("infinite");var wn=vn.join(" ");Lt[wn]=Lt[wn]||[wn,[]],Lt[wn][1].push(hn)}function kn(xn){var En=xn[1],Tn=En.length,An={},$n={},Pn={},Nn="animation-timing-function";function Mn(Yn,ar,tr){for(var or=Yn.getTracks(),sr=Yn.getMaxTime(),Kn=0;Kn<or.length;Kn++){var Zn=or[Kn];if(Zn.needsAnimate()){var nr=Zn.keyframes,lr=Zn.propName;if(tr&&(lr=tr(lr)),lr)for(var ir=0;ir<nr.length;ir++){var kr=nr[ir],Cr=Math.round(kr.time/sr*100)+"%",Er=getEasingFunc(kr.easing),dr=kr.rawValue;(isString$2(dr)||isNumber$2(dr))&&(ar[Cr]=ar[Cr]||{},ar[Cr][lr]=kr.rawValue,Er&&(ar[Cr][Nn]=Er))}}}}for(var In=0;In<Tn;In++){var On=En[In],Rn=On.targetName;Rn?Rn==="shape"&&Mn(On,$n):!Fe&&Mn(On,An)}for(var Bn in An){var Vn={};copyTransform(Vn,xe),extend$1(Vn,An[Bn]);var Ln=getSRTTransformString(Vn),Dn=An[Bn][Nn];Pn[Bn]=Ln?{transform:Ln}:{},setTransformOrigin(Pn[Bn],Vn),Dn&&(Pn[Bn][Nn]=Dn)}var Hn,Fn=!0;for(var Bn in $n){Pn[Bn]=Pn[Bn]||{};var zn=!Hn,Dn=$n[Bn][Nn];zn&&(Hn=new PathProxy);var jn=Hn.len();Hn.reset(),Pn[Bn].d=buildPathString(xe,$n[Bn],Hn);var Gn=Hn.len();if(!zn&&jn!==Gn){Fn=!1;break}Dn&&(Pn[Bn][Nn]=Dn)}if(!Fn)for(var Bn in Pn)delete Pn[Bn].d;if(!Fe)for(var In=0;In<Tn;In++){var On=En[In],Rn=On.targetName;Rn==="style"&&Mn(On,Pn,function(or){return ANIMATE_STYLE_MAP[or]})}for(var Wn=keys(Pn),Xn=!0,er,In=1;In<Wn.length;In++){var rr=Wn[In-1],Jn=Wn[In];if(Pn[rr][transformOriginKey]!==Pn[Jn][transformOriginKey]){Xn=!1;break}er=Pn[rr][transformOriginKey]}if(Xn&&er){for(var Bn in Pn)Pn[Bn][transformOriginKey]&&delete Pn[Bn][transformOriginKey];$e[transformOriginKey]=er}if(filter(Wn,function(Yn){return keys(Pn[Yn]).length>0}).length){var qn=addAnimation(Pn,Ie);return qn+" "+xn[0]+" both"}}for(var Cn in Lt){var Dt=kn(Lt[Cn]);Dt&&At.push(Dt)}if(At.length){var Sn=Ie.zrId+"-cls-"+getClassId();Ie.cssNodes["."+Sn]={animation:At.join(",")},$e.class=Sn}}function createCSSEmphasis(xe,$e,Ie){if(!xe.ignore)if(xe.isSilent()){var Fe={"pointer-events":"none"};setClassAttribute(Fe,$e,Ie)}else{var Ue=xe.states.emphasis&&xe.states.emphasis.style?xe.states.emphasis.style:{},qe=Ue.fill;if(!qe){var At=xe.style&&xe.style.fill,Dt=xe.states.select&&xe.states.select.style&&xe.states.select.style.fill,Lt=xe.currentStates.indexOf("select")>=0&&Dt||At;Lt&&(qe=liftColor(Lt))}var jt=Ue.lineWidth;if(jt){var hn=!Ue.strokeNoScale&&xe.transform?xe.transform[0]:1;jt=jt/hn}var Fe={cursor:"pointer"};qe&&(Fe.fill=qe),Ue.stroke&&(Fe.stroke=Ue.stroke),jt&&(Fe["stroke-width"]=jt),setClassAttribute(Fe,$e,Ie)}}function setClassAttribute(xe,$e,Ie,Fe){var Ue=JSON.stringify(xe),qe=Ie.cssStyleCache[Ue];qe||(qe=Ie.zrId+"-cls-"+getClassId(),Ie.cssStyleCache[Ue]=qe,Ie.cssNodes["."+qe+":hover"]=xe),$e.class=$e.class?$e.class+" "+qe:qe}var round$1=Math.round;function isImageLike(xe){return xe&&isString$2(xe.src)}function isCanvasLike(xe){return xe&&isFunction$2(xe.toDataURL)}function setStyleAttrs(xe,$e,Ie,Fe){mapStyleToAttrs(function(Ue,qe){var At=Ue==="fill"||Ue==="stroke";At&&isGradient(qe)?setGradient($e,xe,Ue,Fe):At&&isPattern(qe)?setPattern(Ie,xe,Ue,Fe):At&&qe==="none"?xe[Ue]="transparent":xe[Ue]=qe},$e,Ie,!1),setShadow(Ie,xe,Fe)}function setMetaData(xe,$e){var Ie=getElementSSRData($e);Ie&&(Ie.each(function(Fe,Ue){Fe!=null&&(xe[(META_DATA_PREFIX+Ue).toLowerCase()]=Fe+"")}),$e.isSilent()&&(xe[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(xe){return isAroundZero(xe[0]-1)&&isAroundZero(xe[1])&&isAroundZero(xe[2])&&isAroundZero(xe[3]-1)}function noTranslate(xe){return isAroundZero(xe[4])&&isAroundZero(xe[5])}function setTransform(xe,$e,Ie){if($e&&!(noTranslate($e)&&noRotateScale($e))){var Fe=1e4;xe.transform=noRotateScale($e)?"translate("+round$1($e[4]*Fe)/Fe+" "+round$1($e[5]*Fe)/Fe+")":getMatrixStr($e)}}function convertPolyShape(xe,$e,Ie){for(var Fe=xe.points,Ue=[],qe=0;qe<Fe.length;qe++)Ue.push(round$1(Fe[qe][0]*Ie)/Ie),Ue.push(round$1(Fe[qe][1]*Ie)/Ie);$e.points=Ue.join(" ")}function validatePolyShape(xe){return!xe.smooth}function createAttrsConvert(xe){var $e=map$1(xe,function(Ie){return typeof Ie=="string"?[Ie,Ie]:Ie});return function(Ie,Fe,Ue){for(var qe=0;qe<$e.length;qe++){var At=$e[qe],Dt=Ie[At[0]];Dt!=null&&(Fe[At[1]]=round$1(Dt*Ue)/Ue)}}}var builtinShapesDef={circle:[createAttrsConvert(["cx","cy","r"])],polyline:[convertPolyShape,validatePolyShape],polygon:[convertPolyShape,validatePolyShape]};function hasShapeAnimation(xe){for(var $e=xe.animators,Ie=0;Ie<$e.length;Ie++)if($e[Ie].targetName==="shape")return!0;return!1}function brushSVGPath(xe,$e){var Ie=xe.style,Fe=xe.shape,Ue=builtinShapesDef[xe.type],qe={},At=$e.animation,Dt="path",Lt=xe.style.strokePercent,jt=$e.compress&&getPathPrecision(xe)||4;if(Ue&&!$e.willUpdate&&!(Ue[1]&&!Ue[1](Fe))&&!(At&&hasShapeAnimation(xe))&&!(Lt<1)){Dt=xe.type;var hn=Math.pow(10,jt);Ue[0](Fe,qe,hn)}else{var vn=!xe.path||xe.shapeChanged();xe.path||xe.createPathProxy();var bn=xe.path;vn&&(bn.beginPath(),xe.buildPath(bn,xe.shape),xe.pathUpdated());var _n=bn.getVersion(),wn=xe,kn=wn.__svgPathBuilder;(wn.__svgPathVersion!==_n||!kn||Lt!==wn.__svgPathStrokePercent)&&(kn||(kn=wn.__svgPathBuilder=new SVGPathRebuilder),kn.reset(jt),bn.rebuildPath(kn,Lt),kn.generateStr(),wn.__svgPathVersion=_n,wn.__svgPathStrokePercent=Lt),qe.d=kn.getStr()}return setTransform(qe,xe.transform),setStyleAttrs(qe,Ie,xe,$e),setMetaData(qe,xe),$e.animation&&createCSSAnimation(xe,qe,$e),$e.emphasis&&createCSSEmphasis(xe,qe,$e),createVNode(Dt,xe.id+"",qe)}function brushSVGImage(xe,$e){var Ie=xe.style,Fe=Ie.image;if(Fe&&!isString$2(Fe)&&(isImageLike(Fe)?Fe=Fe.src:isCanvasLike(Fe)&&(Fe=Fe.toDataURL())),!!Fe){var Ue=Ie.x||0,qe=Ie.y||0,At=Ie.width,Dt=Ie.height,Lt={href:Fe,width:At,height:Dt};return Ue&&(Lt.x=Ue),qe&&(Lt.y=qe),setTransform(Lt,xe.transform),setStyleAttrs(Lt,Ie,xe,$e),setMetaData(Lt,xe),$e.animation&&createCSSAnimation(xe,Lt,$e),createVNode("image",xe.id+"",Lt)}}function brushSVGTSpan(xe,$e){var Ie=xe.style,Fe=Ie.text;if(Fe!=null&&(Fe+=""),!(!Fe||isNaN(Ie.x)||isNaN(Ie.y))){var Ue=Ie.font||DEFAULT_FONT,qe=Ie.x||0,At=adjustTextY$1(Ie.y||0,getLineHeight(Ue),Ie.textBaseline),Dt=TEXT_ALIGN_TO_ANCHOR[Ie.textAlign]||Ie.textAlign,Lt={"dominant-baseline":"central","text-anchor":Dt};if(hasSeparateFont(Ie)){var jt="",hn=Ie.fontStyle,vn=parseFontSize(Ie.fontSize);if(!parseFloat(vn))return;var bn=Ie.fontFamily||DEFAULT_FONT_FAMILY,_n=Ie.fontWeight;jt+="font-size:"+vn+";font-family:"+bn+";",hn&&hn!=="normal"&&(jt+="font-style:"+hn+";"),_n&&_n!=="normal"&&(jt+="font-weight:"+_n+";"),Lt.style=jt}else Lt.style="font: "+Ue;return Fe.match(/\s/)&&(Lt["xml:space"]="preserve"),qe&&(Lt.x=qe),At&&(Lt.y=At),setTransform(Lt,xe.transform),setStyleAttrs(Lt,Ie,xe,$e),setMetaData(Lt,xe),$e.animation&&createCSSAnimation(xe,Lt,$e),createVNode("text",xe.id+"",Lt,void 0,Fe)}}function brush(xe,$e){if(xe instanceof Path)return brushSVGPath(xe,$e);if(xe instanceof ZRImage)return brushSVGImage(xe,$e);if(xe instanceof TSpan)return brushSVGTSpan(xe,$e)}function setShadow(xe,$e,Ie){var Fe=xe.style;if(hasShadow(Fe)){var Ue=getShadowKey(xe),qe=Ie.shadowCache,At=qe[Ue];if(!At){var Dt=xe.getGlobalScale(),Lt=Dt[0],jt=Dt[1];if(!Lt||!jt)return;var hn=Fe.shadowOffsetX||0,vn=Fe.shadowOffsetY||0,bn=Fe.shadowBlur,_n=normalizeColor(Fe.shadowColor),wn=_n.opacity,kn=_n.color,Cn=bn/2/Lt,Sn=bn/2/jt,xn=Cn+" "+Sn;At=Ie.zrId+"-s"+Ie.shadowIdx++,Ie.defs[At]=createVNode("filter",At,{id:At,x:"-100%",y:"-100%",width:"300%",height:"300%"},[createVNode("feDropShadow","",{dx:hn/Lt,dy:vn/jt,stdDeviation:xn,"flood-color":kn,"flood-opacity":wn})]),qe[Ue]=At}$e.filter=getIdURL(At)}}function setGradient(xe,$e,Ie,Fe){var Ue=xe[Ie],qe,At={gradientUnits:Ue.global?"userSpaceOnUse":"objectBoundingBox"};if(isLinearGradient(Ue))qe="linearGradient",At.x1=Ue.x,At.y1=Ue.y,At.x2=Ue.x2,At.y2=Ue.y2;else if(isRadialGradient(Ue))qe="radialGradient",At.cx=retrieve2(Ue.x,.5),At.cy=retrieve2(Ue.y,.5),At.r=retrieve2(Ue.r,.5);else return;for(var Dt=Ue.colorStops,Lt=[],jt=0,hn=Dt.length;jt<hn;++jt){var vn=round4(Dt[jt].offset)*100+"%",bn=Dt[jt].color,_n=normalizeColor(bn),wn=_n.color,kn=_n.opacity,Cn={offset:vn};Cn["stop-color"]=wn,kn<1&&(Cn["stop-opacity"]=kn),Lt.push(createVNode("stop",jt+"",Cn))}var Sn=createVNode(qe,"",At,Lt),xn=vNodeToString(Sn),En=Fe.gradientCache,Tn=En[xn];Tn||(Tn=Fe.zrId+"-g"+Fe.gradientIdx++,En[xn]=Tn,At.id=Tn,Fe.defs[Tn]=createVNode(qe,Tn,At,Lt)),$e[Ie]=getIdURL(Tn)}function setPattern(xe,$e,Ie,Fe){var Ue=xe.style[Ie],qe=xe.getBoundingRect(),At={},Dt=Ue.repeat,Lt=Dt==="no-repeat",jt=Dt==="repeat-x",hn=Dt==="repeat-y",vn;if(isImagePattern(Ue)){var bn=Ue.imageWidth,_n=Ue.imageHeight,wn=void 0,kn=Ue.image;if(isString$2(kn)?wn=kn:isImageLike(kn)?wn=kn.src:isCanvasLike(kn)&&(wn=kn.toDataURL()),typeof Image>"u"){var Cn="Image width/height must been given explictly in svg-ssr renderer.";assert(bn,Cn),assert(_n,Cn)}else if(bn==null||_n==null){var Sn=function(In,On){if(In){var Rn=In.elm,Bn=bn||On.width,Vn=_n||On.height;In.tag==="pattern"&&(jt?(Vn=1,Bn/=qe.width):hn&&(Bn=1,Vn/=qe.height)),In.attrs.width=Bn,In.attrs.height=Vn,Rn&&(Rn.setAttribute("width",Bn),Rn.setAttribute("height",Vn))}},xn=createOrUpdateImage(wn,null,xe,function(In){Lt||Sn($n,In),Sn(vn,In)});xn&&xn.width&&xn.height&&(bn=bn||xn.width,_n=_n||xn.height)}vn=createVNode("image","img",{href:wn,width:bn,height:_n}),At.width=bn,At.height=_n}else Ue.svgElement&&(vn=clone$4(Ue.svgElement),At.width=Ue.svgWidth,At.height=Ue.svgHeight);if(vn){var En,Tn;Lt?En=Tn=1:jt?(Tn=1,En=At.width/qe.width):hn?(En=1,Tn=At.height/qe.height):At.patternUnits="userSpaceOnUse",En!=null&&!isNaN(En)&&(At.width=En),Tn!=null&&!isNaN(Tn)&&(At.height=Tn);var An=getSRTTransformString(Ue);An&&(At.patternTransform=An);var $n=createVNode("pattern","",At,[vn]),Pn=vNodeToString($n),Nn=Fe.patternCache,Mn=Nn[Pn];Mn||(Mn=Fe.zrId+"-p"+Fe.patternIdx++,Nn[Pn]=Mn,At.id=Mn,$n=Fe.defs[Mn]=createVNode("pattern",Mn,At,[vn])),$e[Ie]=getIdURL(Mn)}}function setClipPath(xe,$e,Ie){var Fe=Ie.clipPathCache,Ue=Ie.defs,qe=Fe[xe.id];if(!qe){qe=Ie.zrId+"-c"+Ie.clipPathIdx++;var At={id:qe};Fe[xe.id]=qe,Ue[qe]=createVNode("clipPath",qe,At,[brushSVGPath(xe,Ie)])}$e["clip-path"]=getIdURL(qe)}function createTextNode(xe){return document.createTextNode(xe)}function insertBefore(xe,$e,Ie){xe.insertBefore($e,Ie)}function removeChild(xe,$e){xe.removeChild($e)}function appendChild(xe,$e){xe.appendChild($e)}function parentNode(xe){return xe.parentNode}function nextSibling(xe){return xe.nextSibling}function setTextContent(xe,$e){xe.textContent=$e}var colonChar=58,xChar=120,emptyNode=createVNode("","");function isUndef(xe){return xe===void 0}function isDef$1(xe){return xe!==void 0}function createKeyToOldIdx(xe,$e,Ie){for(var Fe={},Ue=$e;Ue<=Ie;++Ue){var qe=xe[Ue].key;qe!==void 0&&(Fe[qe]=Ue)}return Fe}function sameVnode(xe,$e){var Ie=xe.key===$e.key,Fe=xe.tag===$e.tag;return Fe&&Ie}function createElm(xe){var $e,Ie=xe.children,Fe=xe.tag;if(isDef$1(Fe)){var Ue=xe.elm=createElement(Fe);if(updateAttrs(emptyNode,xe),isArray$2(Ie))for($e=0;$e<Ie.length;++$e){var qe=Ie[$e];qe!=null&&appendChild(Ue,createElm(qe))}else isDef$1(xe.text)&&!isObject$4(xe.text)&&appendChild(Ue,createTextNode(xe.text))}else xe.elm=createTextNode(xe.text);return xe.elm}function addVnodes(xe,$e,Ie,Fe,Ue){for(;Fe<=Ue;++Fe){var qe=Ie[Fe];qe!=null&&insertBefore(xe,createElm(qe),$e)}}function removeVnodes(xe,$e,Ie,Fe){for(;Ie<=Fe;++Ie){var Ue=$e[Ie];if(Ue!=null)if(isDef$1(Ue.tag)){var qe=parentNode(Ue.elm);removeChild(qe,Ue.elm)}else removeChild(xe,Ue.elm)}}function updateAttrs(xe,$e){var Ie,Fe=$e.elm,Ue=xe&&xe.attrs||{},qe=$e.attrs||{};if(Ue!==qe){for(Ie in qe){var At=qe[Ie],Dt=Ue[Ie];Dt!==At&&(At===!0?Fe.setAttribute(Ie,""):At===!1?Fe.removeAttribute(Ie):Ie==="style"?Fe.style.cssText=At:Ie.charCodeAt(0)!==xChar?Fe.setAttribute(Ie,At):Ie==="xmlns:xlink"||Ie==="xmlns"?Fe.setAttributeNS(XMLNS,Ie,At):Ie.charCodeAt(3)===colonChar?Fe.setAttributeNS(XML_NAMESPACE,Ie,At):Ie.charCodeAt(5)===colonChar?Fe.setAttributeNS(XLINKNS,Ie,At):Fe.setAttribute(Ie,At))}for(Ie in Ue)Ie in qe||Fe.removeAttribute(Ie)}}function updateChildren(xe,$e,Ie){for(var Fe=0,Ue=0,qe=$e.length-1,At=$e[0],Dt=$e[qe],Lt=Ie.length-1,jt=Ie[0],hn=Ie[Lt],vn,bn,_n,wn;Fe<=qe&&Ue<=Lt;)At==null?At=$e[++Fe]:Dt==null?Dt=$e[--qe]:jt==null?jt=Ie[++Ue]:hn==null?hn=Ie[--Lt]:sameVnode(At,jt)?(patchVnode(At,jt),At=$e[++Fe],jt=Ie[++Ue]):sameVnode(Dt,hn)?(patchVnode(Dt,hn),Dt=$e[--qe],hn=Ie[--Lt]):sameVnode(At,hn)?(patchVnode(At,hn),insertBefore(xe,At.elm,nextSibling(Dt.elm)),At=$e[++Fe],hn=Ie[--Lt]):sameVnode(Dt,jt)?(patchVnode(Dt,jt),insertBefore(xe,Dt.elm,At.elm),Dt=$e[--qe],jt=Ie[++Ue]):(isUndef(vn)&&(vn=createKeyToOldIdx($e,Fe,qe)),bn=vn[jt.key],isUndef(bn)?insertBefore(xe,createElm(jt),At.elm):(_n=$e[bn],_n.tag!==jt.tag?insertBefore(xe,createElm(jt),At.elm):(patchVnode(_n,jt),$e[bn]=void 0,insertBefore(xe,_n.elm,At.elm))),jt=Ie[++Ue]);(Fe<=qe||Ue<=Lt)&&(Fe>qe?(wn=Ie[Lt+1]==null?null:Ie[Lt+1].elm,addVnodes(xe,wn,Ie,Ue,Lt)):removeVnodes(xe,$e,Fe,qe))}function patchVnode(xe,$e){var Ie=$e.elm=xe.elm,Fe=xe.children,Ue=$e.children;xe!==$e&&(updateAttrs(xe,$e),isUndef($e.text)?isDef$1(Fe)&&isDef$1(Ue)?Fe!==Ue&&updateChildren(Ie,Fe,Ue):isDef$1(Ue)?(isDef$1(xe.text)&&setTextContent(Ie,""),addVnodes(Ie,null,Ue,0,Ue.length-1)):isDef$1(Fe)?removeVnodes(Ie,Fe,0,Fe.length-1):isDef$1(xe.text)&&setTextContent(Ie,""):xe.text!==$e.text&&(isDef$1(Fe)&&removeVnodes(Ie,Fe,0,Fe.length-1),setTextContent(Ie,$e.text)))}function patch(xe,$e){if(sameVnode(xe,$e))patchVnode(xe,$e);else{var Ie=xe.elm,Fe=parentNode(Ie);createElm($e),Fe!==null&&(insertBefore(Fe,$e.elm,nextSibling(Ie)),removeVnodes(Fe,[xe],0,0))}return $e}var svgId=0,SVGPainter=function(){function xe($e,Ie,Fe){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=Ie,this._opts=Fe=extend$1({},Fe),this.root=$e,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(Fe.width,Fe.height),$e&&!Fe.ssr){var Ue=this._viewport=document.createElement("div");Ue.style.cssText="position:relative;overflow:hidden";var qe=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),Ue.appendChild(qe),$e.appendChild(Ue)}this.resize(Fe.width,Fe.height)}return xe.prototype.getType=function(){return this.type},xe.prototype.getViewportRoot=function(){return this._viewport},xe.prototype.getViewportRootOffset=function(){var $e=this.getViewportRoot();if($e)return{offsetLeft:$e.offsetLeft||0,offsetTop:$e.offsetTop||0}},xe.prototype.getSvgDom=function(){return this._svgDom},xe.prototype.refresh=function(){if(this.root){var $e=this.renderToVNode({willUpdate:!0});$e.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,$e),this._oldVNode=$e}},xe.prototype.renderOneToVNode=function($e){return brush($e,createBrushScope(this._id))},xe.prototype.renderToVNode=function($e){$e=$e||{};var Ie=this.storage.getDisplayList(!0),Fe=this._width,Ue=this._height,qe=createBrushScope(this._id);qe.animation=$e.animation,qe.willUpdate=$e.willUpdate,qe.compress=$e.compress,qe.emphasis=$e.emphasis;var At=[],Dt=this._bgVNode=createBackgroundVNode(Fe,Ue,this._backgroundColor,qe);Dt&&At.push(Dt);var Lt=$e.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(Ie,qe,Lt?Lt.children:At),Lt&&At.push(Lt);var jt=map$1(keys(qe.defs),function(bn){return qe.defs[bn]});if(jt.length&&At.push(createVNode("defs","defs",{},jt)),$e.animation){var hn=getCssString(qe.cssNodes,qe.cssAnims,{newline:!0});if(hn){var vn=createVNode("style","stl",{},[],hn);At.push(vn)}}return createSVGVNode(Fe,Ue,At,$e.useViewBox)},xe.prototype.renderToString=function($e){return $e=$e||{},vNodeToString(this.renderToVNode({animation:retrieve2($e.cssAnimation,!0),emphasis:retrieve2($e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2($e.useViewBox,!0)}),{newline:!0})},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e},xe.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},xe.prototype._paintList=function($e,Ie,Fe){for(var Ue=$e.length,qe=[],At=0,Dt,Lt,jt=0,hn=0;hn<Ue;hn++){var vn=$e[hn];if(!vn.invisible){var bn=vn.__clipPaths,_n=bn&&bn.length||0,wn=Lt&&Lt.length||0,kn=void 0;for(kn=Math.max(_n-1,wn-1);kn>=0&&!(bn&&Lt&&bn[kn]===Lt[kn]);kn--);for(var Cn=wn-1;Cn>kn;Cn--)At--,Dt=qe[At-1];for(var Sn=kn+1;Sn<_n;Sn++){var xn={};setClipPath(bn[Sn],xn,Ie);var En=createVNode("g","clip-g-"+jt++,xn,[]);(Dt?Dt.children:Fe).push(En),qe[At++]=En,Dt=En}Lt=bn;var Tn=brush(vn,Ie);Tn&&(Dt?Dt.children:Fe).push(Tn)}}},xe.prototype.resize=function($e,Ie){var Fe=this._opts,Ue=this.root,qe=this._viewport;if($e!=null&&(Fe.width=$e),Ie!=null&&(Fe.height=Ie),Ue&&qe&&(qe.style.display="none",$e=getSize$1(Ue,0,Fe),Ie=getSize$1(Ue,1,Fe),qe.style.display=""),this._width!==$e||this._height!==Ie){if(this._width=$e,this._height=Ie,qe){var At=qe.style;At.width=$e+"px",At.height=Ie+"px"}if(isPattern(this._backgroundColor))this.refresh();else{var Dt=this._svgDom;Dt&&(Dt.setAttribute("width",$e),Dt.setAttribute("height",Ie));var Lt=this._bgVNode&&this._bgVNode.elm;Lt&&(Lt.setAttribute("width",$e),Lt.setAttribute("height",Ie))}}},xe.prototype.getWidth=function(){return this._width},xe.prototype.getHeight=function(){return this._height},xe.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},xe.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},xe.prototype.toDataURL=function($e){var Ie=this.renderToString(),Fe="data:image/svg+xml;";return $e?(Ie=encodeBase64(Ie),Ie&&Fe+"base64,"+Ie):Fe+"charset=UTF-8,"+encodeURIComponent(Ie)},xe}();function createMethodNotSupport(xe){return function(){}}function createBackgroundVNode(xe,$e,Ie,Fe){var Ue;if(Ie&&Ie!=="none")if(Ue=createVNode("rect","bg",{width:xe,height:$e,x:"0",y:"0"}),isGradient(Ie))setGradient({fill:Ie},Ue.attrs,"fill",Fe);else if(isPattern(Ie))setPattern({style:{fill:Ie},dirty:noop$2,getBoundingRect:function(){return{width:xe,height:$e}}},Ue.attrs,"fill",Fe);else{var qe=normalizeColor(Ie),At=qe.color,Dt=qe.opacity;Ue.attrs.fill=At,Dt<1&&(Ue.attrs["fill-opacity"]=Dt)}return Ue}function install$T(xe){xe.registerPainter("svg",SVGPainter)}function createDom(xe,$e,Ie){var Fe=platformApi.createCanvas(),Ue=$e.getWidth(),qe=$e.getHeight(),At=Fe.style;return At&&(At.position="absolute",At.left="0",At.top="0",At.width=Ue+"px",At.height=qe+"px",Fe.setAttribute("data-zr-dom-id",xe)),Fe.width=Ue*Ie,Fe.height=qe*Ie,Fe}var Layer=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;qe.motionBlur=!1,qe.lastFrameAlpha=.7,qe.dpr=1,qe.virtual=!1,qe.config={},qe.incremental=!1,qe.zlevel=0,qe.maxRepaintRectCount=5,qe.__dirty=!0,qe.__firstTimePaint=!0,qe.__used=!1,qe.__drawIndex=0,qe.__startIndex=0,qe.__endIndex=0,qe.__prevStartIndex=null,qe.__prevEndIndex=null;var At;Ue=Ue||devicePixelRatio,typeof Ie=="string"?At=createDom(Ie,Fe,Ue):isObject$4(Ie)&&(At=Ie,Ie=At.id),qe.id=Ie,qe.dom=At;var Dt=At.style;return Dt&&(disableUserSelect(At),At.onselectstart=function(){return!1},Dt.padding="0",Dt.margin="0",Dt.borderWidth="0"),qe.painter=Fe,qe.dpr=Ue,qe}return $e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},$e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},$e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},$e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},$e.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)},$e.prototype.createRepaintRects=function(Ie,Fe,Ue,qe){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var At=[],Dt=this.maxRepaintRectCount,Lt=!1,jt=new BoundingRect(0,0,0,0);function hn(xn){if(!(!xn.isFinite()||xn.isZero()))if(At.length===0){var En=new BoundingRect(0,0,0,0);En.copy(xn),At.push(En)}else{for(var Tn=!1,An=1/0,$n=0,Pn=0;Pn<At.length;++Pn){var Nn=At[Pn];if(Nn.intersect(xn)){var Mn=new BoundingRect(0,0,0,0);Mn.copy(Nn),Mn.union(xn),At[Pn]=Mn,Tn=!0;break}else if(Lt){jt.copy(xn),jt.union(Nn);var In=xn.width*xn.height,On=Nn.width*Nn.height,Rn=jt.width*jt.height,Bn=Rn-In-On;Bn<An&&(An=Bn,$n=Pn)}}if(Lt&&(At[$n].union(xn),Tn=!0),!Tn){var En=new BoundingRect(0,0,0,0);En.copy(xn),At.push(En)}Lt||(Lt=At.length>=Dt)}}for(var vn=this.__startIndex;vn<this.__endIndex;++vn){var bn=Ie[vn];if(bn){var _n=bn.shouldBePainted(Ue,qe,!0,!0),wn=bn.__isRendered&&(bn.__dirty&REDRAW_BIT||!_n)?bn.getPrevPaintRect():null;wn&&hn(wn);var kn=_n&&(bn.__dirty&REDRAW_BIT||!bn.__isRendered)?bn.getPaintRect():null;kn&&hn(kn)}}for(var vn=this.__prevStartIndex;vn<this.__prevEndIndex;++vn){var bn=Fe[vn],_n=bn&&bn.shouldBePainted(Ue,qe,!0,!0);if(bn&&(!_n||!bn.__zr)&&bn.__isRendered){var wn=bn.getPrevPaintRect();wn&&hn(wn)}}var Cn;do{Cn=!1;for(var vn=0;vn<At.length;){if(At[vn].isZero()){At.splice(vn,1);continue}for(var Sn=vn+1;Sn<At.length;)At[vn].intersect(At[Sn])?(Cn=!0,At[vn].union(At[Sn]),At.splice(Sn,1)):Sn++;vn++}}while(Cn);return this._paintRects=At,At},$e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},$e.prototype.resize=function(Ie,Fe){var Ue=this.dpr,qe=this.dom,At=qe.style,Dt=this.domBack;At&&(At.width=Ie+"px",At.height=Fe+"px"),qe.width=Ie*Ue,qe.height=Fe*Ue,Dt&&(Dt.width=Ie*Ue,Dt.height=Fe*Ue,Ue!==1&&this.ctxBack.scale(Ue,Ue))},$e.prototype.clear=function(Ie,Fe,Ue){var qe=this.dom,At=this.ctx,Dt=qe.width,Lt=qe.height;Fe=Fe||this.clearColor;var jt=this.motionBlur&&!Ie,hn=this.lastFrameAlpha,vn=this.dpr,bn=this;jt&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(qe,0,0,Dt/vn,Lt/vn));var _n=this.domBack;function wn(kn,Cn,Sn,xn){if(At.clearRect(kn,Cn,Sn,xn),Fe&&Fe!=="transparent"){var En=void 0;if(isGradientObject(Fe)){var Tn=Fe.global||Fe.__width===Sn&&Fe.__height===xn;En=Tn&&Fe.__canvasGradient||getCanvasGradient(At,Fe,{x:0,y:0,width:Sn,height:xn}),Fe.__canvasGradient=En,Fe.__width=Sn,Fe.__height=xn}else isImagePatternObject(Fe)&&(Fe.scaleX=Fe.scaleX||vn,Fe.scaleY=Fe.scaleY||vn,En=createCanvasPattern(At,Fe,{dirty:function(){bn.setUnpainted(),bn.painter.refresh()}}));At.save(),At.fillStyle=En||Fe,At.fillRect(kn,Cn,Sn,xn),At.restore()}jt&&(At.save(),At.globalAlpha=hn,At.drawImage(_n,kn,Cn,Sn,xn),At.restore())}!Ue||jt?wn(0,0,Dt,Lt):Ue.length&&each$f(Ue,function(kn){wn(kn.x*vn,kn.y*vn,kn.width*vn,kn.height*vn)})},$e}(Eventful),HOVER_LAYER_ZLEVEL=1e5,CANVAS_ZLEVEL=314159,EL_AFTER_INCREMENTAL_INC=.01,INCREMENTAL_INC=.001;function isLayerValid(xe){return xe?xe.__builtin__?!0:!(typeof xe.resize!="function"||typeof xe.refresh!="function"):!1}function createRoot(xe,$e){var Ie=document.createElement("div");return Ie.style.cssText=["position:relative","width:"+xe+"px","height:"+$e+"px","padding:0","margin:0","border-width:0"].join(";")+";",Ie}var CanvasPainter=function(){function xe($e,Ie,Fe,Ue){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var qe=!$e.nodeName||$e.nodeName.toUpperCase()==="CANVAS";this._opts=Fe=extend$1({},Fe||{}),this.dpr=Fe.devicePixelRatio||devicePixelRatio,this._singleCanvas=qe,this.root=$e;var At=$e.style;At&&(disableUserSelect($e),$e.innerHTML=""),this.storage=Ie;var Dt=this._zlevelList;this._prevDisplayList=[];var Lt=this._layers;if(qe){var hn=$e,vn=hn.width,bn=hn.height;Fe.width!=null&&(vn=Fe.width),Fe.height!=null&&(bn=Fe.height),this.dpr=Fe.devicePixelRatio||1,hn.width=vn*this.dpr,hn.height=bn*this.dpr,this._width=vn,this._height=bn;var _n=new Layer(hn,this,this.dpr);_n.__builtin__=!0,_n.initContext(),Lt[CANVAS_ZLEVEL]=_n,_n.zlevel=CANVAS_ZLEVEL,Dt.push(CANVAS_ZLEVEL),this._domRoot=$e}else{this._width=getSize$1($e,0,Fe),this._height=getSize$1($e,1,Fe);var jt=this._domRoot=createRoot(this._width,this._height);$e.appendChild(jt)}}return xe.prototype.getType=function(){return"canvas"},xe.prototype.isSingleCanvas=function(){return this._singleCanvas},xe.prototype.getViewportRoot=function(){return this._domRoot},xe.prototype.getViewportRootOffset=function(){var $e=this.getViewportRoot();if($e)return{offsetLeft:$e.offsetLeft||0,offsetTop:$e.offsetTop||0}},xe.prototype.refresh=function($e){var Ie=this.storage.getDisplayList(!0),Fe=this._prevDisplayList,Ue=this._zlevelList;this._redrawId=Math.random(),this._paintList(Ie,Fe,$e,this._redrawId);for(var qe=0;qe<Ue.length;qe++){var At=Ue[qe],Dt=this._layers[At];if(!Dt.__builtin__&&Dt.refresh){var Lt=qe===0?this._backgroundColor:null;Dt.refresh(Lt)}}return this._opts.useDirtyRect&&(this._prevDisplayList=Ie.slice()),this},xe.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},xe.prototype._paintHoverList=function($e){var Ie=$e.length,Fe=this._hoverlayer;if(Fe&&Fe.clear(),!!Ie){for(var Ue={inHover:!0,viewWidth:this._width,viewHeight:this._height},qe,At=0;At<Ie;At++){var Dt=$e[At];Dt.__inHover&&(Fe||(Fe=this._hoverlayer=this.getLayer(HOVER_LAYER_ZLEVEL)),qe||(qe=Fe.ctx,qe.save()),brush$1(qe,Dt,Ue,At===Ie-1))}qe&&qe.restore()}},xe.prototype.getHoverLayer=function(){return this.getLayer(HOVER_LAYER_ZLEVEL)},xe.prototype.paintOne=function($e,Ie){brushSingle($e,Ie)},xe.prototype._paintList=function($e,Ie,Fe,Ue){if(this._redrawId===Ue){Fe=Fe||!1,this._updateLayerStatus($e);var qe=this._doPaintList($e,Ie,Fe),At=qe.finished,Dt=qe.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),Dt&&this._paintHoverList($e),At)this.eachLayer(function(jt){jt.afterBrush&&jt.afterBrush()});else{var Lt=this;requestAnimationFrame$2(function(){Lt._paintList($e,Ie,Fe,Ue)})}}},xe.prototype._compositeManually=function(){var $e=this.getLayer(CANVAS_ZLEVEL).ctx,Ie=this._domRoot.width,Fe=this._domRoot.height;$e.clearRect(0,0,Ie,Fe),this.eachBuiltinLayer(function(Ue){Ue.virtual&&$e.drawImage(Ue.dom,0,0,Ie,Fe)})},xe.prototype._doPaintList=function($e,Ie,Fe){for(var Ue=this,qe=[],At=this._opts.useDirtyRect,Dt=0;Dt<this._zlevelList.length;Dt++){var Lt=this._zlevelList[Dt],jt=this._layers[Lt];jt.__builtin__&&jt!==this._hoverlayer&&(jt.__dirty||Fe)&&qe.push(jt)}for(var hn=!0,vn=!1,bn=function(kn){var Cn=qe[kn],Sn=Cn.ctx,xn=At&&Cn.createRepaintRects($e,Ie,_n._width,_n._height),En=Fe?Cn.__startIndex:Cn.__drawIndex,Tn=!Fe&&Cn.incremental&&Date.now,An=Tn&&Date.now(),$n=Cn.zlevel===_n._zlevelList[0]?_n._backgroundColor:null;if(Cn.__startIndex===Cn.__endIndex)Cn.clear(!1,$n,xn);else if(En===Cn.__startIndex){var Pn=$e[En];(!Pn.incremental||!Pn.notClear||Fe)&&Cn.clear(!1,$n,xn)}En===-1&&(console.error("For some unknown reason. drawIndex is -1"),En=Cn.__startIndex);var Nn,Mn=function(Bn){var Vn={inHover:!1,allClipped:!1,prevEl:null,viewWidth:Ue._width,viewHeight:Ue._height};for(Nn=En;Nn<Cn.__endIndex;Nn++){var Ln=$e[Nn];if(Ln.__inHover&&(vn=!0),Ue._doPaintEl(Ln,Cn,At,Bn,Vn,Nn===Cn.__endIndex-1),Tn){var Dn=Date.now()-An;if(Dn>15)break}}Vn.prevElClipPaths&&Sn.restore()};if(xn)if(xn.length===0)Nn=Cn.__endIndex;else for(var In=_n.dpr,On=0;On<xn.length;++On){var Rn=xn[On];Sn.save(),Sn.beginPath(),Sn.rect(Rn.x*In,Rn.y*In,Rn.width*In,Rn.height*In),Sn.clip(),Mn(Rn),Sn.restore()}else Sn.save(),Mn(),Sn.restore();Cn.__drawIndex=Nn,Cn.__drawIndex<Cn.__endIndex&&(hn=!1)},_n=this,wn=0;wn<qe.length;wn++)bn(wn);return env.wxa&&each$f(this._layers,function(kn){kn&&kn.ctx&&kn.ctx.draw&&kn.ctx.draw()}),{finished:hn,needsRefreshHover:vn}},xe.prototype._doPaintEl=function($e,Ie,Fe,Ue,qe,At){var Dt=Ie.ctx;if(Fe){var Lt=$e.getPaintRect();(!Ue||Lt&&Lt.intersect(Ue))&&(brush$1(Dt,$e,qe,At),$e.setPrevPaintRect(Lt))}else brush$1(Dt,$e,qe,At)},xe.prototype.getLayer=function($e,Ie){this._singleCanvas&&!this._needsManuallyCompositing&&($e=CANVAS_ZLEVEL);var Fe=this._layers[$e];return Fe||(Fe=new Layer("zr_"+$e,this,this.dpr),Fe.zlevel=$e,Fe.__builtin__=!0,this._layerConfig[$e]?merge$1(Fe,this._layerConfig[$e],!0):this._layerConfig[$e-EL_AFTER_INCREMENTAL_INC]&&merge$1(Fe,this._layerConfig[$e-EL_AFTER_INCREMENTAL_INC],!0),Ie&&(Fe.virtual=Ie),this.insertLayer($e,Fe),Fe.initContext()),Fe},xe.prototype.insertLayer=function($e,Ie){var Fe=this._layers,Ue=this._zlevelList,qe=Ue.length,At=this._domRoot,Dt=null,Lt=-1;if(!Fe[$e]&&isLayerValid(Ie)){if(qe>0&&$e>Ue[0]){for(Lt=0;Lt<qe-1&&!(Ue[Lt]<$e&&Ue[Lt+1]>$e);Lt++);Dt=Fe[Ue[Lt]]}if(Ue.splice(Lt+1,0,$e),Fe[$e]=Ie,!Ie.virtual)if(Dt){var jt=Dt.dom;jt.nextSibling?At.insertBefore(Ie.dom,jt.nextSibling):At.appendChild(Ie.dom)}else At.firstChild?At.insertBefore(Ie.dom,At.firstChild):At.appendChild(Ie.dom);Ie.painter||(Ie.painter=this)}},xe.prototype.eachLayer=function($e,Ie){for(var Fe=this._zlevelList,Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];$e.call(Ie,this._layers[qe],qe)}},xe.prototype.eachBuiltinLayer=function($e,Ie){for(var Fe=this._zlevelList,Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue],At=this._layers[qe];At.__builtin__&&$e.call(Ie,At,qe)}},xe.prototype.eachOtherLayer=function($e,Ie){for(var Fe=this._zlevelList,Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue],At=this._layers[qe];At.__builtin__||$e.call(Ie,At,qe)}},xe.prototype.getLayers=function(){return this._layers},xe.prototype._updateLayerStatus=function($e){this.eachBuiltinLayer(function(vn,bn){vn.__dirty=vn.__used=!1});function Ie(vn){qe&&(qe.__endIndex!==vn&&(qe.__dirty=!0),qe.__endIndex=vn)}if(this._singleCanvas)for(var Fe=1;Fe<$e.length;Fe++){var Ue=$e[Fe];if(Ue.zlevel!==$e[Fe-1].zlevel||Ue.incremental){this._needsManuallyCompositing=!0;break}}var qe=null,At=0,Dt,Lt;for(Lt=0;Lt<$e.length;Lt++){var Ue=$e[Lt],jt=Ue.zlevel,hn=void 0;Dt!==jt&&(Dt=jt,At=0),Ue.incremental?(hn=this.getLayer(jt+INCREMENTAL_INC,this._needsManuallyCompositing),hn.incremental=!0,At=1):hn=this.getLayer(jt+(At>0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),hn.__builtin__||logError("ZLevel "+jt+" has been used by unkown layer "+hn.id),hn!==qe&&(hn.__used=!0,hn.__startIndex!==Lt&&(hn.__dirty=!0),hn.__startIndex=Lt,hn.incremental?hn.__drawIndex=-1:hn.__drawIndex=Lt,Ie(Lt),qe=hn),Ue.__dirty&REDRAW_BIT&&!Ue.__inHover&&(hn.__dirty=!0,hn.incremental&&hn.__drawIndex<0&&(hn.__drawIndex=Lt))}Ie(Lt),this.eachBuiltinLayer(function(vn,bn){!vn.__used&&vn.getElementCount()>0&&(vn.__dirty=!0,vn.__startIndex=vn.__endIndex=vn.__drawIndex=0),vn.__dirty&&vn.__drawIndex<0&&(vn.__drawIndex=vn.__startIndex)})},xe.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},xe.prototype._clearLayer=function($e){$e.clear()},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e,each$f(this._layers,function(Ie){Ie.setUnpainted()})},xe.prototype.configLayer=function($e,Ie){if(Ie){var Fe=this._layerConfig;Fe[$e]?merge$1(Fe[$e],Ie,!0):Fe[$e]=Ie;for(var Ue=0;Ue<this._zlevelList.length;Ue++){var qe=this._zlevelList[Ue];if(qe===$e||qe===$e+EL_AFTER_INCREMENTAL_INC){var At=this._layers[qe];merge$1(At,Fe[$e],!0)}}}},xe.prototype.delLayer=function($e){var Ie=this._layers,Fe=this._zlevelList,Ue=Ie[$e];Ue&&(Ue.dom.parentNode.removeChild(Ue.dom),delete Ie[$e],Fe.splice(indexOf(Fe,$e),1))},xe.prototype.resize=function($e,Ie){if(this._domRoot.style){var Fe=this._domRoot;Fe.style.display="none";var Ue=this._opts,qe=this.root;if($e!=null&&(Ue.width=$e),Ie!=null&&(Ue.height=Ie),$e=getSize$1(qe,0,Ue),Ie=getSize$1(qe,1,Ue),Fe.style.display="",this._width!==$e||Ie!==this._height){Fe.style.width=$e+"px",Fe.style.height=Ie+"px";for(var At in this._layers)this._layers.hasOwnProperty(At)&&this._layers[At].resize($e,Ie);this.refresh(!0)}this._width=$e,this._height=Ie}else{if($e==null||Ie==null)return;this._width=$e,this._height=Ie,this.getLayer(CANVAS_ZLEVEL).resize($e,Ie)}return this},xe.prototype.clearLayer=function($e){var Ie=this._layers[$e];Ie&&Ie.clear()},xe.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},xe.prototype.getRenderedCanvas=function($e){if($e=$e||{},this._singleCanvas&&!this._compositeManually)return this._layers[CANVAS_ZLEVEL].dom;var Ie=new Layer("image",this,$e.pixelRatio||this.dpr);Ie.initContext(),Ie.clear(!1,$e.backgroundColor||this._backgroundColor);var Fe=Ie.ctx;if($e.pixelRatio<=this.dpr){this.refresh();var Ue=Ie.dom.width,qe=Ie.dom.height;this.eachLayer(function(vn){vn.__builtin__?Fe.drawImage(vn.dom,0,0,Ue,qe):vn.renderToCanvas&&(Fe.save(),vn.renderToCanvas(Fe),Fe.restore())})}else for(var At={inHover:!1,viewWidth:this._width,viewHeight:this._height},Dt=this.storage.getDisplayList(!0),Lt=0,jt=Dt.length;Lt<jt;Lt++){var hn=Dt[Lt];brush$1(Fe,hn,At,Lt===jt-1)}return Ie.dom},xe.prototype.getWidth=function(){return this._width},xe.prototype.getHeight=function(){return this._height},xe}();function install$S(xe){xe.registerPainter("canvas",CanvasPainter)}var LineSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.getInitialData=function(Ie){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getLegendIcon=function(Ie){var Fe=new Group$3,Ue=createSymbol$1("line",0,Ie.itemHeight/2,Ie.itemWidth,0,Ie.lineStyle.stroke,!1);Fe.add(Ue),Ue.setStyle(Ie.lineStyle);var qe=this.getData().getVisual("symbol"),At=this.getData().getVisual("symbolRotate"),Dt=qe==="none"?"circle":qe,Lt=Ie.itemHeight*.8,jt=createSymbol$1(Dt,(Ie.itemWidth-Lt)/2,(Ie.itemHeight-Lt)/2,Lt,Lt,Ie.itemStyle.fill);Fe.add(jt),jt.setStyle(Ie.itemStyle);var hn=Ie.iconRotate==="inherit"?At:Ie.iconRotate||0;return jt.rotation=hn*Math.PI/180,jt.setOrigin([Ie.itemWidth/2,Ie.itemHeight/2]),Dt.indexOf("empty")>-1&&(jt.style.stroke=jt.style.fill,jt.style.fill="#fff",jt.style.lineWidth=2),Fe},$e.type="series.line",$e.dependencies=["grid","polar"],$e.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},$e}(SeriesModel);function getDefaultLabel(xe,$e){var Ie=xe.mapDimensionsAll("defaultedLabel"),Fe=Ie.length;if(Fe===1){var Ue=retrieveRawValue(xe,$e,Ie[0]);return Ue!=null?Ue+"":null}else if(Fe){for(var qe=[],At=0;At<Ie.length;At++)qe.push(retrieveRawValue(xe,$e,Ie[At]));return qe.join(" ")}}function getDefaultInterpolatedLabel(xe,$e){var Ie=xe.mapDimensionsAll("defaultedLabel");if(!isArray$2($e))return $e+"";for(var Fe=[],Ue=0;Ue<Ie.length;Ue++){var qe=xe.getDimensionIndex(Ie[Ue]);qe>=0&&Fe.push($e[qe])}return Fe.join(" ")}var Symbol$1=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;return At.updateData(Ie,Fe,Ue,qe),At}return $e.prototype._createSymbol=function(Ie,Fe,Ue,qe,At){this.removeAll();var Dt=createSymbol$1(Ie,-1,-1,2,2,null,At);Dt.attr({z2:100,culling:!0,scaleX:qe[0]/2,scaleY:qe[1]/2}),Dt.drift=driftSymbol,this._symbolType=Ie,this.add(Dt)},$e.prototype.stopSymbolAnimation=function(Ie){this.childAt(0).stopAnimation(null,Ie)},$e.prototype.getSymbolType=function(){return this._symbolType},$e.prototype.getSymbolPath=function(){return this.childAt(0)},$e.prototype.highlight=function(){enterEmphasis(this.childAt(0))},$e.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},$e.prototype.setZ=function(Ie,Fe){var Ue=this.childAt(0);Ue.zlevel=Ie,Ue.z=Fe},$e.prototype.setDraggable=function(Ie,Fe){var Ue=this.childAt(0);Ue.draggable=Ie,Ue.cursor=!Fe&&Ie?"move":Ue.cursor},$e.prototype.updateData=function(Ie,Fe,Ue,qe){this.silent=!1;var At=Ie.getItemVisual(Fe,"symbol")||"circle",Dt=Ie.hostModel,Lt=$e.getSymbolSize(Ie,Fe),jt=At!==this._symbolType,hn=qe&&qe.disableAnimation;if(jt){var vn=Ie.getItemVisual(Fe,"symbolKeepAspect");this._createSymbol(At,Ie,Fe,Lt,vn)}else{var bn=this.childAt(0);bn.silent=!1;var _n={scaleX:Lt[0]/2,scaleY:Lt[1]/2};hn?bn.attr(_n):updateProps$1(bn,_n,Dt,Fe),saveOldStyle(bn)}if(this._updateCommon(Ie,Fe,Lt,Ue,qe),jt){var bn=this.childAt(0);if(!hn){var _n={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:bn.style.opacity}};bn.scaleX=bn.scaleY=0,bn.style.opacity=0,initProps(bn,_n,Dt,Fe)}}hn&&this.childAt(0).stopAnimation("leave")},$e.prototype._updateCommon=function(Ie,Fe,Ue,qe,At){var Dt=this.childAt(0),Lt=Ie.hostModel,jt,hn,vn,bn,_n,wn,kn,Cn,Sn;if(qe&&(jt=qe.emphasisItemStyle,hn=qe.blurItemStyle,vn=qe.selectItemStyle,bn=qe.focus,_n=qe.blurScope,kn=qe.labelStatesModels,Cn=qe.hoverScale,Sn=qe.cursorStyle,wn=qe.emphasisDisabled),!qe||Ie.hasItemOption){var xn=qe&&qe.itemModel?qe.itemModel:Ie.getItemModel(Fe),En=xn.getModel("emphasis");jt=En.getModel("itemStyle").getItemStyle(),vn=xn.getModel(["select","itemStyle"]).getItemStyle(),hn=xn.getModel(["blur","itemStyle"]).getItemStyle(),bn=En.get("focus"),_n=En.get("blurScope"),wn=En.get("disabled"),kn=getLabelStatesModels(xn),Cn=En.getShallow("scale"),Sn=xn.getShallow("cursor")}var Tn=Ie.getItemVisual(Fe,"symbolRotate");Dt.attr("rotation",(Tn||0)*Math.PI/180||0);var An=normalizeSymbolOffset(Ie.getItemVisual(Fe,"symbolOffset"),Ue);An&&(Dt.x=An[0],Dt.y=An[1]),Sn&&Dt.attr("cursor",Sn);var $n=Ie.getItemVisual(Fe,"style"),Pn=$n.fill;if(Dt instanceof ZRImage){var Nn=Dt.style;Dt.useStyle(extend$1({image:Nn.image,x:Nn.x,y:Nn.y,width:Nn.width,height:Nn.height},$n))}else Dt.__isEmptyBrush?Dt.useStyle(extend$1({},$n)):Dt.useStyle($n),Dt.style.decal=null,Dt.setColor(Pn,At&&At.symbolInnerColor),Dt.style.strokeNoScale=!0;var Mn=Ie.getItemVisual(Fe,"liftZ"),In=this._z2;Mn!=null?In==null&&(this._z2=Dt.z2,Dt.z2+=Mn):In!=null&&(Dt.z2=In,this._z2=null);var On=At&&At.useNameLabel;setLabelStyle(Dt,kn,{labelFetcher:Lt,labelDataIndex:Fe,defaultText:Rn,inheritColor:Pn,defaultOpacity:$n.opacity});function Rn(Ln){return On?Ie.getName(Ln):getDefaultLabel(Ie,Ln)}this._sizeX=Ue[0]/2,this._sizeY=Ue[1]/2;var Bn=Dt.ensureState("emphasis");Bn.style=jt,Dt.ensureState("select").style=vn,Dt.ensureState("blur").style=hn;var Vn=Cn==null||Cn===!0?Math.max(1.1,3/this._sizeY):isFinite(Cn)&&Cn>0?+Cn:1;Bn.scaleX=this._sizeX*Vn,Bn.scaleY=this._sizeY*Vn,this.setSymbolScale(1),toggleHoverEmphasis(this,bn,_n,wn)},$e.prototype.setSymbolScale=function(Ie){this.scaleX=this.scaleY=Ie},$e.prototype.fadeOut=function(Ie,Fe,Ue){var qe=this.childAt(0),At=getECData(this).dataIndex,Dt=Ue&&Ue.animation;if(this.silent=qe.silent=!0,Ue&&Ue.fadeLabel){var Lt=qe.getTextContent();Lt&&removeElement(Lt,{style:{opacity:0}},Fe,{dataIndex:At,removeOpt:Dt,cb:function(){qe.removeTextContent()}})}else qe.removeTextContent();removeElement(qe,{style:{opacity:0},scaleX:0,scaleY:0},Fe,{dataIndex:At,cb:Ie,removeOpt:Dt})},$e.getSymbolSize=function(Ie,Fe){return normalizeSymbolSize(Ie.getItemVisual(Fe,"symbolSize"))},$e}(Group$3);function driftSymbol(xe,$e){this.parent.drift(xe,$e)}function symbolNeedsDraw$1(xe,$e,Ie,Fe){return $e&&!isNaN($e[0])&&!isNaN($e[1])&&!(Fe.isIgnore&&Fe.isIgnore(Ie))&&!(Fe.clipShape&&!Fe.clipShape.contain($e[0],$e[1]))&&xe.getItemVisual(Ie,"symbol")!=="none"}function normalizeUpdateOpt(xe){return xe!=null&&!isObject$4(xe)&&(xe={isIgnore:xe}),xe||{}}function makeSeriesScope$2(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{emphasisItemStyle:Ie.getModel("itemStyle").getItemStyle(),blurItemStyle:$e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:$e.getModel(["select","itemStyle"]).getItemStyle(),focus:Ie.get("focus"),blurScope:Ie.get("blurScope"),emphasisDisabled:Ie.get("disabled"),hoverScale:Ie.get("scale"),labelStatesModels:getLabelStatesModels($e),cursorStyle:$e.get("cursor")}}var SymbolDraw=function(){function xe($e){this.group=new Group$3,this._SymbolCtor=$e||Symbol$1}return xe.prototype.updateData=function($e,Ie){this._progressiveEls=null,Ie=normalizeUpdateOpt(Ie);var Fe=this.group,Ue=$e.hostModel,qe=this._data,At=this._SymbolCtor,Dt=Ie.disableAnimation,Lt=makeSeriesScope$2($e),jt={disableAnimation:Dt},hn=Ie.getSymbolPoint||function(vn){return $e.getItemLayout(vn)};qe||Fe.removeAll(),$e.diff(qe).add(function(vn){var bn=hn(vn);if(symbolNeedsDraw$1($e,bn,vn,Ie)){var _n=new At($e,vn,Lt,jt);_n.setPosition(bn),$e.setItemGraphicEl(vn,_n),Fe.add(_n)}}).update(function(vn,bn){var _n=qe.getItemGraphicEl(bn),wn=hn(vn);if(!symbolNeedsDraw$1($e,wn,vn,Ie)){Fe.remove(_n);return}var kn=$e.getItemVisual(vn,"symbol")||"circle",Cn=_n&&_n.getSymbolType&&_n.getSymbolType();if(!_n||Cn&&Cn!==kn)Fe.remove(_n),_n=new At($e,vn,Lt,jt),_n.setPosition(wn);else{_n.updateData($e,vn,Lt,jt);var Sn={x:wn[0],y:wn[1]};Dt?_n.attr(Sn):updateProps$1(_n,Sn,Ue)}Fe.add(_n),$e.setItemGraphicEl(vn,_n)}).remove(function(vn){var bn=qe.getItemGraphicEl(vn);bn&&bn.fadeOut(function(){Fe.remove(bn)},Ue)}).execute(),this._getSymbolPoint=hn,this._data=$e},xe.prototype.updateLayout=function(){var $e=this,Ie=this._data;Ie&&Ie.eachItemGraphicEl(function(Fe,Ue){var qe=$e._getSymbolPoint(Ue);Fe.setPosition(qe),Fe.markRedraw()})},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$2($e),this._data=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie,Fe){this._progressiveEls=[],Fe=normalizeUpdateOpt(Fe);function Ue(Lt){Lt.isGroup||(Lt.incremental=!0,Lt.ensureState("emphasis").hoverLayer=!0)}for(var qe=$e.start;qe<$e.end;qe++){var At=Ie.getItemLayout(qe);if(symbolNeedsDraw$1(Ie,At,qe,Fe)){var Dt=new this._SymbolCtor(Ie,qe,this._seriesScope);Dt.traverse(Ue),Dt.setPosition(At),this.group.add(Dt),Ie.setItemGraphicEl(qe,Dt),this._progressiveEls.push(Dt)}}},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype.remove=function($e){var Ie=this.group,Fe=this._data;Fe&&$e?Fe.eachItemGraphicEl(function(Ue){Ue.fadeOut(function(){Ie.remove(Ue)},Fe.hostModel)}):Ie.removeAll()},xe}();function prepareDataCoordInfo(xe,$e,Ie){var Fe=xe.getBaseAxis(),Ue=xe.getOtherAxis(Fe),qe=getValueStart(Ue,Ie),At=Fe.dim,Dt=Ue.dim,Lt=$e.mapDimension(Dt),jt=$e.mapDimension(At),hn=Dt==="x"||Dt==="radius"?1:0,vn=map$1(xe.dimensions,function(wn){return $e.mapDimension(wn)}),bn=!1,_n=$e.getCalculationInfo("stackResultDimension");return isDimensionStacked($e,vn[0])&&(bn=!0,vn[0]=_n),isDimensionStacked($e,vn[1])&&(bn=!0,vn[1]=_n),{dataDimsForPoint:vn,valueStart:qe,valueAxisDim:Dt,baseAxisDim:At,stacked:!!bn,valueDim:Lt,baseDim:jt,baseDataOffset:hn,stackedOverDimension:$e.getCalculationInfo("stackedOverDimension")}}function getValueStart(xe,$e){var Ie=0,Fe=xe.scale.getExtent();return $e==="start"?Ie=Fe[0]:$e==="end"?Ie=Fe[1]:isNumber$2($e)&&!isNaN($e)?Ie=$e:Fe[0]>0?Ie=Fe[0]:Fe[1]<0&&(Ie=Fe[1]),Ie}function getStackedOnPoint(xe,$e,Ie,Fe){var Ue=NaN;xe.stacked&&(Ue=Ie.get(Ie.getCalculationInfo("stackedOverDimension"),Fe)),isNaN(Ue)&&(Ue=xe.valueStart);var qe=xe.baseDataOffset,At=[];return At[qe]=Ie.get(xe.baseDim,Fe),At[1-qe]=Ue,$e.dataToPoint(At)}function diffData(xe,$e){var Ie=[];return $e.diff(xe).add(function(Fe){Ie.push({cmd:"+",idx:Fe})}).update(function(Fe,Ue){Ie.push({cmd:"=",idx:Ue,idx1:Fe})}).remove(function(Fe){Ie.push({cmd:"-",idx:Fe})}).execute(),Ie}function lineAnimationDiff(xe,$e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=diffData(xe,$e),jt=[],hn=[],vn=[],bn=[],_n=[],wn=[],kn=[],Cn=prepareDataCoordInfo(Ue,$e,At),Sn=xe.getLayout("points")||[],xn=$e.getLayout("points")||[],En=0;En<Lt.length;En++){var Tn=Lt[En],An=!0,$n=void 0,Pn=void 0;switch(Tn.cmd){case"=":$n=Tn.idx*2,Pn=Tn.idx1*2;var Nn=Sn[$n],Mn=Sn[$n+1],In=xn[Pn],On=xn[Pn+1];(isNaN(Nn)||isNaN(Mn))&&(Nn=In,Mn=On),jt.push(Nn,Mn),hn.push(In,On),vn.push(Ie[$n],Ie[$n+1]),bn.push(Fe[Pn],Fe[Pn+1]),kn.push($e.getRawIndex(Tn.idx1));break;case"+":var Rn=Tn.idx,Bn=Cn.dataDimsForPoint,Vn=Ue.dataToPoint([$e.get(Bn[0],Rn),$e.get(Bn[1],Rn)]);Pn=Rn*2,jt.push(Vn[0],Vn[1]),hn.push(xn[Pn],xn[Pn+1]);var Ln=getStackedOnPoint(Cn,Ue,$e,Rn);vn.push(Ln[0],Ln[1]),bn.push(Fe[Pn],Fe[Pn+1]),kn.push($e.getRawIndex(Rn));break;case"-":An=!1}An&&(_n.push(Tn),wn.push(wn.length))}wn.sort(function(rr,Jn){return kn[rr]-kn[Jn]});for(var Dn=jt.length,Hn=createFloat32Array(Dn),Fn=createFloat32Array(Dn),zn=createFloat32Array(Dn),jn=createFloat32Array(Dn),Gn=[],En=0;En<wn.length;En++){var Wn=wn[En],Xn=En*2,er=Wn*2;Hn[Xn]=jt[er],Hn[Xn+1]=jt[er+1],Fn[Xn]=hn[er],Fn[Xn+1]=hn[er+1],zn[Xn]=vn[er],zn[Xn+1]=vn[er+1],jn[Xn]=bn[er],jn[Xn+1]=bn[er+1],Gn[En]=_n[Wn]}return{current:Hn,next:Fn,stackedOnCurrent:zn,stackedOnNext:jn,status:Gn}}var mathMin$5=Math.min,mathMax$5=Math.max;function isPointNull$1(xe,$e){return isNaN(xe)||isNaN($e)}function drawSegment(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){for(var jt,hn,vn,bn,_n,wn,kn=Ie,Cn=0;Cn<Fe;Cn++){var Sn=$e[kn*2],xn=$e[kn*2+1];if(kn>=Ue||kn<0)break;if(isPointNull$1(Sn,xn)){if(Lt){kn+=qe;continue}break}if(kn===Ie)xe[qe>0?"moveTo":"lineTo"](Sn,xn),vn=Sn,bn=xn;else{var En=Sn-jt,Tn=xn-hn;if(En*En+Tn*Tn<.5){kn+=qe;continue}if(At>0){for(var An=kn+qe,$n=$e[An*2],Pn=$e[An*2+1];$n===Sn&&Pn===xn&&Cn<Fe;)Cn++,An+=qe,kn+=qe,$n=$e[An*2],Pn=$e[An*2+1],Sn=$e[kn*2],xn=$e[kn*2+1],En=Sn-jt,Tn=xn-hn;var Nn=Cn+1;if(Lt)for(;isPointNull$1($n,Pn)&&Nn<Fe;)Nn++,An+=qe,$n=$e[An*2],Pn=$e[An*2+1];var Mn=.5,In=0,On=0,Rn=void 0,Bn=void 0;if(Nn>=Fe||isPointNull$1($n,Pn))_n=Sn,wn=xn;else{In=$n-jt,On=Pn-hn;var Vn=Sn-jt,Ln=$n-Sn,Dn=xn-hn,Hn=Pn-xn,Fn=void 0,zn=void 0;if(Dt==="x"){Fn=Math.abs(Vn),zn=Math.abs(Ln);var jn=In>0?1:-1;_n=Sn-jn*Fn*At,wn=xn,Rn=Sn+jn*zn*At,Bn=xn}else if(Dt==="y"){Fn=Math.abs(Dn),zn=Math.abs(Hn);var Gn=On>0?1:-1;_n=Sn,wn=xn-Gn*Fn*At,Rn=Sn,Bn=xn+Gn*zn*At}else Fn=Math.sqrt(Vn*Vn+Dn*Dn),zn=Math.sqrt(Ln*Ln+Hn*Hn),Mn=zn/(zn+Fn),_n=Sn-In*At*(1-Mn),wn=xn-On*At*(1-Mn),Rn=Sn+In*At*Mn,Bn=xn+On*At*Mn,Rn=mathMin$5(Rn,mathMax$5($n,Sn)),Bn=mathMin$5(Bn,mathMax$5(Pn,xn)),Rn=mathMax$5(Rn,mathMin$5($n,Sn)),Bn=mathMax$5(Bn,mathMin$5(Pn,xn)),In=Rn-Sn,On=Bn-xn,_n=Sn-In*Fn/zn,wn=xn-On*Fn/zn,_n=mathMin$5(_n,mathMax$5(jt,Sn)),wn=mathMin$5(wn,mathMax$5(hn,xn)),_n=mathMax$5(_n,mathMin$5(jt,Sn)),wn=mathMax$5(wn,mathMin$5(hn,xn)),In=Sn-_n,On=xn-wn,Rn=Sn+In*zn/Fn,Bn=xn+On*zn/Fn}xe.bezierCurveTo(vn,bn,_n,wn,Sn,xn),vn=Rn,bn=Bn}else xe.lineTo(Sn,xn)}jt=Sn,hn=xn,kn+=qe}return Cn}var ECPolylineShape=function(){function xe(){this.smooth=0,this.smoothConstraint=!0}return xe}(),ECPolyline=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polyline",Fe}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new ECPolylineShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0,At=Ue.length/2;if(Fe.connectNulls){for(;At>0&&isPointNull$1(Ue[At*2-2],Ue[At*2-1]);At--);for(;qe<At&&isPointNull$1(Ue[qe*2],Ue[qe*2+1]);qe++);}for(;qe<At;)qe+=drawSegment(Ie,Ue,qe,At,At,1,Fe.smooth,Fe.smoothMonotone,Fe.connectNulls)+1},$e.prototype.getPointOn=function(Ie,Fe){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var Ue=this.path,qe=Ue.data,At=PathProxy.CMD,Dt,Lt,jt=Fe==="x",hn=[],vn=0;vn<qe.length;){var bn=qe[vn++],_n=void 0,wn=void 0,kn=void 0,Cn=void 0,Sn=void 0,xn=void 0,En=void 0;switch(bn){case At.M:Dt=qe[vn++],Lt=qe[vn++];break;case At.L:if(_n=qe[vn++],wn=qe[vn++],En=jt?(Ie-Dt)/(_n-Dt):(Ie-Lt)/(wn-Lt),En<=1&&En>=0){var Tn=jt?(wn-Lt)*En+Lt:(_n-Dt)*En+Dt;return jt?[Ie,Tn]:[Tn,Ie]}Dt=_n,Lt=wn;break;case At.C:_n=qe[vn++],wn=qe[vn++],kn=qe[vn++],Cn=qe[vn++],Sn=qe[vn++],xn=qe[vn++];var An=jt?cubicRootAt(Dt,_n,kn,Sn,Ie,hn):cubicRootAt(Lt,wn,Cn,xn,Ie,hn);if(An>0)for(var $n=0;$n<An;$n++){var Pn=hn[$n];if(Pn<=1&&Pn>=0){var Tn=jt?cubicAt(Lt,wn,Cn,xn,Pn):cubicAt(Dt,_n,kn,Sn,Pn);return jt?[Ie,Tn]:[Tn,Ie]}}Dt=Sn,Lt=xn;break}}},$e}(Path),ECPolygonShape=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e}(ECPolylineShape),ECPolygon=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polygon",Fe}return $e.prototype.getDefaultShape=function(){return new ECPolygonShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.stackedOnPoints,At=0,Dt=Ue.length/2,Lt=Fe.smoothMonotone;if(Fe.connectNulls){for(;Dt>0&&isPointNull$1(Ue[Dt*2-2],Ue[Dt*2-1]);Dt--);for(;At<Dt&&isPointNull$1(Ue[At*2],Ue[At*2+1]);At++);}for(;At<Dt;){var jt=drawSegment(Ie,Ue,At,Dt,Dt,1,Fe.smooth,Lt,Fe.connectNulls);drawSegment(Ie,qe,At+jt-1,jt,Dt,-1,Fe.stackedOnSmooth,Lt,Fe.connectNulls),At+=jt+1,Ie.closePath()}},$e}(Path);function createGridClipPath(xe,$e,Ie,Fe,Ue){var qe=xe.getArea(),At=qe.x,Dt=qe.y,Lt=qe.width,jt=qe.height,hn=Ie.get(["lineStyle","width"])||2;At-=hn/2,Dt-=hn/2,Lt+=hn,jt+=hn,Lt=Math.ceil(Lt),At!==Math.floor(At)&&(At=Math.floor(At),Lt++);var vn=new Rect$2({shape:{x:At,y:Dt,width:Lt,height:jt}});if($e){var bn=xe.getBaseAxis(),_n=bn.isHorizontal(),wn=bn.inverse;_n?(wn&&(vn.shape.x+=Lt),vn.shape.width=0):(wn||(vn.shape.y+=jt),vn.shape.height=0);var kn=isFunction$2(Ue)?function(Cn){Ue(Cn,vn)}:null;initProps(vn,{shape:{width:Lt,height:jt,x:At,y:Dt}},Ie,null,Fe,kn)}return vn}function createPolarClipPath(xe,$e,Ie){var Fe=xe.getArea(),Ue=round$3(Fe.r0,1),qe=round$3(Fe.r,1),At=new Sector({shape:{cx:round$3(xe.cx,1),cy:round$3(xe.cy,1),r0:Ue,r:qe,startAngle:Fe.startAngle,endAngle:Fe.endAngle,clockwise:Fe.clockwise}});if($e){var Dt=xe.getBaseAxis().dim==="angle";Dt?At.shape.endAngle=Fe.startAngle:At.shape.r=Ue,initProps(At,{shape:{endAngle:Fe.endAngle,r:qe}},Ie)}return At}function createClipPath(xe,$e,Ie,Fe,Ue){if(xe){if(xe.type==="polar")return createPolarClipPath(xe,$e,Ie);if(xe.type==="cartesian2d")return createGridClipPath(xe,$e,Ie,Fe,Ue)}else return null;return null}function isCoordinateSystemType(xe,$e){return xe.type===$e}function isPointsSame(xe,$e){if(xe.length===$e.length){for(var Ie=0;Ie<xe.length;Ie++)if(xe[Ie]!==$e[Ie])return;return!0}}function bboxFromPoints(xe){for(var $e=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=0;qe<xe.length;){var At=xe[qe++],Dt=xe[qe++];isNaN(At)||($e=Math.min(At,$e),Fe=Math.max(At,Fe)),isNaN(Dt)||(Ie=Math.min(Dt,Ie),Ue=Math.max(Dt,Ue))}return[[$e,Ie],[Fe,Ue]]}function getBoundingDiff(xe,$e){var Ie=bboxFromPoints(xe),Fe=Ie[0],Ue=Ie[1],qe=bboxFromPoints($e),At=qe[0],Dt=qe[1];return Math.max(Math.abs(Fe[0]-At[0]),Math.abs(Fe[1]-At[1]),Math.abs(Ue[0]-Dt[0]),Math.abs(Ue[1]-Dt[1]))}function getSmooth(xe){return isNumber$2(xe)?xe:xe?.5:0}function getStackedOnPoints(xe,$e,Ie){if(!Ie.valueDim)return[];for(var Fe=$e.count(),Ue=createFloat32Array(Fe*2),qe=0;qe<Fe;qe++){var At=getStackedOnPoint(Ie,xe,$e,qe);Ue[qe*2]=At[0],Ue[qe*2+1]=At[1]}return Ue}function turnPointsIntoStep(xe,$e,Ie,Fe){var Ue=$e.getBaseAxis(),qe=Ue.dim==="x"||Ue.dim==="radius"?0:1,At=[],Dt=0,Lt=[],jt=[],hn=[],vn=[];if(Fe){for(Dt=0;Dt<xe.length;Dt+=2)!isNaN(xe[Dt])&&!isNaN(xe[Dt+1])&&vn.push(xe[Dt],xe[Dt+1]);xe=vn}for(Dt=0;Dt<xe.length-2;Dt+=2)switch(hn[0]=xe[Dt+2],hn[1]=xe[Dt+3],jt[0]=xe[Dt],jt[1]=xe[Dt+1],At.push(jt[0],jt[1]),Ie){case"end":Lt[qe]=hn[qe],Lt[1-qe]=jt[1-qe],At.push(Lt[0],Lt[1]);break;case"middle":var bn=(jt[qe]+hn[qe])/2,_n=[];Lt[qe]=_n[qe]=bn,Lt[1-qe]=jt[1-qe],_n[1-qe]=hn[1-qe],At.push(Lt[0],Lt[1]),At.push(_n[0],_n[1]);break;default:Lt[qe]=jt[qe],Lt[1-qe]=hn[1-qe],At.push(Lt[0],Lt[1])}return At.push(xe[Dt++],xe[Dt++]),At}function clipColorStops(xe,$e){var Ie=[],Fe=xe.length,Ue,qe;function At(hn,vn,bn){var _n=hn.coord,wn=(bn-_n)/(vn.coord-_n),kn=lerp(wn,[hn.color,vn.color]);return{coord:bn,color:kn}}for(var Dt=0;Dt<Fe;Dt++){var Lt=xe[Dt],jt=Lt.coord;if(jt<0)Ue=Lt;else if(jt>$e){qe?Ie.push(At(qe,Lt,$e)):Ue&&Ie.push(At(Ue,Lt,0),At(Ue,Lt,$e));break}else Ue&&(Ie.push(At(Ue,Lt,0)),Ue=null),Ie.push(Lt),qe=Lt}return Ie}function getVisualGradient(xe,$e,Ie){var Fe=xe.getVisual("visualMeta");if(!(!Fe||!Fe.length||!xe.count())&&$e.type==="cartesian2d"){for(var Ue,qe,At=Fe.length-1;At>=0;At--){var Dt=xe.getDimensionInfo(Fe[At].dimension);if(Ue=Dt&&Dt.coordDim,Ue==="x"||Ue==="y"){qe=Fe[At];break}}if(qe){var Lt=$e.getAxis(Ue),jt=map$1(qe.stops,function(En){return{coord:Lt.toGlobalCoord(Lt.dataToCoord(En.value)),color:En.color}}),hn=jt.length,vn=qe.outerColors.slice();hn&&jt[0].coord>jt[hn-1].coord&&(jt.reverse(),vn.reverse());var bn=clipColorStops(jt,Ue==="x"?Ie.getWidth():Ie.getHeight()),_n=bn.length;if(!_n&&hn)return jt[0].coord<0?vn[1]?vn[1]:jt[hn-1].color:vn[0]?vn[0]:jt[0].color;var wn=10,kn=bn[0].coord-wn,Cn=bn[_n-1].coord+wn,Sn=Cn-kn;if(Sn<.001)return"transparent";each$f(bn,function(En){En.offset=(En.coord-kn)/Sn}),bn.push({offset:_n?bn[_n-1].offset:.5,color:vn[1]||"transparent"}),bn.unshift({offset:_n?bn[0].offset:.5,color:vn[0]||"transparent"});var xn=new LinearGradient(0,0,0,0,bn,!0);return xn[Ue]=kn,xn[Ue+"2"]=Cn,xn}}}function getIsIgnoreFunc(xe,$e,Ie){var Fe=xe.get("showAllSymbol"),Ue=Fe==="auto";if(!(Fe&&!Ue)){var qe=Ie.getAxesByScale("ordinal")[0];if(qe&&!(Ue&&canShowAllSymbolForCategory(qe,$e))){var At=$e.mapDimension(qe.dim),Dt={};return each$f(qe.getViewLabels(),function(Lt){var jt=qe.scale.getRawOrdinalNumber(Lt.tickValue);Dt[jt]=1}),function(Lt){return!Dt.hasOwnProperty($e.get(At,Lt))}}}}function canShowAllSymbolForCategory(xe,$e){var Ie=xe.getExtent(),Fe=Math.abs(Ie[1]-Ie[0])/xe.scale.count();isNaN(Fe)&&(Fe=0);for(var Ue=$e.count(),qe=Math.max(1,Math.round(Ue/5)),At=0;At<Ue;At+=qe)if(Symbol$1.getSymbolSize($e,At)[xe.isHorizontal()?1:0]*1.5>Fe)return!1;return!0}function isPointNull(xe,$e){return isNaN(xe)||isNaN($e)}function getLastIndexNotNull(xe){for(var $e=xe.length/2;$e>0&&isPointNull(xe[$e*2-2],xe[$e*2-1]);$e--);return $e-1}function getPointAtIndex(xe,$e){return[xe[$e*2],xe[$e*2+1]]}function getIndexRange(xe,$e,Ie){for(var Fe=xe.length/2,Ue=Ie==="x"?0:1,qe,At,Dt=0,Lt=-1,jt=0;jt<Fe;jt++)if(At=xe[jt*2+Ue],!(isNaN(At)||isNaN(xe[jt*2+1-Ue]))){if(jt===0){qe=At;continue}if(qe<=$e&&At>=$e||qe>=$e&&At<=$e){Lt=jt;break}Dt=jt,qe=At}return{range:[Dt,Lt],t:($e-qe)/(At-qe)}}function anyStateShowEndLabel(xe){if(xe.get(["endLabel","show"]))return!0;for(var $e=0;$e<SPECIAL_STATES.length;$e++)if(xe.get([SPECIAL_STATES[$e],"endLabel","show"]))return!0;return!1}function createLineClipPath(xe,$e,Ie,Fe){if(isCoordinateSystemType($e,"cartesian2d")){var Ue=Fe.getModel("endLabel"),qe=Ue.get("valueAnimation"),At=Fe.getData(),Dt={lastFrameIndex:0},Lt=anyStateShowEndLabel(Fe)?function(_n,wn){xe._endLabelOnDuring(_n,wn,At,Dt,qe,Ue,$e)}:null,jt=$e.getBaseAxis().isHorizontal(),hn=createGridClipPath($e,Ie,Fe,function(){var _n=xe._endLabel;_n&&Ie&&Dt.originalX!=null&&_n.attr({x:Dt.originalX,y:Dt.originalY})},Lt);if(!Fe.get("clip",!0)){var vn=hn.shape,bn=Math.max(vn.width,vn.height);jt?(vn.y-=bn,vn.height+=bn*2):(vn.x-=bn,vn.width+=bn*2)}return Lt&&Lt(1,hn),hn}else return createPolarClipPath($e,Ie,Fe)}function getEndLabelStateSpecified(xe,$e){var Ie=$e.getBaseAxis(),Fe=Ie.isHorizontal(),Ue=Ie.inverse,qe=Fe?Ue?"right":"left":"center",At=Fe?"middle":Ue?"top":"bottom";return{normal:{align:xe.get("align")||qe,verticalAlign:xe.get("verticalAlign")||At}}}var LineView=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(){var Ie=new Group$3,Fe=new SymbolDraw;this.group.add(Fe.group),this._symbolDraw=Fe,this._lineGroup=Ie},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.coordinateSystem,Dt=this.group,Lt=Ie.getData(),jt=Ie.getModel("lineStyle"),hn=Ie.getModel("areaStyle"),vn=Lt.getLayout("points")||[],bn=At.type==="polar",_n=this._coordSys,wn=this._symbolDraw,kn=this._polyline,Cn=this._polygon,Sn=this._lineGroup,xn=!Fe.ssr&&Ie.get("animation"),En=!hn.isEmpty(),Tn=hn.get("origin"),An=prepareDataCoordInfo(At,Lt,Tn),$n=En&&getStackedOnPoints(At,Lt,An),Pn=Ie.get("showSymbol"),Nn=Ie.get("connectNulls"),Mn=Pn&&!bn&&getIsIgnoreFunc(Ie,Lt,At),In=this._data;In&&In.eachItemGraphicEl(function(Jn,qn){Jn.__temp&&(Dt.remove(Jn),In.setItemGraphicEl(qn,null))}),Pn||wn.remove(),Dt.add(Sn);var On=bn?!1:Ie.get("step"),Rn;At&&At.getArea&&Ie.get("clip",!0)&&(Rn=At.getArea(),Rn.width!=null?(Rn.x-=.1,Rn.y-=.1,Rn.width+=.2,Rn.height+=.2):Rn.r0&&(Rn.r0-=.5,Rn.r+=.5)),this._clipShapeForSymbol=Rn;var Bn=getVisualGradient(Lt,At,Ue)||Lt.getVisual("style")[Lt.getVisual("drawType")];if(!(kn&&_n.type===At.type&&On===this._step))Pn&&wn.updateData(Lt,{isIgnore:Mn,clipShape:Rn,disableAnimation:!0,getSymbolPoint:function(Jn){return[vn[Jn*2],vn[Jn*2+1]]}}),xn&&this._initSymbolLabelAnimation(Lt,At,Rn),On&&(vn=turnPointsIntoStep(vn,At,On,Nn),$n&&($n=turnPointsIntoStep($n,At,On,Nn))),kn=this._newPolyline(vn),En?Cn=this._newPolygon(vn,$n):Cn&&(Sn.remove(Cn),Cn=this._polygon=null),bn||this._initOrUpdateEndLabel(Ie,At,convertToColorString(Bn)),Sn.setClipPath(createLineClipPath(this,At,!0,Ie));else{En&&!Cn?Cn=this._newPolygon(vn,$n):Cn&&!En&&(Sn.remove(Cn),Cn=this._polygon=null),bn||this._initOrUpdateEndLabel(Ie,At,convertToColorString(Bn));var Vn=Sn.getClipPath();if(Vn){var Ln=createLineClipPath(this,At,!1,Ie);initProps(Vn,{shape:Ln.shape},Ie)}else Sn.setClipPath(createLineClipPath(this,At,!0,Ie));Pn&&wn.updateData(Lt,{isIgnore:Mn,clipShape:Rn,disableAnimation:!0,getSymbolPoint:function(Jn){return[vn[Jn*2],vn[Jn*2+1]]}}),(!isPointsSame(this._stackedOnPoints,$n)||!isPointsSame(this._points,vn))&&(xn?this._doUpdateAnimation(Lt,$n,At,Ue,On,Tn,Nn):(On&&(vn=turnPointsIntoStep(vn,At,On,Nn),$n&&($n=turnPointsIntoStep($n,At,On,Nn))),kn.setShape({points:vn}),Cn&&Cn.setShape({points:vn,stackedOnPoints:$n})))}var Dn=Ie.getModel("emphasis"),Hn=Dn.get("focus"),Fn=Dn.get("blurScope"),zn=Dn.get("disabled");if(kn.useStyle(defaults$1(jt.getLineStyle(),{fill:"none",stroke:Bn,lineJoin:"bevel"})),setStatesStylesFromModel(kn,Ie,"lineStyle"),kn.style.lineWidth>0&&Ie.get(["emphasis","lineStyle","width"])==="bolder"){var jn=kn.getState("emphasis").style;jn.lineWidth=+kn.style.lineWidth+1}getECData(kn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(kn,Hn,Fn,zn);var Gn=getSmooth(Ie.get("smooth")),Wn=Ie.get("smoothMonotone");if(kn.setShape({smooth:Gn,smoothMonotone:Wn,connectNulls:Nn}),Cn){var Xn=Lt.getCalculationInfo("stackedOnSeries"),er=0;Cn.useStyle(defaults$1(hn.getAreaStyle(),{fill:Bn,opacity:.7,lineJoin:"bevel",decal:Lt.getVisual("style").decal})),Xn&&(er=getSmooth(Xn.get("smooth"))),Cn.setShape({smooth:Gn,stackedOnSmooth:er,smoothMonotone:Wn,connectNulls:Nn}),setStatesStylesFromModel(Cn,Ie,"areaStyle"),getECData(Cn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(Cn,Hn,Fn,zn)}var rr=function(Jn){qe._changePolyState(Jn)};Lt.eachItemGraphicEl(function(Jn){Jn&&(Jn.onHoverStateChange=rr)}),this._polyline.onHoverStateChange=rr,this._data=Lt,this._coordSys=At,this._stackedOnPoints=$n,this._points=vn,this._step=On,this._valueOrigin=Tn,Ie.get("triggerLineEvent")&&(this.packEventData(Ie,kn),Cn&&this.packEventData(Ie,Cn))},$e.prototype.packEventData=function(Ie,Fe){getECData(Fe).eventData={componentType:"series",componentSubType:"line",componentIndex:Ie.componentIndex,seriesIndex:Ie.seriesIndex,seriesName:Ie.name,seriesType:"line"}},$e.prototype.highlight=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("emphasis"),!(Dt instanceof Array)&&Dt!=null&&Dt>=0){var Lt=At.getLayout("points"),jt=At.getItemGraphicEl(Dt);if(!jt){var hn=Lt[Dt*2],vn=Lt[Dt*2+1];if(isNaN(hn)||isNaN(vn)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(hn,vn))return;var bn=Ie.get("zlevel")||0,_n=Ie.get("z")||0;jt=new Symbol$1(At,Dt),jt.x=hn,jt.y=vn,jt.setZ(bn,_n);var wn=jt.getSymbolPath().getTextContent();wn&&(wn.zlevel=bn,wn.z=_n,wn.z2=this._polyline.z2+1),jt.__temp=!0,At.setItemGraphicEl(Dt,jt),jt.stopSymbolAnimation(!0),this.group.add(jt)}jt.highlight()}else ChartView.prototype.highlight.call(this,Ie,Fe,Ue,qe)},$e.prototype.downplay=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("normal"),Dt!=null&&Dt>=0){var Lt=At.getItemGraphicEl(Dt);Lt&&(Lt.__temp?(At.setItemGraphicEl(Dt,null),this.group.remove(Lt)):Lt.downplay())}else ChartView.prototype.downplay.call(this,Ie,Fe,Ue,qe)},$e.prototype._changePolyState=function(Ie){var Fe=this._polygon;setStatesFlag(this._polyline,Ie),Fe&&setStatesFlag(Fe,Ie)},$e.prototype._newPolyline=function(Ie){var Fe=this._polyline;return Fe&&this._lineGroup.remove(Fe),Fe=new ECPolyline({shape:{points:Ie},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(Fe),this._polyline=Fe,Fe},$e.prototype._newPolygon=function(Ie,Fe){var Ue=this._polygon;return Ue&&this._lineGroup.remove(Ue),Ue=new ECPolygon({shape:{points:Ie,stackedOnPoints:Fe},segmentIgnoreThreshold:2}),this._lineGroup.add(Ue),this._polygon=Ue,Ue},$e.prototype._initSymbolLabelAnimation=function(Ie,Fe,Ue){var qe,At,Dt=Fe.getBaseAxis(),Lt=Dt.inverse;Fe.type==="cartesian2d"?(qe=Dt.isHorizontal(),At=!1):Fe.type==="polar"&&(qe=Dt.dim==="angle",At=!0);var jt=Ie.hostModel,hn=jt.get("animationDuration");isFunction$2(hn)&&(hn=hn(null));var vn=jt.get("animationDelay")||0,bn=isFunction$2(vn)?vn(null):vn;Ie.eachItemGraphicEl(function(_n,wn){var kn=_n;if(kn){var Cn=[_n.x,_n.y],Sn=void 0,xn=void 0,En=void 0;if(Ue)if(At){var Tn=Ue,An=Fe.pointToCoord(Cn);qe?(Sn=Tn.startAngle,xn=Tn.endAngle,En=-An[1]/180*Math.PI):(Sn=Tn.r0,xn=Tn.r,En=An[0])}else{var $n=Ue;qe?(Sn=$n.x,xn=$n.x+$n.width,En=_n.x):(Sn=$n.y+$n.height,xn=$n.y,En=_n.y)}var Pn=xn===Sn?0:(En-Sn)/(xn-Sn);Lt&&(Pn=1-Pn);var Nn=isFunction$2(vn)?vn(wn):hn*Pn+bn,Mn=kn.getSymbolPath(),In=Mn.getTextContent();kn.attr({scaleX:0,scaleY:0}),kn.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:Nn}),In&&In.animateFrom({style:{opacity:0}},{duration:300,delay:Nn}),Mn.disableLabelAnimation=!0}})},$e.prototype._initOrUpdateEndLabel=function(Ie,Fe,Ue){var qe=Ie.getModel("endLabel");if(anyStateShowEndLabel(Ie)){var At=Ie.getData(),Dt=this._polyline,Lt=At.getLayout("points");if(!Lt){Dt.removeTextContent(),this._endLabel=null;return}var jt=this._endLabel;jt||(jt=this._endLabel=new ZRText({z2:200}),jt.ignoreClip=!0,Dt.setTextContent(this._endLabel),Dt.disableLabelAnimation=!0);var hn=getLastIndexNotNull(Lt);hn>=0&&(setLabelStyle(Dt,getLabelStatesModels(Ie,"endLabel"),{inheritColor:Ue,labelFetcher:Ie,labelDataIndex:hn,defaultText:function(vn,bn,_n){return _n!=null?getDefaultInterpolatedLabel(At,_n):getDefaultLabel(At,vn)},enableTextSetter:!0},getEndLabelStateSpecified(qe,Fe)),Dt.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},$e.prototype._endLabelOnDuring=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._endLabel,hn=this._polyline;if(jt){Ie<1&&qe.originalX==null&&(qe.originalX=jt.x,qe.originalY=jt.y);var vn=Ue.getLayout("points"),bn=Ue.hostModel,_n=bn.get("connectNulls"),wn=Dt.get("precision"),kn=Dt.get("distance")||0,Cn=Lt.getBaseAxis(),Sn=Cn.isHorizontal(),xn=Cn.inverse,En=Fe.shape,Tn=xn?Sn?En.x:En.y+En.height:Sn?En.x+En.width:En.y,An=(Sn?kn:0)*(xn?-1:1),$n=(Sn?0:-kn)*(xn?-1:1),Pn=Sn?"x":"y",Nn=getIndexRange(vn,Tn,Pn),Mn=Nn.range,In=Mn[1]-Mn[0],On=void 0;if(In>=1){if(In>1&&!_n){var Rn=getPointAtIndex(vn,Mn[0]);jt.attr({x:Rn[0]+An,y:Rn[1]+$n}),At&&(On=bn.getRawValue(Mn[0]))}else{var Rn=hn.getPointOn(Tn,Pn);Rn&&jt.attr({x:Rn[0]+An,y:Rn[1]+$n});var Bn=bn.getRawValue(Mn[0]),Vn=bn.getRawValue(Mn[1]);At&&(On=interpolateRawValues(Ue,wn,Bn,Vn,Nn.t))}qe.lastFrameIndex=Mn[0]}else{var Ln=Ie===1||qe.lastFrameIndex>0?Mn[0]:0,Rn=getPointAtIndex(vn,Ln);At&&(On=bn.getRawValue(Ln)),jt.attr({x:Rn[0]+An,y:Rn[1]+$n})}if(At){var Dn=labelInner(jt);typeof Dn.setLabelText=="function"&&Dn.setLabelText(On)}}},$e.prototype._doUpdateAnimation=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._polyline,hn=this._polygon,vn=Ie.hostModel,bn=lineAnimationDiff(this._data,Ie,this._stackedOnPoints,Fe,this._coordSys,Ue,this._valueOrigin),_n=bn.current,wn=bn.stackedOnCurrent,kn=bn.next,Cn=bn.stackedOnNext;if(At&&(_n=turnPointsIntoStep(bn.current,Ue,At,Lt),wn=turnPointsIntoStep(bn.stackedOnCurrent,Ue,At,Lt),kn=turnPointsIntoStep(bn.next,Ue,At,Lt),Cn=turnPointsIntoStep(bn.stackedOnNext,Ue,At,Lt)),getBoundingDiff(_n,kn)>3e3||hn&&getBoundingDiff(wn,Cn)>3e3){jt.stopAnimation(),jt.setShape({points:kn}),hn&&(hn.stopAnimation(),hn.setShape({points:kn,stackedOnPoints:Cn}));return}jt.shape.__points=bn.current,jt.shape.points=_n;var Sn={shape:{points:kn}};bn.current!==_n&&(Sn.shape.__points=bn.next),jt.stopAnimation(),updateProps$1(jt,Sn,vn),hn&&(hn.setShape({points:_n,stackedOnPoints:wn}),hn.stopAnimation(),updateProps$1(hn,{shape:{stackedOnPoints:Cn}},vn),jt.shape.points!==hn.shape.points&&(hn.shape.points=jt.shape.points));for(var xn=[],En=bn.status,Tn=0;Tn<En.length;Tn++){var An=En[Tn].cmd;if(An==="="){var $n=Ie.getItemGraphicEl(En[Tn].idx1);$n&&xn.push({el:$n,ptIdx:Tn})}}jt.animators&&jt.animators.length&&jt.animators[0].during(function(){hn&&hn.dirtyShape();for(var Pn=jt.shape.__points,Nn=0;Nn<xn.length;Nn++){var Mn=xn[Nn].el,In=xn[Nn].ptIdx*2;Mn.x=Pn[In],Mn.y=Pn[In+1],Mn.markRedraw()}})},$e.prototype.remove=function(Ie){var Fe=this.group,Ue=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),Ue&&Ue.eachItemGraphicEl(function(qe,At){qe.__temp&&(Fe.remove(qe),Ue.setItemGraphicEl(At,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},$e.type="line",$e}(ChartView);function pointsLayout(xe,$e){return{seriesType:xe,plan:createRenderPlanner(),reset:function(Ie){var Fe=Ie.getData(),Ue=Ie.coordinateSystem,qe=Ie.pipelineContext,At=$e||qe.large;if(Ue){var Dt=map$1(Ue.dimensions,function(_n){return Fe.mapDimension(_n)}).slice(0,2),Lt=Dt.length,jt=Fe.getCalculationInfo("stackResultDimension");isDimensionStacked(Fe,Dt[0])&&(Dt[0]=jt),isDimensionStacked(Fe,Dt[1])&&(Dt[1]=jt);var hn=Fe.getStore(),vn=Fe.getDimensionIndex(Dt[0]),bn=Fe.getDimensionIndex(Dt[1]);return Lt&&{progress:function(_n,wn){for(var kn=_n.end-_n.start,Cn=At&&createFloat32Array(kn*Lt),Sn=[],xn=[],En=_n.start,Tn=0;En<_n.end;En++){var An=void 0;if(Lt===1){var $n=hn.get(vn,En);An=Ue.dataToPoint($n,null,xn)}else Sn[0]=hn.get(vn,En),Sn[1]=hn.get(bn,En),An=Ue.dataToPoint(Sn,null,xn);At?(Cn[Tn++]=An[0],Cn[Tn++]=An[1]):wn.setItemLayout(En,An.slice())}At&&wn.setLayout("points",Cn)}}}}}}var samplers={average:function(xe){for(var $e=0,Ie=0,Fe=0;Fe<xe.length;Fe++)isNaN(xe[Fe])||($e+=xe[Fe],Ie++);return Ie===0?NaN:$e/Ie},sum:function(xe){for(var $e=0,Ie=0;Ie<xe.length;Ie++)$e+=xe[Ie]||0;return $e},max:function(xe){for(var $e=-1/0,Ie=0;Ie<xe.length;Ie++)xe[Ie]>$e&&($e=xe[Ie]);return isFinite($e)?$e:NaN},min:function(xe){for(var $e=1/0,Ie=0;Ie<xe.length;Ie++)xe[Ie]<$e&&($e=xe[Ie]);return isFinite($e)?$e:NaN},minmax:function(xe){for(var $e=-1/0,Ie=-1/0,Fe=0;Fe<xe.length;Fe++){var Ue=xe[Fe],qe=Math.abs(Ue);qe>$e&&($e=qe,Ie=Ue)}return isFinite(Ie)?Ie:NaN},nearest:function(xe){return xe[0]}},indexSampler=function(xe){return Math.round(xe.length/2)};function dataSample(xe){return{seriesType:xe,reset:function($e,Ie,Fe){var Ue=$e.getData(),qe=$e.get("sampling"),At=$e.coordinateSystem,Dt=Ue.count();if(Dt>10&&At.type==="cartesian2d"&&qe){var Lt=At.getBaseAxis(),jt=At.getOtherAxis(Lt),hn=Lt.getExtent(),vn=Fe.getDevicePixelRatio(),bn=Math.abs(hn[1]-hn[0])*(vn||1),_n=Math.round(Dt/bn);if(isFinite(_n)&&_n>1){qe==="lttb"&&$e.setData(Ue.lttbDownSample(Ue.mapDimension(jt.dim),1/_n));var wn=void 0;isString$2(qe)?wn=samplers[qe]:isFunction$2(qe)&&(wn=qe),wn&&$e.setData(Ue.downSample(Ue.mapDimension(jt.dim),1/_n,wn,indexSampler))}}}}}function install$R(xe){xe.registerChartView(LineView),xe.registerSeriesModel(LineSeriesModel),xe.registerLayout(pointsLayout("line",!0)),xe.registerVisual({seriesType:"line",reset:function($e){var Ie=$e.getData(),Fe=$e.getModel("lineStyle").getLineStyle();Fe&&!Fe.stroke&&(Fe.stroke=Ie.getVisual("style").fill),Ie.setVisual("legendLineStyle",Fe)}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getMarkerPosition=function(Ie,Fe,Ue){var qe=this.coordinateSystem;if(qe&&qe.clampData){var At=qe.clampData(Ie),Dt=qe.dataToPoint(At);if(Ue)each$f(qe.getAxes(),function(bn,_n){if(bn.type==="category"&&Fe!=null){var wn=bn.getTicksCoords(),kn=bn.getTickModel().get("alignWithLabel"),Cn=At[_n],Sn=Fe[_n]==="x1"||Fe[_n]==="y1";if(Sn&&!kn&&(Cn+=1),wn.length<2)return;if(wn.length===2){Dt[_n]=bn.toGlobalCoord(bn.getExtent()[Sn?1:0]);return}for(var xn=void 0,En=void 0,Tn=1,An=0;An<wn.length;An++){var $n=wn[An].coord,Pn=An===wn.length-1?wn[An-1].tickValue+Tn:wn[An].tickValue;if(Pn===Cn){En=$n;break}else if(Pn<Cn)xn=$n;else if(xn!=null&&Pn>Cn){En=($n+xn)/2;break}An===1&&(Tn=Pn-wn[0].tickValue)}En==null&&(xn?xn&&(En=wn[wn.length-1].coord):En=wn[0].coord),Dt[_n]=bn.toGlobalCoord(En)}});else{var Lt=this.getData(),jt=Lt.getLayout("offset"),hn=Lt.getLayout("size"),vn=qe.getBaseAxis().isHorizontal()?0:1;Dt[vn]+=jt+hn/2}return Dt}return[NaN,NaN]},$e.type="series.__base_bar__",$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},$e}(SeriesModel);SeriesModel.registerClass(BaseBarSeriesModel);var BarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},$e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},$e.prototype.getProgressiveThreshold=function(){var Ie=this.get("progressiveThreshold"),Fe=this.get("largeThreshold");return Fe>Ie&&(Ie=Fe),Ie},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.rect(Fe.getItemLayout(Ie))},$e.type="series.bar",$e.dependencies=["grid","polar"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.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}),$e}(BaseBarSeriesModel),SausageShape=function(){function xe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return xe}(),SausagePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="sausage",Fe}return $e.prototype.getDefaultShape=function(){return new SausageShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.max(Fe.r0||0,0),Dt=Math.max(Fe.r,0),Lt=(Dt-At)*.5,jt=At+Lt,hn=Fe.startAngle,vn=Fe.endAngle,bn=Fe.clockwise,_n=Math.PI*2,wn=bn?vn-hn<_n:hn-vn<_n;wn||(hn=vn-(bn?_n:-_n));var kn=Math.cos(hn),Cn=Math.sin(hn),Sn=Math.cos(vn),xn=Math.sin(vn);wn?(Ie.moveTo(kn*At+Ue,Cn*At+qe),Ie.arc(kn*jt+Ue,Cn*jt+qe,Lt,-Math.PI+hn,hn,!bn)):Ie.moveTo(kn*Dt+Ue,Cn*Dt+qe),Ie.arc(Ue,qe,Dt,hn,vn,!bn),Ie.arc(Sn*jt+Ue,xn*jt+qe,Lt,vn-Math.PI*2,vn-Math.PI,!bn),At!==0&&Ie.arc(Ue,qe,At,vn,hn,bn)},$e}(Path);function createSectorCalculateTextPosition(xe,$e){$e=$e||{};var Ie=$e.isRoundCap;return function(Fe,Ue,qe){var At=Ue.position;if(!At||At instanceof Array)return calculateTextPosition(Fe,Ue,qe);var Dt=xe(At),Lt=Ue.distance!=null?Ue.distance:5,jt=this.shape,hn=jt.cx,vn=jt.cy,bn=jt.r,_n=jt.r0,wn=(bn+_n)/2,kn=jt.startAngle,Cn=jt.endAngle,Sn=(kn+Cn)/2,xn=Ie?Math.abs(bn-_n)/2:0,En=Math.cos,Tn=Math.sin,An=hn+bn*En(kn),$n=vn+bn*Tn(kn),Pn="left",Nn="top";switch(Dt){case"startArc":An=hn+(_n-Lt)*En(Sn),$n=vn+(_n-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"insideStartArc":An=hn+(_n+Lt)*En(Sn),$n=vn+(_n+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"startAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,Lt+xn,!1),Pn="right",Nn="middle";break;case"insideStartAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,-Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,-Lt+xn,!1),Pn="left",Nn="middle";break;case"middle":An=hn+wn*En(Sn),$n=vn+wn*Tn(Sn),Pn="center",Nn="middle";break;case"endArc":An=hn+(bn+Lt)*En(Sn),$n=vn+(bn+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"insideEndArc":An=hn+(bn-Lt)*En(Sn),$n=vn+(bn-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"endAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,Lt+xn,!0),Pn="left",Nn="middle";break;case"insideEndAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,-Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,-Lt+xn,!0),Pn="right",Nn="middle";break;default:return calculateTextPosition(Fe,Ue,qe)}return Fe=Fe||{},Fe.x=An,Fe.y=$n,Fe.align=Pn,Fe.verticalAlign=Nn,Fe}}function setSectorTextRotation(xe,$e,Ie,Fe){if(isNumber$2(Fe)){xe.setTextConfig({rotation:Fe});return}else if(isArray$2($e)){xe.setTextConfig({rotation:0});return}var Ue=xe.shape,qe=Ue.clockwise?Ue.startAngle:Ue.endAngle,At=Ue.clockwise?Ue.endAngle:Ue.startAngle,Dt=(qe+At)/2,Lt,jt=Ie($e);switch(jt){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":Lt=Dt;break;case"startAngle":case"insideStartAngle":Lt=qe;break;case"endAngle":case"insideEndAngle":Lt=At;break;default:xe.setTextConfig({rotation:0});return}var hn=Math.PI*1.5-Lt;jt==="middle"&&hn>Math.PI/2&&hn<Math.PI*1.5&&(hn-=Math.PI),xe.setTextConfig({rotation:hn})}function adjustAngleDistanceX(xe,$e,Ie){return $e*Math.sin(xe)*(Ie?-1:1)}function adjustAngleDistanceY(xe,$e,Ie){return $e*Math.cos(xe)*(Ie?1:-1)}function getSectorCornerRadius(xe,$e,Ie){var Fe=xe.get("borderRadius");if(Fe==null)return Ie?{cornerRadius:0}:null;isArray$2(Fe)||(Fe=[Fe,Fe,Fe,Fe]);var Ue=Math.abs($e.r||0-$e.r0||0);return{cornerRadius:map$1(Fe,function(qe){return parsePercent$1(qe,Ue)})}}var mathMax$4=Math.max,mathMin$4=Math.min;function getClipArea(xe,$e){var Ie=xe.getArea&&xe.getArea();if(isCoordinateSystemType(xe,"cartesian2d")){var Fe=xe.getBaseAxis();if(Fe.type!=="category"||!Fe.onBand){var Ue=$e.getLayout("bandWidth");Fe.isHorizontal()?(Ie.x-=Ue,Ie.width+=Ue*2):(Ie.y-=Ue,Ie.height+=Ue*2)}}return Ie}var BarView=function(xe){__extends($e,xe);function $e(){var Ie=xe.call(this)||this;return Ie.type=$e.type,Ie._isFirstFrame=!0,Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){this._model=Ie,this._removeOnRenderedListener(Ue),this._updateDrawMode(Ie);var At=Ie.get("coordinateSystem");(At==="cartesian2d"||At==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(Ie,Fe,Ue):this._renderNormal(Ie,Fe,Ue,qe))},$e.prototype.incrementalPrepareRender=function(Ie){this._clear(),this._updateDrawMode(Ie),this._updateLargeClip(Ie)},$e.prototype.incrementalRender=function(Ie,Fe){this._progressiveEls=[],this._incrementalRenderLarge(Ie,Fe)},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._updateDrawMode=function(Ie){var Fe=Ie.pipelineContext.large;(this._isLargeDraw==null||Fe!==this._isLargeDraw)&&(this._isLargeDraw=Fe,this._clear())},$e.prototype._renderNormal=function(Ie,Fe,Ue,qe){var At=this.group,Dt=Ie.getData(),Lt=this._data,jt=Ie.coordinateSystem,hn=jt.getBaseAxis(),vn;jt.type==="cartesian2d"?vn=hn.isHorizontal():jt.type==="polar"&&(vn=hn.dim==="angle");var bn=Ie.isAnimationEnabled()?Ie:null,_n=shouldRealtimeSort(Ie,jt);_n&&this._enableRealtimeSort(_n,Dt,Ue);var wn=Ie.get("clip",!0)||_n,kn=getClipArea(jt,Dt);At.removeClipPath();var Cn=Ie.get("roundCap",!0),Sn=Ie.get("showBackground",!0),xn=Ie.getModel("backgroundStyle"),En=xn.get("borderRadius")||0,Tn=[],An=this._backgroundEls,$n=qe&&qe.isInitSort,Pn=qe&&qe.type==="changeAxisOrder";function Nn(On){var Rn=getLayout[jt.type](Dt,On),Bn=createBackgroundEl(jt,vn,Rn);return Bn.useStyle(xn.getItemStyle()),jt.type==="cartesian2d"?Bn.setShape("r",En):Bn.setShape("cornerRadius",En),Tn[On]=Bn,Bn}Dt.diff(Lt).add(function(On){var Rn=Dt.getItemModel(On),Bn=getLayout[jt.type](Dt,On,Rn);if(Sn&&Nn(On),!(!Dt.hasValue(On)||!isValidLayout[jt.type](Bn))){var Vn=!1;wn&&(Vn=clip[jt.type](kn,Bn));var Ln=elementCreator[jt.type](Ie,Dt,On,Bn,vn,bn,hn.model,!1,Cn);_n&&(Ln.forceLabelAnimation=!0),updateStyle(Ln,Dt,On,Rn,Bn,Ie,vn,jt.type==="polar"),$n?Ln.attr({shape:Bn}):_n?updateRealtimeAnimation(_n,bn,Ln,Bn,On,vn,!1,!1):initProps(Ln,{shape:Bn},Ie,On),Dt.setItemGraphicEl(On,Ln),At.add(Ln),Ln.ignore=Vn}}).update(function(On,Rn){var Bn=Dt.getItemModel(On),Vn=getLayout[jt.type](Dt,On,Bn);if(Sn){var Ln=void 0;An.length===0?Ln=Nn(Rn):(Ln=An[Rn],Ln.useStyle(xn.getItemStyle()),jt.type==="cartesian2d"?Ln.setShape("r",En):Ln.setShape("cornerRadius",En),Tn[On]=Ln);var Dn=getLayout[jt.type](Dt,On),Hn=createBackgroundShape(vn,Dn,jt);updateProps$1(Ln,{shape:Hn},bn,On)}var Fn=Lt.getItemGraphicEl(Rn);if(!Dt.hasValue(On)||!isValidLayout[jt.type](Vn)){At.remove(Fn);return}var zn=!1;if(wn&&(zn=clip[jt.type](kn,Vn),zn&&At.remove(Fn)),Fn?saveOldStyle(Fn):Fn=elementCreator[jt.type](Ie,Dt,On,Vn,vn,bn,hn.model,!!Fn,Cn),_n&&(Fn.forceLabelAnimation=!0),Pn){var jn=Fn.getTextContent();if(jn){var Gn=labelInner(jn);Gn.prevValue!=null&&(Gn.prevValue=Gn.value)}}else updateStyle(Fn,Dt,On,Bn,Vn,Ie,vn,jt.type==="polar");$n?Fn.attr({shape:Vn}):_n?updateRealtimeAnimation(_n,bn,Fn,Vn,On,vn,!0,Pn):updateProps$1(Fn,{shape:Vn},Ie,On,null),Dt.setItemGraphicEl(On,Fn),Fn.ignore=zn,At.add(Fn)}).remove(function(On){var Rn=Lt.getItemGraphicEl(On);Rn&&removeElementWithFadeOut(Rn,Ie,On)}).execute();var Mn=this._backgroundGroup||(this._backgroundGroup=new Group$3);Mn.removeAll();for(var In=0;In<Tn.length;++In)Mn.add(Tn[In]);At.add(Mn),this._backgroundEls=Tn,this._data=Dt},$e.prototype._renderLarge=function(Ie,Fe,Ue){this._clear(),createLarge$1(Ie,this.group),this._updateLargeClip(Ie)},$e.prototype._incrementalRenderLarge=function(Ie,Fe){this._removeBackground(),createLarge$1(Fe,this.group,this._progressiveEls,!0)},$e.prototype._updateLargeClip=function(Ie){var Fe=Ie.get("clip",!0)&&createClipPath(Ie.coordinateSystem,!1,Ie),Ue=this.group;Fe?Ue.setClipPath(Fe):Ue.removeClipPath()},$e.prototype._enableRealtimeSort=function(Ie,Fe,Ue){var qe=this;if(Fe.count()){var At=Ie.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(Fe,Ie,Ue),this._isFirstFrame=!1;else{var Dt=function(Lt){var jt=Fe.getItemGraphicEl(Lt),hn=jt&&jt.shape;return hn&&Math.abs(At.isHorizontal()?hn.height:hn.width)||0};this._onRendered=function(){qe._updateSortWithinSameData(Fe,Dt,At,Ue)},Ue.getZr().on("rendered",this._onRendered)}}},$e.prototype._dataSort=function(Ie,Fe,Ue){var qe=[];return Ie.each(Ie.mapDimension(Fe.dim),function(At,Dt){var Lt=Ue(Dt);Lt=Lt??NaN,qe.push({dataIndex:Dt,mappedValue:Lt,ordinalNumber:At})}),qe.sort(function(At,Dt){return Dt.mappedValue-At.mappedValue}),{ordinalNumbers:map$1(qe,function(At){return At.ordinalNumber})}},$e.prototype._isOrderChangedWithinSameData=function(Ie,Fe,Ue){for(var qe=Ue.scale,At=Ie.mapDimension(Ue.dim),Dt=Number.MAX_VALUE,Lt=0,jt=qe.getOrdinalMeta().categories.length;Lt<jt;++Lt){var hn=Ie.rawIndexOf(At,qe.getRawOrdinalNumber(Lt)),vn=hn<0?Number.MIN_VALUE:Fe(Ie.indexOfRawIndex(hn));if(vn>Dt)return!0;Dt=vn}return!1},$e.prototype._isOrderDifferentInView=function(Ie,Fe){for(var Ue=Fe.scale,qe=Ue.getExtent(),At=Math.max(0,qe[0]),Dt=Math.min(qe[1],Ue.getOrdinalMeta().categories.length-1);At<=Dt;++At)if(Ie.ordinalNumbers[At]!==Ue.getRawOrdinalNumber(At))return!0},$e.prototype._updateSortWithinSameData=function(Ie,Fe,Ue,qe){if(this._isOrderChangedWithinSameData(Ie,Fe,Ue)){var At=this._dataSort(Ie,Ue,Fe);this._isOrderDifferentInView(At,Ue)&&(this._removeOnRenderedListener(qe),qe.dispatchAction({type:"changeAxisOrder",componentType:Ue.dim+"Axis",axisId:Ue.index,sortInfo:At}))}},$e.prototype._dispatchInitSort=function(Ie,Fe,Ue){var qe=Fe.baseAxis,At=this._dataSort(Ie,qe,function(Dt){return Ie.get(Ie.mapDimension(Fe.otherAxis.dim),Dt)});Ue.dispatchAction({type:"changeAxisOrder",componentType:qe.dim+"Axis",isInitSort:!0,axisId:qe.index,sortInfo:At})},$e.prototype.remove=function(Ie,Fe){this._clear(this._model),this._removeOnRenderedListener(Fe)},$e.prototype.dispose=function(Ie,Fe){this._removeOnRenderedListener(Fe)},$e.prototype._removeOnRenderedListener=function(Ie){this._onRendered&&(Ie.getZr().off("rendered",this._onRendered),this._onRendered=null)},$e.prototype._clear=function(Ie){var Fe=this.group,Ue=this._data;Ie&&Ie.isAnimationEnabled()&&Ue&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],Ue.eachItemGraphicEl(function(qe){removeElementWithFadeOut(qe,Ie,getECData(qe).dataIndex)})):Fe.removeAll(),this._data=null,this._isFirstFrame=!0},$e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},$e.type="bar",$e}(ChartView),clip={cartesian2d:function(xe,$e){var Ie=$e.width<0?-1:1,Fe=$e.height<0?-1:1;Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height);var Ue=xe.x+xe.width,qe=xe.y+xe.height,At=mathMax$4($e.x,xe.x),Dt=mathMin$4($e.x+$e.width,Ue),Lt=mathMax$4($e.y,xe.y),jt=mathMin$4($e.y+$e.height,qe),hn=Dt<At,vn=jt<Lt;return $e.x=hn&&At>Ue?Dt:At,$e.y=vn&&Lt>qe?jt:Lt,$e.width=hn?0:Dt-At,$e.height=vn?0:jt-Lt,Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height),hn||vn},polar:function(xe,$e){var Ie=$e.r0<=$e.r?1:-1;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}var Ue=mathMin$4($e.r,xe.r),qe=mathMax$4($e.r0,xe.r0);$e.r=Ue,$e.r0=qe;var At=Ue-qe<0;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}return At}},elementCreator={cartesian2d:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=new Rect$2({shape:extend$1({},Fe),z2:1});if(jt.__dataIndex=Ie,jt.name="item",qe){var hn=jt.shape,vn=Ue?"height":"width";hn[vn]=0}return jt},polar:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=!Ue&&Lt?SausagePath:Sector,hn=new jt({shape:Fe,z2:1});hn.name="item";var vn=createPolarPositionMapping(Ue);if(hn.calculateTextPosition=createSectorCalculateTextPosition(vn,{isRoundCap:jt===SausagePath}),qe){var bn=hn.shape,_n=Ue?"r":"endAngle",wn={};bn[_n]=Ue?Fe.r0:Fe.startAngle,wn[_n]=Fe[_n],(Dt?updateProps$1:initProps)(hn,{shape:wn},qe)}return hn}};function shouldRealtimeSort(xe,$e){var Ie=xe.get("realtimeSort",!0),Fe=$e.getBaseAxis();if(Ie&&Fe.type==="category"&&$e.type==="cartesian2d")return{baseAxis:Fe,otherAxis:$e.getOtherAxis(Fe)}}function updateRealtimeAnimation(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt,jt;qe?(jt={x:Fe.x,width:Fe.width},Lt={y:Fe.y,height:Fe.height}):(jt={y:Fe.y,height:Fe.height},Lt={x:Fe.x,width:Fe.width}),Dt||(At?updateProps$1:initProps)(Ie,{shape:Lt},$e,Ue,null);var hn=$e?xe.baseAxis.model:null;(At?updateProps$1:initProps)(Ie,{shape:jt},hn,Ue)}function checkPropertiesNotValid(xe,$e){for(var Ie=0;Ie<$e.length;Ie++)if(!isFinite(xe[$e[Ie]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function(xe){return!checkPropertiesNotValid(xe,rectPropties)},polar:function(xe){return!checkPropertiesNotValid(xe,polarPropties)}},getLayout={cartesian2d:function(xe,$e,Ie){var Fe=xe.getItemLayout($e),Ue=Ie?getLineWidth(Ie,Fe):0,qe=Fe.width>0?1:-1,At=Fe.height>0?1:-1;return{x:Fe.x+qe*Ue/2,y:Fe.y+At*Ue/2,width:Fe.width-qe*Ue,height:Fe.height-At*Ue}},polar:function(xe,$e,Ie){var Fe=xe.getItemLayout($e);return{cx:Fe.cx,cy:Fe.cy,r0:Fe.r0,r:Fe.r,startAngle:Fe.startAngle,endAngle:Fe.endAngle,clockwise:Fe.clockwise}}};function isZeroOnPolar(xe){return xe.startAngle!=null&&xe.endAngle!=null&&xe.startAngle===xe.endAngle}function createPolarPositionMapping(xe){return function($e){var Ie=$e?"Arc":"Angle";return function(Fe){switch(Fe){case"start":case"insideStart":case"end":case"insideEnd":return Fe+Ie;default:return Fe}}}(xe)}function updateStyle(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getItemVisual(Ie,"style");if(Dt){if(!qe.get("roundCap")){var hn=xe.shape,vn=getSectorCornerRadius(Fe.getModel("itemStyle"),hn,!0);extend$1(hn,vn),xe.setShape(hn)}}else{var jt=Fe.get(["itemStyle","borderRadius"])||0;xe.setShape("r",jt)}xe.useStyle(Lt);var bn=Fe.getShallow("cursor");bn&&xe.attr("cursor",bn);var _n=Dt?At?Ue.r>=Ue.r0?"endArc":"startArc":Ue.endAngle>=Ue.startAngle?"endAngle":"startAngle":At?Ue.height>=0?"bottom":"top":Ue.width>=0?"right":"left",wn=getLabelStatesModels(Fe);setLabelStyle(xe,wn,{labelFetcher:qe,labelDataIndex:Ie,defaultText:getDefaultLabel(qe.getData(),Ie),inheritColor:Lt.fill,defaultOpacity:Lt.opacity,defaultOutsidePosition:_n});var kn=xe.getTextContent();if(Dt&&kn){var Cn=Fe.get(["label","position"]);xe.textConfig.inside=Cn==="middle"?!0:null,setSectorTextRotation(xe,Cn==="outside"?_n:Cn,createPolarPositionMapping(At),Fe.get(["label","rotate"]))}setLabelValueAnimation(kn,wn,qe.getRawValue(Ie),function(xn){return getDefaultInterpolatedLabel($e,xn)});var Sn=Fe.getModel(["emphasis"]);toggleHoverEmphasis(xe,Sn.get("focus"),Sn.get("blurScope"),Sn.get("disabled")),setStatesStylesFromModel(xe,Fe),isZeroOnPolar(Ue)&&(xe.style.fill="none",xe.style.stroke="none",each$f(xe.states,function(xn){xn.style&&(xn.style.fill=xn.style.stroke="none")}))}function getLineWidth(xe,$e){var Ie=xe.get(["itemStyle","borderColor"]);if(!Ie||Ie==="none")return 0;var Fe=xe.get(["itemStyle","borderWidth"])||0,Ue=isNaN($e.width)?Number.MAX_VALUE:Math.abs($e.width),qe=isNaN($e.height)?Number.MAX_VALUE:Math.abs($e.height);return Math.min(Fe,Ue,qe)}var LagePathShape=function(){function xe(){}return xe}(),LargePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeBar",Fe}return $e.prototype.getDefaultShape=function(){return new LagePathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=this.baseDimIdx,At=1-this.baseDimIdx,Dt=[],Lt=[],jt=this.barWidth,hn=0;hn<Ue.length;hn+=3)Lt[qe]=jt,Lt[At]=Ue[hn+2],Dt[qe]=Ue[hn+qe],Dt[At]=Ue[hn+At],Ie.rect(Dt[0],Dt[1],Lt[0],Lt[1])},$e}(Path);function createLarge$1(xe,$e,Ie,Fe){var Ue=xe.getData(),qe=Ue.getLayout("valueAxisHorizontal")?1:0,At=Ue.getLayout("largeDataIndices"),Dt=Ue.getLayout("size"),Lt=xe.getModel("backgroundStyle"),jt=Ue.getLayout("largeBackgroundPoints");if(jt){var hn=new LargePath({shape:{points:jt},incremental:!!Fe,silent:!0,z2:0});hn.baseDimIdx=qe,hn.largeDataIndices=At,hn.barWidth=Dt,hn.useStyle(Lt.getItemStyle()),$e.add(hn),Ie&&Ie.push(hn)}var vn=new LargePath({shape:{points:Ue.getLayout("largePoints")},incremental:!!Fe,ignoreCoarsePointer:!0,z2:1});vn.baseDimIdx=qe,vn.largeDataIndices=At,vn.barWidth=Dt,$e.add(vn),vn.useStyle(Ue.getVisual("style")),getECData(vn).seriesIndex=xe.seriesIndex,xe.get("silent")||(vn.on("mousedown",largePathUpdateDataIndex),vn.on("mousemove",largePathUpdateDataIndex)),Ie&&Ie.push(vn)}var largePathUpdateDataIndex=throttle$2(function(xe){var $e=this,Ie=largePathFindDataIndex($e,xe.offsetX,xe.offsetY);getECData($e).dataIndex=Ie>=0?Ie:null},30,!1);function largePathFindDataIndex(xe,$e,Ie){for(var Fe=xe.baseDimIdx,Ue=1-Fe,qe=xe.shape.points,At=xe.largeDataIndices,Dt=[],Lt=[],jt=xe.barWidth,hn=0,vn=qe.length/3;hn<vn;hn++){var bn=hn*3;if(Lt[Fe]=jt,Lt[Ue]=qe[bn+2],Dt[Fe]=qe[bn+Fe],Dt[Ue]=qe[bn+Ue],Lt[Ue]<0&&(Dt[Ue]+=Lt[Ue],Lt[Ue]=-Lt[Ue]),$e>=Dt[0]&&$e<=Dt[0]+Lt[0]&&Ie>=Dt[1]&&Ie<=Dt[1]+Lt[1])return At[hn]}return-1}function createBackgroundShape(xe,$e,Ie){if(isCoordinateSystemType(Ie,"cartesian2d")){var Fe=$e,Ue=Ie.getArea();return{x:xe?Fe.x:Ue.x,y:xe?Ue.y:Fe.y,width:xe?Fe.width:Ue.width,height:xe?Ue.height:Fe.height}}else{var Ue=Ie.getArea(),qe=$e;return{cx:Ue.cx,cy:Ue.cy,r0:xe?Ue.r0:qe.r0,r:xe?Ue.r:qe.r,startAngle:xe?qe.startAngle:0,endAngle:xe?qe.endAngle:Math.PI*2}}}function createBackgroundEl(xe,$e,Ie){var Fe=xe.type==="polar"?Sector:Rect$2;return new Fe({shape:createBackgroundShape($e,Ie,xe),silent:!0,z2:0})}function install$Q(xe){xe.registerChartView(BarView),xe.registerSeriesModel(BarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$4,"bar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),xe.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function($e,Ie){var Fe=$e.componentType||"series";Ie.eachComponent({mainType:Fe,query:$e},function(Ue){$e.sortInfo&&Ue.axis.setCategorySortInfo($e.sortInfo)})})}var PI2=Math.PI*2,RADIAN$2=Math.PI/180;function getViewRect$5(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getBasicPieLayout(xe,$e){var Ie=getViewRect$5(xe,$e),Fe=xe.get("center"),Ue=xe.get("radius");isArray$2(Ue)||(Ue=[0,Ue]);var qe=parsePercent(Ie.width,$e.getWidth()),At=parsePercent(Ie.height,$e.getHeight()),Dt=Math.min(qe,At),Lt=parsePercent(Ue[0],Dt/2),jt=parsePercent(Ue[1],Dt/2),hn,vn,bn=xe.coordinateSystem;if(bn){var _n=bn.dataToPoint(Fe);hn=_n[0]||0,vn=_n[1]||0}else isArray$2(Fe)||(Fe=[Fe,Fe]),hn=parsePercent(Fe[0],qe)+Ie.x,vn=parsePercent(Fe[1],At)+Ie.y;return{cx:hn,cy:vn,r0:Lt,r:jt}}function pieLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.getData(),qe=Ue.mapDimension("value"),At=getViewRect$5(Fe,Ie),Dt=getBasicPieLayout(Fe,Ie),Lt=Dt.cx,jt=Dt.cy,hn=Dt.r,vn=Dt.r0,bn=-Fe.get("startAngle")*RADIAN$2,_n=Fe.get("endAngle"),wn=Fe.get("padAngle")*RADIAN$2;_n=_n==="auto"?bn-PI2:-_n*RADIAN$2;var kn=Fe.get("minAngle")*RADIAN$2,Cn=kn+wn,Sn=0;Ue.each(qe,function(Dn){!isNaN(Dn)&&Sn++});var xn=Ue.getSum(qe),En=Math.PI/(xn||Sn)*2,Tn=Fe.get("clockwise"),An=Fe.get("roseType"),$n=Fe.get("stillShowZeroSum"),Pn=Ue.getDataExtent(qe);Pn[0]=0;var Nn=Tn?1:-1,Mn=[bn,_n],In=Nn*wn/2;normalizeArcAngles(Mn,!Tn),bn=Mn[0],_n=Mn[1];var On=Math.abs(_n-bn),Rn=On,Bn=0,Vn=bn;if(Ue.setLayout({viewRect:At,r:hn}),Ue.each(qe,function(Dn,Hn){var Fn;if(isNaN(Dn)){Ue.setItemLayout(Hn,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?NaN:hn});return}An!=="area"?Fn=xn===0&&$n?En:Dn*En:Fn=On/Sn,Fn<Cn?(Fn=Cn,Rn-=Cn):Bn+=Dn;var zn=Vn+Nn*Fn,jn=0,Gn=0;wn>Fn?(jn=Vn+Nn*Fn/2,Gn=jn):(jn=Vn+In,Gn=zn-In),Ue.setItemLayout(Hn,{angle:Fn,startAngle:jn,endAngle:Gn,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?linearMap$2(Dn,Pn,[vn,hn]):hn}),Vn=zn}),Rn<PI2&&Sn)if(Rn<=.001){var Ln=On/Sn;Ue.each(qe,function(Dn,Hn){if(!isNaN(Dn)){var Fn=Ue.getItemLayout(Hn);Fn.angle=Ln;var zn=0,jn=0;Ln<wn?(zn=bn+Nn*(Hn+1/2)*Ln,jn=zn):(zn=bn+Nn*Hn*Ln+In,jn=bn+Nn*(Hn+1)*Ln-In),Fn.startAngle=zn,Fn.endAngle=jn}})}else En=Rn/Bn,Vn=bn,Ue.each(qe,function(Dn,Hn){if(!isNaN(Dn)){var Fn=Ue.getItemLayout(Hn),zn=Fn.angle===Cn?Cn:Dn*En,jn=0,Gn=0;zn<wn?(jn=Vn+Nn*zn/2,Gn=jn):(jn=Vn+In,Gn=Vn+Nn*zn-In),Fn.startAngle=jn,Fn.endAngle=Gn,Vn+=Nn*zn}})})}function dataFilter$1(xe){return{seriesType:xe,reset:function($e,Ie){var Fe=Ie.findComponents({mainType:"legend"});if(!(!Fe||!Fe.length)){var Ue=$e.getData();Ue.filterSelf(function(qe){for(var At=Ue.getName(qe),Dt=0;Dt<Fe.length;Dt++)if(!Fe[Dt].isSelected(At))return!1;return!0})}}}}var RADIAN$1=Math.PI/180;function adjustSingleSide(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(xe.length<2)return;function hn(kn){for(var Cn=kn.rB,Sn=Cn*Cn,xn=0;xn<kn.list.length;xn++){var En=kn.list[xn],Tn=Math.abs(En.label.y-Ie),An=Fe+En.len,$n=An*An,Pn=Math.sqrt((1-Math.abs(Tn*Tn/Sn))*$n),Nn=$e+(Pn+En.len2)*Ue,Mn=Nn-En.label.x,In=En.targetTextWidth-Mn*Ue;constrainTextWidth(En,In,!0),En.label.x=Nn}}function vn(kn){for(var Cn={list:[],maxY:0},Sn={list:[],maxY:0},xn=0;xn<kn.length;xn++)if(kn[xn].labelAlignTo==="none"){var En=kn[xn],Tn=En.label.y>Ie?Sn:Cn,An=Math.abs(En.label.y-Ie);if(An>=Tn.maxY){var $n=En.label.x-$e-En.len2*Ue,Pn=Fe+En.len,Nn=Math.abs($n)<Pn?Math.sqrt(An*An/(1-$n*$n/Pn/Pn)):Pn;Tn.rB=Nn,Tn.maxY=An}Tn.list.push(En)}hn(Cn),hn(Sn)}for(var bn=xe.length,_n=0;_n<bn;_n++)if(xe[_n].position==="outer"&&xe[_n].labelAlignTo==="labelLine"){var wn=xe[_n].label.x-jt;xe[_n].linePoints[1][0]+=wn,xe[_n].label.x=jt}shiftLayoutOnY(xe,Lt,Lt+At)&&vn(xe)}function avoidOverlap(xe,$e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=[],jt=[],hn=Number.MAX_VALUE,vn=-Number.MAX_VALUE,bn=0;bn<xe.length;bn++){var _n=xe[bn].label;isPositionCenter(xe[bn])||(_n.x<$e?(hn=Math.min(hn,_n.x),Lt.push(xe[bn])):(vn=Math.max(vn,_n.x),jt.push(xe[bn])))}for(var bn=0;bn<xe.length;bn++){var wn=xe[bn];if(!isPositionCenter(wn)&&wn.linePoints){if(wn.labelStyleWidth!=null)continue;var _n=wn.label,kn=wn.linePoints,Cn=void 0;wn.labelAlignTo==="edge"?_n.x<$e?Cn=kn[2][0]-wn.labelDistance-At-wn.edgeDistance:Cn=At+Ue-wn.edgeDistance-kn[2][0]-wn.labelDistance:wn.labelAlignTo==="labelLine"?_n.x<$e?Cn=hn-At-wn.bleedMargin:Cn=At+Ue-vn-wn.bleedMargin:_n.x<$e?Cn=_n.x-At-wn.bleedMargin:Cn=At+Ue-_n.x-wn.bleedMargin,wn.targetTextWidth=Cn,constrainTextWidth(wn,Cn)}}adjustSingleSide(jt,$e,Ie,Fe,1,Ue,qe,At,Dt,vn),adjustSingleSide(Lt,$e,Ie,Fe,-1,Ue,qe,At,Dt,hn);for(var bn=0;bn<xe.length;bn++){var wn=xe[bn];if(!isPositionCenter(wn)&&wn.linePoints){var _n=wn.label,kn=wn.linePoints,Sn=wn.labelAlignTo==="edge",xn=_n.style.padding,En=xn?xn[1]+xn[3]:0,Tn=_n.style.backgroundColor?0:En,An=wn.rect.width+Tn,$n=kn[1][0]-kn[2][0];Sn?_n.x<$e?kn[2][0]=At+wn.edgeDistance+An+wn.labelDistance:kn[2][0]=At+Ue-wn.edgeDistance-An-wn.labelDistance:(_n.x<$e?kn[2][0]=_n.x+wn.labelDistance:kn[2][0]=_n.x-wn.labelDistance,kn[1][0]=kn[2][0]+$n),kn[1][1]=kn[2][1]=_n.y}}}function constrainTextWidth(xe,$e,Ie){if(Ie===void 0&&(Ie=!1),xe.labelStyleWidth==null){var Fe=xe.label,Ue=Fe.style,qe=xe.rect,At=Ue.backgroundColor,Dt=Ue.padding,Lt=Dt?Dt[1]+Dt[3]:0,jt=Ue.overflow,hn=qe.width+(At?0:Lt);if($e<hn||Ie){var vn=qe.height;if(jt&&jt.match("break")){Fe.setStyle("backgroundColor",null),Fe.setStyle("width",$e-Lt);var bn=Fe.getBoundingRect();Fe.setStyle("width",Math.ceil(bn.width)),Fe.setStyle("backgroundColor",At)}else{var _n=$e-Lt,wn=$e<hn?_n:Ie?_n>xe.unconstrainedWidth?null:_n:null;Fe.setStyle("width",wn)}var kn=Fe.getBoundingRect();qe.width=kn.width;var Cn=(Fe.style.margin||0)+2.1;qe.height=kn.height+Cn,qe.y-=(qe.height-vn)/2}}}function isPositionCenter(xe){return xe.position==="center"}function pieLabelLayout(xe){var $e=xe.getData(),Ie=[],Fe,Ue,qe=!1,At=(xe.get("minShowLabelAngle")||0)*RADIAN$1,Dt=$e.getLayout("viewRect"),Lt=$e.getLayout("r"),jt=Dt.width,hn=Dt.x,vn=Dt.y,bn=Dt.height;function _n($n){$n.ignore=!0}function wn($n){if(!$n.ignore)return!0;for(var Pn in $n.states)if($n.states[Pn].ignore===!1)return!0;return!1}$e.each(function($n){var Pn=$e.getItemGraphicEl($n),Nn=Pn.shape,Mn=Pn.getTextContent(),In=Pn.getTextGuideLine(),On=$e.getItemModel($n),Rn=On.getModel("label"),Bn=Rn.get("position")||On.get(["emphasis","label","position"]),Vn=Rn.get("distanceToLabelLine"),Ln=Rn.get("alignTo"),Dn=parsePercent(Rn.get("edgeDistance"),jt),Hn=Rn.get("bleedMargin"),Fn=On.getModel("labelLine"),zn=Fn.get("length");zn=parsePercent(zn,jt);var jn=Fn.get("length2");if(jn=parsePercent(jn,jt),Math.abs(Nn.endAngle-Nn.startAngle)<At){each$f(Mn.states,_n),Mn.ignore=!0,In&&(each$f(In.states,_n),In.ignore=!0);return}if(wn(Mn)){var Gn=(Nn.startAngle+Nn.endAngle)/2,Wn=Math.cos(Gn),Xn=Math.sin(Gn),er,rr,Jn,qn;Fe=Nn.cx,Ue=Nn.cy;var Yn=Bn==="inside"||Bn==="inner";if(Bn==="center")er=Nn.cx,rr=Nn.cy,qn="center";else{var ar=(Yn?(Nn.r+Nn.r0)/2*Wn:Nn.r*Wn)+Fe,tr=(Yn?(Nn.r+Nn.r0)/2*Xn:Nn.r*Xn)+Ue;if(er=ar+Wn*3,rr=tr+Xn*3,!Yn){var or=ar+Wn*(zn+Lt-Nn.r),sr=tr+Xn*(zn+Lt-Nn.r),Kn=or+(Wn<0?-1:1)*jn,Zn=sr;Ln==="edge"?er=Wn<0?hn+Dn:hn+jt-Dn:er=Kn+(Wn<0?-Vn:Vn),rr=Zn,Jn=[[ar,tr],[or,sr],[Kn,Zn]]}qn=Yn?"center":Ln==="edge"?Wn>0?"right":"left":Wn>0?"left":"right"}var nr=Math.PI,lr=0,ir=Rn.get("rotate");if(isNumber$2(ir))lr=ir*(nr/180);else if(Bn==="center")lr=0;else if(ir==="radial"||ir===!0){var kr=Wn<0?-Gn+nr:-Gn;lr=kr}else if(ir==="tangential"&&Bn!=="outside"&&Bn!=="outer"){var Cr=Math.atan2(Wn,Xn);Cr<0&&(Cr=nr*2+Cr);var Er=Xn>0;Er&&(Cr=nr+Cr),lr=Cr-nr}if(qe=!!lr,Mn.x=er,Mn.y=rr,Mn.rotation=lr,Mn.setStyle({verticalAlign:"middle"}),Yn){Mn.setStyle({align:qn});var _r=Mn.states.select;_r&&(_r.x+=Mn.x,_r.y+=Mn.y)}else{var dr=Mn.getBoundingRect().clone();dr.applyTransform(Mn.getComputedTransform());var br=(Mn.style.margin||0)+2.1;dr.y-=br/2,dr.height+=br,Ie.push({label:Mn,labelLine:In,position:Bn,len:zn,len2:jn,minTurnAngle:Fn.get("minTurnAngle"),maxSurfaceAngle:Fn.get("maxSurfaceAngle"),surfaceNormal:new Point(Wn,Xn),linePoints:Jn,textAlign:qn,labelDistance:Vn,labelAlignTo:Ln,edgeDistance:Dn,bleedMargin:Hn,rect:dr,unconstrainedWidth:dr.width,labelStyleWidth:Mn.style.width})}Pn.setTextConfig({inside:Yn})}}),!qe&&xe.get("avoidLabelOverlap")&&avoidOverlap(Ie,Fe,Ue,Lt,jt,bn,hn,vn);for(var kn=0;kn<Ie.length;kn++){var Cn=Ie[kn],Sn=Cn.label,xn=Cn.labelLine,En=isNaN(Sn.x)||isNaN(Sn.y);if(Sn){Sn.setStyle({align:Cn.textAlign}),En&&(each$f(Sn.states,_n),Sn.ignore=!0);var Tn=Sn.states.select;Tn&&(Tn.x+=Sn.x,Tn.y+=Sn.y)}if(xn){var An=Cn.linePoints;En||!An?(each$f(xn.states,_n),xn.ignore=!0):(limitTurnAngle(An,Cn.minTurnAngle),limitSurfaceAngle(An,Cn.surfaceNormal,Cn.maxSurfaceAngle),xn.setShape({points:An}),Sn.__hostTarget.textGuideLineConfig={anchor:new Point(An[0][0],An[0][1])})}}}var PiePiece=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;qe.z2=2;var At=new ZRText;return qe.setTextContent(At),qe.updateData(Ie,Fe,Ue,!0),qe}return $e.prototype.updateData=function(Ie,Fe,Ue,qe){var At=this,Dt=Ie.hostModel,Lt=Ie.getItemModel(Fe),jt=Lt.getModel("emphasis"),hn=Ie.getItemLayout(Fe),vn=extend$1(getSectorCornerRadius(Lt.getModel("itemStyle"),hn,!0),hn);if(isNaN(vn.startAngle)){At.setShape(vn);return}if(qe){At.setShape(vn);var bn=Dt.getShallow("animationType");Dt.ecModel.ssr?(initProps(At,{scaleX:0,scaleY:0},Dt,{dataIndex:Fe,isFrom:!0}),At.originX=vn.cx,At.originY=vn.cy):bn==="scale"?(At.shape.r=hn.r0,initProps(At,{shape:{r:hn.r}},Dt,Fe)):Ue!=null?(At.setShape({startAngle:Ue,endAngle:Ue}),initProps(At,{shape:{startAngle:hn.startAngle,endAngle:hn.endAngle}},Dt,Fe)):(At.shape.endAngle=hn.startAngle,updateProps$1(At,{shape:{endAngle:hn.endAngle}},Dt,Fe))}else saveOldStyle(At),updateProps$1(At,{shape:vn},Dt,Fe);At.useStyle(Ie.getItemVisual(Fe,"style")),setStatesStylesFromModel(At,Lt);var _n=(hn.startAngle+hn.endAngle)/2,wn=Dt.get("selectedOffset"),kn=Math.cos(_n)*wn,Cn=Math.sin(_n)*wn,Sn=Lt.getShallow("cursor");Sn&&At.attr("cursor",Sn),this._updateLabel(Dt,Ie,Fe),At.ensureState("emphasis").shape=extend$1({r:hn.r+(jt.get("scale")&&jt.get("scaleSize")||0)},getSectorCornerRadius(jt.getModel("itemStyle"),hn)),extend$1(At.ensureState("select"),{x:kn,y:Cn,shape:getSectorCornerRadius(Lt.getModel(["select","itemStyle"]),hn)}),extend$1(At.ensureState("blur"),{shape:getSectorCornerRadius(Lt.getModel(["blur","itemStyle"]),hn)});var xn=At.getTextGuideLine(),En=At.getTextContent();xn&&extend$1(xn.ensureState("select"),{x:kn,y:Cn}),extend$1(En.ensureState("select"),{x:kn,y:Cn}),toggleHoverEmphasis(this,jt.get("focus"),jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie,Fe,Ue){var qe=this,At=Fe.getItemModel(Ue),Dt=At.getModel("labelLine"),Lt=Fe.getItemVisual(Ue,"style"),jt=Lt&&Lt.fill,hn=Lt&&Lt.opacity;setLabelStyle(qe,getLabelStatesModels(At),{labelFetcher:Fe.hostModel,labelDataIndex:Ue,inheritColor:jt,defaultOpacity:hn,defaultText:Ie.getFormattedLabel(Ue,"normal")||Fe.getName(Ue)});var vn=qe.getTextContent();qe.setTextConfig({position:null,rotation:null}),vn.attr({z2:10});var bn=Ie.get(["label","position"]);if(bn!=="outside"&&bn!=="outer")qe.removeTextGuideLine();else{var _n=this.getTextGuideLine();_n||(_n=new Polyline$1,this.setTextGuideLine(_n)),setLabelLineStyle(this,getLabelLineStatesModels(At),{stroke:jt,opacity:retrieve3(Dt.get(["lineStyle","opacity"]),hn,1)})}},$e}(Sector),PieView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.ignoreLabelLineUpdate=!0,Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=this._data,Lt=this.group,jt;if(!Dt&&At.count()>0){for(var hn=At.getItemLayout(0),vn=1;isNaN(hn&&hn.startAngle)&&vn<At.count();++vn)hn=At.getItemLayout(vn);hn&&(jt=hn.startAngle)}if(this._emptyCircleSector&&Lt.remove(this._emptyCircleSector),At.count()===0&&Ie.get("showEmptyCircle")){var bn=new Sector({shape:getBasicPieLayout(Ie,Ue)});bn.useStyle(Ie.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=bn,Lt.add(bn)}At.diff(Dt).add(function(_n){var wn=new PiePiece(At,_n,jt);At.setItemGraphicEl(_n,wn),Lt.add(wn)}).update(function(_n,wn){var kn=Dt.getItemGraphicEl(wn);kn.updateData(At,_n,jt),kn.off("click"),Lt.add(kn),At.setItemGraphicEl(_n,kn)}).remove(function(_n){var wn=Dt.getItemGraphicEl(_n);removeElementWithFadeOut(wn,Ie,_n)}).execute(),pieLabelLayout(Ie),Ie.get("animationTypeUpdate")!=="expansion"&&(this._data=At)},$e.prototype.dispose=function(){},$e.prototype.containPoint=function(Ie,Fe){var Ue=Fe.getData(),qe=Ue.getItemLayout(0);if(qe){var At=Ie[0]-qe.cx,Dt=Ie[1]-qe.cy,Lt=Math.sqrt(At*At+Dt*Dt);return Lt<=qe.r&&Lt>=qe.r0}},$e.type="pie",$e}(ChartView);function createSeriesDataSimply(xe,$e,Ie){$e=isArray$2($e)&&{coordDimensions:$e}||extend$1({encodeDefine:xe.getEncode()},$e);var Fe=xe.getSource(),Ue=prepareSeriesDataSchema(Fe,$e).dimensions,qe=new SeriesData(Ue,xe);return qe.initData(Fe,Ie),qe}var LegendVisualProvider=function(){function xe($e,Ie){this._getDataWithEncodedVisual=$e,this._getRawData=Ie}return xe.prototype.getAllNames=function(){var $e=this._getRawData();return $e.mapArray($e.getName)},xe.prototype.containName=function($e){var Ie=this._getRawData();return Ie.indexOfName($e)>=0},xe.prototype.indexOfName=function($e){var Ie=this._getDataWithEncodedVisual();return Ie.indexOfName($e)},xe.prototype.getItemVisual=function($e,Ie){var Fe=this._getDataWithEncodedVisual();return Fe.getItemVisual($e,Ie)},xe}(),innerData=makeInner(),PieSeriesModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.mergeOption=function(){xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=innerData(Fe),qe=Ue.seats;if(!qe){var At=[];Fe.each(Fe.mapDimension("value"),function(Lt){At.push(Lt)}),qe=Ue.seats=getPercentSeats(At,Fe.hostModel.get("percentPrecision"))}var Dt=xe.prototype.getDataParams.call(this,Ie);return Dt.percent=qe[Ie]||0,Dt.$vars.push("percent"),Dt},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.type="series.pie",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,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"},$e}(SeriesModel);function negativeDataFilter(xe){return{seriesType:xe,reset:function($e,Ie){var Fe=$e.getData();Fe.filterSelf(function(Ue){var qe=Fe.mapDimension("value"),At=Fe.get(qe,Ue);return!(isNumber$2(At)&&!isNaN(At)&&At<0)})}}}function install$P(xe){xe.registerChartView(PieView),xe.registerSeriesModel(PieSeriesModel),createLegacyDataSelectAction("pie",xe.registerAction),xe.registerLayout(curry$1(pieLayout,"pie")),xe.registerProcessor(dataFilter$1("pie")),xe.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?5e3:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?1e4:this.get("progressiveThreshold"))},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.point(Fe.getItemLayout(Ie))},$e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},$e.type="series.scatter",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},$e}(SeriesModel),BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){function xe(){}return xe}(),LargeSymbolPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},$e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.size,At=this.symbolProxy,Dt=At.shape,Lt=Ie.getContext?Ie.getContext():Ie,jt=Lt&&qe[0]<BOOST_SIZE_THRESHOLD,hn=this.softClipShape,vn;if(jt){this._ctx=Lt;return}for(this._ctx=null,vn=this._off;vn<Ue.length;){var bn=Ue[vn++],_n=Ue[vn++];isNaN(bn)||isNaN(_n)||hn&&!hn.contain(bn,_n)||(Dt.x=bn-qe[0]/2,Dt.y=_n-qe[1]/2,Dt.width=qe[0],Dt.height=qe[1],At.buildPath(Ie,Dt,!0))}this.incremental&&(this._off=vn,this.notClear=!0)},$e.prototype.afterBrush=function(){var Ie=this.shape,Fe=Ie.points,Ue=Ie.size,qe=this._ctx,At=this.softClipShape,Dt;if(qe){for(Dt=this._off;Dt<Fe.length;){var Lt=Fe[Dt++],jt=Fe[Dt++];isNaN(Lt)||isNaN(jt)||At&&!At.contain(Lt,jt)||qe.fillRect(Lt-Ue[0]/2,jt-Ue[1]/2,Ue[0],Ue[1])}this.incremental&&(this._off=Dt,this.notClear=!0)}},$e.prototype.findDataIndex=function(Ie,Fe){for(var Ue=this.shape,qe=Ue.points,At=Ue.size,Dt=Math.max(At[0],4),Lt=Math.max(At[1],4),jt=qe.length/2-1;jt>=0;jt--){var hn=jt*2,vn=qe[hn]-Dt/2,bn=qe[hn+1]-Lt/2;if(Ie>=vn&&Fe>=bn&&Ie<=vn+Dt&&Fe<=bn+Lt)return jt}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.points,qe=Fe.size,At=qe[0],Dt=qe[1],Lt=1/0,jt=1/0,hn=-1/0,vn=-1/0,bn=0;bn<Ue.length;){var _n=Ue[bn++],wn=Ue[bn++];Lt=Math.min(_n,Lt),hn=Math.max(_n,hn),jt=Math.min(wn,jt),vn=Math.max(wn,vn)}Ie=this._rect=new BoundingRect(Lt-At/2,jt-Dt/2,hn-Lt+At,vn-jt+Dt)}return Ie},$e}(Path),LargeSymbolDraw=function(){function xe(){this.group=new Group$3}return xe.prototype.updateData=function($e,Ie){this._clear();var Fe=this._create();Fe.setShape({points:$e.getLayout("points")}),this._setCommon(Fe,$e,Ie)},xe.prototype.updateLayout=function($e){var Ie=$e.getLayout("points");this.group.eachChild(function(Fe){if(Fe.startIndex!=null){var Ue=(Fe.endIndex-Fe.startIndex)*2,qe=Fe.startIndex*4*2;Ie=new Float32Array(Ie.buffer,qe,Ue)}Fe.setShape("points",Ie),Fe.reset()})},xe.prototype.incrementalPrepareUpdate=function($e){this._clear()},xe.prototype.incrementalUpdate=function($e,Ie,Fe){var Ue=this._newAdded[0],qe=Ie.getLayout("points"),At=Ue&&Ue.shape.points;if(At&&At.length<2e4){var Dt=At.length,Lt=new Float32Array(Dt+qe.length);Lt.set(At),Lt.set(qe,Dt),Ue.endIndex=$e.end,Ue.setShape({points:Lt})}else{this._newAdded=[];var jt=this._create();jt.startIndex=$e.start,jt.endIndex=$e.end,jt.incremental=!0,jt.setShape({points:qe}),this._setCommon(jt,Ie,Fe)}},xe.prototype.eachRendered=function($e){this._newAdded[0]&&$e(this._newAdded[0])},xe.prototype._create=function(){var $e=new LargeSymbolPath({cursor:"default"});return $e.ignoreCoarsePointer=!0,this.group.add($e),this._newAdded.push($e),$e},xe.prototype._setCommon=function($e,Ie,Fe){var Ue=Ie.hostModel;Fe=Fe||{};var qe=Ie.getVisual("symbolSize");$e.setShape("size",qe instanceof Array?qe:[qe,qe]),$e.softClipShape=Fe.clipShape||null,$e.symbolProxy=createSymbol$1(Ie.getVisual("symbol"),0,0,0,0),$e.setColor=$e.symbolProxy.setColor;var At=$e.shape.size[0]<BOOST_SIZE_THRESHOLD;$e.useStyle(Ue.getModel("itemStyle").getItemStyle(At?["color","shadowBlur","shadowColor"]:["color"]));var Dt=Ie.getVisual("style"),Lt=Dt&&Dt.fill;Lt&&$e.setColor(Lt);var jt=getECData($e);jt.seriesIndex=Ue.seriesIndex,$e.on("mousemove",function(hn){jt.dataIndex=null;var vn=$e.hoverDataIdx;vn>=0&&(jt.dataIndex=vn+($e.startIndex||0))})},xe.prototype.remove=function(){this._clear()},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),ScatterView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.updateData(qe,{clipShape:this._getClipShape(Ie)}),this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._symbolDraw.incrementalUpdate(Ie,Fe.getData(),{clipShape:this._getClipShape(Fe)}),this._finished=Ie.end===Fe.getData().count()},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData();if(this.group.dirty(),!this._finished||qe.count()>1e4)return{update:!0};var At=pointsLayout("").reset(Ie,Fe,Ue);At.progress&&At.progress({start:0,end:qe.count(),count:qe.count()},qe),this._symbolDraw.updateLayout(qe)},$e.prototype.eachRendered=function(Ie){this._symbolDraw&&this._symbolDraw.eachRendered(Ie)},$e.prototype._getClipShape=function(Ie){if(Ie.get("clip",!0)){var Fe=Ie.coordinateSystem;return Fe&&Fe.getArea&&Fe.getArea(.1)}},$e.prototype._updateSymbolDraw=function(Ie,Fe){var Ue=this._symbolDraw,qe=Fe.pipelineContext,At=qe.large;return(!Ue||At!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._symbolDraw=At?new LargeSymbolDraw:new SymbolDraw,this._isLargeDraw=At,this.group.removeAll()),this.group.add(Ue.group),Ue},$e.prototype.remove=function(Ie,Fe){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},$e.prototype.dispose=function(){},$e.type="scatter",$e}(ChartView),GridModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.type="grid",$e.dependencies=["xAxis","yAxis"],$e.layoutMode="box",$e.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"},$e}(ComponentModel),CartesianAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},$e.type="cartesian2dAxis",$e}(ComponentModel);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$1({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge$1({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$1({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults$1({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(xe,$e,Ie,Fe){each$f(AXIS_TYPES,function(Ue,qe){var At=merge$1(merge$1({},axisDefault[qe],!0),Fe,!0),Dt=function(Lt){__extends(jt,Lt);function jt(){var hn=Lt!==null&&Lt.apply(this,arguments)||this;return hn.type=$e+"Axis."+qe,hn}return jt.prototype.mergeDefaultAndTheme=function(hn,vn){var bn=fetchLayoutMode(this),_n=bn?getLayoutParams(hn):{},wn=vn.getTheme();merge$1(hn,wn.get(qe+"Axis")),merge$1(hn,this.getDefaultOption()),hn.type=getAxisType(hn),bn&&mergeLayoutParam(hn,_n,bn)},jt.prototype.optionUpdated=function(){var hn=this.option;hn.type==="category"&&(this.__ordinalMeta=OrdinalMeta.createByAxisModel(this))},jt.prototype.getCategories=function(hn){var vn=this.option;if(vn.type==="category")return hn?vn.data:this.__ordinalMeta.categories},jt.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},jt.type=$e+"Axis."+qe,jt.defaultOption=At,jt}(Ie);xe.registerComponentModel(Dt)}),xe.registerSubTypeDefaulter($e+"Axis",getAxisType)}function getAxisType(xe){return xe.type||(xe.data?"category":"value")}var Cartesian=function(){function xe($e){this.type="cartesian",this._dimList=[],this._axes={},this.name=$e||""}return xe.prototype.getAxis=function($e){return this._axes[$e]},xe.prototype.getAxes=function(){return map$1(this._dimList,function($e){return this._axes[$e]},this)},xe.prototype.getAxesByScale=function($e){return $e=$e.toLowerCase(),filter(this.getAxes(),function(Ie){return Ie.scale.type===$e})},xe.prototype.addAxis=function($e){var Ie=$e.dim;this._axes[Ie]=$e,this._dimList.push(Ie)},xe}(),cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(xe){return xe.type==="interval"||xe.type==="time"}var Cartesian2D=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="cartesian2d",Ie.dimensions=cartesian2DDimensions,Ie}return $e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var Ie=this.getAxis("x").scale,Fe=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(Ie)||!canCalculateAffineTransform(Fe))){var Ue=Ie.getExtent(),qe=Fe.getExtent(),At=this.dataToPoint([Ue[0],qe[0]]),Dt=this.dataToPoint([Ue[1],qe[1]]),Lt=Ue[1]-Ue[0],jt=qe[1]-qe[0];if(!(!Lt||!jt)){var hn=(Dt[0]-At[0])/Lt,vn=(Dt[1]-At[1])/jt,bn=At[0]-Ue[0]*hn,_n=At[1]-qe[0]*vn,wn=this._transform=[hn,0,0,vn,bn,_n];this._invTransform=invert([],wn)}}},$e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},$e.prototype.containPoint=function(Ie){var Fe=this.getAxis("x"),Ue=this.getAxis("y");return Fe.contain(Fe.toLocalCoord(Ie[0]))&&Ue.contain(Ue.toLocalCoord(Ie[1]))},$e.prototype.containData=function(Ie){return this.getAxis("x").containData(Ie[0])&&this.getAxis("y").containData(Ie[1])},$e.prototype.containZone=function(Ie,Fe){var Ue=this.dataToPoint(Ie),qe=this.dataToPoint(Fe),At=this.getArea(),Dt=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]);return At.intersect(Dt)},$e.prototype.dataToPoint=function(Ie,Fe,Ue){Ue=Ue||[];var qe=Ie[0],At=Ie[1];if(this._transform&&qe!=null&&isFinite(qe)&&At!=null&&isFinite(At))return applyTransform$1(Ue,Ie,this._transform);var Dt=this.getAxis("x"),Lt=this.getAxis("y");return Ue[0]=Dt.toGlobalCoord(Dt.dataToCoord(qe,Fe)),Ue[1]=Lt.toGlobalCoord(Lt.dataToCoord(At,Fe)),Ue},$e.prototype.clampData=function(Ie,Fe){var Ue=this.getAxis("x").scale,qe=this.getAxis("y").scale,At=Ue.getExtent(),Dt=qe.getExtent(),Lt=Ue.parse(Ie[0]),jt=qe.parse(Ie[1]);return Fe=Fe||[],Fe[0]=Math.min(Math.max(Math.min(At[0],At[1]),Lt),Math.max(At[0],At[1])),Fe[1]=Math.min(Math.max(Math.min(Dt[0],Dt[1]),jt),Math.max(Dt[0],Dt[1])),Fe},$e.prototype.pointToData=function(Ie,Fe){var Ue=[];if(this._invTransform)return applyTransform$1(Ue,Ie,this._invTransform);var qe=this.getAxis("x"),At=this.getAxis("y");return Ue[0]=qe.coordToData(qe.toLocalCoord(Ie[0]),Fe),Ue[1]=At.coordToData(At.toLocalCoord(Ie[1]),Fe),Ue},$e.prototype.getOtherAxis=function(Ie){return this.getAxis(Ie.dim==="x"?"y":"x")},$e.prototype.getArea=function(Ie){Ie=Ie||0;var Fe=this.getAxis("x").getGlobalExtent(),Ue=this.getAxis("y").getGlobalExtent(),qe=Math.min(Fe[0],Fe[1])-Ie,At=Math.min(Ue[0],Ue[1])-Ie,Dt=Math.max(Fe[0],Fe[1])-qe+Ie,Lt=Math.max(Ue[0],Ue[1])-At+Ie;return new BoundingRect(qe,At,Dt,Lt)},$e}(Cartesian),Axis2D=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.index=0,Dt.type=qe||"value",Dt.position=At||"bottom",Dt}return $e.prototype.isHorizontal=function(){var Ie=this.position;return Ie==="top"||Ie==="bottom"},$e.prototype.getGlobalExtent=function(Ie){var Fe=this.getExtent();return Fe[0]=this.toGlobalCoord(Fe[0]),Fe[1]=this.toGlobalCoord(Fe[1]),Ie&&Fe[0]>Fe[1]&&Fe.reverse(),Fe},$e.prototype.pointToData=function(Ie,Fe){return this.coordToData(this.toLocalCoord(Ie[this.dim==="x"?0:1]),Fe)},$e.prototype.setCategorySortInfo=function(Ie){if(this.type!=="category")return!1;this.model.option.categorySortInfo=Ie,this.scale.setSortInfo(Ie)},$e}(Axis);function layout$3(xe,$e,Ie){Ie=Ie||{};var Fe=xe.coordinateSystem,Ue=$e.axis,qe={},At=Ue.getAxesOnZeroOf()[0],Dt=Ue.position,Lt=At?"onZero":Dt,jt=Ue.dim,hn=Fe.getRect(),vn=[hn.x,hn.x+hn.width,hn.y,hn.y+hn.height],bn={left:0,right:1,top:0,bottom:1,onZero:2},_n=$e.get("offset")||0,wn=jt==="x"?[vn[2]-_n,vn[3]+_n]:[vn[0]-_n,vn[1]+_n];if(At){var kn=At.toGlobalCoord(At.dataToCoord(0));wn[bn.onZero]=Math.max(Math.min(kn,wn[1]),wn[0])}qe.position=[jt==="y"?wn[bn[Lt]]:vn[0],jt==="x"?wn[bn[Lt]]:vn[3]],qe.rotation=Math.PI/2*(jt==="x"?0:1);var Cn={top:-1,bottom:1,left:-1,right:1};qe.labelDirection=qe.tickDirection=qe.nameDirection=Cn[Dt],qe.labelOffset=At?wn[bn[Dt]]-wn[bn.onZero]:0,$e.get(["axisTick","inside"])&&(qe.tickDirection=-qe.tickDirection),retrieve(Ie.labelInside,$e.get(["axisLabel","inside"]))&&(qe.labelDirection=-qe.labelDirection);var Sn=$e.get(["axisLabel","rotate"]);return qe.labelRotate=Lt==="top"?-Sn:Sn,qe.z2=1,qe}function isCartesian2DSeries(xe){return xe.get("coordinateSystem")==="cartesian2d"}function findAxisModels(xe){var $e={xAxisModel:null,yAxisModel:null};return each$f($e,function(Ie,Fe){var Ue=Fe.replace(/Model$/,""),qe=xe.getReferringComponents(Ue,SINGLE_REFERRING).models[0];$e[Fe]=qe}),$e}var mathLog=Math.log;function alignScaleTicks(xe,$e,Ie){var Fe=IntervalScale.prototype,Ue=Fe.getTicks.call(Ie),qe=Fe.getTicks.call(Ie,!0),At=Ue.length-1,Dt=Fe.getInterval.call(Ie),Lt=getScaleExtent(xe,$e),jt=Lt.extent,hn=Lt.fixMin,vn=Lt.fixMax;if(xe.type==="log"){var bn=mathLog(xe.base);jt=[mathLog(jt[0])/bn,mathLog(jt[1])/bn]}xe.setExtent(jt[0],jt[1]),xe.calcNiceExtent({splitNumber:At,fixMin:hn,fixMax:vn});var _n=Fe.getExtent.call(xe);hn&&(jt[0]=_n[0]),vn&&(jt[1]=_n[1]);var wn=Fe.getInterval.call(xe),kn=jt[0],Cn=jt[1];if(hn&&vn)wn=(Cn-kn)/At;else if(hn)for(Cn=jt[0]+wn*At;Cn<jt[1]&&isFinite(Cn)&&isFinite(jt[1]);)wn=increaseInterval(wn),Cn=jt[0]+wn*At;else if(vn)for(kn=jt[1]-wn*At;kn>jt[0]&&isFinite(kn)&&isFinite(jt[0]);)wn=increaseInterval(wn),kn=jt[1]-wn*At;else{var Sn=xe.getTicks().length-1;Sn>At&&(wn=increaseInterval(wn));var xn=wn*At;Cn=Math.ceil(jt[1]/wn)*wn,kn=round$3(Cn-xn),kn<0&&jt[0]>=0?(kn=0,Cn=round$3(xn)):Cn>0&&jt[1]<=0&&(Cn=0,kn=-round$3(xn))}var En=(Ue[0].value-qe[0].value)/Dt,Tn=(Ue[At].value-qe[At].value)/Dt;Fe.setExtent.call(xe,kn+wn*En,Cn+wn*Tn),Fe.setInterval.call(xe,wn),(En||Tn)&&Fe.setNiceExtent.call(xe,kn+wn,Cn-wn)}var Grid=function(){function xe($e,Ie,Fe){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian($e,Ie,Fe),this.model=$e}return xe.prototype.getRect=function(){return this._rect},xe.prototype.update=function($e,Ie){var Fe=this._axesMap;this._updateScale($e,this.model);function Ue(At){var Dt,Lt=keys(At),jt=Lt.length;if(jt){for(var hn=[],vn=jt-1;vn>=0;vn--){var bn=+Lt[vn],_n=At[bn],wn=_n.model,kn=_n.scale;isIntervalOrLogScale(kn)&&wn.get("alignTicks")&&wn.get("interval")==null?hn.push(_n):(niceScaleExtent(kn,wn),isIntervalOrLogScale(kn)&&(Dt=_n))}hn.length&&(Dt||(Dt=hn.pop(),niceScaleExtent(Dt.scale,Dt.model)),each$f(hn,function(Cn){alignScaleTicks(Cn.scale,Cn.model,Dt.scale)}))}}Ue(Fe.x),Ue(Fe.y);var qe={};each$f(Fe.x,function(At){fixAxisOnZero(Fe,"y",At,qe)}),each$f(Fe.y,function(At){fixAxisOnZero(Fe,"x",At,qe)}),this.resize(this.model,Ie)},xe.prototype.resize=function($e,Ie,Fe){var Ue=$e.getBoxLayoutParams(),qe=!Fe&&$e.get("containLabel"),At=getLayoutRect(Ue,{width:Ie.getWidth(),height:Ie.getHeight()});this._rect=At;var Dt=this._axesList;Lt(),qe&&(each$f(Dt,function(jt){if(!jt.model.get(["axisLabel","inside"])){var hn=estimateLabelUnionRect(jt);if(hn){var vn=jt.isHorizontal()?"height":"width",bn=jt.model.get(["axisLabel","margin"]);At[vn]-=hn[vn]+bn,jt.position==="top"?At.y+=hn.height+bn:jt.position==="left"&&(At.x+=hn.width+bn)}}}),Lt()),each$f(this._coordsList,function(jt){jt.calcAffineTransform()});function Lt(){each$f(Dt,function(jt){var hn=jt.isHorizontal(),vn=hn?[0,At.width]:[0,At.height],bn=jt.inverse?1:0;jt.setExtent(vn[bn],vn[1-bn]),updateAxisTransform(jt,hn?At.x:At.y)})}},xe.prototype.getAxis=function($e,Ie){var Fe=this._axesMap[$e];if(Fe!=null)return Fe[Ie||0]},xe.prototype.getAxes=function(){return this._axesList.slice()},xe.prototype.getCartesian=function($e,Ie){if($e!=null&&Ie!=null){var Fe="x"+$e+"y"+Ie;return this._coordsMap[Fe]}isObject$4($e)&&(Ie=$e.yAxisIndex,$e=$e.xAxisIndex);for(var Ue=0,qe=this._coordsList;Ue<qe.length;Ue++)if(qe[Ue].getAxis("x").index===$e||qe[Ue].getAxis("y").index===Ie)return qe[Ue]},xe.prototype.getCartesians=function(){return this._coordsList.slice()},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=this._findConvertTarget(Ie);return Ue.cartesian?Ue.cartesian.dataToPoint(Fe):Ue.axis?Ue.axis.toGlobalCoord(Ue.axis.dataToCoord(Fe)):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=this._findConvertTarget(Ie);return Ue.cartesian?Ue.cartesian.pointToData(Fe):Ue.axis?Ue.axis.coordToData(Ue.axis.toLocalCoord(Fe)):null},xe.prototype._findConvertTarget=function($e){var Ie=$e.seriesModel,Fe=$e.xAxisModel||Ie&&Ie.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],Ue=$e.yAxisModel||Ie&&Ie.getReferringComponents("yAxis",SINGLE_REFERRING).models[0],qe=$e.gridModel,At=this._coordsList,Dt,Lt;if(Ie)Dt=Ie.coordinateSystem,indexOf(At,Dt)<0&&(Dt=null);else if(Fe&&Ue)Dt=this.getCartesian(Fe.componentIndex,Ue.componentIndex);else if(Fe)Lt=this.getAxis("x",Fe.componentIndex);else if(Ue)Lt=this.getAxis("y",Ue.componentIndex);else if(qe){var jt=qe.coordinateSystem;jt===this&&(Dt=this._coordsList[0])}return{cartesian:Dt,axis:Lt}},xe.prototype.containPoint=function($e){var Ie=this._coordsList[0];if(Ie)return Ie.containPoint($e)},xe.prototype._initCartesian=function($e,Ie,Fe){var Ue=this,qe=this,At={left:!1,right:!1,top:!1,bottom:!1},Dt={x:{},y:{}},Lt={x:0,y:0};if(Ie.eachComponent("xAxis",jt("x"),this),Ie.eachComponent("yAxis",jt("y"),this),!Lt.x||!Lt.y){this._axesMap={},this._axesList=[];return}this._axesMap=Dt,each$f(Dt.x,function(hn,vn){each$f(Dt.y,function(bn,_n){var wn="x"+vn+"y"+_n,kn=new Cartesian2D(wn);kn.master=Ue,kn.model=$e,Ue._coordsMap[wn]=kn,Ue._coordsList.push(kn),kn.addAxis(hn),kn.addAxis(bn)})});function jt(hn){return function(vn,bn){if(isAxisUsedInTheGrid(vn,$e)){var _n=vn.get("position");hn==="x"?_n!=="top"&&_n!=="bottom"&&(_n=At.bottom?"top":"bottom"):_n!=="left"&&_n!=="right"&&(_n=At.left?"right":"left"),At[_n]=!0;var wn=new Axis2D(hn,createScaleByModel$1(vn),[0,0],vn.get("type"),_n),kn=wn.type==="category";wn.onBand=kn&&vn.get("boundaryGap"),wn.inverse=vn.get("inverse"),vn.axis=wn,wn.model=vn,wn.grid=qe,wn.index=bn,qe._axesList.push(wn),Dt[hn][bn]=wn,Lt[hn]++}}}},xe.prototype._updateScale=function($e,Ie){each$f(this._axesList,function(Ue){if(Ue.scale.setExtent(1/0,-1/0),Ue.type==="category"){var qe=Ue.model.get("categorySortInfo");Ue.scale.setSortInfo(qe)}}),$e.eachSeries(function(Ue){if(isCartesian2DSeries(Ue)){var qe=findAxisModels(Ue),At=qe.xAxisModel,Dt=qe.yAxisModel;if(!isAxisUsedInTheGrid(At,Ie)||!isAxisUsedInTheGrid(Dt,Ie))return;var Lt=this.getCartesian(At.componentIndex,Dt.componentIndex),jt=Ue.getData(),hn=Lt.getAxis("x"),vn=Lt.getAxis("y");Fe(jt,hn),Fe(jt,vn)}},this);function Fe(Ue,qe){each$f(getDataDimensionsOnAxis(Ue,qe.dim),function(At){qe.scale.unionExtentFromData(Ue,At)})}},xe.prototype.getTooltipAxes=function($e){var Ie=[],Fe=[];return each$f(this.getCartesians(),function(Ue){var qe=$e!=null&&$e!=="auto"?Ue.getAxis($e):Ue.getBaseAxis(),At=Ue.getOtherAxis(qe);indexOf(Ie,qe)<0&&Ie.push(qe),indexOf(Fe,At)<0&&Fe.push(At)}),{baseAxes:Ie,otherAxes:Fe}},xe.create=function($e,Ie){var Fe=[];return $e.eachComponent("grid",function(Ue,qe){var At=new xe(Ue,$e,Ie);At.name="grid_"+qe,At.resize(Ue,Ie,!0),Ue.coordinateSystem=At,Fe.push(At)}),$e.eachSeries(function(Ue){if(isCartesian2DSeries(Ue)){var qe=findAxisModels(Ue),At=qe.xAxisModel,Dt=qe.yAxisModel,Lt=At.getCoordSysModel(),jt=Lt.coordinateSystem;Ue.coordinateSystem=jt.getCartesian(At.componentIndex,Dt.componentIndex)}}),Fe},xe.dimensions=cartesian2DDimensions,xe}();function isAxisUsedInTheGrid(xe,$e){return xe.getCoordSysModel()===$e}function fixAxisOnZero(xe,$e,Ie,Fe){Ie.getAxesOnZeroOf=function(){return qe?[qe]:[]};var Ue=xe[$e],qe,At=Ie.model,Dt=At.get(["axisLine","onZero"]),Lt=At.get(["axisLine","onZeroAxisIndex"]);if(!Dt)return;if(Lt!=null)canOnZeroToAxis(Ue[Lt])&&(qe=Ue[Lt]);else for(var jt in Ue)if(Ue.hasOwnProperty(jt)&&canOnZeroToAxis(Ue[jt])&&!Fe[hn(Ue[jt])]){qe=Ue[jt];break}qe&&(Fe[hn(qe)]=!0);function hn(vn){return vn.dim+"_"+vn.index}}function canOnZeroToAxis(xe){return xe&&xe.type!=="category"&&xe.type!=="time"&&ifAxisCrossZero(xe)}function updateAxisTransform(xe,$e){var Ie=xe.getExtent(),Fe=Ie[0]+Ie[1];xe.toGlobalCoord=xe.dim==="x"?function(Ue){return Ue+$e}:function(Ue){return Fe-Ue+$e},xe.toLocalCoord=xe.dim==="x"?function(Ue){return Ue-$e}:function(Ue){return Fe-Ue+$e}}var PI$3=Math.PI,AxisBuilder=function(){function xe($e,Ie){this.group=new Group$3,this.opt=Ie,this.axisModel=$e,defaults$1(Ie,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var Fe=new Group$3({x:Ie.position[0],y:Ie.position[1],rotation:Ie.rotation});Fe.updateTransform(),this._transformGroup=Fe}return xe.prototype.hasBuilder=function($e){return!!builders[$e]},xe.prototype.add=function($e){builders[$e](this.opt,this.axisModel,this.group,this._transformGroup)},xe.prototype.getGroup=function(){return this.group},xe.innerTextLayout=function($e,Ie,Fe){var Ue=remRadian(Ie-$e),qe,At;return isRadianAroundZero(Ue)?(At=Fe>0?"top":"bottom",qe="center"):isRadianAroundZero(Ue-PI$3)?(At=Fe>0?"bottom":"top",qe="center"):(At="middle",Ue>0&&Ue<PI$3?qe=Fe>0?"right":"left":qe=Fe>0?"left":"right"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}},xe.makeAxisEventDataBase=function($e){var Ie={componentType:$e.mainType,componentIndex:$e.componentIndex};return Ie[$e.mainType+"Index"]=$e.componentIndex,Ie},xe.isLabelSilent=function($e){var Ie=$e.get("tooltip");return $e.get("silent")||!($e.get("triggerEvent")||Ie&&Ie.show)},xe}(),builders={axisLine:function(xe,$e,Ie,Fe){var Ue=$e.get(["axisLine","show"]);if(Ue==="auto"&&xe.handleAutoShown&&(Ue=xe.handleAutoShown("axisLine")),!!Ue){var qe=$e.axis.getExtent(),At=Fe.transform,Dt=[qe[0],0],Lt=[qe[1],0],jt=Dt[0]>Lt[0];At&&(applyTransform$1(Dt,Dt,At),applyTransform$1(Lt,Lt,At));var hn=extend$1({lineCap:"round"},$e.getModel(["axisLine","lineStyle"]).getLineStyle()),vn=new Line$1({shape:{x1:Dt[0],y1:Dt[1],x2:Lt[0],y2:Lt[1]},style:hn,strokeContainThreshold:xe.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(vn.shape,vn.style.lineWidth),vn.anid="line",Ie.add(vn);var bn=$e.get(["axisLine","symbol"]);if(bn!=null){var _n=$e.get(["axisLine","symbolSize"]);isString$2(bn)&&(bn=[bn,bn]),(isString$2(_n)||isNumber$2(_n))&&(_n=[_n,_n]);var wn=normalizeSymbolOffset($e.get(["axisLine","symbolOffset"])||0,_n),kn=_n[0],Cn=_n[1];each$f([{rotate:xe.rotation+Math.PI/2,offset:wn[0],r:0},{rotate:xe.rotation-Math.PI/2,offset:wn[1],r:Math.sqrt((Dt[0]-Lt[0])*(Dt[0]-Lt[0])+(Dt[1]-Lt[1])*(Dt[1]-Lt[1]))}],function(Sn,xn){if(bn[xn]!=="none"&&bn[xn]!=null){var En=createSymbol$1(bn[xn],-kn/2,-Cn/2,kn,Cn,hn.stroke,!0),Tn=Sn.r+Sn.offset,An=jt?Lt:Dt;En.attr({rotation:Sn.rotate,x:An[0]+Tn*Math.cos(xe.rotation),y:An[1]-Tn*Math.sin(xe.rotation),silent:!0,z2:11}),Ie.add(En)}})}}},axisTickLabel:function(xe,$e,Ie,Fe){var Ue=buildAxisMajorTicks(Ie,Fe,$e,xe),qe=buildAxisLabel(Ie,Fe,$e,xe);if(fixMinMaxLabelShow($e,qe,Ue),buildAxisMinorTicks(Ie,Fe,$e,xe.tickDirection),$e.get(["axisLabel","hideOverlap"])){var At=prepareLayoutList(map$1(qe,function(Dt){return{label:Dt,priority:Dt.z2,defaultAttr:{ignore:Dt.ignore}}}));hideOverlap(At)}},axisName:function(xe,$e,Ie,Fe){var Ue=retrieve(xe.axisName,$e.get("name"));if(Ue){var qe=$e.get("nameLocation"),At=xe.nameDirection,Dt=$e.getModel("nameTextStyle"),Lt=$e.get("nameGap")||0,jt=$e.axis.getExtent(),hn=jt[0]>jt[1]?-1:1,vn=[qe==="start"?jt[0]-hn*Lt:qe==="end"?jt[1]+hn*Lt:(jt[0]+jt[1])/2,isNameLocationCenter(qe)?xe.labelOffset+At*Lt:0],bn,_n=$e.get("nameRotate");_n!=null&&(_n=_n*PI$3/180);var wn;isNameLocationCenter(qe)?bn=AxisBuilder.innerTextLayout(xe.rotation,_n??xe.rotation,At):(bn=endTextLayout(xe.rotation,qe,_n||0,jt),wn=xe.axisNameAvailableWidth,wn!=null&&(wn=Math.abs(wn/Math.sin(bn.rotation)),!isFinite(wn)&&(wn=null)));var kn=Dt.getFont(),Cn=$e.get("nameTruncate",!0)||{},Sn=Cn.ellipsis,xn=retrieve(xe.nameTruncateMaxWidth,Cn.maxWidth,wn),En=new ZRText({x:vn[0],y:vn[1],rotation:bn.rotation,silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(Dt,{text:Ue,font:kn,overflow:"truncate",width:xn,ellipsis:Sn,fill:Dt.getTextColor()||$e.get(["axisLine","lineStyle","color"]),align:Dt.get("align")||bn.textAlign,verticalAlign:Dt.get("verticalAlign")||bn.textVerticalAlign}),z2:1});if(setTooltipConfig({el:En,componentModel:$e,itemName:Ue}),En.__fullText=Ue,En.anid="name",$e.get("triggerEvent")){var Tn=AxisBuilder.makeAxisEventDataBase($e);Tn.targetType="axisName",Tn.name=Ue,getECData(En).eventData=Tn}Fe.add(En),En.updateTransform(),Ie.add(En),En.decomposeTransform()}}};function endTextLayout(xe,$e,Ie,Fe){var Ue=remRadian(Ie-xe),qe,At,Dt=Fe[0]>Fe[1],Lt=$e==="start"&&!Dt||$e!=="start"&&Dt;return isRadianAroundZero(Ue-PI$3/2)?(At=Lt?"bottom":"top",qe="center"):isRadianAroundZero(Ue-PI$3*1.5)?(At=Lt?"top":"bottom",qe="center"):(At="middle",Ue<PI$3*1.5&&Ue>PI$3/2?qe=Lt?"left":"right":qe=Lt?"right":"left"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}}function fixMinMaxLabelShow(xe,$e,Ie){if(!shouldShowAllLabels(xe.axis)){var Fe=xe.get(["axisLabel","showMinLabel"]),Ue=xe.get(["axisLabel","showMaxLabel"]);$e=$e||[],Ie=Ie||[];var qe=$e[0],At=$e[1],Dt=$e[$e.length-1],Lt=$e[$e.length-2],jt=Ie[0],hn=Ie[1],vn=Ie[Ie.length-1],bn=Ie[Ie.length-2];Fe===!1?(ignoreEl(qe),ignoreEl(jt)):isTwoLabelOverlapped(qe,At)&&(Fe?(ignoreEl(At),ignoreEl(hn)):(ignoreEl(qe),ignoreEl(jt))),Ue===!1?(ignoreEl(Dt),ignoreEl(vn)):isTwoLabelOverlapped(Lt,Dt)&&(Ue?(ignoreEl(Lt),ignoreEl(bn)):(ignoreEl(Dt),ignoreEl(vn)))}}function ignoreEl(xe){xe&&(xe.ignore=!0)}function isTwoLabelOverlapped(xe,$e){var Ie=xe&&xe.getBoundingRect().clone(),Fe=$e&&$e.getBoundingRect().clone();if(!(!Ie||!Fe)){var Ue=identity$1([]);return rotate(Ue,Ue,-xe.rotation),Ie.applyTransform(mul([],Ue,xe.getLocalTransform())),Fe.applyTransform(mul([],Ue,$e.getLocalTransform())),Ie.intersect(Fe)}}function isNameLocationCenter(xe){return xe==="middle"||xe==="center"}function createTicks(xe,$e,Ie,Fe,Ue){for(var qe=[],At=[],Dt=[],Lt=0;Lt<xe.length;Lt++){var jt=xe[Lt].coord;At[0]=jt,At[1]=0,Dt[0]=jt,Dt[1]=Ie,$e&&(applyTransform$1(At,At,$e),applyTransform$1(Dt,Dt,$e));var hn=new Line$1({shape:{x1:At[0],y1:At[1],x2:Dt[0],y2:Dt[1]},style:Fe,z2:2,autoBatch:!0,silent:!0});subPixelOptimizeLine(hn.shape,hn.style.lineWidth),hn.anid=Ue+"_"+xe[Lt].tickValue,qe.push(hn)}return qe}function buildAxisMajorTicks(xe,$e,Ie,Fe){var Ue=Ie.axis,qe=Ie.getModel("axisTick"),At=qe.get("show");if(At==="auto"&&Fe.handleAutoShown&&(At=Fe.handleAutoShown("axisTick")),!(!At||Ue.scale.isBlank())){for(var Dt=qe.getModel("lineStyle"),Lt=Fe.tickDirection*qe.get("length"),jt=Ue.getTicksCoords(),hn=createTicks(jt,$e.transform,Lt,defaults$1(Dt.getLineStyle(),{stroke:Ie.get(["axisLine","lineStyle","color"])}),"ticks"),vn=0;vn<hn.length;vn++)xe.add(hn[vn]);return hn}}function buildAxisMinorTicks(xe,$e,Ie,Fe){var Ue=Ie.axis,qe=Ie.getModel("minorTick");if(!(!qe.get("show")||Ue.scale.isBlank())){var At=Ue.getMinorTicksCoords();if(At.length)for(var Dt=qe.getModel("lineStyle"),Lt=Fe*qe.get("length"),jt=defaults$1(Dt.getLineStyle(),defaults$1(Ie.getModel("axisTick").getLineStyle(),{stroke:Ie.get(["axisLine","lineStyle","color"])})),hn=0;hn<At.length;hn++)for(var vn=createTicks(At[hn],$e.transform,Lt,jt,"minorticks_"+hn),bn=0;bn<vn.length;bn++)xe.add(vn[bn])}}function buildAxisLabel(xe,$e,Ie,Fe){var Ue=Ie.axis,qe=retrieve(Fe.axisLabelShow,Ie.get(["axisLabel","show"]));if(!(!qe||Ue.scale.isBlank())){var At=Ie.getModel("axisLabel"),Dt=At.get("margin"),Lt=Ue.getViewLabels(),jt=(retrieve(Fe.labelRotate,At.get("rotate"))||0)*PI$3/180,hn=AxisBuilder.innerTextLayout(Fe.rotation,jt,Fe.labelDirection),vn=Ie.getCategories&&Ie.getCategories(!0),bn=[],_n=AxisBuilder.isLabelSilent(Ie),wn=Ie.get("triggerEvent");return each$f(Lt,function(kn,Cn){var Sn=Ue.scale.type==="ordinal"?Ue.scale.getRawOrdinalNumber(kn.tickValue):kn.tickValue,xn=kn.formattedLabel,En=kn.rawLabel,Tn=At;if(vn&&vn[Sn]){var An=vn[Sn];isObject$4(An)&&An.textStyle&&(Tn=new Model(An.textStyle,At,Ie.ecModel))}var $n=Tn.getTextColor()||Ie.get(["axisLine","lineStyle","color"]),Pn=Ue.dataToCoord(Sn),Nn=Tn.getShallow("align",!0)||hn.textAlign,Mn=retrieve2(Tn.getShallow("alignMinLabel",!0),Nn),In=retrieve2(Tn.getShallow("alignMaxLabel",!0),Nn),On=Tn.getShallow("verticalAlign",!0)||Tn.getShallow("baseline",!0)||hn.textVerticalAlign,Rn=retrieve2(Tn.getShallow("verticalAlignMinLabel",!0),On),Bn=retrieve2(Tn.getShallow("verticalAlignMaxLabel",!0),On),Vn=new ZRText({x:Pn,y:Fe.labelOffset+Fe.labelDirection*Dt,rotation:hn.rotation,silent:_n,z2:10+(kn.level||0),style:createTextStyle(Tn,{text:xn,align:Cn===0?Mn:Cn===Lt.length-1?In:Nn,verticalAlign:Cn===0?Rn:Cn===Lt.length-1?Bn:On,fill:isFunction$2($n)?$n(Ue.type==="category"?En:Ue.type==="value"?Sn+"":Sn,Cn):$n})});if(Vn.anid="label_"+Sn,wn){var Ln=AxisBuilder.makeAxisEventDataBase(Ie);Ln.targetType="axisLabel",Ln.value=En,Ln.tickIndex=Cn,Ue.type==="category"&&(Ln.dataIndex=Sn),getECData(Vn).eventData=Ln}$e.add(Vn),Vn.updateTransform(),bn.push(Vn),xe.add(Vn),Vn.decomposeTransform()}),bn}}function collect(xe,$e){var Ie={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return collectAxesInfo(Ie,xe,$e),Ie.seriesInvolved&&collectSeriesInfo(Ie,xe),Ie}function collectAxesInfo(xe,$e,Ie){var Fe=$e.getComponent("tooltip"),Ue=$e.getComponent("axisPointer"),qe=Ue.get("link",!0)||[],At=[];each$f(Ie.getCoordinateSystems(),function(Dt){if(!Dt.axisPointerEnabled)return;var Lt=makeKey(Dt.model),jt=xe.coordSysAxesInfo[Lt]={};xe.coordSysMap[Lt]=Dt;var hn=Dt.model,vn=hn.getModel("tooltip",Fe);if(each$f(Dt.getAxes(),curry$1(kn,!1,null)),Dt.getTooltipAxes&&Fe&&vn.get("show")){var bn=vn.get("trigger")==="axis",_n=vn.get(["axisPointer","type"])==="cross",wn=Dt.getTooltipAxes(vn.get(["axisPointer","axis"]));(bn||_n)&&each$f(wn.baseAxes,curry$1(kn,_n?"cross":!0,bn)),_n&&each$f(wn.otherAxes,curry$1(kn,"cross",!1))}function kn(Cn,Sn,xn){var En=xn.model.getModel("axisPointer",Ue),Tn=En.get("show");if(!(!Tn||Tn==="auto"&&!Cn&&!isHandleTrigger(En))){Sn==null&&(Sn=En.get("triggerTooltip")),En=Cn?makeAxisPointerModel(xn,vn,Ue,$e,Cn,Sn):En;var An=En.get("snap"),$n=En.get("triggerEmphasis"),Pn=makeKey(xn.model),Nn=Sn||An||xn.type==="category",Mn=xe.axesInfo[Pn]={key:Pn,axis:xn,coordSys:Dt,axisPointerModel:En,triggerTooltip:Sn,triggerEmphasis:$n,involveSeries:Nn,snap:An,useHandle:isHandleTrigger(En),seriesModels:[],linkGroup:null};jt[Pn]=Mn,xe.seriesInvolved=xe.seriesInvolved||Nn;var In=getLinkGroupIndex(qe,xn);if(In!=null){var On=At[In]||(At[In]={axesInfo:{}});On.axesInfo[Pn]=Mn,On.mapper=qe[In].mapper,Mn.linkGroup=On}}}})}function makeAxisPointerModel(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("axisPointer"),Dt=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],Lt={};each$f(Dt,function(bn){Lt[bn]=clone$4(At.get(bn))}),Lt.snap=xe.type!=="category"&&!!qe,At.get("type")==="cross"&&(Lt.type="line");var jt=Lt.label||(Lt.label={});if(jt.show==null&&(jt.show=!1),Ue==="cross"){var hn=At.get(["label","show"]);if(jt.show=hn??!0,!qe){var vn=Lt.lineStyle=At.get("crossStyle");vn&&defaults$1(jt,vn.textStyle)}}return xe.model.getModel("axisPointer",new Model(Lt,Ie,Fe))}function collectSeriesInfo(xe,$e){$e.eachSeries(function(Ie){var Fe=Ie.coordinateSystem,Ue=Ie.get(["tooltip","trigger"],!0),qe=Ie.get(["tooltip","show"],!0);!Fe||Ue==="none"||Ue===!1||Ue==="item"||qe===!1||Ie.get(["axisPointer","show"],!0)===!1||each$f(xe.coordSysAxesInfo[makeKey(Fe.model)],function(At){var Dt=At.axis;Fe.getAxis(Dt.dim)===Dt&&(At.seriesModels.push(Ie),At.seriesDataCount==null&&(At.seriesDataCount=0),At.seriesDataCount+=Ie.getData().count())})})}function getLinkGroupIndex(xe,$e){for(var Ie=$e.model,Fe=$e.dim,Ue=0;Ue<xe.length;Ue++){var qe=xe[Ue]||{};if(checkPropInLink(qe[Fe+"AxisId"],Ie.id)||checkPropInLink(qe[Fe+"AxisIndex"],Ie.componentIndex)||checkPropInLink(qe[Fe+"AxisName"],Ie.name))return Ue}}function checkPropInLink(xe,$e){return xe==="all"||isArray$2(xe)&&indexOf(xe,$e)>=0||xe===$e}function fixValue(xe){var $e=getAxisInfo$1(xe);if($e){var Ie=$e.axisPointerModel,Fe=$e.axis.scale,Ue=Ie.option,qe=Ie.get("status"),At=Ie.get("value");At!=null&&(At=Fe.parse(At));var Dt=isHandleTrigger(Ie);qe==null&&(Ue.status=Dt?"show":"hide");var Lt=Fe.getExtent().slice();Lt[0]>Lt[1]&&Lt.reverse(),(At==null||At>Lt[1])&&(At=Lt[1]),At<Lt[0]&&(At=Lt[0]),Ue.value=At,Dt&&(Ue.status=$e.axis.scale.isBlank()?"hide":"show")}}function getAxisInfo$1(xe){var $e=(xe.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return $e&&$e.axesInfo[makeKey(xe)]}function getAxisPointerModel(xe){var $e=getAxisInfo$1(xe);return $e&&$e.axisPointerModel}function isHandleTrigger(xe){return!!xe.get(["handle","show"])}function makeKey(xe){return xe.type+"||"+xe.id}var axisPointerClazz={},AxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){this.axisPointerClass&&fixValue(Ie),xe.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(Ie,Ue,!0)},$e.prototype.updateAxisPointer=function(Ie,Fe,Ue,qe){this._doUpdateAxisPointerClass(Ie,Ue,!1)},$e.prototype.remove=function(Ie,Fe){var Ue=this._axisPointer;Ue&&Ue.remove(Fe)},$e.prototype.dispose=function(Ie,Fe){this._disposeAxisPointer(Fe),xe.prototype.dispose.apply(this,arguments)},$e.prototype._doUpdateAxisPointerClass=function(Ie,Fe,Ue){var qe=$e.getAxisPointerClass(this.axisPointerClass);if(qe){var At=getAxisPointerModel(Ie);At?(this._axisPointer||(this._axisPointer=new qe)).render(Ie,At,Fe,Ue):this._disposeAxisPointer(Fe)}},$e.prototype._disposeAxisPointer=function(Ie){this._axisPointer&&this._axisPointer.dispose(Ie),this._axisPointer=null},$e.registerAxisPointerClass=function(Ie,Fe){axisPointerClazz[Ie]=Fe},$e.getAxisPointerClass=function(Ie){return Ie&&axisPointerClazz[Ie]},$e.type="axis",$e}(ComponentView),inner$f=makeInner();function rectCoordAxisBuildSplitArea(xe,$e,Ie,Fe){var Ue=Ie.axis;if(!Ue.scale.isBlank()){var qe=Ie.getModel("splitArea"),At=qe.getModel("areaStyle"),Dt=At.get("color"),Lt=Fe.coordinateSystem.getRect(),jt=Ue.getTicksCoords({tickModel:qe,clamp:!0});if(jt.length){var hn=Dt.length,vn=inner$f(xe).splitAreaColors,bn=createHashMap(),_n=0;if(vn)for(var wn=0;wn<jt.length;wn++){var kn=vn.get(jt[wn].tickValue);if(kn!=null){_n=(kn+(hn-1)*wn)%hn;break}}var Cn=Ue.toGlobalCoord(jt[0].coord),Sn=At.getAreaStyle();Dt=isArray$2(Dt)?Dt:[Dt];for(var wn=1;wn<jt.length;wn++){var xn=Ue.toGlobalCoord(jt[wn].coord),En=void 0,Tn=void 0,An=void 0,$n=void 0;Ue.isHorizontal()?(En=Cn,Tn=Lt.y,An=xn-En,$n=Lt.height,Cn=En+An):(En=Lt.x,Tn=Cn,An=Lt.width,$n=xn-Tn,Cn=Tn+$n);var Pn=jt[wn-1].tickValue;Pn!=null&&bn.set(Pn,_n),$e.add(new Rect$2({anid:Pn!=null?"area_"+Pn:null,shape:{x:En,y:Tn,width:An,height:$n},style:defaults$1({fill:Dt[_n]},Sn),autoBatch:!0,silent:!0})),_n=(_n+1)%hn}inner$f(xe).splitAreaColors=bn}}}function rectCoordAxisHandleRemove(xe){inner$f(xe).splitAreaColors=null}var axisBuilderAttrs$3=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs$2=["splitArea","splitLine","minorSplitLine"],CartesianAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.axisPointerClass="CartesianAxisPointer",Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){this.group.removeAll();var At=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!Ie.get("show")){var Dt=Ie.getCoordSysModel(),Lt=layout$3(Dt,Ie),jt=new AxisBuilder(Ie,extend$1({handleAutoShown:function(vn){for(var bn=Dt.coordinateSystem.getCartesians(),_n=0;_n<bn.length;_n++)if(isIntervalOrLogScale(bn[_n].getOtherAxis(Ie.axis).scale))return!0;return!1}},Lt));each$f(axisBuilderAttrs$3,jt.add,jt),this._axisGroup.add(jt.getGroup()),each$f(selfBuilderAttrs$2,function(vn){Ie.get([vn,"show"])&&axisElementBuilders$2[vn](this,this._axisGroup,Ie,Dt)},this);var hn=qe&&qe.type==="changeAxisOrder"&&qe.isInitSort;hn||groupTransition(At,this._axisGroup,Ie),xe.prototype.render.call(this,Ie,Fe,Ue,qe)}},$e.prototype.remove=function(){rectCoordAxisHandleRemove(this)},$e.type="cartesianAxis",$e}(AxisView),axisElementBuilders$2={splitLine:function(xe,$e,Ie,Fe){var Ue=Ie.axis;if(!Ue.scale.isBlank()){var qe=Ie.getModel("splitLine"),At=qe.getModel("lineStyle"),Dt=At.get("color");Dt=isArray$2(Dt)?Dt:[Dt];for(var Lt=Fe.coordinateSystem.getRect(),jt=Ue.isHorizontal(),hn=0,vn=Ue.getTicksCoords({tickModel:qe}),bn=[],_n=[],wn=At.getLineStyle(),kn=0;kn<vn.length;kn++){var Cn=Ue.toGlobalCoord(vn[kn].coord);jt?(bn[0]=Cn,bn[1]=Lt.y,_n[0]=Cn,_n[1]=Lt.y+Lt.height):(bn[0]=Lt.x,bn[1]=Cn,_n[0]=Lt.x+Lt.width,_n[1]=Cn);var Sn=hn++%Dt.length,xn=vn[kn].tickValue,En=new Line$1({anid:xn!=null?"line_"+vn[kn].tickValue:null,autoBatch:!0,shape:{x1:bn[0],y1:bn[1],x2:_n[0],y2:_n[1]},style:defaults$1({stroke:Dt[Sn]},wn),silent:!0});subPixelOptimizeLine(En.shape,wn.lineWidth),$e.add(En)}}},minorSplitLine:function(xe,$e,Ie,Fe){var Ue=Ie.axis,qe=Ie.getModel("minorSplitLine"),At=qe.getModel("lineStyle"),Dt=Fe.coordinateSystem.getRect(),Lt=Ue.isHorizontal(),jt=Ue.getMinorTicksCoords();if(jt.length)for(var hn=[],vn=[],bn=At.getLineStyle(),_n=0;_n<jt.length;_n++)for(var wn=0;wn<jt[_n].length;wn++){var kn=Ue.toGlobalCoord(jt[_n][wn].coord);Lt?(hn[0]=kn,hn[1]=Dt.y,vn[0]=kn,vn[1]=Dt.y+Dt.height):(hn[0]=Dt.x,hn[1]=kn,vn[0]=Dt.x+Dt.width,vn[1]=kn);var Cn=new Line$1({anid:"minor_line_"+jt[_n][wn].tickValue,autoBatch:!0,shape:{x1:hn[0],y1:hn[1],x2:vn[0],y2:vn[1]},style:bn,silent:!0});subPixelOptimizeLine(Cn.shape,bn.lineWidth),$e.add(Cn)}},splitArea:function(xe,$e,Ie,Fe){rectCoordAxisBuildSplitArea(xe,$e,Ie,Fe)}},CartesianXAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="xAxis",$e}(CartesianAxisView),CartesianYAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=CartesianXAxisView.type,Ie}return $e.type="yAxis",$e}(CartesianAxisView),GridView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="grid",Ie}return $e.prototype.render=function(Ie,Fe){this.group.removeAll(),Ie.get("show")&&this.group.add(new Rect$2({shape:Ie.coordinateSystem.getRect(),style:defaults$1({fill:Ie.get("backgroundColor")},Ie.getItemStyle()),silent:!0,z2:-1}))},$e.type="grid",$e}(ComponentView),extraOption={offset:0};function install$O(xe){xe.registerComponentView(GridView),xe.registerComponentModel(GridModel),xe.registerCoordinateSystem("cartesian2d",Grid),axisModelCreator(xe,"x",CartesianAxisModel,extraOption),axisModelCreator(xe,"y",CartesianAxisModel,extraOption),xe.registerComponentView(CartesianXAxisView),xe.registerComponentView(CartesianYAxisView),xe.registerPreprocessor(function($e){$e.xAxis&&$e.yAxis&&!$e.grid&&($e.grid={})})}function install$N(xe){use(install$O),xe.registerSeriesModel(ScatterSeriesModel),xe.registerChartView(ScatterView),xe.registerLayout(pointsLayout("scatter"))}function radarLayout(xe){xe.eachSeriesByType("radar",function($e){var Ie=$e.getData(),Fe=[],Ue=$e.coordinateSystem;if(Ue){var qe=Ue.getIndicatorAxes();each$f(qe,function(At,Dt){Ie.each(Ie.mapDimension(qe[Dt].dim),function(Lt,jt){Fe[jt]=Fe[jt]||[];var hn=Ue.dataToPoint(Lt,Dt);Fe[jt][Dt]=isValidPoint(hn)?hn:getValueMissingPoint(Ue)})}),Ie.each(function(At){var Dt=find(Fe[At],function(Lt){return isValidPoint(Lt)})||getValueMissingPoint(Ue);Fe[At].push(Dt.slice()),Ie.setItemLayout(At,Fe[At])})}})}function isValidPoint(xe){return!isNaN(xe[0])&&!isNaN(xe[1])}function getValueMissingPoint(xe){return[xe.cx,xe.cy]}function radarBackwardCompat(xe){var $e=xe.polar;if($e){isArray$2($e)||($e=[$e]);var Ie=[];each$f($e,function(Fe,Ue){Fe.indicator?(Fe.type&&!Fe.shape&&(Fe.shape=Fe.type),xe.radar=xe.radar||[],isArray$2(xe.radar)||(xe.radar=[xe.radar]),xe.radar.push(Fe)):Ie.push(Fe)}),xe.polar=Ie}each$f(xe.series,function(Fe){Fe&&Fe.type==="radar"&&Fe.polarIndex&&(Fe.radarIndex=Fe.polarIndex)})}var RadarView$1=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.coordinateSystem,At=this.group,Dt=Ie.getData(),Lt=this._data;function jt(bn,_n){var wn=bn.getItemVisual(_n,"symbol")||"circle";if(wn!=="none"){var kn=normalizeSymbolSize(bn.getItemVisual(_n,"symbolSize")),Cn=createSymbol$1(wn,-1,-1,2,2),Sn=bn.getItemVisual(_n,"symbolRotate")||0;return Cn.attr({style:{strokeNoScale:!0},z2:100,scaleX:kn[0]/2,scaleY:kn[1]/2,rotation:Sn*Math.PI/180||0}),Cn}}function hn(bn,_n,wn,kn,Cn,Sn){wn.removeAll();for(var xn=0;xn<_n.length-1;xn++){var En=jt(kn,Cn);En&&(En.__dimIdx=xn,bn[xn]?(En.setPosition(bn[xn]),graphic[Sn?"initProps":"updateProps"](En,{x:_n[xn][0],y:_n[xn][1]},Ie,Cn)):En.setPosition(_n[xn]),wn.add(En))}}function vn(bn){return map$1(bn,function(_n){return[qe.cx,qe.cy]})}Dt.diff(Lt).add(function(bn){var _n=Dt.getItemLayout(bn);if(_n){var wn=new Polygon,kn=new Polyline$1,Cn={shape:{points:_n}};wn.shape.points=vn(_n),kn.shape.points=vn(_n),initProps(wn,Cn,Ie,bn),initProps(kn,Cn,Ie,bn);var Sn=new Group$3,xn=new Group$3;Sn.add(kn),Sn.add(wn),Sn.add(xn),hn(kn.shape.points,_n,xn,Dt,bn,!0),Dt.setItemGraphicEl(bn,Sn)}}).update(function(bn,_n){var wn=Lt.getItemGraphicEl(_n),kn=wn.childAt(0),Cn=wn.childAt(1),Sn=wn.childAt(2),xn={shape:{points:Dt.getItemLayout(bn)}};xn.shape.points&&(hn(kn.shape.points,xn.shape.points,Sn,Dt,bn,!1),saveOldStyle(Cn),saveOldStyle(kn),updateProps$1(kn,xn,Ie),updateProps$1(Cn,xn,Ie),Dt.setItemGraphicEl(bn,wn))}).remove(function(bn){At.remove(Lt.getItemGraphicEl(bn))}).execute(),Dt.eachItemGraphicEl(function(bn,_n){var wn=Dt.getItemModel(_n),kn=bn.childAt(0),Cn=bn.childAt(1),Sn=bn.childAt(2),xn=Dt.getItemVisual(_n,"style"),En=xn.fill;At.add(bn),kn.useStyle(defaults$1(wn.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:En})),setStatesStylesFromModel(kn,wn,"lineStyle"),setStatesStylesFromModel(Cn,wn,"areaStyle");var Tn=wn.getModel("areaStyle"),An=Tn.isEmpty()&&Tn.parentModel.isEmpty();Cn.ignore=An,each$f(["emphasis","select","blur"],function(Nn){var Mn=wn.getModel([Nn,"areaStyle"]),In=Mn.isEmpty()&&Mn.parentModel.isEmpty();Cn.ensureState(Nn).ignore=In&&An}),Cn.useStyle(defaults$1(Tn.getAreaStyle(),{fill:En,opacity:.7,decal:xn.decal}));var $n=wn.getModel("emphasis"),Pn=$n.getModel("itemStyle").getItemStyle();Sn.eachChild(function(Nn){if(Nn instanceof ZRImage){var Mn=Nn.style;Nn.useStyle(extend$1({image:Mn.image,x:Mn.x,y:Mn.y,width:Mn.width,height:Mn.height},xn))}else Nn.useStyle(xn),Nn.setColor(En),Nn.style.strokeNoScale=!0;var In=Nn.ensureState("emphasis");In.style=clone$4(Pn);var On=Dt.getStore().get(Dt.getDimensionIndex(Nn.__dimIdx),_n);(On==null||isNaN(On))&&(On=""),setLabelStyle(Nn,getLabelStatesModels(wn),{labelFetcher:Dt.hostModel,labelDataIndex:_n,labelDimIndex:Nn.__dimIdx,defaultText:On,inheritColor:En,defaultOpacity:xn.opacity})}),toggleHoverEmphasis(bn,$n.get("focus"),$n.get("blurScope"),$n.get("disabled"))}),this._data=Dt},$e.prototype.remove=function(){this.group.removeAll(),this._data=null},$e.type="radar",$e}(ChartView),RadarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this))},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,{generateCoord:"indicator_",generateCoordCount:1/0})},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=this.coordinateSystem,Dt=At.getIndicatorAxes(),Lt=this.getData().getName(Ie),jt=Lt===""?this.name:Lt,hn=retrieveVisualColorForTooltipMarker(this,Ie);return createTooltipMarkup("section",{header:jt,sortBlocks:!0,blocks:map$1(Dt,function(vn){var bn=qe.get(qe.mapDimension(vn.dim),Ie);return createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:hn,name:vn.name,value:bn,sortParam:bn})})})},$e.prototype.getTooltipPosition=function(Ie){if(Ie!=null){for(var Fe=this.getData(),Ue=this.coordinateSystem,qe=Fe.getValues(map$1(Ue.dimensions,function(jt){return Fe.mapDimension(jt)}),Ie),At=0,Dt=qe.length;At<Dt;At++)if(!isNaN(qe[At])){var Lt=Ue.getIndicatorAxes();return Ue.coordToPoint(Lt[At].dataToCoord(qe[At]),At)}}},$e.type="series.radar",$e.dependencies=["radar"],$e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},$e}(SeriesModel),valueAxisDefault=axisDefault.value;function defaultsShow(xe,$e){return defaults$1({show:$e},xe)}var RadarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){var Ie=this.get("boundaryGap"),Fe=this.get("splitNumber"),Ue=this.get("scale"),qe=this.get("axisLine"),At=this.get("axisTick"),Dt=this.get("axisLabel"),Lt=this.get("axisName"),jt=this.get(["axisName","show"]),hn=this.get(["axisName","formatter"]),vn=this.get("axisNameGap"),bn=this.get("triggerEvent"),_n=map$1(this.get("indicator")||[],function(wn){wn.max!=null&&wn.max>0&&!wn.min?wn.min=0:wn.min!=null&&wn.min<0&&!wn.max&&(wn.max=0);var kn=Lt;wn.color!=null&&(kn=defaults$1({color:wn.color},Lt));var Cn=merge$1(clone$4(wn),{boundaryGap:Ie,splitNumber:Fe,scale:Ue,axisLine:qe,axisTick:At,axisLabel:Dt,name:wn.text,showName:jt,nameLocation:"end",nameGap:vn,nameTextStyle:kn,triggerEvent:bn},!1);if(isString$2(hn)){var Sn=Cn.name;Cn.name=hn.replace("{value}",Sn??"")}else isFunction$2(hn)&&(Cn.name=hn(Cn.name,Cn));var xn=new Model(Cn,null,this.ecModel);return mixin(xn,AxisModelCommonMixin.prototype),xn.mainType="radar",xn.componentIndex=this.componentIndex,xn},this);this._indicatorModels=_n},$e.prototype.getIndicatorModels=function(){return this._indicatorModels},$e.type="radar",$e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:merge$1({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},$e}(ComponentModel),axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll(),this._buildAxes(Ie),this._buildSplitLineAndArea(Ie)},$e.prototype._buildAxes=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes(),qe=map$1(Ue,function(At){var Dt=At.model.get("showName")?At.name:"",Lt=new AxisBuilder(At.model,{axisName:Dt,position:[Fe.cx,Fe.cy],rotation:At.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return Lt});each$f(qe,function(At){each$f(axisBuilderAttrs$2,At.add,At),this.group.add(At.getGroup())},this)},$e.prototype._buildSplitLineAndArea=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes();if(!Ue.length)return;var qe=Ie.get("shape"),At=Ie.getModel("splitLine"),Dt=Ie.getModel("splitArea"),Lt=At.getModel("lineStyle"),jt=Dt.getModel("areaStyle"),hn=At.get("show"),vn=Dt.get("show"),bn=Lt.get("color"),_n=jt.get("color"),wn=isArray$2(bn)?bn:[bn],kn=isArray$2(_n)?_n:[_n],Cn=[],Sn=[];function xn(Ln,Dn,Hn){var Fn=Hn%Dn.length;return Ln[Fn]=Ln[Fn]||[],Fn}if(qe==="circle")for(var En=Ue[0].getTicksCoords(),Tn=Fe.cx,An=Fe.cy,$n=0;$n<En.length;$n++){if(hn){var Pn=xn(Cn,wn,$n);Cn[Pn].push(new Circle({shape:{cx:Tn,cy:An,r:En[$n].coord}}))}if(vn&&$n<En.length-1){var Pn=xn(Sn,kn,$n);Sn[Pn].push(new Ring$1({shape:{cx:Tn,cy:An,r0:En[$n].coord,r:En[$n+1].coord}}))}}else for(var Nn,Mn=map$1(Ue,function(Ln,Dn){var Hn=Ln.getTicksCoords();return Nn=Nn==null?Hn.length-1:Math.min(Hn.length-1,Nn),map$1(Hn,function(Fn){return Fe.coordToPoint(Fn.coord,Dn)})}),In=[],$n=0;$n<=Nn;$n++){for(var On=[],Rn=0;Rn<Ue.length;Rn++)On.push(Mn[Rn][$n]);if(On[0]&&On.push(On[0].slice()),hn){var Pn=xn(Cn,wn,$n);Cn[Pn].push(new Polyline$1({shape:{points:On}}))}if(vn&&In){var Pn=xn(Sn,kn,$n-1);Sn[Pn].push(new Polygon({shape:{points:On.concat(In)}}))}In=On.slice().reverse()}var Bn=Lt.getLineStyle(),Vn=jt.getAreaStyle();each$f(Sn,function(Ln,Dn){this.group.add(mergePath(Ln,{style:defaults$1({stroke:"none",fill:kn[Dn%kn.length]},Vn),silent:!0}))},this),each$f(Cn,function(Ln,Dn){this.group.add(mergePath(Ln,{style:defaults$1({fill:"none",stroke:wn[Dn%wn.length]},Bn),silent:!0}))},this)},$e.type="radar",$e}(ComponentView),IndicatorAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this,Ie,Fe,Ue)||this;return qe.type="value",qe.angle=0,qe.name="",qe}return $e}(Axis),Radar=function(){function xe($e,Ie,Fe){this.dimensions=[],this._model=$e,this._indicatorAxes=map$1($e.getIndicatorModels(),function(Ue,qe){var At="indicator_"+qe,Dt=new IndicatorAxis(At,new IntervalScale);return Dt.name=Ue.get("name"),Dt.model=Ue,Ue.axis=Dt,this.dimensions.push(At),Dt},this),this.resize($e,Fe)}return xe.prototype.getIndicatorAxes=function(){return this._indicatorAxes},xe.prototype.dataToPoint=function($e,Ie){var Fe=this._indicatorAxes[Ie];return this.coordToPoint(Fe.dataToCoord($e),Ie)},xe.prototype.coordToPoint=function($e,Ie){var Fe=this._indicatorAxes[Ie],Ue=Fe.angle,qe=this.cx+$e*Math.cos(Ue),At=this.cy-$e*Math.sin(Ue);return[qe,At]},xe.prototype.pointToData=function($e){var Ie=$e[0]-this.cx,Fe=$e[1]-this.cy,Ue=Math.sqrt(Ie*Ie+Fe*Fe);Ie/=Ue,Fe/=Ue;for(var qe=Math.atan2(-Fe,Ie),At=1/0,Dt,Lt=-1,jt=0;jt<this._indicatorAxes.length;jt++){var hn=this._indicatorAxes[jt],vn=Math.abs(qe-hn.angle);vn<At&&(Dt=hn,Lt=jt,At=vn)}return[Lt,+(Dt&&Dt.coordToData(Ue))]},xe.prototype.resize=function($e,Ie){var Fe=$e.get("center"),Ue=Ie.getWidth(),qe=Ie.getHeight(),At=Math.min(Ue,qe)/2;this.cx=parsePercent(Fe[0],Ue),this.cy=parsePercent(Fe[1],qe),this.startAngle=$e.get("startAngle")*Math.PI/180;var Dt=$e.get("radius");(isString$2(Dt)||isNumber$2(Dt))&&(Dt=[0,Dt]),this.r0=parsePercent(Dt[0],At),this.r=parsePercent(Dt[1],At),each$f(this._indicatorAxes,function(Lt,jt){Lt.setExtent(this.r0,this.r);var hn=this.startAngle+jt*Math.PI*2/this._indicatorAxes.length;hn=Math.atan2(Math.sin(hn),Math.cos(hn)),Lt.angle=hn},this)},xe.prototype.update=function($e,Ie){var Fe=this._indicatorAxes,Ue=this._model;each$f(Fe,function(Dt){Dt.scale.setExtent(1/0,-1/0)}),$e.eachSeriesByType("radar",function(Dt,Lt){if(!(Dt.get("coordinateSystem")!=="radar"||$e.getComponent("radar",Dt.get("radarIndex"))!==Ue)){var jt=Dt.getData();each$f(Fe,function(hn){hn.scale.unionExtentFromData(jt,jt.mapDimension(hn.dim))})}},this);var qe=Ue.get("splitNumber"),At=new IntervalScale;At.setExtent(0,qe),At.setInterval(1),each$f(Fe,function(Dt,Lt){alignScaleTicks(Dt.scale,Dt.model,At)})},xe.prototype.convertToPixel=function($e,Ie,Fe){return console.warn("Not implemented."),null},xe.prototype.convertFromPixel=function($e,Ie,Fe){return console.warn("Not implemented."),null},xe.prototype.containPoint=function($e){return console.warn("Not implemented."),!1},xe.create=function($e,Ie){var Fe=[];return $e.eachComponent("radar",function(Ue){var qe=new xe(Ue,$e,Ie);Fe.push(qe),Ue.coordinateSystem=qe}),$e.eachSeriesByType("radar",function(Ue){Ue.get("coordinateSystem")==="radar"&&(Ue.coordinateSystem=Fe[Ue.get("radarIndex")||0])}),Fe},xe.dimensions=[],xe}();function install$M(xe){xe.registerCoordinateSystem("radar",Radar),xe.registerComponentModel(RadarModel),xe.registerComponentView(RadarView),xe.registerVisual({seriesType:"radar",reset:function($e){var Ie=$e.getData();Ie.each(function(Fe){Ie.setItemVisual(Fe,"legendIcon","roundRect")}),Ie.setVisual("legendIcon","roundRect")}})}function install$L(xe){use(install$M),xe.registerChartView(RadarView$1),xe.registerSeriesModel(RadarSeriesModel),xe.registerLayout(radarLayout),xe.registerProcessor(dataFilter$1("radar")),xe.registerPreprocessor(radarBackwardCompat)}var ATTR="\0_ec_interaction_mutex";function take(xe,$e,Ie){var Fe=getStore(xe);Fe[$e]=Ie}function release(xe,$e,Ie){var Fe=getStore(xe),Ue=Fe[$e];Ue===Ie&&(Fe[$e]=null)}function isTaken(xe,$e){return!!getStore(xe)[$e]}function getStore(xe){return xe[ATTR]||(xe[ATTR]={})}registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},noop$2);var RoamController=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;Fe._zr=Ie;var Ue=bind$2(Fe._mousedownHandler,Fe),qe=bind$2(Fe._mousemoveHandler,Fe),At=bind$2(Fe._mouseupHandler,Fe),Dt=bind$2(Fe._mousewheelHandler,Fe),Lt=bind$2(Fe._pinchHandler,Fe);return Fe.enable=function(jt,hn){this.disable(),this._opt=defaults$1(clone$4(hn)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),jt==null&&(jt=!0),(jt===!0||jt==="move"||jt==="pan")&&(Ie.on("mousedown",Ue),Ie.on("mousemove",qe),Ie.on("mouseup",At)),(jt===!0||jt==="scale"||jt==="zoom")&&(Ie.on("mousewheel",Dt),Ie.on("pinch",Lt))},Fe.disable=function(){Ie.off("mousedown",Ue),Ie.off("mousemove",qe),Ie.off("mouseup",At),Ie.off("mousewheel",Dt),Ie.off("pinch",Lt)},Fe}return $e.prototype.isDragging=function(){return this._dragging},$e.prototype.isPinching=function(){return this._pinching},$e.prototype.setPointerChecker=function(Ie){this.pointerChecker=Ie},$e.prototype.dispose=function(){this.disable()},$e.prototype._mousedownHandler=function(Ie){if(!isMiddleOrRightButtonOnMouseUpDown(Ie)){for(var Fe=Ie.target;Fe;){if(Fe.draggable)return;Fe=Fe.__hostTarget||Fe.parent}var Ue=Ie.offsetX,qe=Ie.offsetY;this.pointerChecker&&this.pointerChecker(Ie,Ue,qe)&&(this._x=Ue,this._y=qe,this._dragging=!0)}},$e.prototype._mousemoveHandler=function(Ie){if(!(!this._dragging||!isAvailableBehavior("moveOnMouseMove",Ie,this._opt)||Ie.gestureEvent==="pinch"||isTaken(this._zr,"globalPan"))){var Fe=Ie.offsetX,Ue=Ie.offsetY,qe=this._x,At=this._y,Dt=Fe-qe,Lt=Ue-At;this._x=Fe,this._y=Ue,this._opt.preventDefaultMouseMove&&stop(Ie.event),trigger$1(this,"pan","moveOnMouseMove",Ie,{dx:Dt,dy:Lt,oldX:qe,oldY:At,newX:Fe,newY:Ue,isAvailableBehavior:null})}},$e.prototype._mouseupHandler=function(Ie){isMiddleOrRightButtonOnMouseUpDown(Ie)||(this._dragging=!1)},$e.prototype._mousewheelHandler=function(Ie){var Fe=isAvailableBehavior("zoomOnMouseWheel",Ie,this._opt),Ue=isAvailableBehavior("moveOnMouseWheel",Ie,this._opt),qe=Ie.wheelDelta,At=Math.abs(qe),Dt=Ie.offsetX,Lt=Ie.offsetY;if(!(qe===0||!Fe&&!Ue)){if(Fe){var jt=At>3?1.4:At>1?1.2:1.1,hn=qe>0?jt:1/jt;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",Ie,{scale:hn,originX:Dt,originY:Lt,isAvailableBehavior:null})}if(Ue){var vn=Math.abs(qe),bn=(qe>0?1:-1)*(vn>3?.4:vn>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",Ie,{scrollDelta:bn,originX:Dt,originY:Lt,isAvailableBehavior:null})}}},$e.prototype._pinchHandler=function(Ie){if(!isTaken(this._zr,"globalPan")){var Fe=Ie.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,Ie,{scale:Fe,originX:Ie.pinchX,originY:Ie.pinchY,isAvailableBehavior:null})}},$e}(Eventful);function checkPointerAndTrigger(xe,$e,Ie,Fe,Ue){xe.pointerChecker&&xe.pointerChecker(Fe,Ue.originX,Ue.originY)&&(stop(Fe.event),trigger$1(xe,$e,Ie,Fe,Ue))}function trigger$1(xe,$e,Ie,Fe,Ue){Ue.isAvailableBehavior=bind$2(isAvailableBehavior,null,Ie,Fe),xe.trigger($e,Ue)}function isAvailableBehavior(xe,$e,Ie){var Fe=Ie[xe];return!xe||Fe&&(!isString$2(Fe)||$e.event[Fe+"Key"])}function updateViewOnPan(xe,$e,Ie){var Fe=xe.target;Fe.x+=$e,Fe.y+=Ie,Fe.dirty()}function updateViewOnZoom(xe,$e,Ie,Fe){var Ue=xe.target,qe=xe.zoomLimit,At=xe.zoom=xe.zoom||1;if(At*=$e,qe){var Dt=qe.min||0,Lt=qe.max||1/0;At=Math.max(Math.min(Lt,At),Dt)}var jt=At/xe.zoom;xe.zoom=At,Ue.x-=(Ie-Ue.x)*(jt-1),Ue.y-=(Fe-Ue.y)*(jt-1),Ue.scaleX*=jt,Ue.scaleY*=jt,Ue.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(xe,$e,Ie){var Fe=$e.getComponentByElement(xe.topTarget),Ue=Fe&&Fe.coordinateSystem;return Fe&&Fe!==Ie&&!IRRELEVANT_EXCLUDES.hasOwnProperty(Fe.mainType)&&Ue&&Ue.model!==Ie}function parseXML(xe){if(isString$2(xe)){var $e=new DOMParser;xe=$e.parseFromString(xe,"text/xml")}var Ie=xe;for(Ie.nodeType===9&&(Ie=Ie.firstChild);Ie.nodeName.toLowerCase()!=="svg"||Ie.nodeType!==1;)Ie=Ie.nextSibling;return Ie}var nodeParsers,INHERITABLE_STYLE_ATTRIBUTES_MAP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function xe(){this._defs={},this._root=null}return xe.prototype.parse=function($e,Ie){Ie=Ie||{};var Fe=parseXML($e);this._defsUsePending=[];var Ue=new Group$3;this._root=Ue;var qe=[],At=Fe.getAttribute("viewBox")||"",Dt=parseFloat(Fe.getAttribute("width")||Ie.width),Lt=parseFloat(Fe.getAttribute("height")||Ie.height);isNaN(Dt)&&(Dt=null),isNaN(Lt)&&(Lt=null),parseAttributes(Fe,Ue,null,!0,!1);for(var jt=Fe.firstChild;jt;)this._parseNode(jt,Ue,qe,null,!1,!1),jt=jt.nextSibling;applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[];var hn,vn;if(At){var bn=splitNumberSequence(At);bn.length>=4&&(hn={x:parseFloat(bn[0]||0),y:parseFloat(bn[1]||0),width:parseFloat(bn[2]),height:parseFloat(bn[3])})}if(hn&&Dt!=null&&Lt!=null&&(vn=makeViewBoxTransform(hn,{x:0,y:0,width:Dt,height:Lt}),!Ie.ignoreViewBox)){var _n=Ue;Ue=new Group$3,Ue.add(_n),_n.scaleX=_n.scaleY=vn.scale,_n.x=vn.x,_n.y=vn.y}return!Ie.ignoreRootClip&&Dt!=null&&Lt!=null&&Ue.setClipPath(new Rect$2({shape:{x:0,y:0,width:Dt,height:Lt}})),{root:Ue,width:Dt,height:Lt,viewBoxRect:hn,viewBoxTransform:vn,named:qe}},xe.prototype._parseNode=function($e,Ie,Fe,Ue,qe,At){var Dt=$e.nodeName.toLowerCase(),Lt,jt=Ue;if(Dt==="defs"&&(qe=!0),Dt==="text"&&(At=!0),Dt==="defs"||Dt==="switch")Lt=Ie;else{if(!qe){var hn=nodeParsers[Dt];if(hn&&hasOwn(nodeParsers,Dt)){Lt=hn.call(this,$e,Ie);var vn=$e.getAttribute("name");if(vn){var bn={name:vn,namedFrom:null,svgNodeTagLower:Dt,el:Lt};Fe.push(bn),Dt==="g"&&(jt=bn)}else Ue&&Fe.push({name:Ue.name,namedFrom:Ue,svgNodeTagLower:Dt,el:Lt});Ie.add(Lt)}}var _n=paintServerParsers[Dt];if(_n&&hasOwn(paintServerParsers,Dt)){var wn=_n.call(this,$e),kn=$e.getAttribute("id");kn&&(this._defs[kn]=wn)}}if(Lt&&Lt.isGroup)for(var Cn=$e.firstChild;Cn;)Cn.nodeType===1?this._parseNode(Cn,Lt,Fe,jt,qe,At):Cn.nodeType===3&&At&&this._parseText(Cn,Lt),Cn=Cn.nextSibling},xe.prototype._parseText=function($e,Ie){var Fe=new TSpan({style:{text:$e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),applyTextAlignment(Fe,Ie);var Ue=Fe.style,qe=Ue.fontSize;qe&&qe<9&&(Ue.fontSize=9,Fe.scaleX*=qe/9,Fe.scaleY*=qe/9);var At=(Ue.fontSize||Ue.fontFamily)&&[Ue.fontStyle,Ue.fontWeight,(Ue.fontSize||12)+"px",Ue.fontFamily||"sans-serif"].join(" ");Ue.font=At;var Dt=Fe.getBoundingRect();return this._textX+=Dt.width,Ie.add(Fe),Fe},xe.internalField=function(){nodeParsers={g:function($e,Ie){var Fe=new Group$3;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe},rect:function($e,Ie){var Fe=new Rect$2;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x:parseFloat($e.getAttribute("x")||"0"),y:parseFloat($e.getAttribute("y")||"0"),width:parseFloat($e.getAttribute("width")||"0"),height:parseFloat($e.getAttribute("height")||"0")}),Fe.silent=!0,Fe},circle:function($e,Ie){var Fe=new Circle;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),r:parseFloat($e.getAttribute("r")||"0")}),Fe.silent=!0,Fe},line:function($e,Ie){var Fe=new Line$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x1:parseFloat($e.getAttribute("x1")||"0"),y1:parseFloat($e.getAttribute("y1")||"0"),x2:parseFloat($e.getAttribute("x2")||"0"),y2:parseFloat($e.getAttribute("y2")||"0")}),Fe.silent=!0,Fe},ellipse:function($e,Ie){var Fe=new Ellipse$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),rx:parseFloat($e.getAttribute("rx")||"0"),ry:parseFloat($e.getAttribute("ry")||"0")}),Fe.silent=!0,Fe},polygon:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polygon({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},polyline:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polyline$1({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},image:function($e,Ie){var Fe=new ZRImage;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setStyle({image:$e.getAttribute("xlink:href")||$e.getAttribute("href"),x:+$e.getAttribute("x"),y:+$e.getAttribute("y"),width:+$e.getAttribute("width"),height:+$e.getAttribute("height")}),Fe.silent=!0,Fe},text:function($e,Ie){var Fe=$e.getAttribute("x")||"0",Ue=$e.getAttribute("y")||"0",qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0";this._textX=parseFloat(Fe)+parseFloat(qe),this._textY=parseFloat(Ue)+parseFloat(At);var Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),Dt},tspan:function($e,Ie){var Fe=$e.getAttribute("x"),Ue=$e.getAttribute("y");Fe!=null&&(this._textX=parseFloat(Fe)),Ue!=null&&(this._textY=parseFloat(Ue));var qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0",Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),this._textX+=parseFloat(qe),this._textY+=parseFloat(At),Dt},path:function($e,Ie){var Fe=$e.getAttribute("d")||"",Ue=createFromString(Fe);return inheritStyle(Ie,Ue),parseAttributes($e,Ue,this._defsUsePending,!1,!1),Ue.silent=!0,Ue}}}(),xe}(),paintServerParsers={lineargradient:function(xe){var $e=parseInt(xe.getAttribute("x1")||"0",10),Ie=parseInt(xe.getAttribute("y1")||"0",10),Fe=parseInt(xe.getAttribute("x2")||"10",10),Ue=parseInt(xe.getAttribute("y2")||"0",10),qe=new LinearGradient($e,Ie,Fe,Ue);return parsePaintServerUnit(xe,qe),parseGradientColorStops(xe,qe),qe},radialgradient:function(xe){var $e=parseInt(xe.getAttribute("cx")||"0",10),Ie=parseInt(xe.getAttribute("cy")||"0",10),Fe=parseInt(xe.getAttribute("r")||"0",10),Ue=new RadialGradient$1($e,Ie,Fe);return parsePaintServerUnit(xe,Ue),parseGradientColorStops(xe,Ue),Ue}};function parsePaintServerUnit(xe,$e){var Ie=xe.getAttribute("gradientUnits");Ie==="userSpaceOnUse"&&($e.global=!0)}function parseGradientColorStops(xe,$e){for(var Ie=xe.firstChild;Ie;){if(Ie.nodeType===1&&Ie.nodeName.toLocaleLowerCase()==="stop"){var Fe=Ie.getAttribute("offset"),Ue=void 0;Fe&&Fe.indexOf("%")>0?Ue=parseInt(Fe,10)/100:Fe?Ue=parseFloat(Fe):Ue=0;var qe={};parseInlineStyle(Ie,qe,qe);var At=qe.stopColor||Ie.getAttribute("stop-color")||"#000000";$e.colorStops.push({offset:Ue,color:At})}Ie=Ie.nextSibling}}function inheritStyle(xe,$e){xe&&xe.__inheritedStyle&&($e.__inheritedStyle||($e.__inheritedStyle={}),defaults$1($e.__inheritedStyle,xe.__inheritedStyle))}function parsePoints(xe){for(var $e=splitNumberSequence(xe),Ie=[],Fe=0;Fe<$e.length;Fe+=2){var Ue=parseFloat($e[Fe]),qe=parseFloat($e[Fe+1]);Ie.push([Ue,qe])}return Ie}function parseAttributes(xe,$e,Ie,Fe,Ue){var qe=$e,At=qe.__inheritedStyle=qe.__inheritedStyle||{},Dt={};xe.nodeType===1&&(parseTransformAttribute(xe,$e),parseInlineStyle(xe,At,Dt),Fe||parseAttributeStyle(xe,At,Dt)),qe.style=qe.style||{},At.fill!=null&&(qe.style.fill=getFillStrokeStyle(qe,"fill",At.fill,Ie)),At.stroke!=null&&(qe.style.stroke=getFillStrokeStyle(qe,"stroke",At.stroke,Ie)),each$f(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=parseFloat(At[Lt]))}),each$f(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=At[Lt])}),Ue&&(qe.__selfStyle=Dt),At.lineDash&&(qe.style.lineDash=map$1(splitNumberSequence(At.lineDash),function(Lt){return parseFloat(Lt)})),(At.visibility==="hidden"||At.visibility==="collapse")&&(qe.invisible=!0),At.display==="none"&&(qe.ignore=!0)}function applyTextAlignment(xe,$e){var Ie=$e.__selfStyle;if(Ie){var Fe=Ie.textBaseline,Ue=Fe;!Fe||Fe==="auto"||Fe==="baseline"?Ue="alphabetic":Fe==="before-edge"||Fe==="text-before-edge"?Ue="top":Fe==="after-edge"||Fe==="text-after-edge"?Ue="bottom":(Fe==="central"||Fe==="mathematical")&&(Ue="middle"),xe.style.textBaseline=Ue}var qe=$e.__inheritedStyle;if(qe){var At=qe.textAlign,Dt=At;At&&(At==="middle"&&(Dt="center"),xe.style.textAlign=Dt)}}var urlRegex=/^url\(\s*#(.*?)\)/;function getFillStrokeStyle(xe,$e,Ie,Fe){var Ue=Ie&&Ie.match(urlRegex);if(Ue){var qe=trim$2(Ue[1]);Fe.push([xe,$e,qe]);return}return Ie==="none"&&(Ie=null),Ie}function applyDefs(xe,$e){for(var Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];Fe[0].style[Fe[1]]=xe[Fe[2]]}}var numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function splitNumberSequence(xe){return xe.match(numberReg)||[]}var transformRegex=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,DEGREE_TO_ANGLE=Math.PI/180;function parseTransformAttribute(xe,$e){var Ie=xe.getAttribute("transform");if(Ie){Ie=Ie.replace(/,/g," ");var Fe=[],Ue=null;Ie.replace(transformRegex,function(vn,bn,_n){return Fe.push(bn,_n),""});for(var qe=Fe.length-1;qe>0;qe-=2){var At=Fe[qe],Dt=Fe[qe-1],Lt=splitNumberSequence(At);switch(Ue=Ue||create$1(),Dt){case"translate":translate$1(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||"0")]);break;case"scale":scale$1(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||Lt[0])]);break;case"rotate":rotate(Ue,Ue,-parseFloat(Lt[0])*DEGREE_TO_ANGLE,[parseFloat(Lt[1]||"0"),parseFloat(Lt[2]||"0")]);break;case"skewX":var jt=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,0,jt,1,0,0],Ue);break;case"skewY":var hn=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,hn,0,1,0,0],Ue);break;case"matrix":Ue[0]=parseFloat(Lt[0]),Ue[1]=parseFloat(Lt[1]),Ue[2]=parseFloat(Lt[2]),Ue[3]=parseFloat(Lt[3]),Ue[4]=parseFloat(Lt[4]),Ue[5]=parseFloat(Lt[5]);break}}$e.setLocalTransform(Ue)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(xe,$e,Ie){var Fe=xe.getAttribute("style");if(Fe){styleRegex.lastIndex=0;for(var Ue;(Ue=styleRegex.exec(Fe))!=null;){var qe=Ue[1],At=hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP,qe)?INHERITABLE_STYLE_ATTRIBUTES_MAP[qe]:null;At&&($e[At]=Ue[2]);var Dt=hasOwn(SELF_STYLE_ATTRIBUTES_MAP,qe)?SELF_STYLE_ATTRIBUTES_MAP[qe]:null;Dt&&(Ie[Dt]=Ue[2])}}}function parseAttributeStyle(xe,$e,Ie){for(var Fe=0;Fe<INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS.length;Fe++){var Ue=INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS[Fe],qe=xe.getAttribute(Ue);qe!=null&&($e[INHERITABLE_STYLE_ATTRIBUTES_MAP[Ue]]=qe)}for(var Fe=0;Fe<SELF_STYLE_ATTRIBUTES_MAP_KEYS.length;Fe++){var Ue=SELF_STYLE_ATTRIBUTES_MAP_KEYS[Fe],qe=xe.getAttribute(Ue);qe!=null&&(Ie[SELF_STYLE_ATTRIBUTES_MAP[Ue]]=qe)}}function makeViewBoxTransform(xe,$e){var Ie=$e.width/xe.width,Fe=$e.height/xe.height,Ue=Math.min(Ie,Fe);return{scale:Ue,x:-(xe.x+xe.width/2)*Ue+($e.x+$e.width/2),y:-(xe.y+xe.height/2)*Ue+($e.y+$e.height/2)}}function parseSVG(xe,$e){var Ie=new SVGParser;return Ie.parse(xe,$e)}var REGION_AVAILABLE_SVG_TAG_MAP=createHashMap(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),GeoSVGResource=function(){function xe($e,Ie){this.type="geoSVG",this._usedGraphicMap=createHashMap(),this._freedGraphics=[],this._mapName=$e,this._parsedXML=parseXML(Ie)}return xe.prototype.load=function(){var $e=this._firstGraphic;if(!$e){$e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push($e),this._boundingRect=this._firstGraphic.boundingRect.clone();var Ie=createRegions($e.named),Fe=Ie.regions,Ue=Ie.regionsMap;this._regions=Fe,this._regionsMap=Ue}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},xe.prototype._buildGraphic=function($e){var Ie,Fe;try{Ie=$e&&parseSVG($e,{ignoreViewBox:!0,ignoreRootClip:!0})||{},Fe=Ie.root,assert(Fe!=null)}catch(Cn){throw new Error(`Invalid svg format
`+Cn.message)}var Ue=new Group$3;Ue.add(Fe),Ue.isGeoSVGGraphicRoot=!0;var qe=Ie.width,At=Ie.height,Dt=Ie.viewBoxRect,Lt=this._boundingRect;if(!Lt){var jt=void 0,hn=void 0,vn=void 0,bn=void 0;if(qe!=null?(jt=0,vn=qe):Dt&&(jt=Dt.x,vn=Dt.width),At!=null?(hn=0,bn=At):Dt&&(hn=Dt.y,bn=Dt.height),jt==null||hn==null){var _n=Fe.getBoundingRect();jt==null&&(jt=_n.x,vn=_n.width),hn==null&&(hn=_n.y,bn=_n.height)}Lt=this._boundingRect=new BoundingRect(jt,hn,vn,bn)}if(Dt){var wn=makeViewBoxTransform(Dt,Lt);Fe.scaleX=Fe.scaleY=wn.scale,Fe.x=wn.x,Fe.y=wn.y}Ue.setClipPath(new Rect$2({shape:Lt.plain()}));var kn=[];return each$f(Ie.named,function(Cn){REGION_AVAILABLE_SVG_TAG_MAP.get(Cn.svgNodeTagLower)!=null&&(kn.push(Cn),setSilent(Cn.el))}),{root:Ue,boundingRect:Lt,named:kn}},xe.prototype.useGraphic=function($e){var Ie=this._usedGraphicMap,Fe=Ie.get($e);return Fe||(Fe=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),Ie.set($e,Fe),Fe)},xe.prototype.freeGraphic=function($e){var Ie=this._usedGraphicMap,Fe=Ie.get($e);Fe&&(Ie.removeKey($e),this._freedGraphics.push(Fe))},xe}();function setSilent(xe){xe.silent=!1,xe.isGroup&&xe.traverse(function($e){$e.silent=!1})}function createRegions(xe){var $e=[],Ie=createHashMap();return each$f(xe,function(Fe){if(Fe.namedFrom==null){var Ue=new GeoSVGRegion(Fe.name,Fe.el);$e.push(Ue),Ie.set(Fe.name,Ue)}}),{regions:$e,regionsMap:Ie}}var geoCoord=[126,25],nanhaiName="南海诸岛",points$1=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]];for(var i=0;i<points$1.length;i++)for(var k=0;k<points$1[i].length;k++)points$1[i][k][0]/=10.5,points$1[i][k][1]/=-10.5/.75,points$1[i][k][0]+=geoCoord[0],points$1[i][k][1]+=geoCoord[1];function fixNanhai(xe,$e){if(xe==="china"){for(var Ie=0;Ie<$e.length;Ie++)if($e[Ie].name===nanhaiName)return;$e.push(new GeoJSONRegion(nanhaiName,map$1(points$1,function(Fe){return{type:"polygon",exterior:Fe}}),geoCoord))}}var coordsOffsetMap={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function fixTextCoords(xe,$e){if(xe==="china"){var Ie=coordsOffsetMap[$e.name];if(Ie){var Fe=$e.getCenter();Fe[0]+=Ie[0]/10.5,Fe[1]+=-Ie[1]/(10.5/.75),$e.setCenter(Fe)}}}var points=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function fixDiaoyuIsland(xe,$e){xe==="china"&&$e.name==="台湾"&&$e.geometries.push({type:"polygon",exterior:points[0]})}var DEFAULT_NAME_PROPERTY="name",GeoJSONResource=function(){function xe($e,Ie,Fe){this.type="geoJSON",this._parsedMap=createHashMap(),this._mapName=$e,this._specialAreas=Fe,this._geoJSON=parseInput(Ie)}return xe.prototype.load=function($e,Ie){Ie=Ie||DEFAULT_NAME_PROPERTY;var Fe=this._parsedMap.get(Ie);if(!Fe){var Ue=this._parseToRegions(Ie);Fe=this._parsedMap.set(Ie,{regions:Ue,boundingRect:calculateBoundingRect(Ue)})}var qe=createHashMap(),At=[];return each$f(Fe.regions,function(Dt){var Lt=Dt.name;$e&&hasOwn($e,Lt)&&(Dt=Dt.cloneShallow(Lt=$e[Lt])),At.push(Dt),qe.set(Lt,Dt)}),{regions:At,boundingRect:Fe.boundingRect||new BoundingRect(0,0,0,0),regionsMap:qe}},xe.prototype._parseToRegions=function($e){var Ie=this._mapName,Fe=this._geoJSON,Ue;try{Ue=Fe?parseGeoJSON(Fe,$e):[]}catch(qe){throw new Error(`Invalid geoJson format
`+qe.message)}return fixNanhai(Ie,Ue),each$f(Ue,function(qe){var At=qe.name;fixTextCoords(Ie,qe),fixDiaoyuIsland(Ie,qe);var Dt=this._specialAreas&&this._specialAreas[At];Dt&&qe.transformTo(Dt.left,Dt.top,Dt.width,Dt.height)},this),Ue},xe.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},xe}();function calculateBoundingRect(xe){for(var $e,Ie=0;Ie<xe.length;Ie++){var Fe=xe[Ie].getBoundingRect();$e=$e||Fe.clone(),$e.union(Fe)}return $e}function parseInput(xe){return isString$2(xe)?typeof JSON<"u"&&JSON.parse?JSON.parse(xe):new Function("return ("+xe+");")():xe}var storage=createHashMap();const geoSourceManager={registerMap:function(xe,$e,Ie){if($e.svg){var Fe=new GeoSVGResource(xe,$e.svg);storage.set(xe,Fe)}else{var Ue=$e.geoJson||$e.geoJSON;Ue&&!$e.features?Ie=$e.specialAreas:Ue=$e;var Fe=new GeoJSONResource(xe,Ue,Ie);storage.set(xe,Fe)}},getGeoResource:function(xe){return storage.get(xe)},getMapForUser:function(xe){var $e=storage.get(xe);return $e&&$e.type==="geoJSON"&&$e.getMapForUser()},load:function(xe,$e,Ie){var Fe=storage.get(xe);if(Fe)return Fe.load($e,Ie)}};var OPTION_STYLE_ENABLED_TAGS=["rect","circle","line","ellipse","polygon","polyline","path"],OPTION_STYLE_ENABLED_TAG_MAP=createHashMap(OPTION_STYLE_ENABLED_TAGS),STATE_TRIGGER_TAG_MAP=createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(["g"])),LABEL_HOST_MAP=createHashMap(OPTION_STYLE_ENABLED_TAGS.concat(["g"])),mapLabelRaw=makeInner();function getFixedItemStyle(xe){var $e=xe.getItemStyle(),Ie=xe.get("areaColor");return Ie!=null&&($e.fill=Ie),$e}function fixLineStyle(xe){var $e=xe.style;$e&&($e.stroke=$e.stroke||$e.fill,$e.fill=null)}var MapDraw=function(){function xe($e){var Ie=new Group$3;this.uid=getUID("ec_map_draw"),this._controller=new RoamController($e.getZr()),this._controllerHost={target:Ie},this.group=Ie,Ie.add(this._regionsGroup=new Group$3),Ie.add(this._svgGroup=new Group$3)}return xe.prototype.draw=function($e,Ie,Fe,Ue,qe){var At=$e.mainType==="geo",Dt=$e.getData&&$e.getData();At&&Ie.eachComponent({mainType:"series",subType:"map"},function(Sn){!Dt&&Sn.getHostGeoModel()===$e&&(Dt=Sn.getData())});var Lt=$e.coordinateSystem,jt=this._regionsGroup,hn=this.group,vn=Lt.getTransformInfo(),bn=vn.raw,_n=vn.roam,wn=!jt.childAt(0)||qe;wn?(hn.x=_n.x,hn.y=_n.y,hn.scaleX=_n.scaleX,hn.scaleY=_n.scaleY,hn.dirty()):updateProps$1(hn,_n,$e);var kn=Dt&&Dt.getVisual("visualMeta")&&Dt.getVisual("visualMeta").length>0,Cn={api:Fe,geo:Lt,mapOrGeoModel:$e,data:Dt,isVisualEncodedByVisualMap:kn,isGeo:At,transformInfoRaw:bn};Lt.resourceType==="geoJSON"?this._buildGeoJSON(Cn):Lt.resourceType==="geoSVG"&&this._buildSVG(Cn),this._updateController($e,Ie,Fe),this._updateMapSelectHandler($e,jt,Fe,Ue)},xe.prototype._buildGeoJSON=function($e){var Ie=this._regionsGroupByName=createHashMap(),Fe=createHashMap(),Ue=this._regionsGroup,qe=$e.transformInfoRaw,At=$e.mapOrGeoModel,Dt=$e.data,Lt=$e.geo.projection,jt=Lt&&Lt.stream;function hn(_n,wn){return wn&&(_n=wn(_n)),_n&&[_n[0]*qe.scaleX+qe.x,_n[1]*qe.scaleY+qe.y]}function vn(_n){for(var wn=[],kn=!jt&&Lt&&Lt.project,Cn=0;Cn<_n.length;++Cn){var Sn=hn(_n[Cn],kn);Sn&&wn.push(Sn)}return wn}function bn(_n){return{shape:{points:vn(_n)}}}Ue.removeAll(),each$f($e.geo.regions,function(_n){var wn=_n.name,kn=Ie.get(wn),Cn=Fe.get(wn)||{},Sn=Cn.dataIdx,xn=Cn.regionModel;kn||(kn=Ie.set(wn,new Group$3),Ue.add(kn),Sn=Dt?Dt.indexOfName(wn):null,xn=$e.isGeo?At.getRegionModel(wn):Dt?Dt.getItemModel(Sn):null,Fe.set(wn,{dataIdx:Sn,regionModel:xn}));var En=[],Tn=[];each$f(_n.geometries,function(Pn){if(Pn.type==="polygon"){var Nn=[Pn.exterior].concat(Pn.interiors||[]);jt&&(Nn=projectPolys(Nn,jt)),each$f(Nn,function(In){En.push(new Polygon(bn(In)))})}else{var Mn=Pn.points;jt&&(Mn=projectPolys(Mn,jt,!0)),each$f(Mn,function(In){Tn.push(new Polyline$1(bn(In)))})}});var An=hn(_n.getCenter(),Lt&&Lt.project);function $n(Pn,Nn){if(Pn.length){var Mn=new CompoundPath$1({culling:!0,segmentIgnoreThreshold:1,shape:{paths:Pn}});kn.add(Mn),applyOptionStyleForRegion($e,Mn,Sn,xn),resetLabelForRegion($e,Mn,wn,xn,At,Sn,An),Nn&&(fixLineStyle(Mn),each$f(Mn.states,fixLineStyle))}}$n(En),$n(Tn,!0)}),Ie.each(function(_n,wn){var kn=Fe.get(wn),Cn=kn.dataIdx,Sn=kn.regionModel;resetEventTriggerForRegion($e,_n,wn,Sn,At,Cn),resetTooltipForRegion($e,_n,wn,Sn,At),resetStateTriggerForRegion($e,_n,wn,Sn,At)},this)},xe.prototype._buildSVG=function($e){var Ie=$e.geo.map,Fe=$e.transformInfoRaw;this._svgGroup.x=Fe.x,this._svgGroup.y=Fe.y,this._svgGroup.scaleX=Fe.scaleX,this._svgGroup.scaleY=Fe.scaleY,this._svgResourceChanged(Ie)&&(this._freeSVG(),this._useSVG(Ie));var Ue=this._svgDispatcherMap=createHashMap(),qe=!1;each$f(this._svgGraphicRecord.named,function(At){var Dt=At.name,Lt=$e.mapOrGeoModel,jt=$e.data,hn=At.svgNodeTagLower,vn=At.el,bn=jt?jt.indexOfName(Dt):null,_n=Lt.getRegionModel(Dt);if(OPTION_STYLE_ENABLED_TAG_MAP.get(hn)!=null&&vn instanceof Displayable&&applyOptionStyleForRegion($e,vn,bn,_n),vn instanceof Displayable&&(vn.culling=!0),vn.z2EmphasisLift=0,!At.namedFrom&&(LABEL_HOST_MAP.get(hn)!=null&&resetLabelForRegion($e,vn,Dt,_n,Lt,bn,null),resetEventTriggerForRegion($e,vn,Dt,_n,Lt,bn),resetTooltipForRegion($e,vn,Dt,_n,Lt),STATE_TRIGGER_TAG_MAP.get(hn)!=null)){var wn=resetStateTriggerForRegion($e,vn,Dt,_n,Lt);wn==="self"&&(qe=!0);var kn=Ue.get(Dt)||Ue.set(Dt,[]);kn.push(vn)}},this),this._enableBlurEntireSVG(qe,$e)},xe.prototype._enableBlurEntireSVG=function($e,Ie){if($e&&Ie.isGeo){var Fe=Ie.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),Ue=Fe.opacity;this._svgGraphicRecord.root.traverse(function(qe){if(!qe.isGroup){setDefaultStateProxy(qe);var At=qe.ensureState("blur").style||{};At.opacity==null&&Ue!=null&&(At.opacity=Ue),qe.ensureState("emphasis")}})}},xe.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},xe.prototype.findHighDownDispatchers=function($e,Ie){if($e==null)return[];var Fe=Ie.coordinateSystem;if(Fe.resourceType==="geoJSON"){var Ue=this._regionsGroupByName;if(Ue){var qe=Ue.get($e);return qe?[qe]:[]}}else if(Fe.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get($e)||[]},xe.prototype._svgResourceChanged=function($e){return this._svgMapName!==$e},xe.prototype._useSVG=function($e){var Ie=geoSourceManager.getGeoResource($e);if(Ie&&Ie.type==="geoSVG"){var Fe=Ie.useGraphic(this.uid);this._svgGroup.add(Fe.root),this._svgGraphicRecord=Fe,this._svgMapName=$e}},xe.prototype._freeSVG=function(){var $e=this._svgMapName;if($e!=null){var Ie=geoSourceManager.getGeoResource($e);Ie&&Ie.type==="geoSVG"&&Ie.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},xe.prototype._updateController=function($e,Ie,Fe){var Ue=$e.coordinateSystem,qe=this._controller,At=this._controllerHost;At.zoomLimit=$e.get("scaleLimit"),At.zoom=Ue.getZoom(),qe.enable($e.get("roam")||!1);var Dt=$e.mainType;function Lt(){var jt={type:"geoRoam",componentType:Dt};return jt[Dt+"Id"]=$e.id,jt}qe.off("pan").on("pan",function(jt){this._mouseDownFlag=!1,updateViewOnPan(At,jt.dx,jt.dy),Fe.dispatchAction(extend$1(Lt(),{dx:jt.dx,dy:jt.dy,animation:{duration:0}}))},this),qe.off("zoom").on("zoom",function(jt){this._mouseDownFlag=!1,updateViewOnZoom(At,jt.scale,jt.originX,jt.originY),Fe.dispatchAction(extend$1(Lt(),{zoom:jt.scale,originX:jt.originX,originY:jt.originY,animation:{duration:0}}))},this),qe.setPointerChecker(function(jt,hn,vn){return Ue.containPoint([hn,vn])&&!onIrrelevantElement(jt,Fe,$e)})},xe.prototype.resetForLabelLayout=function(){this.group.traverse(function($e){var Ie=$e.getTextContent();Ie&&(Ie.ignore=mapLabelRaw(Ie).ignore)})},xe.prototype._updateMapSelectHandler=function($e,Ie,Fe,Ue){var qe=this;Ie.off("mousedown"),Ie.off("click"),$e.get("selectedMode")&&(Ie.on("mousedown",function(){qe._mouseDownFlag=!0}),Ie.on("click",function(At){qe._mouseDownFlag&&(qe._mouseDownFlag=!1)}))},xe}();function applyOptionStyleForRegion(xe,$e,Ie,Fe){var Ue=Fe.getModel("itemStyle"),qe=Fe.getModel(["emphasis","itemStyle"]),At=Fe.getModel(["blur","itemStyle"]),Dt=Fe.getModel(["select","itemStyle"]),Lt=getFixedItemStyle(Ue),jt=getFixedItemStyle(qe),hn=getFixedItemStyle(Dt),vn=getFixedItemStyle(At),bn=xe.data;if(bn){var _n=bn.getItemVisual(Ie,"style"),wn=bn.getItemVisual(Ie,"decal");xe.isVisualEncodedByVisualMap&&_n.fill&&(Lt.fill=_n.fill),wn&&(Lt.decal=createOrUpdatePatternFromDecal(wn,xe.api))}$e.setStyle(Lt),$e.style.strokeNoScale=!0,$e.ensureState("emphasis").style=jt,$e.ensureState("select").style=hn,$e.ensureState("blur").style=vn,setDefaultStateProxy($e)}function resetLabelForRegion(xe,$e,Ie,Fe,Ue,qe,At){var Dt=xe.data,Lt=xe.isGeo,jt=Dt&&isNaN(Dt.get(Dt.mapDimension("value"),qe)),hn=Dt&&Dt.getItemLayout(qe);if(Lt||jt||hn&&hn.showLabel){var vn=Lt?Ie:qe,bn=void 0;(!Dt||qe>=0)&&(bn=Ue);var _n=At?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle($e,getLabelStatesModels(Fe),{labelFetcher:bn,labelDataIndex:vn,defaultText:Ie},_n);var wn=$e.getTextContent();if(wn&&(mapLabelRaw(wn).ignore=wn.ignore,$e.textConfig&&At)){var kn=$e.getBoundingRect().clone();$e.textConfig.layoutRect=kn,$e.textConfig.position=[(At[0]-kn.x)/kn.width*100+"%",(At[1]-kn.y)/kn.height*100+"%"]}$e.disableLabelAnimation=!0}else $e.removeTextContent(),$e.removeTextConfig(),$e.disableLabelAnimation=null}function resetEventTriggerForRegion(xe,$e,Ie,Fe,Ue,qe){xe.data?xe.data.setItemGraphicEl(qe,$e):getECData($e).eventData={componentType:"geo",componentIndex:Ue.componentIndex,geoIndex:Ue.componentIndex,name:Ie,region:Fe&&Fe.option||{}}}function resetTooltipForRegion(xe,$e,Ie,Fe,Ue){xe.data||setTooltipConfig({el:$e,componentModel:Ue,itemName:Ie,itemTooltipOption:Fe.get("tooltip")})}function resetStateTriggerForRegion(xe,$e,Ie,Fe,Ue){$e.highDownSilentOnTouch=!!Ue.get("selectedMode");var qe=Fe.getModel("emphasis"),At=qe.get("focus");return toggleHoverEmphasis($e,At,qe.get("blurScope"),qe.get("disabled")),xe.isGeo&&enableComponentHighDownFeatures($e,Ue,Ie),At}function projectPolys(xe,$e,Ie){var Fe=[],Ue;function qe(){Ue=[]}function At(){Ue.length&&(Fe.push(Ue),Ue=[])}var Dt=$e({polygonStart:qe,polygonEnd:At,lineStart:qe,lineEnd:At,point:function(Lt,jt){isFinite(Lt)&&isFinite(jt)&&Ue.push([Lt,jt])},sphere:function(){}});return!Ie&&Dt.polygonStart(),each$f(xe,function(Lt){Dt.lineStart();for(var jt=0;jt<Lt.length;jt++)Dt.point(Lt[jt][0],Lt[jt][1]);Dt.lineEnd()}),!Ie&&Dt.polygonEnd(),Fe}var MapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){if(!(qe&&qe.type==="mapToggleSelect"&&qe.from===this.uid)){var At=this.group;if(At.removeAll(),!Ie.getHostGeoModel()){if(this._mapDraw&&qe&&qe.type==="geoRoam"&&this._mapDraw.resetForLabelLayout(),qe&&qe.type==="geoRoam"&&qe.componentType==="series"&&qe.seriesId===Ie.id){var Dt=this._mapDraw;Dt&&At.add(Dt.group)}else if(Ie.needsDrawMap){var Dt=this._mapDraw||new MapDraw(Ue);At.add(Dt.group),Dt.draw(Ie,Fe,Ue,this,qe),this._mapDraw=Dt}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;Ie.get("showLegendSymbol")&&Fe.getComponent("legend")&&this._renderSymbols(Ie,Fe,Ue)}}},$e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},$e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},$e.prototype._renderSymbols=function(Ie,Fe,Ue){var qe=Ie.originalData,At=this.group;qe.each(qe.mapDimension("value"),function(Dt,Lt){if(!isNaN(Dt)){var jt=qe.getItemLayout(Lt);if(!(!jt||!jt.point)){var hn=jt.point,vn=jt.offset,bn=new Circle({style:{fill:Ie.getData().getVisual("style").fill},shape:{cx:hn[0]+vn*9,cy:hn[1],r:3},silent:!0,z2:8+(vn?0:Z2_EMPHASIS_LIFT+1)});if(!vn){var _n=Ie.mainSeries.getData(),wn=qe.getName(Lt),kn=_n.indexOfName(wn),Cn=qe.getItemModel(Lt),Sn=Cn.getModel("label"),xn=_n.getItemGraphicEl(kn);setLabelStyle(bn,getLabelStatesModels(Cn),{labelFetcher:{getFormattedLabel:function(En,Tn){return Ie.getFormattedLabel(kn,Tn)}},defaultText:wn}),bn.disableLabelAnimation=!0,Sn.get("position")||bn.setTextConfig({position:"bottom"}),xn.onHoverStateChange=function(En){setStatesFlag(bn,En)}}At.add(bn)}}})},$e.type="map",$e}(ChartView),MapSeries=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.needsDrawMap=!1,Ie.seriesGroup=[],Ie.getTooltipPosition=function(Fe){if(Fe!=null){var Ue=this.getData().getName(Fe),qe=this.coordinateSystem,At=qe.getRegion(Ue);return At&&qe.dataToPoint(At.getCenter())}},Ie}return $e.prototype.getInitialData=function(Ie){for(var Fe=createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)}),Ue=createHashMap(),qe=[],At=0,Dt=Fe.count();At<Dt;At++){var Lt=Fe.getName(At);Ue.set(Lt,!0)}var jt=geoSourceManager.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return each$f(jt.regions,function(hn){var vn=hn.name;Ue.get(vn)||qe.push(vn)}),Fe.appendValues([],qe),Fe},$e.prototype.getHostGeoModel=function(){var Ie=this.option.geoIndex;return Ie!=null?this.ecModel.getComponent("geo",Ie):null},$e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},$e.prototype.getRawValue=function(Ie){var Fe=this.getData();return Fe.get(Fe.mapDimension("value"),Ie)},$e.prototype.getRegionModel=function(Ie){var Fe=this.getData();return Fe.getItemModel(Fe.indexOfName(Ie))},$e.prototype.formatTooltip=function(Ie,Fe,Ue){for(var qe=this.getData(),At=this.getRawValue(Ie),Dt=qe.getName(Ie),Lt=this.seriesGroup,jt=[],hn=0;hn<Lt.length;hn++){var vn=Lt[hn].originalData.indexOfName(Dt),bn=qe.mapDimension("value");isNaN(Lt[hn].originalData.get(bn,vn))||jt.push(Lt[hn].name)}return createTooltipMarkup("section",{header:jt.join(", "),noHeader:!jt.length,blocks:[createTooltipMarkup("nameValue",{name:Dt,value:At})]})},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.getLegendIcon=function(Ie){var Fe=Ie.icon||"roundRect",Ue=createSymbol$1(Fe,0,0,Ie.itemWidth,Ie.itemHeight,Ie.itemStyle.fill);return Ue.setStyle(Ie.itemStyle),Ue.style.stroke="none",Fe.indexOf("empty")>-1&&(Ue.style.stroke=Ue.style.fill,Ue.style.fill="#fff",Ue.style.lineWidth=2),Ue},$e.type="series.map",$e.dependencies=["geo"],$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},$e}(SeriesModel);function dataStatistics(xe,$e){var Ie={};return each$f(xe,function(Fe){Fe.each(Fe.mapDimension("value"),function(Ue,qe){var At="ec-"+Fe.getName(qe);Ie[At]=Ie[At]||[],isNaN(Ue)||Ie[At].push(Ue)})}),xe[0].map(xe[0].mapDimension("value"),function(Fe,Ue){for(var qe="ec-"+xe[0].getName(Ue),At=0,Dt=1/0,Lt=-1/0,jt=Ie[qe].length,hn=0;hn<jt;hn++)Dt=Math.min(Dt,Ie[qe][hn]),Lt=Math.max(Lt,Ie[qe][hn]),At+=Ie[qe][hn];var vn;return $e==="min"?vn=Dt:$e==="max"?vn=Lt:$e==="average"?vn=At/jt:vn=At,jt===0?NaN:vn})}function mapDataStatistic(xe){var $e={};xe.eachSeriesByType("map",function(Ie){var Fe=Ie.getHostGeoModel(),Ue=Fe?"o"+Fe.id:"i"+Ie.getMapType();($e[Ue]=$e[Ue]||[]).push(Ie)}),each$f($e,function(Ie,Fe){for(var Ue=dataStatistics(map$1(Ie,function(At){return At.getData()}),Ie[0].get("mapValueCalculation")),qe=0;qe<Ie.length;qe++)Ie[qe].originalData=Ie[qe].getData();for(var qe=0;qe<Ie.length;qe++)Ie[qe].seriesGroup=Ie,Ie[qe].needsDrawMap=qe===0&&!Ie[qe].getHostGeoModel(),Ie[qe].setData(Ue.cloneShallow()),Ie[qe].mainSeries=Ie[0]})}function mapSymbolLayout(xe){var $e={};xe.eachSeriesByType("map",function(Ie){var Fe=Ie.getMapType();if(!(Ie.getHostGeoModel()||$e[Fe])){var Ue={};each$f(Ie.seriesGroup,function(At){var Dt=At.coordinateSystem,Lt=At.originalData;At.get("showLegendSymbol")&&xe.getComponent("legend")&&Lt.each(Lt.mapDimension("value"),function(jt,hn){var vn=Lt.getName(hn),bn=Dt.getRegion(vn);if(!(!bn||isNaN(jt))){var _n=Ue[vn]||0,wn=Dt.dataToPoint(bn.getCenter());Ue[vn]=_n+1,Lt.setItemLayout(hn,{point:wn,offset:_n})}})});var qe=Ie.getData();qe.each(function(At){var Dt=qe.getName(At),Lt=qe.getItemLayout(At)||{};Lt.showLabel=!Ue[Dt],qe.setItemLayout(At,Lt)}),$e[Fe]=!0}})}var v2ApplyTransform=applyTransform$1,View=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe.type="view",Fe.dimensions=["x","y"],Fe._roamTransformable=new Transformable,Fe._rawTransformable=new Transformable,Fe.name=Ie,Fe}return $e.prototype.setBoundingRect=function(Ie,Fe,Ue,qe){return this._rect=new BoundingRect(Ie,Fe,Ue,qe),this._rect},$e.prototype.getBoundingRect=function(){return this._rect},$e.prototype.setViewRect=function(Ie,Fe,Ue,qe){this._transformTo(Ie,Fe,Ue,qe),this._viewRect=new BoundingRect(Ie,Fe,Ue,qe)},$e.prototype._transformTo=function(Ie,Fe,Ue,qe){var At=this.getBoundingRect(),Dt=this._rawTransformable;Dt.transform=At.calculateTransform(new BoundingRect(Ie,Fe,Ue,qe));var Lt=Dt.parent;Dt.parent=null,Dt.decomposeTransform(),Dt.parent=Lt,this._updateTransform()},$e.prototype.setCenter=function(Ie,Fe){Ie&&(this._center=[parsePercent(Ie[0],Fe.getWidth()),parsePercent(Ie[1],Fe.getHeight())],this._updateCenterAndZoom())},$e.prototype.setZoom=function(Ie){Ie=Ie||1;var Fe=this.zoomLimit;Fe&&(Fe.max!=null&&(Ie=Math.min(Fe.max,Ie)),Fe.min!=null&&(Ie=Math.max(Fe.min,Ie))),this._zoom=Ie,this._updateCenterAndZoom()},$e.prototype.getDefaultCenter=function(){var Ie=this.getBoundingRect(),Fe=Ie.x+Ie.width/2,Ue=Ie.y+Ie.height/2;return[Fe,Ue]},$e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},$e.prototype.getZoom=function(){return this._zoom||1},$e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},$e.prototype._updateCenterAndZoom=function(){var Ie=this._rawTransformable.getLocalTransform(),Fe=this._roamTransformable,Ue=this.getDefaultCenter(),qe=this.getCenter(),At=this.getZoom();qe=applyTransform$1([],qe,Ie),Ue=applyTransform$1([],Ue,Ie),Fe.originX=qe[0],Fe.originY=qe[1],Fe.x=Ue[0]-qe[0],Fe.y=Ue[1]-qe[1],Fe.scaleX=Fe.scaleY=At,this._updateTransform()},$e.prototype._updateTransform=function(){var Ie=this._roamTransformable,Fe=this._rawTransformable;Fe.parent=Ie,Ie.updateTransform(),Fe.updateTransform(),copy(this.transform||(this.transform=[]),Fe.transform||create$1()),this._rawTransform=Fe.getLocalTransform(),this.invTransform=this.invTransform||[],invert(this.invTransform,this.transform),this.decomposeTransform()},$e.prototype.getTransformInfo=function(){var Ie=this._rawTransformable,Fe=this._roamTransformable,Ue=new Transformable;return Ue.transform=Fe.transform,Ue.decomposeTransform(),{roam:{x:Ue.x,y:Ue.y,scaleX:Ue.scaleX,scaleY:Ue.scaleY},raw:{x:Ie.x,y:Ie.y,scaleX:Ie.scaleX,scaleY:Ie.scaleY}}},$e.prototype.getViewRect=function(){return this._viewRect},$e.prototype.getViewRectAfterRoam=function(){var Ie=this.getBoundingRect().clone();return Ie.applyTransform(this.transform),Ie},$e.prototype.dataToPoint=function(Ie,Fe,Ue){var qe=Fe?this._rawTransform:this.transform;return Ue=Ue||[],qe?v2ApplyTransform(Ue,Ie,qe):copy$1(Ue,Ie)},$e.prototype.pointToData=function(Ie){var Fe=this.invTransform;return Fe?v2ApplyTransform([],Ie,Fe):[Ie[0],Ie[1]]},$e.prototype.convertToPixel=function(Ie,Fe,Ue){var qe=getCoordSys$4(Fe);return qe===this?qe.dataToPoint(Ue):null},$e.prototype.convertFromPixel=function(Ie,Fe,Ue){var qe=getCoordSys$4(Fe);return qe===this?qe.pointToData(Ue):null},$e.prototype.containPoint=function(Ie){return this.getViewRectAfterRoam().contain(Ie[0],Ie[1])},$e.dimensions=["x","y"],$e}(Transformable);function getCoordSys$4(xe){var $e=xe.seriesModel;return $e?$e.coordinateSystem:null}var GEO_DEFAULT_PARAMS={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},geo2DDimensions=["lng","lat"],Geo=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this,Ie)||this;qe.dimensions=geo2DDimensions,qe.type="geo",qe._nameCoordMap=createHashMap(),qe.map=Fe;var At=Ue.projection,Dt=geoSourceManager.load(Fe,Ue.nameMap,Ue.nameProperty),Lt=geoSourceManager.getGeoResource(Fe);qe.resourceType=Lt?Lt.type:null;var jt=qe.regions=Dt.regions,hn=GEO_DEFAULT_PARAMS[Lt.type];qe._regionsMap=Dt.regionsMap,qe.regions=Dt.regions,qe.projection=At;var vn;if(At)for(var bn=0;bn<jt.length;bn++){var _n=jt[bn].getBoundingRect(At);vn=vn||_n.clone(),vn.union(_n)}else vn=Dt.boundingRect;return qe.setBoundingRect(vn.x,vn.y,vn.width,vn.height),qe.aspectScale=At?1:retrieve2(Ue.aspectScale,hn.aspectScale),qe._invertLongitute=At?!1:hn.invertLongitute,qe}return $e.prototype._transformTo=function(Ie,Fe,Ue,qe){var At=this.getBoundingRect(),Dt=this._invertLongitute;At=At.clone(),Dt&&(At.y=-At.y-At.height);var Lt=this._rawTransformable;Lt.transform=At.calculateTransform(new BoundingRect(Ie,Fe,Ue,qe));var jt=Lt.parent;Lt.parent=null,Lt.decomposeTransform(),Lt.parent=jt,Dt&&(Lt.scaleY=-Lt.scaleY),this._updateTransform()},$e.prototype.getRegion=function(Ie){return this._regionsMap.get(Ie)},$e.prototype.getRegionByCoord=function(Ie){for(var Fe=this.regions,Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];if(qe.type==="geoJSON"&&qe.contain(Ie))return Fe[Ue]}},$e.prototype.addGeoCoord=function(Ie,Fe){this._nameCoordMap.set(Ie,Fe)},$e.prototype.getGeoCoord=function(Ie){var Fe=this._regionsMap.get(Ie);return this._nameCoordMap.get(Ie)||Fe&&Fe.getCenter()},$e.prototype.dataToPoint=function(Ie,Fe,Ue){if(isString$2(Ie)&&(Ie=this.getGeoCoord(Ie)),Ie){var qe=this.projection;return qe&&(Ie=qe.project(Ie)),Ie&&this.projectedToPoint(Ie,Fe,Ue)}},$e.prototype.pointToData=function(Ie){var Fe=this.projection;return Fe&&(Ie=Fe.unproject(Ie)),Ie&&this.pointToProjected(Ie)},$e.prototype.pointToProjected=function(Ie){return xe.prototype.pointToData.call(this,Ie)},$e.prototype.projectedToPoint=function(Ie,Fe,Ue){return xe.prototype.dataToPoint.call(this,Ie,Fe,Ue)},$e.prototype.convertToPixel=function(Ie,Fe,Ue){var qe=getCoordSys$3(Fe);return qe===this?qe.dataToPoint(Ue):null},$e.prototype.convertFromPixel=function(Ie,Fe,Ue){var qe=getCoordSys$3(Fe);return qe===this?qe.pointToData(Ue):null},$e}(View);mixin(Geo,View);function getCoordSys$3(xe){var $e=xe.geoModel,Ie=xe.seriesModel;return $e?$e.coordinateSystem:Ie?Ie.coordinateSystem||(Ie.getReferringComponents("geo",SINGLE_REFERRING).models[0]||{}).coordinateSystem:null}const Geo$1=Geo;function resizeGeo(xe,$e){var Ie=xe.get("boundingCoords");if(Ie!=null){var Fe=Ie[0],Ue=Ie[1];if(isFinite(Fe[0])&&isFinite(Fe[1])&&isFinite(Ue[0])&&isFinite(Ue[1])){var qe=this.projection;if(qe){var At=Fe[0],Dt=Fe[1],Lt=Ue[0],jt=Ue[1];Fe=[1/0,1/0],Ue=[-1/0,-1/0];var hn=function($n,Pn,Nn,Mn){for(var In=Nn-$n,On=Mn-Pn,Rn=0;Rn<=100;Rn++){var Bn=Rn/100,Vn=qe.project([$n+In*Bn,Pn+On*Bn]);min$2(Fe,Fe,Vn),max$2(Ue,Ue,Vn)}};hn(At,Dt,Lt,Dt),hn(Lt,Dt,Lt,jt),hn(Lt,jt,At,jt),hn(At,jt,Lt,Dt)}this.setBoundingRect(Fe[0],Fe[1],Ue[0]-Fe[0],Ue[1]-Fe[1])}}var vn=this.getBoundingRect(),bn=xe.get("layoutCenter"),_n=xe.get("layoutSize"),wn=$e.getWidth(),kn=$e.getHeight(),Cn=vn.width/vn.height*this.aspectScale,Sn=!1,xn,En;bn&&_n&&(xn=[parsePercent(bn[0],wn),parsePercent(bn[1],kn)],En=parsePercent(_n,Math.min(wn,kn)),!isNaN(xn[0])&&!isNaN(xn[1])&&!isNaN(En)&&(Sn=!0));var Tn;if(Sn)Tn={},Cn>1?(Tn.width=En,Tn.height=En/Cn):(Tn.height=En,Tn.width=En*Cn),Tn.y=xn[1]-Tn.height/2,Tn.x=xn[0]-Tn.width/2;else{var An=xe.getBoxLayoutParams();An.aspect=Cn,Tn=getLayoutRect(An,{width:wn,height:kn})}this.setViewRect(Tn.x,Tn.y,Tn.width,Tn.height),this.setCenter(xe.get("center"),$e),this.setZoom(xe.get("zoom"))}function setGeoCoords(xe,$e){each$f($e.get("geoCoord"),function(Ie,Fe){xe.addGeoCoord(Fe,Ie)})}var GeoCreator=function(){function xe(){this.dimensions=geo2DDimensions}return xe.prototype.create=function($e,Ie){var Fe=[];function Ue(At){return{nameProperty:At.get("nameProperty"),aspectScale:At.get("aspectScale"),projection:At.get("projection")}}$e.eachComponent("geo",function(At,Dt){var Lt=At.get("map"),jt=new Geo$1(Lt+Dt,Lt,extend$1({nameMap:At.get("nameMap")},Ue(At)));jt.zoomLimit=At.get("scaleLimit"),Fe.push(jt),At.coordinateSystem=jt,jt.model=At,jt.resize=resizeGeo,jt.resize(At,Ie)}),$e.eachSeries(function(At){var Dt=At.get("coordinateSystem");if(Dt==="geo"){var Lt=At.get("geoIndex")||0;At.coordinateSystem=Fe[Lt]}});var qe={};return $e.eachSeriesByType("map",function(At){if(!At.getHostGeoModel()){var Dt=At.getMapType();qe[Dt]=qe[Dt]||[],qe[Dt].push(At)}}),each$f(qe,function(At,Dt){var Lt=map$1(At,function(hn){return hn.get("nameMap")}),jt=new Geo$1(Dt,Dt,extend$1({nameMap:mergeAll(Lt)},Ue(At[0])));jt.zoomLimit=retrieve.apply(null,map$1(At,function(hn){return hn.get("scaleLimit")})),Fe.push(jt),jt.resize=resizeGeo,jt.resize(At[0],Ie),each$f(At,function(hn){hn.coordinateSystem=jt,setGeoCoords(jt,hn)})}),Fe},xe.prototype.getFilledRegions=function($e,Ie,Fe,Ue){for(var qe=($e||[]).slice(),At=createHashMap(),Dt=0;Dt<qe.length;Dt++)At.set(qe[Dt].name,qe[Dt]);var Lt=geoSourceManager.load(Ie,Fe,Ue);return each$f(Lt.regions,function(jt){var hn=jt.name;!At.get(hn)&&qe.push({name:hn})}),qe},xe}(),geoCreator=new GeoCreator,GeoModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=geoSourceManager.getGeoResource(Ie.map);if(qe&&qe.type==="geoJSON"){var At=Ie.itemStyle=Ie.itemStyle||{};"color"in At||(At.color="#eee")}this.mergeDefaultAndTheme(Ie,Ue),defaultEmphasis(Ie,"label",["show"])},$e.prototype.optionUpdated=function(){var Ie=this,Fe=this.option;Fe.regions=geoCreator.getFilledRegions(Fe.regions,Fe.map,Fe.nameMap,Fe.nameProperty);var Ue={};this._optionModelMap=reduce(Fe.regions||[],function(qe,At){var Dt=At.name;return Dt&&(qe.set(Dt,new Model(At,Ie,Ie.ecModel)),At.selected&&(Ue[Dt]=!0)),qe},createHashMap()),Fe.selectedMap||(Fe.selectedMap=Ue)},$e.prototype.getRegionModel=function(Ie){return this._optionModelMap.get(Ie)||new Model(null,this,this.ecModel)},$e.prototype.getFormattedLabel=function(Ie,Fe){var Ue=this.getRegionModel(Ie),qe=Fe==="normal"?Ue.get(["label","formatter"]):Ue.get(["emphasis","label","formatter"]),At={name:Ie};if(isFunction$2(qe))return At.status=Fe,qe(At);if(isString$2(qe))return qe.replace("{a}",Ie??"")},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.select=function(Ie){var Fe=this.option,Ue=Fe.selectedMode;if(Ue){Ue!=="multiple"&&(Fe.selectedMap=null);var qe=Fe.selectedMap||(Fe.selectedMap={});qe[Ie]=!0}},$e.prototype.unSelect=function(Ie){var Fe=this.option.selectedMap;Fe&&(Fe[Ie]=!1)},$e.prototype.toggleSelected=function(Ie){this[this.isSelected(Ie)?"unSelect":"select"](Ie)},$e.prototype.isSelected=function(Ie){var Fe=this.option.selectedMap;return!!(Fe&&Fe[Ie])},$e.type="geo",$e.layoutMode="box",$e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},$e}(ComponentModel);function getCenterCoord(xe,$e){return xe.pointToProjected?xe.pointToProjected($e):xe.pointToData($e)}function updateCenterAndZoom(xe,$e,Ie,Fe){var Ue=xe.getZoom(),qe=xe.getCenter(),At=$e.zoom,Dt=xe.projectedToPoint?xe.projectedToPoint(qe):xe.dataToPoint(qe);if($e.dx!=null&&$e.dy!=null&&(Dt[0]-=$e.dx,Dt[1]-=$e.dy,xe.setCenter(getCenterCoord(xe,Dt),Fe)),At!=null){if(Ie){var Lt=Ie.min||0,jt=Ie.max||1/0;At=Math.max(Math.min(Ue*At,jt),Lt)/Ue}xe.scaleX*=At,xe.scaleY*=At;var hn=($e.originX-xe.x)*(At-1),vn=($e.originY-xe.y)*(At-1);xe.x-=hn,xe.y-=vn,xe.updateTransform(),xe.setCenter(getCenterCoord(xe,Dt),Fe),xe.setZoom(At*Ue)}return{center:xe.getCenter(),zoom:xe.getZoom()}}var GeoView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.focusBlurEnabled=!0,Ie}return $e.prototype.init=function(Ie,Fe){this._api=Fe},$e.prototype.render=function(Ie,Fe,Ue,qe){if(this._model=Ie,!Ie.get("show")){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;return}this._mapDraw||(this._mapDraw=new MapDraw(Ue));var At=this._mapDraw;At.draw(Ie,Fe,Ue,this,qe),At.group.on("click",this._handleRegionClick,this),At.group.silent=Ie.get("silent"),this.group.add(At.group),this.updateSelectStatus(Ie,Fe,Ue)},$e.prototype._handleRegionClick=function(Ie){var Fe;findEventDispatcher(Ie.target,function(Ue){return(Fe=getECData(Ue).eventData)!=null},!0),Fe&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:Fe.name})},$e.prototype.updateSelectStatus=function(Ie,Fe,Ue){var qe=this;this._mapDraw.group.traverse(function(At){var Dt=getECData(At).eventData;if(Dt)return qe._model.isSelected(Dt.name)?Ue.enterSelect(At):Ue.leaveSelect(At),!0})},$e.prototype.findHighDownDispatchers=function(Ie){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(Ie,this._model)},$e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},$e.type="geo",$e}(ComponentView);function registerMap(xe,$e,Ie){geoSourceManager.registerMap(xe,$e,Ie)}function install$K(xe){xe.registerCoordinateSystem("geo",geoCreator),xe.registerComponentModel(GeoModel),xe.registerComponentView(GeoView),xe.registerImpl("registerMap",registerMap),xe.registerImpl("getMap",function(Ie){return geoSourceManager.getMapForUser(Ie)});function $e(Ie,Fe){Fe.update="geo:updateSelectStatus",xe.registerAction(Fe,function(Ue,qe){var At={},Dt=[];return qe.eachComponent({mainType:"geo",query:Ue},function(Lt){Lt[Ie](Ue.name);var jt=Lt.coordinateSystem;each$f(jt.regions,function(vn){At[vn.name]=Lt.isSelected(vn.name)||!1});var hn=[];each$f(At,function(vn,bn){At[bn]&&hn.push(bn)}),Dt.push({geoIndex:Lt.componentIndex,name:hn})}),{selected:At,allSelected:Dt,name:Ue.name}})}$e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),$e("select",{type:"geoSelect",event:"geoselected"}),$e("unSelect",{type:"geoUnSelect",event:"geounselected"}),xe.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(Ie,Fe,Ue){var qe=Ie.componentType||"series";Fe.eachComponent({mainType:qe,query:Ie},function(At){var Dt=At.coordinateSystem;if(Dt.type==="geo"){var Lt=updateCenterAndZoom(Dt,Ie,At.get("scaleLimit"),Ue);At.setCenter&&At.setCenter(Lt.center),At.setZoom&&At.setZoom(Lt.zoom),qe==="series"&&each$f(At.seriesGroup,function(jt){jt.setCenter(Lt.center),jt.setZoom(Lt.zoom)})}})})}function install$J(xe){use(install$K),xe.registerChartView(MapView),xe.registerSeriesModel(MapSeries),xe.registerLayout(mapSymbolLayout),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,mapDataStatistic),createLegacyDataSelectAction("map",xe.registerAction)}function init(xe){var $e=xe;$e.hierNode={defaultAncestor:null,ancestor:$e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var Ie=[$e],Fe,Ue;Fe=Ie.pop();)if(Ue=Fe.children,Fe.isExpand&&Ue.length)for(var qe=Ue.length,At=qe-1;At>=0;At--){var Dt=Ue[At];Dt.hierNode={defaultAncestor:null,ancestor:Dt,prelim:0,modifier:0,change:0,shift:0,i:At,thread:null},Ie.push(Dt)}}function firstWalk(xe,$e){var Ie=xe.isExpand?xe.children:[],Fe=xe.parentNode.children,Ue=xe.hierNode.i?Fe[xe.hierNode.i-1]:null;if(Ie.length){executeShifts(xe);var qe=(Ie[0].hierNode.prelim+Ie[Ie.length-1].hierNode.prelim)/2;Ue?(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue),xe.hierNode.modifier=xe.hierNode.prelim-qe):xe.hierNode.prelim=qe}else Ue&&(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue));xe.parentNode.hierNode.defaultAncestor=apportion(xe,Ue,xe.parentNode.hierNode.defaultAncestor||Fe[0],$e)}function secondWalk(xe){var $e=xe.hierNode.prelim+xe.parentNode.hierNode.modifier;xe.setLayout({x:$e},!0),xe.hierNode.modifier+=xe.parentNode.hierNode.modifier}function separation(xe){return arguments.length?xe:defaultSeparation}function radialCoordinate(xe,$e){return xe-=Math.PI/2,{x:$e*Math.cos(xe),y:$e*Math.sin(xe)}}function getViewRect$4(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function executeShifts(xe){for(var $e=xe.children,Ie=$e.length,Fe=0,Ue=0;--Ie>=0;){var qe=$e[Ie];qe.hierNode.prelim+=Fe,qe.hierNode.modifier+=Fe,Ue+=qe.hierNode.change,Fe+=qe.hierNode.shift+Ue}}function apportion(xe,$e,Ie,Fe){if($e){for(var Ue=xe,qe=xe,At=qe.parentNode.children[0],Dt=$e,Lt=Ue.hierNode.modifier,jt=qe.hierNode.modifier,hn=At.hierNode.modifier,vn=Dt.hierNode.modifier;Dt=nextRight(Dt),qe=nextLeft(qe),Dt&&qe;){Ue=nextRight(Ue),At=nextLeft(At),Ue.hierNode.ancestor=xe;var bn=Dt.hierNode.prelim+vn-qe.hierNode.prelim-jt+Fe(Dt,qe);bn>0&&(moveSubtree(nextAncestor(Dt,xe,Ie),xe,bn),jt+=bn,Lt+=bn),vn+=Dt.hierNode.modifier,jt+=qe.hierNode.modifier,Lt+=Ue.hierNode.modifier,hn+=At.hierNode.modifier}Dt&&!nextRight(Ue)&&(Ue.hierNode.thread=Dt,Ue.hierNode.modifier+=vn-Lt),qe&&!nextLeft(At)&&(At.hierNode.thread=qe,At.hierNode.modifier+=jt-hn,Ie=xe)}return Ie}function nextRight(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[$e.length-1]:xe.hierNode.thread}function nextLeft(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[0]:xe.hierNode.thread}function nextAncestor(xe,$e,Ie){return xe.hierNode.ancestor.parentNode===$e.parentNode?xe.hierNode.ancestor:Ie}function moveSubtree(xe,$e,Ie){var Fe=Ie/($e.hierNode.i-xe.hierNode.i);$e.hierNode.change-=Fe,$e.hierNode.shift+=Ie,$e.hierNode.modifier+=Ie,$e.hierNode.prelim+=Ie,xe.hierNode.change+=Fe}function defaultSeparation(xe,$e){return xe.parentNode===$e.parentNode?1:2}var TreeEdgeShape=function(){function xe(){this.parentPoint=[],this.childPoints=[]}return xe}(),TreePath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new TreeEdgeShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.childPoints,qe=Ue.length,At=Fe.parentPoint,Dt=Ue[0],Lt=Ue[qe-1];if(qe===1){Ie.moveTo(At[0],At[1]),Ie.lineTo(Dt[0],Dt[1]);return}var jt=Fe.orient,hn=jt==="TB"||jt==="BT"?0:1,vn=1-hn,bn=parsePercent(Fe.forkPosition,1),_n=[];_n[hn]=At[hn],_n[vn]=At[vn]+(Lt[vn]-At[vn])*bn,Ie.moveTo(At[0],At[1]),Ie.lineTo(_n[0],_n[1]),Ie.moveTo(Dt[0],Dt[1]),_n[hn]=Dt[hn],Ie.lineTo(_n[0],_n[1]),_n[hn]=Lt[hn],Ie.lineTo(_n[0],_n[1]),Ie.lineTo(Lt[0],Lt[1]);for(var wn=1;wn<qe-1;wn++){var kn=Ue[wn];Ie.moveTo(kn[0],kn[1]),_n[hn]=kn[hn],Ie.lineTo(_n[0],_n[1])}},$e}(Path),TreeView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._mainGroup=new Group$3,Ie}return $e.prototype.init=function(Ie,Fe){this._controller=new RoamController(Fe.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},$e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=Ie.layoutInfo,Dt=this._mainGroup,Lt=Ie.get("layout");Lt==="radial"?(Dt.x=At.x+At.width/2,Dt.y=At.y+At.height/2):(Dt.x=At.x,Dt.y=At.y),this._updateViewCoordSys(Ie,Ue),this._updateController(Ie,Fe,Ue);var jt=this._data;qe.diff(jt).add(function(hn){symbolNeedsDraw(qe,hn)&&updateNode(qe,hn,null,Dt,Ie)}).update(function(hn,vn){var bn=jt.getItemGraphicEl(vn);if(!symbolNeedsDraw(qe,hn)){bn&&removeNode(jt,vn,bn,Dt,Ie);return}updateNode(qe,hn,bn,Dt,Ie)}).remove(function(hn){var vn=jt.getItemGraphicEl(hn);vn&&removeNode(jt,hn,vn,Dt,Ie)}).execute(),this._nodeScaleRatio=Ie.get("nodeScaleRatio"),this._updateNodeAndLinkScale(Ie),Ie.get("expandAndCollapse")===!0&&qe.eachItemGraphicEl(function(hn,vn){hn.off("click").on("click",function(){Ue.dispatchAction({type:"treeExpandAndCollapse",seriesId:Ie.id,dataIndex:vn})})}),this._data=qe},$e.prototype._updateViewCoordSys=function(Ie,Fe){var Ue=Ie.getData(),qe=[];Ue.each(function(vn){var bn=Ue.getItemLayout(vn);bn&&!isNaN(bn.x)&&!isNaN(bn.y)&&qe.push([+bn.x,+bn.y])});var At=[],Dt=[];fromPoints(qe,At,Dt);var Lt=this._min,jt=this._max;Dt[0]-At[0]===0&&(At[0]=Lt?Lt[0]:At[0]-1,Dt[0]=jt?jt[0]:Dt[0]+1),Dt[1]-At[1]===0&&(At[1]=Lt?Lt[1]:At[1]-1,Dt[1]=jt?jt[1]:Dt[1]+1);var hn=Ie.coordinateSystem=new View;hn.zoomLimit=Ie.get("scaleLimit"),hn.setBoundingRect(At[0],At[1],Dt[0]-At[0],Dt[1]-At[1]),hn.setCenter(Ie.get("center"),Fe),hn.setZoom(Ie.get("zoom")),this.group.attr({x:hn.x,y:hn.y,scaleX:hn.scaleX,scaleY:hn.scaleY}),this._min=At,this._max=Dt},$e.prototype._updateController=function(Ie,Fe,Ue){var qe=this,At=this._controller,Dt=this._controllerHost,Lt=this.group;At.setPointerChecker(function(jt,hn,vn){var bn=Lt.getBoundingRect();return bn.applyTransform(Lt.transform),bn.contain(hn,vn)&&!onIrrelevantElement(jt,Ue,Ie)}),At.enable(Ie.get("roam")),Dt.zoomLimit=Ie.get("scaleLimit"),Dt.zoom=Ie.coordinateSystem.getZoom(),At.off("pan").off("zoom").on("pan",function(jt){updateViewOnPan(Dt,jt.dx,jt.dy),Ue.dispatchAction({seriesId:Ie.id,type:"treeRoam",dx:jt.dx,dy:jt.dy})}).on("zoom",function(jt){updateViewOnZoom(Dt,jt.scale,jt.originX,jt.originY),Ue.dispatchAction({seriesId:Ie.id,type:"treeRoam",zoom:jt.scale,originX:jt.originX,originY:jt.originY}),qe._updateNodeAndLinkScale(Ie),Ue.updateLabelLayout()})},$e.prototype._updateNodeAndLinkScale=function(Ie){var Fe=Ie.getData(),Ue=this._getNodeGlobalScale(Ie);Fe.eachItemGraphicEl(function(qe,At){qe.setSymbolScale(Ue)})},$e.prototype._getNodeGlobalScale=function(Ie){var Fe=Ie.coordinateSystem;if(Fe.type!=="view")return 1;var Ue=this._nodeScaleRatio,qe=Fe.scaleX||1,At=Fe.getZoom(),Dt=(At-1)*Ue+1;return Dt/qe},$e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},$e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},$e.type="tree",$e}(ChartView);function symbolNeedsDraw(xe,$e){var Ie=xe.getItemLayout($e);return Ie&&!isNaN(Ie.x)&&!isNaN(Ie.y)}function updateNode(xe,$e,Ie,Fe,Ue){var qe=!Ie,At=xe.tree.getNodeByDataIndex($e),Dt=At.getModel(),Lt=At.getVisual("style").fill,jt=At.isExpand===!1&&At.children.length!==0?Lt:"#fff",hn=xe.tree.root,vn=At.parentNode===hn?At:At.parentNode||At,bn=xe.getItemGraphicEl(vn.dataIndex),_n=vn.getLayout(),wn=bn?{x:bn.__oldX,y:bn.__oldY,rawX:bn.__radialOldRawX,rawY:bn.__radialOldRawY}:_n,kn=At.getLayout();qe?(Ie=new Symbol$1(xe,$e,null,{symbolInnerColor:jt,useNameLabel:!0}),Ie.x=wn.x,Ie.y=wn.y):Ie.updateData(xe,$e,null,{symbolInnerColor:jt,useNameLabel:!0}),Ie.__radialOldRawX=Ie.__radialRawX,Ie.__radialOldRawY=Ie.__radialRawY,Ie.__radialRawX=kn.rawX,Ie.__radialRawY=kn.rawY,Fe.add(Ie),xe.setItemGraphicEl($e,Ie),Ie.__oldX=Ie.x,Ie.__oldY=Ie.y,updateProps$1(Ie,{x:kn.x,y:kn.y},Ue);var Cn=Ie.getSymbolPath();if(Ue.get("layout")==="radial"){var Sn=hn.children[0],xn=Sn.getLayout(),En=Sn.children.length,Tn=void 0,An=void 0;if(kn.x===xn.x&&At.isExpand===!0&&Sn.children.length){var $n={x:(Sn.children[0].getLayout().x+Sn.children[En-1].getLayout().x)/2,y:(Sn.children[0].getLayout().y+Sn.children[En-1].getLayout().y)/2};Tn=Math.atan2($n.y-xn.y,$n.x-xn.x),Tn<0&&(Tn=Math.PI*2+Tn),An=$n.x<xn.x,An&&(Tn=Tn-Math.PI)}else Tn=Math.atan2(kn.y-xn.y,kn.x-xn.x),Tn<0&&(Tn=Math.PI*2+Tn),At.children.length===0||At.children.length!==0&&At.isExpand===!1?(An=kn.x<xn.x,An&&(Tn=Tn-Math.PI)):(An=kn.x>xn.x,An||(Tn=Tn-Math.PI));var Pn=An?"left":"right",Nn=Dt.getModel("label"),Mn=Nn.get("rotate"),In=Mn*(Math.PI/180),On=Cn.getTextContent();On&&(Cn.setTextConfig({position:Nn.get("position")||Pn,rotation:Mn==null?-Tn:In,origin:"center"}),On.setStyle("verticalAlign","middle"))}var Rn=Dt.get(["emphasis","focus"]),Bn=Rn==="relative"?concatArray(At.getAncestorsIndices(),At.getDescendantIndices()):Rn==="ancestor"?At.getAncestorsIndices():Rn==="descendant"?At.getDescendantIndices():null;Bn&&(getECData(Ie).focus=Bn),drawEdge(Ue,At,hn,Ie,wn,_n,kn,Fe),Ie.__edge&&(Ie.onHoverStateChange=function(Vn){if(Vn!=="blur"){var Ln=At.parentNode&&xe.getItemGraphicEl(At.parentNode.dataIndex);Ln&&Ln.hoverState===HOVER_STATE_BLUR||setStatesFlag(Ie.__edge,Vn)}})}function drawEdge(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getModel(),jt=xe.get("edgeShape"),hn=xe.get("layout"),vn=xe.getOrient(),bn=xe.get(["lineStyle","curveness"]),_n=xe.get("edgeForkPosition"),wn=Lt.getModel("lineStyle").getLineStyle(),kn=Fe.__edge;if(jt==="curve")$e.parentNode&&$e.parentNode!==Ie&&(kn||(kn=Fe.__edge=new BezierCurve({shape:getEdgeShape(hn,vn,bn,Ue,Ue)})),updateProps$1(kn,{shape:getEdgeShape(hn,vn,bn,qe,At)},xe));else if(jt==="polyline"&&hn==="orthogonal"&&$e!==Ie&&$e.children&&$e.children.length!==0&&$e.isExpand===!0){for(var Cn=$e.children,Sn=[],xn=0;xn<Cn.length;xn++){var En=Cn[xn].getLayout();Sn.push([En.x,En.y])}kn||(kn=Fe.__edge=new TreePath({shape:{parentPoint:[At.x,At.y],childPoints:[[At.x,At.y]],orient:vn,forkPosition:_n}})),updateProps$1(kn,{shape:{parentPoint:[At.x,At.y],childPoints:Sn}},xe)}kn&&!(jt==="polyline"&&!$e.isExpand)&&(kn.useStyle(defaults$1({strokeNoScale:!0,fill:null},wn)),setStatesStylesFromModel(kn,Lt,"lineStyle"),setDefaultStateProxy(kn),Dt.add(kn))}function removeNodeEdge(xe,$e,Ie,Fe,Ue){var qe=$e.tree.root,At=getSourceNode(qe,xe),Dt=At.source,Lt=At.sourceLayout,jt=$e.getItemGraphicEl(xe.dataIndex);if(jt){var hn=$e.getItemGraphicEl(Dt.dataIndex),vn=hn.__edge,bn=jt.__edge||(Dt.isExpand===!1||Dt.children.length===1?vn:void 0),_n=Fe.get("edgeShape"),wn=Fe.get("layout"),kn=Fe.get("orient"),Cn=Fe.get(["lineStyle","curveness"]);bn&&(_n==="curve"?removeElement(bn,{shape:getEdgeShape(wn,kn,Cn,Lt,Lt),style:{opacity:0}},Fe,{cb:function(){Ie.remove(bn)},removeOpt:Ue}):_n==="polyline"&&Fe.get("layout")==="orthogonal"&&removeElement(bn,{shape:{parentPoint:[Lt.x,Lt.y],childPoints:[[Lt.x,Lt.y]]},style:{opacity:0}},Fe,{cb:function(){Ie.remove(bn)},removeOpt:Ue}))}}function getSourceNode(xe,$e){for(var Ie=$e.parentNode===xe?$e:$e.parentNode||$e,Fe;Fe=Ie.getLayout(),Fe==null;)Ie=Ie.parentNode===xe?Ie:Ie.parentNode||Ie;return{source:Ie,sourceLayout:Fe}}function removeNode(xe,$e,Ie,Fe,Ue){var qe=xe.tree.getNodeByDataIndex($e),At=xe.tree.root,Dt=getSourceNode(At,qe).sourceLayout,Lt={duration:Ue.get("animationDurationUpdate"),easing:Ue.get("animationEasingUpdate")};removeElement(Ie,{x:Dt.x+1,y:Dt.y+1},Ue,{cb:function(){Fe.remove(Ie),xe.setItemGraphicEl($e,null)},removeOpt:Lt}),Ie.fadeOut(null,xe.hostModel,{fadeLabel:!0,animation:Lt}),qe.children.forEach(function(jt){removeNodeEdge(jt,xe,Fe,Ue,Lt)}),removeNodeEdge(qe,xe,Fe,Ue,Lt)}function getEdgeShape(xe,$e,Ie,Fe,Ue){var qe,At,Dt,Lt,jt,hn,vn,bn;if(xe==="radial"){jt=Fe.rawX,vn=Fe.rawY,hn=Ue.rawX,bn=Ue.rawY;var _n=radialCoordinate(jt,vn),wn=radialCoordinate(jt,vn+(bn-vn)*Ie),kn=radialCoordinate(hn,bn+(vn-bn)*Ie),Cn=radialCoordinate(hn,bn);return{x1:_n.x||0,y1:_n.y||0,x2:Cn.x||0,y2:Cn.y||0,cpx1:wn.x||0,cpy1:wn.y||0,cpx2:kn.x||0,cpy2:kn.y||0}}else jt=Fe.x,vn=Fe.y,hn=Ue.x,bn=Ue.y,($e==="LR"||$e==="RL")&&(qe=jt+(hn-jt)*Ie,At=vn,Dt=hn+(jt-hn)*Ie,Lt=bn),($e==="TB"||$e==="BT")&&(qe=jt,At=vn+(bn-vn)*Ie,Dt=hn,Lt=bn+(vn-bn)*Ie);return{x1:jt,y1:vn,x2:hn,y2:bn,cpx1:qe,cpy1:At,cpx2:Dt,cpy2:Lt}}var inner$e=makeInner();function linkSeriesData(xe){var $e=xe.mainData,Ie=xe.datas;Ie||(Ie={main:$e},xe.datasAttr={main:"data"}),xe.datas=xe.mainData=null,linkAll($e,Ie,xe),each$f(Ie,function(Fe){each$f($e.TRANSFERABLE_METHODS,function(Ue){Fe.wrapMethod(Ue,curry$1(transferInjection,xe))})}),$e.wrapMethod("cloneShallow",curry$1(cloneShallowInjection,xe)),each$f($e.CHANGABLE_METHODS,function(Fe){$e.wrapMethod(Fe,curry$1(changeInjection,xe))}),assert(Ie[$e.dataType]===$e)}function transferInjection(xe,$e){if(isMainData(this)){var Ie=extend$1({},inner$e(this).datas);Ie[this.dataType]=$e,linkAll($e,Ie,xe)}else linkSingle($e,this.dataType,inner$e(this).mainData,xe);return $e}function changeInjection(xe,$e){return xe.struct&&xe.struct.update(),$e}function cloneShallowInjection(xe,$e){return each$f(inner$e($e).datas,function(Ie,Fe){Ie!==$e&&linkSingle(Ie.cloneShallow(),Fe,$e,xe)}),$e}function getLinkedData(xe){var $e=inner$e(this).mainData;return xe==null||$e==null?$e:inner$e($e).datas[xe]}function getLinkedDataAll(){var xe=inner$e(this).mainData;return xe==null?[{data:xe}]:map$1(keys(inner$e(xe).datas),function($e){return{type:$e,data:inner$e(xe).datas[$e]}})}function isMainData(xe){return inner$e(xe).mainData===xe}function linkAll(xe,$e,Ie){inner$e(xe).datas={},each$f($e,function(Fe,Ue){linkSingle(Fe,Ue,xe,Ie)})}function linkSingle(xe,$e,Ie,Fe){inner$e(Ie).datas[$e]=xe,inner$e(xe).mainData=Ie,xe.dataType=$e,Fe.struct&&(xe[Fe.structAttr]=Fe.struct,Fe.struct[Fe.datasAttr[$e]]=xe),xe.getLinkedData=getLinkedData,xe.getLinkedDataAll=getLinkedDataAll}var TreeNode=function(){function xe($e,Ie){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=$e||"",this.hostTree=Ie}return xe.prototype.isRemoved=function(){return this.dataIndex<0},xe.prototype.eachNode=function($e,Ie,Fe){isFunction$2($e)&&(Fe=Ie,Ie=$e,$e=null),$e=$e||{},isString$2($e)&&($e={order:$e});var Ue=$e.order||"preorder",qe=this[$e.attr||"children"],At;Ue==="preorder"&&(At=Ie.call(Fe,this));for(var Dt=0;!At&&Dt<qe.length;Dt++)qe[Dt].eachNode($e,Ie,Fe);Ue==="postorder"&&Ie.call(Fe,this)},xe.prototype.updateDepthAndHeight=function($e){var Ie=0;this.depth=$e;for(var Fe=0;Fe<this.children.length;Fe++){var Ue=this.children[Fe];Ue.updateDepthAndHeight($e+1),Ue.height>Ie&&(Ie=Ue.height)}this.height=Ie+1},xe.prototype.getNodeById=function($e){if(this.getId()===$e)return this;for(var Ie=0,Fe=this.children,Ue=Fe.length;Ie<Ue;Ie++){var qe=Fe[Ie].getNodeById($e);if(qe)return qe}},xe.prototype.contains=function($e){if($e===this)return!0;for(var Ie=0,Fe=this.children,Ue=Fe.length;Ie<Ue;Ie++){var qe=Fe[Ie].contains($e);if(qe)return qe}},xe.prototype.getAncestors=function($e){for(var Ie=[],Fe=$e?this:this.parentNode;Fe;)Ie.push(Fe),Fe=Fe.parentNode;return Ie.reverse(),Ie},xe.prototype.getAncestorsIndices=function(){for(var $e=[],Ie=this;Ie;)$e.push(Ie.dataIndex),Ie=Ie.parentNode;return $e.reverse(),$e},xe.prototype.getDescendantIndices=function(){var $e=[];return this.eachNode(function(Ie){$e.push(Ie.dataIndex)}),$e},xe.prototype.getValue=function($e){var Ie=this.hostTree.data;return Ie.getStore().get(Ie.getDimensionIndex($e||"value"),this.dataIndex)},xe.prototype.setLayout=function($e,Ie){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,$e,Ie)},xe.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},xe.prototype.getModel=function($e){if(!(this.dataIndex<0)){var Ie=this.hostTree,Fe=Ie.data.getItemModel(this.dataIndex);return Fe.getModel($e)}},xe.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},xe.prototype.setVisual=function($e,Ie){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,$e,Ie)},xe.prototype.getVisual=function($e){return this.hostTree.data.getItemVisual(this.dataIndex,$e)},xe.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},xe.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},xe.prototype.getChildIndex=function(){if(this.parentNode){for(var $e=this.parentNode.children,Ie=0;Ie<$e.length;++Ie)if($e[Ie]===this)return Ie;return-1}return-1},xe.prototype.isAncestorOf=function($e){for(var Ie=$e.parentNode;Ie;){if(Ie===this)return!0;Ie=Ie.parentNode}return!1},xe.prototype.isDescendantOf=function($e){return $e!==this&&$e.isAncestorOf(this)},xe}(),Tree$1=function(){function xe($e){this.type="tree",this._nodes=[],this.hostModel=$e}return xe.prototype.eachNode=function($e,Ie,Fe){this.root.eachNode($e,Ie,Fe)},xe.prototype.getNodeByDataIndex=function($e){var Ie=this.data.getRawIndex($e);return this._nodes[Ie]},xe.prototype.getNodeById=function($e){return this.root.getNodeById($e)},xe.prototype.update=function(){for(var $e=this.data,Ie=this._nodes,Fe=0,Ue=Ie.length;Fe<Ue;Fe++)Ie[Fe].dataIndex=-1;for(var Fe=0,Ue=$e.count();Fe<Ue;Fe++)Ie[$e.getRawIndex(Fe)].dataIndex=Fe},xe.prototype.clearLayouts=function(){this.data.clearItemLayouts()},xe.createTree=function($e,Ie,Fe){var Ue=new xe(Ie),qe=[],At=1;Dt($e);function Dt(hn,vn){var bn=hn.value;At=Math.max(At,isArray$2(bn)?bn.length:1),qe.push(hn);var _n=new TreeNode(convertOptionIdName(hn.name,""),Ue);vn?addChild(_n,vn):Ue.root=_n,Ue._nodes.push(_n);var wn=hn.children;if(wn)for(var kn=0;kn<wn.length;kn++)Dt(wn[kn],_n)}Ue.root.updateDepthAndHeight(0);var Lt=prepareSeriesDataSchema(qe,{coordDimensions:["value"],dimensionsCount:At}).dimensions,jt=new SeriesData(Lt,Ie);return jt.initData(qe),Fe&&Fe(jt),linkSeriesData({mainData:jt,struct:Ue,structAttr:"tree"}),Ue.update(),Ue},xe}();function addChild(xe,$e){var Ie=$e.children;xe.parentNode!==$e&&(Ie.push(xe),xe.parentNode=$e)}function retrieveTargetInfo(xe,$e,Ie){if(xe&&indexOf($e,xe.type)>=0){var Fe=Ie.getData().tree.root,Ue=xe.targetNode;if(isString$2(Ue)&&(Ue=Fe.getNodeById(Ue)),Ue&&Fe.contains(Ue))return{node:Ue};var qe=xe.targetNodeId;if(qe!=null&&(Ue=Fe.getNodeById(qe)))return{node:Ue}}}function getPathToRoot(xe){for(var $e=[];xe;)xe=xe.parentNode,xe&&$e.push(xe);return $e.reverse()}function aboveViewRoot(xe,$e){var Ie=getPathToRoot(xe);return indexOf(Ie,$e)>=0}function wrapTreePathInfo(xe,$e){for(var Ie=[];xe;){var Fe=xe.dataIndex;Ie.push({name:xe.name,dataIndex:Fe,value:$e.getRawValue(Fe)}),xe=xe.parentNode}return Ie.reverse(),Ie}var TreeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.hasSymbolVisual=!0,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie){var Fe={name:Ie.name,children:Ie.data},Ue=Ie.leaves||{},qe=new Model(Ue,this,this.ecModel),At=Tree$1.createTree(Fe,this,Dt);function Dt(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=At.getNodeByDataIndex(_n);return wn&&wn.children.length&&wn.isExpand||(bn.parentModel=qe),bn})}var Lt=0;At.eachNode("preorder",function(vn){vn.depth>Lt&&(Lt=vn.depth)});var jt=Ie.expandAndCollapse,hn=jt&&Ie.initialTreeDepth>=0?Ie.initialTreeDepth:Lt;return At.root.eachNode("preorder",function(vn){var bn=vn.hostTree.data.getRawDataItem(vn.dataIndex);vn.isExpand=bn&&bn.collapsed!=null?!bn.collapsed:vn.depth<=hn}),At.data},$e.prototype.getOrient=function(){var Ie=this.get("orient");return Ie==="horizontal"?Ie="LR":Ie==="vertical"&&(Ie="TB"),Ie},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.formatTooltip=function(Ie,Fe,Ue){for(var qe=this.getData().tree,At=qe.root.children[0],Dt=qe.getNodeByDataIndex(Ie),Lt=Dt.getValue(),jt=Dt.name;Dt&&Dt!==At;)jt=Dt.parentNode.name+"."+jt,Dt=Dt.parentNode;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:isNaN(Lt)||Lt==null})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.collapsed=!Ue.isExpand,Fe},$e.type="series.tree",$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},$e}(SeriesModel);function eachAfter(xe,$e,Ie){for(var Fe=[xe],Ue=[],qe;qe=Fe.pop();)if(Ue.push(qe),qe.isExpand){var At=qe.children;if(At.length)for(var Dt=0;Dt<At.length;Dt++)Fe.push(At[Dt])}for(;qe=Ue.pop();)$e(qe,Ie)}function eachBefore(xe,$e){for(var Ie=[xe],Fe;Fe=Ie.pop();)if($e(Fe),Fe.isExpand){var Ue=Fe.children;if(Ue.length)for(var qe=Ue.length-1;qe>=0;qe--)Ie.push(Ue[qe])}}function treeLayout(xe,$e){xe.eachSeriesByType("tree",function(Ie){commonLayout(Ie,$e)})}function commonLayout(xe,$e){var Ie=getViewRect$4(xe,$e);xe.layoutInfo=Ie;var Fe=xe.get("layout"),Ue=0,qe=0,At=null;Fe==="radial"?(Ue=2*Math.PI,qe=Math.min(Ie.height,Ie.width)/2,At=separation(function(En,Tn){return(En.parentNode===Tn.parentNode?1:2)/En.depth})):(Ue=Ie.width,qe=Ie.height,At=separation());var Dt=xe.getData().tree.root,Lt=Dt.children[0];if(Lt){init(Dt),eachAfter(Lt,firstWalk,At),Dt.hierNode.modifier=-Lt.hierNode.prelim,eachBefore(Lt,secondWalk);var jt=Lt,hn=Lt,vn=Lt;eachBefore(Lt,function(En){var Tn=En.getLayout().x;Tn<jt.getLayout().x&&(jt=En),Tn>hn.getLayout().x&&(hn=En),En.depth>vn.depth&&(vn=En)});var bn=jt===hn?1:At(jt,hn)/2,_n=bn-jt.getLayout().x,wn=0,kn=0,Cn=0,Sn=0;if(Fe==="radial")wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=(En.depth-1)*kn;var Tn=radialCoordinate(Cn,Sn);En.setLayout({x:Tn.x,y:Tn.y,rawX:Cn,rawY:Sn},!0)});else{var xn=xe.getOrient();xn==="RL"||xn==="LR"?(kn=qe/(hn.getLayout().x+bn+_n),wn=Ue/(vn.depth-1||1),eachBefore(Lt,function(En){Sn=(En.getLayout().x+_n)*kn,Cn=xn==="LR"?(En.depth-1)*wn:Ue-(En.depth-1)*wn,En.setLayout({x:Cn,y:Sn},!0)})):(xn==="TB"||xn==="BT")&&(wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=xn==="TB"?(En.depth-1)*kn:qe-(En.depth-1)*kn,En.setLayout({x:Cn,y:Sn},!0)}))}}}function treeVisual(xe){xe.eachSeriesByType("tree",function($e){var Ie=$e.getData(),Fe=Ie.tree;Fe.eachNode(function(Ue){var qe=Ue.getModel(),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ie.ensureUniqueItemVisual(Ue.dataIndex,"style");extend$1(Dt,At)})})}function installTreeAction(xe){xe.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Fe){var Ue=$e.dataIndex,qe=Fe.getData().tree,At=qe.getNodeByDataIndex(Ue);At.isExpand=!At.isExpand})}),xe.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function($e,Ie,Fe){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}function install$I(xe){xe.registerChartView(TreeView),xe.registerSeriesModel(TreeSeriesModel),xe.registerLayout(treeLayout),xe.registerVisual(treeVisual),installTreeAction(xe)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(xe){for(var $e=0;$e<actionTypes.length;$e++)xe.registerAction({type:actionTypes[$e],update:"updateView"},noop$2);xe.registerAction({type:"treemapRootToNode",update:"updateView"},function(Ie,Fe){Fe.eachComponent({mainType:"series",subType:"treemap",query:Ie},Ue);function Ue(qe,At){var Dt=["treemapZoomToNode","treemapRootToNode"],Lt=retrieveTargetInfo(Ie,Dt,qe);if(Lt){var jt=qe.getViewRoot();jt&&(Ie.direction=aboveViewRoot(jt,Lt.node)?"rollUp":"drillDown"),qe.resetViewRoot(Lt.node)}}})}function enableAriaDecalForTree(xe){var $e=xe.getData(),Ie=$e.tree,Fe={};Ie.eachNode(function(Ue){for(var qe=Ue;qe&&qe.depth>1;)qe=qe.parentNode;var At=getDecalFromPalette(xe.ecModel,qe.name||qe.dataIndex+"",Fe);Ue.setVisual("decal",At)})}var TreemapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.preventUsingHoverLayer=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue$1(Ue);var qe=Ie.levels||[],At=this.designatedVisualItemStyle={},Dt=new Model({itemStyle:At},this,Fe);qe=Ie.levels=setDefault(qe,Fe);var Lt=map$1(qe||[],function(vn){return new Model(vn,Dt,Fe)},this),jt=Tree$1.createTree(Ue,this,hn);function hn(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=jt.getNodeByDataIndex(_n),kn=wn?Lt[wn.depth]:null;return bn.parentModel=kn||Dt,bn})}return jt.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=this.getRawValue(Ie),Dt=qe.getName(Ie);return createTooltipMarkup("nameValue",{name:Dt,value:At})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.treePathInfo=Fe.treeAncestors,Fe},$e.prototype.setLayoutInfo=function(Ie){this.layoutInfo=this.layoutInfo||{},extend$1(this.layoutInfo,Ie)},$e.prototype.mapIdToIndex=function(Ie){var Fe=this._idIndexMap;Fe||(Fe=this._idIndexMap=createHashMap(),this._idIndexMapCount=0);var Ue=Fe.get(Ie);return Ue==null&&Fe.set(Ie,Ue=this._idIndexMapCount++),Ue},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.treemap",$e.layoutMode="box",$e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},$e}(SeriesModel);function completeTreeValue$1(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue$1(Fe);var Ue=Fe.value;isArray$2(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$2(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$2(xe.value)?xe.value[0]=Ie:xe.value=Ie}function setDefault(xe,$e){var Ie=normalizeToArray($e.get("color")),Fe=normalizeToArray($e.get(["aria","decal","decals"]));if(Ie){xe=xe||[];var Ue,qe;each$f(xe,function(Dt){var Lt=new Model(Dt),jt=Lt.get("color"),hn=Lt.get("decal");(Lt.get(["itemStyle","color"])||jt&&jt!=="none")&&(Ue=!0),(Lt.get(["itemStyle","decal"])||hn&&hn!=="none")&&(qe=!0)});var At=xe[0]||(xe[0]={});return Ue||(At.color=Ie.slice()),!qe&&Fe&&(At.decal=Fe.slice()),xe}}var TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb$1=function(){function xe($e){this.group=new Group$3,$e.add(this.group)}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=$e.getModel("breadcrumb"),At=this.group;if(At.removeAll(),!(!qe.get("show")||!Fe)){var Dt=qe.getModel("itemStyle"),Lt=qe.getModel("emphasis"),jt=Dt.getModel("textStyle"),hn=Lt.getModel(["itemStyle","textStyle"]),vn={pos:{left:qe.get("left"),right:qe.get("right"),top:qe.get("top"),bottom:qe.get("bottom")},box:{width:Ie.getWidth(),height:Ie.getHeight()},emptyItemWidth:qe.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(Fe,vn,jt),this._renderContent($e,vn,Dt,Lt,jt,hn,Ue),positionElement(At,vn.pos,vn.box)}},xe.prototype._prepare=function($e,Ie,Fe){for(var Ue=$e;Ue;Ue=Ue.parentNode){var qe=convertOptionIdName(Ue.getModel().get("name"),""),At=Fe.getTextRect(qe),Dt=Math.max(At.width+TEXT_PADDING*2,Ie.emptyItemWidth);Ie.totalWidth+=Dt+ITEM_GAP,Ie.renderList.push({node:Ue,text:qe,width:Dt})}},xe.prototype._renderContent=function($e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=0,jt=Ie.emptyItemWidth,hn=$e.get(["breadcrumb","height"]),vn=getAvailableSize(Ie.pos,Ie.box),bn=Ie.totalWidth,_n=Ie.renderList,wn=Ue.getModel("itemStyle").getItemStyle(),kn=_n.length-1;kn>=0;kn--){var Cn=_n[kn],Sn=Cn.node,xn=Cn.width,En=Cn.text;bn>vn.width&&(bn-=xn-jt,xn=jt,En=null);var Tn=new Polygon({shape:{points:makeItemPoints(Lt,0,xn,hn,kn===_n.length-1,kn===0)},style:defaults$1(Fe.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText({style:createTextStyle(qe,{text:En})}),textConfig:{position:"inside"},z2:Z2_EMPHASIS_LIFT*1e4,onclick:curry$1(Dt,Sn)});Tn.disableLabelAnimation=!0,Tn.getTextContent().ensureState("emphasis").style=createTextStyle(At,{text:En}),Tn.ensureState("emphasis").style=wn,toggleHoverEmphasis(Tn,Ue.get("focus"),Ue.get("blurScope"),Ue.get("disabled")),this.group.add(Tn),packEventData(Tn,$e,Sn),Lt+=xn+ITEM_GAP}},xe.prototype.remove=function(){this.group.removeAll()},xe}();function makeItemPoints(xe,$e,Ie,Fe,Ue,qe){var At=[[Ue?xe:xe-ARRAY_LENGTH,$e],[xe+Ie,$e],[xe+Ie,$e+Fe],[Ue?xe:xe-ARRAY_LENGTH,$e+Fe]];return!qe&&At.splice(2,0,[xe+Ie+ARRAY_LENGTH,$e+Fe/2]),!Ue&&At.push([xe,$e+Fe/2]),At}function packEventData(xe,$e,Ie){getECData(xe).eventData={componentType:"series",componentSubType:"treemap",componentIndex:$e.componentIndex,seriesIndex:$e.seriesIndex,seriesName:$e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:Ie&&Ie.dataIndex,name:Ie&&Ie.name},treePathInfo:Ie&&wrapTreePathInfo(Ie,$e)}}var AnimationWrap=function(){function xe(){this._storage=[],this._elExistsMap={}}return xe.prototype.add=function($e,Ie,Fe,Ue,qe){return this._elExistsMap[$e.id]?!1:(this._elExistsMap[$e.id]=!0,this._storage.push({el:$e,target:Ie,duration:Fe,delay:Ue,easing:qe}),!0)},xe.prototype.finished=function($e){return this._finishedCallback=$e,this},xe.prototype.start=function(){for(var $e=this,Ie=this._storage.length,Fe=function(){Ie--,Ie<=0&&($e._storage.length=0,$e._elExistsMap={},$e._finishedCallback&&$e._finishedCallback())},Ue=0,qe=this._storage.length;Ue<qe;Ue++){var At=this._storage[Ue];At.el.animateTo(At.target,{duration:At.duration,delay:At.delay,easing:At.easing,setToFinal:!0,done:Fe,aborted:Fe})}return this},xe}();function createWrap(){return new AnimationWrap}var Group$2=Group$3,Rect$1=Rect$2,DRAG_THRESHOLD=3,PATH_LABEL_NOAMAL="label",PATH_UPPERLABEL_NORMAL="upperLabel",Z2_BASE=Z2_EMPHASIS_LIFT*10,Z2_BG=Z2_EMPHASIS_LIFT*2,Z2_CONTENT=Z2_EMPHASIS_LIFT*3,getStateItemStyle=makeStyleMapper([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),getItemStyleNormal=function(xe){var $e=getStateItemStyle(xe);return $e.stroke=$e.fill=$e.lineWidth=null,$e},inner$d=makeInner(),TreemapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._state="ready",Ie._storage=createStorage(),Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=Fe.findComponents({mainType:"series",subType:"treemap",query:qe});if(!(indexOf(At,Ie)<0)){this.seriesModel=Ie,this.api=Ue,this.ecModel=Fe;var Dt=["treemapZoomToNode","treemapRootToNode"],Lt=retrieveTargetInfo(qe,Dt,Ie),jt=qe&&qe.type,hn=Ie.layoutInfo,vn=!this._oldTree,bn=this._storage,_n=jt==="treemapRootToNode"&&Lt&&bn?{rootNodeGroup:bn.nodeGroup[Lt.node.getRawIndex()],direction:qe.direction}:null,wn=this._giveContainerGroup(hn),kn=Ie.get("animation"),Cn=this._doRender(wn,Ie,_n);kn&&!vn&&(!jt||jt==="treemapZoomToNode"||jt==="treemapRootToNode")?this._doAnimation(wn,Cn,Ie,_n):Cn.renderFinally(),this._resetController(Ue),this._renderBreadcrumb(Ie,Ue,Lt)}},$e.prototype._giveContainerGroup=function(Ie){var Fe=this._containerGroup;return Fe||(Fe=this._containerGroup=new Group$2,this._initEvents(Fe),this.group.add(Fe)),Fe.x=Ie.x,Fe.y=Ie.y,Fe},$e.prototype._doRender=function(Ie,Fe,Ue){var qe=Fe.getData().tree,At=this._oldTree,Dt=createStorage(),Lt=createStorage(),jt=this._storage,hn=[];function vn(Cn,Sn,xn,En){return renderNode(Fe,Lt,jt,Ue,Dt,hn,Cn,Sn,xn,En)}_n(qe.root?[qe.root]:[],At&&At.root?[At.root]:[],Ie,qe===At||!At,0);var bn=wn(jt);return this._oldTree=qe,this._storage=Lt,{lastsForAnimation:Dt,willDeleteEls:bn,renderFinally:kn};function _n(Cn,Sn,xn,En,Tn){En?(Sn=Cn,each$f(Cn,function(Pn,Nn){!Pn.isRemoved()&&$n(Nn,Nn)})):new DataDiffer(Sn,Cn,An,An).add($n).update($n).remove(curry$1($n,null)).execute();function An(Pn){return Pn.getId()}function $n(Pn,Nn){var Mn=Pn!=null?Cn[Pn]:null,In=Nn!=null?Sn[Nn]:null,On=vn(Mn,In,xn,Tn);On&&_n(Mn&&Mn.viewChildren||[],In&&In.viewChildren||[],On,En,Tn+1)}}function wn(Cn){var Sn=createStorage();return Cn&&each$f(Cn,function(xn,En){var Tn=Sn[En];each$f(xn,function(An){An&&(Tn.push(An),inner$d(An).willDelete=!0)})}),Sn}function kn(){each$f(bn,function(Cn){each$f(Cn,function(Sn){Sn.parent&&Sn.parent.remove(Sn)})}),each$f(hn,function(Cn){Cn.invisible=!0,Cn.dirty()})}},$e.prototype._doAnimation=function(Ie,Fe,Ue,qe){var At=Ue.get("animationDurationUpdate"),Dt=Ue.get("animationEasing"),Lt=(isFunction$2(At)?0:At)||0,jt=(isFunction$2(Dt)?null:Dt)||"cubicOut",hn=createWrap();each$f(Fe.willDeleteEls,function(vn,bn){each$f(vn,function(_n,wn){if(!_n.invisible){var kn=_n.parent,Cn,Sn=inner$d(kn);if(qe&&qe.direction==="drillDown")Cn=kn===qe.rootNodeGroup?{shape:{x:0,y:0,width:Sn.nodeWidth,height:Sn.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var xn=0,En=0;Sn.willDelete||(xn=Sn.nodeWidth/2,En=Sn.nodeHeight/2),Cn=bn==="nodeGroup"?{x:xn,y:En,style:{opacity:0}}:{shape:{x:xn,y:En,width:0,height:0},style:{opacity:0}}}Cn&&hn.add(_n,Cn,Lt,0,jt)}})}),each$f(this._storage,function(vn,bn){each$f(vn,function(_n,wn){var kn=Fe.lastsForAnimation[bn][wn],Cn={};kn&&(_n instanceof Group$3?kn.oldX!=null&&(Cn.x=_n.x,Cn.y=_n.y,_n.x=kn.oldX,_n.y=kn.oldY):(kn.oldShape&&(Cn.shape=extend$1({},_n.shape),_n.setShape(kn.oldShape)),kn.fadein?(_n.setStyle("opacity",0),Cn.style={opacity:1}):_n.style.opacity!==1&&(Cn.style={opacity:1})),hn.add(_n,Cn,Lt,0,jt))})},this),this._state="animating",hn.finished(bind$2(function(){this._state="ready",Fe.renderFinally()},this)).start()},$e.prototype._resetController=function(Ie){var Fe=this._controller;Fe||(Fe=this._controller=new RoamController(Ie.getZr()),Fe.enable(this.seriesModel.get("roam")),Fe.on("pan",bind$2(this._onPan,this)),Fe.on("zoom",bind$2(this._onZoom,this)));var Ue=new BoundingRect(0,0,Ie.getWidth(),Ie.getHeight());Fe.setPointerChecker(function(qe,At,Dt){return Ue.contain(At,Dt)})},$e.prototype._clearController=function(){var Ie=this._controller;Ie&&(Ie.dispose(),Ie=null)},$e.prototype._onPan=function(Ie){if(this._state!=="animating"&&(Math.abs(Ie.dx)>DRAG_THRESHOLD||Math.abs(Ie.dy)>DRAG_THRESHOLD)){var Fe=this.seriesModel.getData().tree.root;if(!Fe)return;var Ue=Fe.getLayout();if(!Ue)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Ue.x+Ie.dx,y:Ue.y+Ie.dy,width:Ue.width,height:Ue.height}})}},$e.prototype._onZoom=function(Ie){var Fe=Ie.originX,Ue=Ie.originY;if(this._state!=="animating"){var qe=this.seriesModel.getData().tree.root;if(!qe)return;var At=qe.getLayout();if(!At)return;var Dt=new BoundingRect(At.x,At.y,At.width,At.height),Lt=this.seriesModel.layoutInfo;Fe-=Lt.x,Ue-=Lt.y;var jt=create$1();translate$1(jt,jt,[-Fe,-Ue]),scale$1(jt,jt,[Ie.scale,Ie.scale]),translate$1(jt,jt,[Fe,Ue]),Dt.applyTransform(jt),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height}})}},$e.prototype._initEvents=function(Ie){var Fe=this;Ie.on("click",function(Ue){if(Fe._state==="ready"){var qe=Fe.seriesModel.get("nodeClick",!0);if(qe){var At=Fe.findTarget(Ue.offsetX,Ue.offsetY);if(At){var Dt=At.node;if(Dt.getLayout().isLeafRoot)Fe._rootToNode(At);else if(qe==="zoomToNode")Fe._zoomToNode(At);else if(qe==="link"){var Lt=Dt.hostTree.data.getItemModel(Dt.dataIndex),jt=Lt.get("link",!0),hn=Lt.get("target",!0)||"blank";jt&&windowOpen(jt,hn)}}}}},this)},$e.prototype._renderBreadcrumb=function(Ie,Fe,Ue){var qe=this;Ue||(Ue=Ie.get("leafDepth",!0)!=null?{node:Ie.getViewRoot()}:this.findTarget(Fe.getWidth()/2,Fe.getHeight()/2),Ue||(Ue={node:Ie.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Breadcrumb$1(this.group))).render(Ie,Fe,Ue.node,function(At){qe._state!=="animating"&&(aboveViewRoot(Ie.getViewRoot(),At)?qe._rootToNode({node:At}):qe._zoomToNode({node:At}))})},$e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},$e.prototype.dispose=function(){this._clearController()},$e.prototype._zoomToNode=function(Ie){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype._rootToNode=function(Ie){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype.findTarget=function(Ie,Fe){var Ue,qe=this.seriesModel.getViewRoot();return qe.eachNode({attr:"viewChildren",order:"preorder"},function(At){var Dt=this._storage.background[At.getRawIndex()];if(Dt){var Lt=Dt.transformCoordToLocal(Ie,Fe),jt=Dt.shape;if(jt.x<=Lt[0]&&Lt[0]<=jt.x+jt.width&&jt.y<=Lt[1]&&Lt[1]<=jt.y+jt.height)Ue={node:At,offsetX:Lt[0],offsetY:Lt[1]};else return!1}},this),Ue},$e.type="treemap",$e}(ChartView);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(!At)return;var hn=At.getLayout(),vn=xe.getData(),bn=At.getModel();if(vn.setItemGraphicEl(At.dataIndex,null),!hn||!hn.isInView)return;var _n=hn.width,wn=hn.height,kn=hn.borderWidth,Cn=hn.invisible,Sn=At.getRawIndex(),xn=Dt&&Dt.getRawIndex(),En=At.viewChildren,Tn=hn.upperHeight,An=En&&En.length,$n=bn.getModel("itemStyle"),Pn=bn.getModel(["emphasis","itemStyle"]),Nn=bn.getModel(["blur","itemStyle"]),Mn=bn.getModel(["select","itemStyle"]),In=$n.get("borderRadius")||0,On=er("nodeGroup",Group$2);if(!On)return;if(Lt.add(On),On.x=hn.x||0,On.y=hn.y||0,On.markRedraw(),inner$d(On).nodeWidth=_n,inner$d(On).nodeHeight=wn,hn.isAboveViewRoot)return On;var Rn=er("background",Rect$1,jt,Z2_BG);Rn&&zn(On,Rn,An&&hn.upperLabelHeight);var Bn=bn.getModel("emphasis"),Vn=Bn.get("focus"),Ln=Bn.get("blurScope"),Dn=Bn.get("disabled"),Hn=Vn==="ancestor"?At.getAncestorsIndices():Vn==="descendant"?At.getDescendantIndices():Vn;if(An)isHighDownDispatcher(On)&&setAsHighDownDispatcher(On,!1),Rn&&(setAsHighDownDispatcher(Rn,!Dn),vn.setItemGraphicEl(At.dataIndex,Rn),enableHoverFocus(Rn,Hn,Ln));else{var Fn=er("content",Rect$1,jt,Z2_CONTENT);Fn&&jn(On,Fn),Rn.disableMorphing=!0,Rn&&isHighDownDispatcher(Rn)&&setAsHighDownDispatcher(Rn,!1),setAsHighDownDispatcher(On,!Dn),vn.setItemGraphicEl(At.dataIndex,On),enableHoverFocus(On,Hn,Ln)}return On;function zn(qn,Yn,ar){var tr=getECData(Yn);if(tr.dataIndex=At.dataIndex,tr.seriesIndex=xe.seriesIndex,Yn.setShape({x:0,y:0,width:_n,height:wn,r:In}),Cn)Gn(Yn);else{Yn.invisible=!1;var or=At.getVisual("style"),sr=or.stroke,Kn=getItemStyleNormal($n);Kn.fill=sr;var Zn=getStateItemStyle(Pn);Zn.fill=Pn.get("borderColor");var nr=getStateItemStyle(Nn);nr.fill=Nn.get("borderColor");var lr=getStateItemStyle(Mn);if(lr.fill=Mn.get("borderColor"),ar){var ir=_n-2*kn;Wn(Yn,sr,or.opacity,{x:kn,y:0,width:ir,height:Tn})}else Yn.removeTextContent();Yn.setStyle(Kn),Yn.ensureState("emphasis").style=Zn,Yn.ensureState("blur").style=nr,Yn.ensureState("select").style=lr,setDefaultStateProxy(Yn)}qn.add(Yn)}function jn(qn,Yn){var ar=getECData(Yn);ar.dataIndex=At.dataIndex,ar.seriesIndex=xe.seriesIndex;var tr=Math.max(_n-2*kn,0),or=Math.max(wn-2*kn,0);if(Yn.culling=!0,Yn.setShape({x:kn,y:kn,width:tr,height:or,r:In}),Cn)Gn(Yn);else{Yn.invisible=!1;var sr=At.getVisual("style"),Kn=sr.fill,Zn=getItemStyleNormal($n);Zn.fill=Kn,Zn.decal=sr.decal;var nr=getStateItemStyle(Pn),lr=getStateItemStyle(Nn),ir=getStateItemStyle(Mn);Wn(Yn,Kn,sr.opacity,null),Yn.setStyle(Zn),Yn.ensureState("emphasis").style=nr,Yn.ensureState("blur").style=lr,Yn.ensureState("select").style=ir,setDefaultStateProxy(Yn)}qn.add(Yn)}function Gn(qn){!qn.invisible&&qe.push(qn)}function Wn(qn,Yn,ar,tr){var or=bn.getModel(tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),sr=convertOptionIdName(bn.get("name"),null),Kn=or.getShallow("show");setLabelStyle(qn,getLabelStatesModels(bn,tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:Kn?sr:null,inheritColor:Yn,defaultOpacity:ar,labelFetcher:xe,labelDataIndex:At.dataIndex});var Zn=qn.getTextContent();if(Zn){var nr=Zn.style,lr=normalizeCssArray$1(nr.padding||0);tr&&(qn.setTextConfig({layoutRect:tr}),Zn.disableLabelLayout=!0),Zn.beforeUpdate=function(){var kr=Math.max((tr?tr.width:qn.shape.width)-lr[1]-lr[3],0),Cr=Math.max((tr?tr.height:qn.shape.height)-lr[0]-lr[2],0);(nr.width!==kr||nr.height!==Cr)&&Zn.setStyle({width:kr,height:Cr})},nr.truncateMinChar=2,nr.lineOverflow="truncate",Xn(nr,tr,hn);var ir=Zn.getState("emphasis");Xn(ir?ir.style:null,tr,hn)}}function Xn(qn,Yn,ar){var tr=qn?qn.text:null;if(!Yn&&ar.isLeafRoot&&tr!=null){var or=xe.get("drillDownIcon",!0);qn.text=or?or+" "+tr:tr}}function er(qn,Yn,ar,tr){var or=xn!=null&&Ie[qn][xn],sr=Ue[qn];return or?(Ie[qn][xn]=null,rr(sr,or)):Cn||(or=new Yn,or instanceof Displayable&&(or.z2=calculateZ2(ar,tr)),Jn(sr,or)),$e[qn][Sn]=or}function rr(qn,Yn){var ar=qn[Sn]={};Yn instanceof Group$2?(ar.oldX=Yn.x,ar.oldY=Yn.y):ar.oldShape=extend$1({},Yn.shape)}function Jn(qn,Yn){var ar=qn[Sn]={},tr=At.parentNode,or=Yn instanceof Group$3;if(tr&&(!Fe||Fe.direction==="drillDown")){var sr=0,Kn=0,Zn=Ue.background[tr.getRawIndex()];!Fe&&Zn&&Zn.oldShape&&(sr=Zn.oldShape.width,Kn=Zn.oldShape.height),or?(ar.oldX=0,ar.oldY=Kn):ar.oldShape={x:sr,y:Kn,width:0,height:0}}ar.fadein=!or}}function calculateZ2(xe,$e){return xe*Z2_BASE+$e}var each$c=each$f,isObject$1=isObject$4,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function xe($e){var Ie=$e.mappingMethod,Fe=$e.type,Ue=this.option=clone$4($e);this.type=Fe,this.mappingMethod=Ie,this._normalizeData=normalizers[Ie];var qe=xe.visualHandlers[Fe];this.applyVisual=qe.applyVisual,this.getColorMapper=qe.getColorMapper,this._normalizedToVisual=qe._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 xe.prototype.mapValueToVisual=function($e){var Ie=this._normalizeData($e);return this._normalizedToVisual(Ie,$e)},xe.prototype.getNormalizer=function(){return bind$2(this._normalizeData,this)},xe.listVisualTypes=function(){return keys(xe.visualHandlers)},xe.isValidType=function($e){return xe.visualHandlers.hasOwnProperty($e)},xe.eachVisual=function($e,Ie,Fe){isObject$4($e)?each$f($e,Ie,Fe):Ie.call(Fe,$e)},xe.mapVisual=function($e,Ie,Fe){var Ue,qe=isArray$2($e)?[]:isObject$4($e)?{}:(Ue=!0,null);return xe.eachVisual($e,function(At,Dt){var Lt=Ie.call(Fe,At,Dt);Ue?qe=Lt:qe[Dt]=Lt}),qe},xe.retrieveVisuals=function($e){var Ie={},Fe;return $e&&each$c(xe.visualHandlers,function(Ue,qe){$e.hasOwnProperty(qe)&&(Ie[qe]=$e[qe],Fe=!0)}),Fe?Ie:null},xe.prepareVisualTypes=function($e){if(isArray$2($e))$e=$e.slice();else if(isObject$1($e)){var Ie=[];each$c($e,function(Fe,Ue){Ie.push(Ue)}),$e=Ie}else return[];return $e.sort(function(Fe,Ue){return Ue==="color"&&Fe!=="color"&&Fe.indexOf("color")===0?1:-1}),$e},xe.dependsOn=function($e,Ie){return Ie==="color"?!!($e&&$e.indexOf(Ie)===0):$e===Ie},xe.findPieceIndex=function($e,Ie,Fe){for(var Ue,qe=1/0,At=0,Dt=Ie.length;At<Dt;At++){var Lt=Ie[At].value;if(Lt!=null){if(Lt===$e||isString$2(Lt)&&Lt===$e+"")return At;Fe&&bn(Lt,At)}}for(var At=0,Dt=Ie.length;At<Dt;At++){var jt=Ie[At],hn=jt.interval,vn=jt.close;if(hn){if(hn[0]===-1/0){if(littleThan(vn[1],$e,hn[1]))return At}else if(hn[1]===1/0){if(littleThan(vn[0],hn[0],$e))return At}else if(littleThan(vn[0],hn[0],$e)&&littleThan(vn[1],$e,hn[1]))return At;Fe&&bn(hn[0],At),Fe&&bn(hn[1],At)}}if(Fe)return $e===1/0?Ie.length-1:$e===-1/0?0:Ue;function bn(_n,wn){var kn=Math.abs(_n-$e);kn<qe&&(qe=kn,Ue=wn)}},xe.visualHandlers={color:{applyVisual:makeApplyVisual("color"),getColorMapper:function(){var $e=this.option;return bind$2($e.mappingMethod==="category"?function(Ie,Fe){return!Fe&&(Ie=this._normalizeData(Ie)),doMapCategory.call(this,Ie)}:function(Ie,Fe,Ue){var qe=!!Ue;return!Fe&&(Ie=this._normalizeData(Ie)),Ue=fastLerp(Ie,$e.parsedVisual,Ue),qe?Ue:stringify(Ue,"rgba")},this)},_normalizedToVisual:{linear:function($e){return stringify(fastLerp($e,this.option.parsedVisual),"rgba")},category:doMapCategory,piecewise:function($e,Ie){var Fe=getSpecifiedVisual.call(this,Ie);return Fe==null&&(Fe=stringify(fastLerp($e,this.option.parsedVisual),"rgba")),Fe},fixed:doMapFixed}},colorHue:makePartialColorVisualHandler(function($e,Ie){return modifyHSL($e,Ie)}),colorSaturation:makePartialColorVisualHandler(function($e,Ie){return modifyHSL($e,null,Ie)}),colorLightness:makePartialColorVisualHandler(function($e,Ie){return modifyHSL($e,null,null,Ie)}),colorAlpha:makePartialColorVisualHandler(function($e,Ie){return modifyAlpha($e,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($e,Ie,Fe){var Ue=this.mapValueToVisual($e);Fe("symbol",Ue)},_normalizedToVisual:{linear:doMapToArray,category:doMapCategory,piecewise:function($e,Ie){var Fe=getSpecifiedVisual.call(this,Ie);return Fe==null&&(Fe=doMapToArray.call(this,$e)),Fe},fixed:doMapFixed}},symbolSize:{applyVisual:makeApplyVisual("symbolSize"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])}},xe}();function preprocessForPiecewise(xe){var $e=xe.pieceList;xe.hasSpecialVisual=!1,each$f($e,function(Ie,Fe){Ie.originIndex=Fe,Ie.visual!=null&&(xe.hasSpecialVisual=!0)})}function preprocessForSpecifiedCategory(xe){var $e=xe.categories,Ie=xe.categoryMap={},Fe=xe.visual;if(each$c($e,function(At,Dt){Ie[At]=Dt}),!isArray$2(Fe)){var Ue=[];isObject$4(Fe)?each$c(Fe,function(At,Dt){var Lt=Ie[Dt];Ue[Lt??CATEGORY_DEFAULT_VISUAL_INDEX]=At}):Ue[CATEGORY_DEFAULT_VISUAL_INDEX]=Fe,Fe=setVisualToOption(xe,Ue)}for(var qe=$e.length-1;qe>=0;qe--)Fe[qe]==null&&(delete Ie[$e[qe]],$e.pop())}function normalizeVisualRange(xe,$e){var Ie=xe.visual,Fe=[];isObject$4(Ie)?each$c(Ie,function(qe){Fe.push(qe)}):Ie!=null&&Fe.push(Ie);var Ue={color:1,symbol:1};!$e&&Fe.length===1&&!Ue.hasOwnProperty(xe.type)&&(Fe[1]=Fe[0]),setVisualToOption(xe,Fe)}function makePartialColorVisualHandler(xe){return{applyVisual:function($e,Ie,Fe){var Ue=this.mapValueToVisual($e);Fe("color",xe(Ie("color"),Ue))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(xe){var $e=this.option.visual;return $e[Math.round(linearMap$2(xe,[0,1],[0,$e.length-1],!0))]||{}}function makeApplyVisual(xe){return function($e,Ie,Fe){Fe(xe,this.mapValueToVisual($e))}}function doMapCategory(xe){var $e=this.option.visual;return $e[this.option.loop&&xe!==CATEGORY_DEFAULT_VISUAL_INDEX?xe%$e.length:xe]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(xe){return{linear:function($e){return linearMap$2($e,xe,this.option.visual,!0)},category:doMapCategory,piecewise:function($e,Ie){var Fe=getSpecifiedVisual.call(this,Ie);return Fe==null&&(Fe=linearMap$2($e,xe,this.option.visual,!0)),Fe},fixed:doMapFixed}}function getSpecifiedVisual(xe){var $e=this.option,Ie=$e.pieceList;if($e.hasSpecialVisual){var Fe=VisualMapping.findPieceIndex(xe,Ie),Ue=Ie[Fe];if(Ue&&Ue.visual)return Ue.visual[this.type]}}function setVisualToOption(xe,$e){return xe.visual=$e,xe.type==="color"&&(xe.parsedVisual=map$1($e,function(Ie){var Fe=parse(Ie);return Fe||[0,0,0,1]})),$e}var normalizers={linear:function(xe){return linearMap$2(xe,this.option.dataExtent,[0,1],!0)},piecewise:function(xe){var $e=this.option.pieceList,Ie=VisualMapping.findPieceIndex(xe,$e,!0);if(Ie!=null)return linearMap$2(Ie,[0,$e.length-1],[0,1],!0)},category:function(xe){var $e=this.option.categories?this.option.categoryMap[xe]:xe;return $e??CATEGORY_DEFAULT_VISUAL_INDEX},fixed:noop$2};function littleThan(xe,$e,Ie){return xe?$e<=Ie:$e<Ie}var ITEM_STYLE_NORMAL="itemStyle",inner$c=makeInner();const treemapVisual={seriesType:"treemap",reset:function(xe){var $e=xe.getData().tree,Ie=$e.root;Ie.isRemoved()||travelTree(Ie,{},xe.getViewRoot().getAncestors(),xe)}};function travelTree(xe,$e,Ie,Fe){var Ue=xe.getModel(),qe=xe.getLayout(),At=xe.hostTree.data;if(!(!qe||qe.invisible||!qe.isInView)){var Dt=Ue.getModel(ITEM_STYLE_NORMAL),Lt=buildVisuals(Dt,$e,Fe),jt=At.ensureUniqueItemVisual(xe.dataIndex,"style"),hn=Dt.get("borderColor"),vn=Dt.get("borderColorSaturation"),bn;vn!=null&&(bn=calculateColor(Lt),hn=calculateBorderColor(vn,bn)),jt.stroke=hn;var _n=xe.viewChildren;if(!_n||!_n.length)bn=calculateColor(Lt),jt.fill=bn;else{var wn=buildVisualMapping(xe,Ue,qe,Dt,Lt,_n);each$f(_n,function(kn,Cn){if(kn.depth>=Ie.length||kn===Ie[kn.depth]){var Sn=mapVisual$1(Ue,Lt,kn,Cn,wn,Fe);travelTree(kn,Sn,Ie,Fe)}})}}}function buildVisuals(xe,$e,Ie){var Fe=extend$1({},$e),Ue=Ie.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],function(qe){Ue[qe]=$e[qe];var At=xe.get(qe);Ue[qe]=null,At!=null&&(Fe[qe]=At)}),Fe}function calculateColor(xe){var $e=getValueVisualDefine(xe,"color");if($e){var Ie=getValueVisualDefine(xe,"colorAlpha"),Fe=getValueVisualDefine(xe,"colorSaturation");return Fe&&($e=modifyHSL($e,null,null,Fe)),Ie&&($e=modifyAlpha($e,Ie)),$e}}function calculateBorderColor(xe,$e){return $e!=null?modifyHSL($e,null,null,xe):null}function getValueVisualDefine(xe,$e){var Ie=xe[$e];if(Ie!=null&&Ie!=="none")return Ie}function buildVisualMapping(xe,$e,Ie,Fe,Ue,qe){if(!(!qe||!qe.length)){var At=getRangeVisual($e,"color")||Ue.color!=null&&Ue.color!=="none"&&(getRangeVisual($e,"colorAlpha")||getRangeVisual($e,"colorSaturation"));if(At){var Dt=$e.get("visualMin"),Lt=$e.get("visualMax"),jt=Ie.dataExtent.slice();Dt!=null&&Dt<jt[0]&&(jt[0]=Dt),Lt!=null&&Lt>jt[1]&&(jt[1]=Lt);var hn=$e.get("colorMappingBy"),vn={type:At.name,dataExtent:jt,visual:At.range};vn.type==="color"&&(hn==="index"||hn==="id")?(vn.mappingMethod="category",vn.loop=!0):vn.mappingMethod="linear";var bn=new VisualMapping(vn);return inner$c(bn).drColorMappingBy=hn,bn}}}function getRangeVisual(xe,$e){var Ie=xe.get($e);return isArray$2(Ie)&&Ie.length?{name:$e,range:Ie}:null}function mapVisual$1(xe,$e,Ie,Fe,Ue,qe){var At=extend$1({},$e);if(Ue){var Dt=Ue.type,Lt=Dt==="color"&&inner$c(Ue).drColorMappingBy,jt=Lt==="index"?Fe:Lt==="id"?qe.mapIdToIndex(Ie.getId()):Ie.getValue(xe.get("visualDimension"));At[Dt]=Ue.mapValueToVisual(jt)}return At}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"];const treemapLayout={seriesType:"treemap",reset:function(xe,$e,Ie,Fe){var Ue=Ie.getWidth(),qe=Ie.getHeight(),At=xe.option,Dt=getLayoutRect(xe.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),Lt=At.size||[],jt=parsePercent(retrieveValue(Dt.width,Lt[0]),Ue),hn=parsePercent(retrieveValue(Dt.height,Lt[1]),qe),vn=Fe&&Fe.type,bn=["treemapZoomToNode","treemapRootToNode"],_n=retrieveTargetInfo(Fe,bn,xe),wn=vn==="treemapRender"||vn==="treemapMove"?Fe.rootRect:null,kn=xe.getViewRoot(),Cn=getPathToRoot(kn);if(vn!=="treemapMove"){var Sn=vn==="treemapZoomToNode"?estimateRootSize(xe,_n,kn,jt,hn):wn?[wn.width,wn.height]:[jt,hn],xn=At.sort;xn&&xn!=="asc"&&xn!=="desc"&&(xn="desc");var En={squareRatio:At.squareRatio,sort:xn,leafDepth:At.leafDepth};kn.hostTree.clearLayouts();var Tn={x:0,y:0,width:Sn[0],height:Sn[1],area:Sn[0]*Sn[1]};kn.setLayout(Tn),squarify(kn,En,!1,0),Tn=kn.getLayout(),each$b(Cn,function($n,Pn){var Nn=(Cn[Pn+1]||kn).getValue();$n.setLayout(extend$1({dataExtent:[Nn,Nn],borderWidth:0,upperHeight:0},Tn))})}var An=xe.getData().tree.root;An.setLayout(calculateRootPosition(Dt,wn,_n),!0),xe.setLayoutInfo(Dt),prunning(An,new BoundingRect(-Dt.x,-Dt.y,Ue,qe),Cn,kn,0)}};function squarify(xe,$e,Ie,Fe){var Ue,qe;if(!xe.isRemoved()){var At=xe.getLayout();Ue=At.width,qe=At.height;var Dt=xe.getModel(),Lt=Dt.get(PATH_BORDER_WIDTH),jt=Dt.get(PATH_GAP_WIDTH)/2,hn=getUpperLabelHeight(Dt),vn=Math.max(Lt,hn),bn=Lt-jt,_n=vn-jt;xe.setLayout({borderWidth:Lt,upperHeight:vn,upperLabelHeight:hn},!0),Ue=mathMax$3(Ue-2*bn,0),qe=mathMax$3(qe-bn-_n,0);var wn=Ue*qe,kn=initChildren$1(xe,Dt,wn,$e,Ie,Fe);if(kn.length){var Cn={x:bn,y:_n,width:Ue,height:qe},Sn=mathMin$3(Ue,qe),xn=1/0,En=[];En.area=0;for(var Tn=0,An=kn.length;Tn<An;){var $n=kn[Tn];En.push($n),En.area+=$n.getLayout().area;var Pn=worst(En,Sn,$e.squareRatio);Pn<=xn?(Tn++,xn=Pn):(En.area-=En.pop().getLayout().area,position(En,Sn,Cn,jt,!1),Sn=mathMin$3(Cn.width,Cn.height),En.length=En.area=0,xn=1/0)}if(En.length&&position(En,Sn,Cn,jt,!0),!Ie){var Nn=Dt.get("childrenVisibleMin");Nn!=null&&wn<Nn&&(Ie=!0)}for(var Tn=0,An=kn.length;Tn<An;Tn++)squarify(kn[Tn],$e,Ie,Fe+1)}}}function initChildren$1(xe,$e,Ie,Fe,Ue,qe){var At=xe.children||[],Dt=Fe.sort;Dt!=="asc"&&Dt!=="desc"&&(Dt=null);var Lt=Fe.leafDepth!=null&&Fe.leafDepth<=qe;if(Ue&&!Lt)return xe.viewChildren=[];At=filter(At,function(_n){return!_n.isRemoved()}),sort$1(At,Dt);var jt=statistic($e,At,Dt);if(jt.sum===0)return xe.viewChildren=[];if(jt.sum=filterByThreshold($e,Ie,jt.sum,Dt,At),jt.sum===0)return xe.viewChildren=[];for(var hn=0,vn=At.length;hn<vn;hn++){var bn=At[hn].getValue()/jt.sum*Ie;At[hn].setLayout({area:bn})}return Lt&&(At.length&&xe.setLayout({isLeafRoot:!0},!0),At.length=0),xe.viewChildren=At,xe.setLayout({dataExtent:jt.dataExtent},!0),At}function filterByThreshold(xe,$e,Ie,Fe,Ue){if(!Fe)return Ie;for(var qe=xe.get("visibleMin"),At=Ue.length,Dt=At,Lt=At-1;Lt>=0;Lt--){var jt=Ue[Fe==="asc"?At-Lt-1:Lt].getValue();jt/Ie*$e<qe&&(Dt=Lt,Ie-=jt)}return Fe==="asc"?Ue.splice(0,At-Dt):Ue.splice(Dt,At-Dt),Ie}function sort$1(xe,$e){return $e&&xe.sort(function(Ie,Fe){var Ue=$e==="asc"?Ie.getValue()-Fe.getValue():Fe.getValue()-Ie.getValue();return Ue===0?$e==="asc"?Ie.dataIndex-Fe.dataIndex:Fe.dataIndex-Ie.dataIndex:Ue}),xe}function statistic(xe,$e,Ie){for(var Fe=0,Ue=0,qe=$e.length;Ue<qe;Ue++)Fe+=$e[Ue].getValue();var At=xe.get("visualDimension"),Dt;return!$e||!$e.length?Dt=[NaN,NaN]:At==="value"&&Ie?(Dt=[$e[$e.length-1].getValue(),$e[0].getValue()],Ie==="asc"&&Dt.reverse()):(Dt=[1/0,-1/0],each$b($e,function(Lt){var jt=Lt.getValue(At);jt<Dt[0]&&(Dt[0]=jt),jt>Dt[1]&&(Dt[1]=jt)})),{sum:Fe,dataExtent:Dt}}function worst(xe,$e,Ie){for(var Fe=0,Ue=1/0,qe=0,At=void 0,Dt=xe.length;qe<Dt;qe++)At=xe[qe].getLayout().area,At&&(At<Ue&&(Ue=At),At>Fe&&(Fe=At));var Lt=xe.area*xe.area,jt=$e*$e*Ie;return Lt?mathMax$3(jt*Fe/Lt,Lt/(jt*Ue)):1/0}function position(xe,$e,Ie,Fe,Ue){var qe=$e===Ie.width?0:1,At=1-qe,Dt=["x","y"],Lt=["width","height"],jt=Ie[Dt[qe]],hn=$e?xe.area/$e:0;(Ue||hn>Ie[Lt[At]])&&(hn=Ie[Lt[At]]);for(var vn=0,bn=xe.length;vn<bn;vn++){var _n=xe[vn],wn={},kn=hn?_n.getLayout().area/hn:0,Cn=wn[Lt[At]]=mathMax$3(hn-2*Fe,0),Sn=Ie[Dt[qe]]+Ie[Lt[qe]]-jt,xn=vn===bn-1||Sn<kn?Sn:kn,En=wn[Lt[qe]]=mathMax$3(xn-2*Fe,0);wn[Dt[At]]=Ie[Dt[At]]+mathMin$3(Fe,Cn/2),wn[Dt[qe]]=jt+mathMin$3(Fe,En/2),jt+=xn,_n.setLayout(wn,!0)}Ie[Dt[At]]+=hn,Ie[Lt[At]]-=hn}function estimateRootSize(xe,$e,Ie,Fe,Ue){var qe=($e||{}).node,At=[Fe,Ue];if(!qe||qe===Ie)return At;for(var Dt,Lt=Fe*Ue,jt=Lt*xe.option.zoomToNodeRatio;Dt=qe.parentNode;){for(var hn=0,vn=Dt.children,bn=0,_n=vn.length;bn<_n;bn++)hn+=vn[bn].getValue();var wn=qe.getValue();if(wn===0)return At;jt*=hn/wn;var kn=Dt.getModel(),Cn=kn.get(PATH_BORDER_WIDTH),Sn=Math.max(Cn,getUpperLabelHeight(kn));jt+=4*Cn*Cn+(3*Cn+Sn)*Math.pow(jt,.5),jt>MAX_SAFE_INTEGER&&(jt=MAX_SAFE_INTEGER),qe=Dt}jt<Lt&&(jt=Lt);var xn=Math.pow(jt/Lt,.5);return[Fe*xn,Ue*xn]}function calculateRootPosition(xe,$e,Ie){if($e)return{x:$e.x,y:$e.y};var Fe={x:0,y:0};if(!Ie)return Fe;var Ue=Ie.node,qe=Ue.getLayout();if(!qe)return Fe;for(var At=[qe.width/2,qe.height/2],Dt=Ue;Dt;){var Lt=Dt.getLayout();At[0]+=Lt.x,At[1]+=Lt.y,Dt=Dt.parentNode}return{x:xe.width/2-At[0],y:xe.height/2-At[1]}}function prunning(xe,$e,Ie,Fe,Ue){var qe=xe.getLayout(),At=Ie[Ue],Dt=At&&At===xe;if(!(At&&!Dt||Ue===Ie.length&&xe!==Fe)){xe.setLayout({isInView:!0,invisible:!Dt&&!$e.intersect(qe),isAboveViewRoot:Dt},!0);var Lt=new BoundingRect($e.x-qe.x,$e.y-qe.y,$e.width,$e.height);each$b(xe.viewChildren||[],function(jt){prunning(jt,Lt,Ie,Fe,Ue+1)})}}function getUpperLabelHeight(xe){return xe.get(PATH_UPPER_LABEL_SHOW)?xe.get(PATH_UPPER_LABEL_HEIGHT):0}function install$H(xe){xe.registerSeriesModel(TreemapSeriesModel),xe.registerChartView(TreemapView),xe.registerVisual(treemapVisual),xe.registerLayout(treemapLayout),installTreemapAction(xe)}function categoryFilter(xe){var $e=xe.findComponents({mainType:"legend"});!$e||!$e.length||xe.eachSeriesByType("graph",function(Ie){var Fe=Ie.getCategoriesData(),Ue=Ie.getGraph(),qe=Ue.data,At=Fe.mapArray(Fe.getName);qe.filterSelf(function(Dt){var Lt=qe.getItemModel(Dt),jt=Lt.getShallow("category");if(jt!=null){isNumber$2(jt)&&(jt=At[jt]);for(var hn=0;hn<$e.length;hn++)if(!$e[hn].isSelected(jt))return!1}return!0})})}function categoryVisual(xe){var $e={};xe.eachSeriesByType("graph",function(Ie){var Fe=Ie.getCategoriesData(),Ue=Ie.getData(),qe={};Fe.each(function(At){var Dt=Fe.getName(At);qe["ec-"+Dt]=At;var Lt=Fe.getItemModel(At),jt=Lt.getModel("itemStyle").getItemStyle();jt.fill||(jt.fill=Ie.getColorFromPalette(Dt,$e)),Fe.setItemVisual(At,"style",jt);for(var hn=["symbol","symbolSize","symbolKeepAspect"],vn=0;vn<hn.length;vn++){var bn=Lt.getShallow(hn[vn],!0);bn!=null&&Fe.setItemVisual(At,hn[vn],bn)}}),Fe.count()&&Ue.each(function(At){var Dt=Ue.getItemModel(At),Lt=Dt.getShallow("category");if(Lt!=null){isString$2(Lt)&&(Lt=qe["ec-"+Lt]);var jt=Fe.getItemVisual(Lt,"style"),hn=Ue.ensureUniqueItemVisual(At,"style");extend$1(hn,jt);for(var vn=["symbol","symbolSize","symbolKeepAspect"],bn=0;bn<vn.length;bn++)Ue.setItemVisual(At,vn[bn],Fe.getItemVisual(Lt,vn[bn]))}})})}function normalize$1(xe){return xe instanceof Array||(xe=[xe,xe]),xe}function graphEdgeVisual(xe){xe.eachSeriesByType("graph",function($e){var Ie=$e.getGraph(),Fe=$e.getEdgeData(),Ue=normalize$1($e.get("edgeSymbol")),qe=normalize$1($e.get("edgeSymbolSize"));Fe.setVisual("fromSymbol",Ue&&Ue[0]),Fe.setVisual("toSymbol",Ue&&Ue[1]),Fe.setVisual("fromSymbolSize",qe&&qe[0]),Fe.setVisual("toSymbolSize",qe&&qe[1]),Fe.setVisual("style",$e.getModel("lineStyle").getLineStyle()),Fe.each(function(At){var Dt=Fe.getItemModel(At),Lt=Ie.getEdgeByIndex(At),jt=normalize$1(Dt.getShallow("symbol",!0)),hn=normalize$1(Dt.getShallow("symbolSize",!0)),vn=Dt.getModel("lineStyle").getLineStyle(),bn=Fe.ensureUniqueItemVisual(At,"style");switch(extend$1(bn,vn),bn.stroke){case"source":{var _n=Lt.node1.getVisual("style");bn.stroke=_n&&_n.fill;break}case"target":{var _n=Lt.node2.getVisual("style");bn.stroke=_n&&_n.fill;break}}jt[0]&&Lt.setVisual("fromSymbol",jt[0]),jt[1]&&Lt.setVisual("toSymbol",jt[1]),hn[0]&&Lt.setVisual("fromSymbolSize",hn[0]),hn[1]&&Lt.setVisual("toSymbolSize",hn[1])})})}var KEY_DELIMITER="-->",getAutoCurvenessParams=function(xe){return xe.get("autoCurveness")||null},createCurveness=function(xe,$e){var Ie=getAutoCurvenessParams(xe),Fe=20,Ue=[];if(isNumber$2(Ie))Fe=Ie;else if(isArray$2(Ie)){xe.__curvenessList=Ie;return}$e>Fe&&(Fe=$e);var qe=Fe%2?Fe+2:Fe+3;Ue=[];for(var At=0;At<qe;At++)Ue.push((At%2?At+1:At)/10*(At%2?-1:1));xe.__curvenessList=Ue},getKeyOfEdges=function(xe,$e,Ie){var Fe=[xe.id,xe.dataIndex].join("."),Ue=[$e.id,$e.dataIndex].join(".");return[Ie.uid,Fe,Ue].join(KEY_DELIMITER)},getOppositeKey=function(xe){var $e=xe.split(KEY_DELIMITER);return[$e[0],$e[2],$e[1]].join(KEY_DELIMITER)},getEdgeFromMap=function(xe,$e){var Ie=getKeyOfEdges(xe.node1,xe.node2,$e);return $e.__edgeMap[Ie]},getTotalLengthBetweenNodes=function(xe,$e){var Ie=getEdgeMapLengthWithKey(getKeyOfEdges(xe.node1,xe.node2,$e),$e),Fe=getEdgeMapLengthWithKey(getKeyOfEdges(xe.node2,xe.node1,$e),$e);return Ie+Fe},getEdgeMapLengthWithKey=function(xe,$e){var Ie=$e.__edgeMap;return Ie[xe]?Ie[xe].length:0};function initCurvenessList(xe){getAutoCurvenessParams(xe)&&(xe.__curvenessList=[],xe.__edgeMap={},createCurveness(xe))}function createEdgeMapForCurveness(xe,$e,Ie,Fe){if(getAutoCurvenessParams(Ie)){var Ue=getKeyOfEdges(xe,$e,Ie),qe=Ie.__edgeMap,At=qe[getOppositeKey(Ue)];qe[Ue]&&!At?qe[Ue].isForward=!0:At&&qe[Ue]&&(At.isForward=!0,qe[Ue].isForward=!1),qe[Ue]=qe[Ue]||[],qe[Ue].push(Fe)}}function getCurvenessForEdge(xe,$e,Ie,Fe){var Ue=getAutoCurvenessParams($e),qe=isArray$2(Ue);if(!Ue)return null;var At=getEdgeFromMap(xe,$e);if(!At)return null;for(var Dt=-1,Lt=0;Lt<At.length;Lt++)if(At[Lt]===Ie){Dt=Lt;break}var jt=getTotalLengthBetweenNodes(xe,$e);createCurveness($e,jt),xe.lineStyle=xe.lineStyle||{};var hn=getKeyOfEdges(xe.node1,xe.node2,$e),vn=$e.__curvenessList,bn=qe||jt%2?0:1;if(At.isForward)return vn[bn+Dt];var _n=getOppositeKey(hn),wn=getEdgeMapLengthWithKey(_n,$e),kn=vn[Dt+wn+bn];return Fe?qe?Ue&&Ue[0]===0?(wn+bn)%2?kn:-kn:((wn%2?0:1)+bn)%2?kn:-kn:(wn+bn)%2?kn:-kn:vn[Dt+wn+bn]}function simpleLayout(xe){var $e=xe.coordinateSystem;if(!($e&&$e.type!=="view")){var Ie=xe.getGraph();Ie.eachNode(function(Fe){var Ue=Fe.getModel();Fe.setLayout([+Ue.get("x"),+Ue.get("y")])}),simpleLayoutEdge(Ie,xe)}}function simpleLayoutEdge(xe,$e){xe.eachEdge(function(Ie,Fe){var Ue=retrieve3(Ie.getModel().get(["lineStyle","curveness"]),-getCurvenessForEdge(Ie,$e,Fe,!0),0),qe=clone$3(Ie.node1.getLayout()),At=clone$3(Ie.node2.getLayout()),Dt=[qe,At];+Ue&&Dt.push([(qe[0]+At[0])/2-(qe[1]-At[1])*Ue,(qe[1]+At[1])/2-(At[0]-qe[0])*Ue]),Ie.setLayout(Dt)})}function graphSimpleLayout(xe,$e){xe.eachSeriesByType("graph",function(Ie){var Fe=Ie.get("layout"),Ue=Ie.coordinateSystem;if(Ue&&Ue.type!=="view"){var qe=Ie.getData(),At=[];each$f(Ue.dimensions,function(bn){At=At.concat(qe.mapDimensionsAll(bn))});for(var Dt=0;Dt<qe.count();Dt++){for(var Lt=[],jt=!1,hn=0;hn<At.length;hn++){var vn=qe.get(At[hn],Dt);isNaN(vn)||(jt=!0),Lt.push(vn)}jt?qe.setItemLayout(Dt,Ue.dataToPoint(Lt)):qe.setItemLayout(Dt,[NaN,NaN])}simpleLayoutEdge(qe.graph,Ie)}else(!Fe||Fe==="none")&&simpleLayout(Ie)})}function getNodeGlobalScale(xe){var $e=xe.coordinateSystem;if($e.type!=="view")return 1;var Ie=xe.option.nodeScaleRatio,Fe=$e.scaleX,Ue=$e.getZoom(),qe=(Ue-1)*Ie+1;return qe/Fe}function getSymbolSize(xe){var $e=xe.getVisual("symbolSize");return $e instanceof Array&&($e=($e[0]+$e[1])/2),+$e}var PI$2=Math.PI,_symbolRadiansHalf=[];function circularLayout(xe,$e,Ie,Fe){var Ue=xe.coordinateSystem;if(!(Ue&&Ue.type!=="view")){var qe=Ue.getBoundingRect(),At=xe.getData(),Dt=At.graph,Lt=qe.width/2+qe.x,jt=qe.height/2+qe.y,hn=Math.min(qe.width,qe.height)/2,vn=At.count();if(At.setLayout({cx:Lt,cy:jt}),!!vn){if(Ie){var bn=Ue.pointToData(Fe),_n=bn[0],wn=bn[1],kn=[_n-Lt,wn-jt];normalize$3(kn,kn),scale$2(kn,kn,hn),Ie.setLayout([Lt+kn[0],jt+kn[1]],!0);var Cn=xe.get(["circular","rotateLabel"]);rotateNodeLabel(Ie,Cn,Lt,jt)}_layoutNodesBasedOn[$e](xe,Dt,At,hn,Lt,jt,vn),Dt.eachEdge(function(Sn,xn){var En=retrieve3(Sn.getModel().get(["lineStyle","curveness"]),getCurvenessForEdge(Sn,xe,xn),0),Tn=clone$3(Sn.node1.getLayout()),An=clone$3(Sn.node2.getLayout()),$n,Pn=(Tn[0]+An[0])/2,Nn=(Tn[1]+An[1])/2;+En&&(En*=3,$n=[Lt*En+Pn*(1-En),jt*En+Nn*(1-En)]),Sn.setLayout([Tn,An,$n])})}}}var _layoutNodesBasedOn={value:function(xe,$e,Ie,Fe,Ue,qe,At){var Dt=0,Lt=Ie.getSum("value"),jt=Math.PI*2/(Lt||At);$e.eachNode(function(hn){var vn=hn.getValue("value"),bn=jt*(Lt?vn:1)/2;Dt+=bn,hn.setLayout([Fe*Math.cos(Dt)+Ue,Fe*Math.sin(Dt)+qe]),Dt+=bn})},symbolSize:function(xe,$e,Ie,Fe,Ue,qe,At){var Dt=0;_symbolRadiansHalf.length=At;var Lt=getNodeGlobalScale(xe);$e.eachNode(function(vn){var bn=getSymbolSize(vn);isNaN(bn)&&(bn=2),bn<0&&(bn=0),bn*=Lt;var _n=Math.asin(bn/2/Fe);isNaN(_n)&&(_n=PI$2/2),_symbolRadiansHalf[vn.dataIndex]=_n,Dt+=_n*2});var jt=(2*PI$2-Dt)/At/2,hn=0;$e.eachNode(function(vn){var bn=jt+_symbolRadiansHalf[vn.dataIndex];hn+=bn,(!vn.getLayout()||!vn.getLayout().fixed)&&vn.setLayout([Fe*Math.cos(hn)+Ue,Fe*Math.sin(hn)+qe]),hn+=bn})}};function rotateNodeLabel(xe,$e,Ie,Fe){var Ue=xe.getGraphicEl();if(Ue){var qe=xe.getModel(),At=qe.get(["label","rotate"])||0,Dt=Ue.getSymbolPath();if($e){var Lt=xe.getLayout(),jt=Math.atan2(Lt[1]-Fe,Lt[0]-Ie);jt<0&&(jt=Math.PI*2+jt);var hn=Lt[0]<Ie;hn&&(jt=jt-Math.PI);var vn=hn?"left":"right";Dt.setTextConfig({rotation:-jt,position:vn,origin:"center"});var bn=Dt.ensureState("emphasis");extend$1(bn.textConfig||(bn.textConfig={}),{position:vn})}else Dt.setTextConfig({rotation:At*=Math.PI/180})}}function graphCircularLayout(xe){xe.eachSeriesByType("graph",function($e){$e.get("layout")==="circular"&&circularLayout($e,"symbolSize")})}var scaleAndAdd=scaleAndAdd$1;function forceLayout(xe,$e,Ie){for(var Fe=xe,Ue=$e,qe=Ie.rect,At=qe.width,Dt=qe.height,Lt=[qe.x+At/2,qe.y+Dt/2],jt=Ie.gravity==null?.1:Ie.gravity,hn=0;hn<Fe.length;hn++){var vn=Fe[hn];vn.p||(vn.p=create$2(At*(Math.random()-.5)+Lt[0],Dt*(Math.random()-.5)+Lt[1])),vn.pp=clone$3(vn.p),vn.edges=null}var bn=Ie.friction==null?.6:Ie.friction,_n=bn,wn,kn;return{warmUp:function(){_n=bn*.8},setFixed:function(Cn){Fe[Cn].fixed=!0},setUnfixed:function(Cn){Fe[Cn].fixed=!1},beforeStep:function(Cn){wn=Cn},afterStep:function(Cn){kn=Cn},step:function(Cn){wn&&wn(Fe,Ue);for(var Sn=[],xn=Fe.length,En=0;En<Ue.length;En++){var Tn=Ue[En];if(!Tn.ignoreForceLayout){var An=Tn.n1,$n=Tn.n2;sub(Sn,$n.p,An.p);var Pn=len(Sn)-Tn.d,Nn=$n.w/(An.w+$n.w);isNaN(Nn)&&(Nn=0),normalize$3(Sn,Sn),!An.fixed&&scaleAndAdd(An.p,An.p,Sn,Nn*Pn*_n),!$n.fixed&&scaleAndAdd($n.p,$n.p,Sn,-(1-Nn)*Pn*_n)}}for(var En=0;En<xn;En++){var Mn=Fe[En];Mn.fixed||(sub(Sn,Lt,Mn.p),scaleAndAdd(Mn.p,Mn.p,Sn,jt*_n))}for(var En=0;En<xn;En++)for(var An=Fe[En],In=En+1;In<xn;In++){var $n=Fe[In];sub(Sn,$n.p,An.p);var Pn=len(Sn);Pn===0&&(set$1(Sn,Math.random()-.5,Math.random()-.5),Pn=1);var On=(An.rep+$n.rep)/Pn/Pn;!An.fixed&&scaleAndAdd(An.pp,An.pp,Sn,On),!$n.fixed&&scaleAndAdd($n.pp,$n.pp,Sn,-On)}for(var Rn=[],En=0;En<xn;En++){var Mn=Fe[En];Mn.fixed||(sub(Rn,Mn.p,Mn.pp),scaleAndAdd(Mn.p,Mn.p,Rn,_n),copy$1(Mn.pp,Mn.p))}_n=_n*.992;var Bn=_n<.01;kn&&kn(Fe,Ue,Bn),Cn&&Cn(Bn)}}}function graphForceLayout(xe){xe.eachSeriesByType("graph",function($e){var Ie=$e.coordinateSystem;if(!(Ie&&Ie.type!=="view"))if($e.get("layout")==="force"){var Fe=$e.preservedPoints||{},Ue=$e.getGraph(),qe=Ue.data,At=Ue.edgeData,Dt=$e.getModel("force"),Lt=Dt.get("initLayout");$e.preservedPoints?qe.each(function(En){var Tn=qe.getId(En);qe.setItemLayout(En,Fe[Tn]||[NaN,NaN])}):!Lt||Lt==="none"?simpleLayout($e):Lt==="circular"&&circularLayout($e,"value");var jt=qe.getDataExtent("value"),hn=At.getDataExtent("value"),vn=Dt.get("repulsion"),bn=Dt.get("edgeLength"),_n=isArray$2(vn)?vn:[vn,vn],wn=isArray$2(bn)?bn:[bn,bn];wn=[wn[1],wn[0]];var kn=qe.mapArray("value",function(En,Tn){var An=qe.getItemLayout(Tn),$n=linearMap$2(En,jt,_n);return isNaN($n)&&($n=(_n[0]+_n[1])/2),{w:$n,rep:$n,fixed:qe.getItemModel(Tn).get("fixed"),p:!An||isNaN(An[0])||isNaN(An[1])?null:An}}),Cn=At.mapArray("value",function(En,Tn){var An=Ue.getEdgeByIndex(Tn),$n=linearMap$2(En,hn,wn);isNaN($n)&&($n=(wn[0]+wn[1])/2);var Pn=An.getModel(),Nn=retrieve3(An.getModel().get(["lineStyle","curveness"]),-getCurvenessForEdge(An,$e,Tn,!0),0);return{n1:kn[An.node1.dataIndex],n2:kn[An.node2.dataIndex],d:$n,curveness:Nn,ignoreForceLayout:Pn.get("ignoreForceLayout")}}),Sn=Ie.getBoundingRect(),xn=forceLayout(kn,Cn,{rect:Sn,gravity:Dt.get("gravity"),friction:Dt.get("friction")});xn.beforeStep(function(En,Tn){for(var An=0,$n=En.length;An<$n;An++)En[An].fixed&&copy$1(En[An].p,Ue.getNodeByIndex(An).getLayout())}),xn.afterStep(function(En,Tn,An){for(var $n=0,Pn=En.length;$n<Pn;$n++)En[$n].fixed||Ue.getNodeByIndex($n).setLayout(En[$n].p),Fe[qe.getId($n)]=En[$n].p;for(var $n=0,Pn=Tn.length;$n<Pn;$n++){var Nn=Tn[$n],Mn=Ue.getEdgeByIndex($n),In=Nn.n1.p,On=Nn.n2.p,Rn=Mn.getLayout();Rn=Rn?Rn.slice():[],Rn[0]=Rn[0]||[],Rn[1]=Rn[1]||[],copy$1(Rn[0],In),copy$1(Rn[1],On),+Nn.curveness&&(Rn[2]=[(In[0]+On[0])/2-(In[1]-On[1])*Nn.curveness,(In[1]+On[1])/2-(On[0]-In[0])*Nn.curveness]),Mn.setLayout(Rn)}}),$e.forceLayout=xn,$e.preservedPoints=Fe,xn.step()}else $e.forceLayout=null})}function getViewRect$3(xe,$e,Ie){var Fe=extend$1(xe.getBoxLayoutParams(),{aspect:Ie});return getLayoutRect(Fe,{width:$e.getWidth(),height:$e.getHeight()})}function createViewCoordSys(xe,$e){var Ie=[];return xe.eachSeriesByType("graph",function(Fe){var Ue=Fe.get("coordinateSystem");if(!Ue||Ue==="view"){var qe=Fe.getData(),At=qe.mapArray(function(Cn){var Sn=qe.getItemModel(Cn);return[+Sn.get("x"),+Sn.get("y")]}),Dt=[],Lt=[];fromPoints(At,Dt,Lt),Lt[0]-Dt[0]===0&&(Lt[0]+=1,Dt[0]-=1),Lt[1]-Dt[1]===0&&(Lt[1]+=1,Dt[1]-=1);var jt=(Lt[0]-Dt[0])/(Lt[1]-Dt[1]),hn=getViewRect$3(Fe,$e,jt);isNaN(jt)&&(Dt=[hn.x,hn.y],Lt=[hn.x+hn.width,hn.y+hn.height]);var vn=Lt[0]-Dt[0],bn=Lt[1]-Dt[1],_n=hn.width,wn=hn.height,kn=Fe.coordinateSystem=new View;kn.zoomLimit=Fe.get("scaleLimit"),kn.setBoundingRect(Dt[0],Dt[1],vn,bn),kn.setViewRect(hn.x,hn.y,_n,wn),kn.setCenter(Fe.get("center"),$e),kn.setZoom(Fe.get("zoom")),Ie.push(kn)}}),Ie}var straightLineProto=Line$1.prototype,bezierCurveProto=BezierCurve.prototype,StraightLineShape=function(){function xe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return xe}();(function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e})(StraightLineShape);function isStraightLine(xe){return isNaN(+xe.cpx1)||isNaN(+xe.cpy1)}var ECLinePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-line",Fe}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new StraightLineShape},$e.prototype.buildPath=function(Ie,Fe){isStraightLine(Fe)?straightLineProto.buildPath.call(this,Ie,Fe):bezierCurveProto.buildPath.call(this,Ie,Fe)},$e.prototype.pointAt=function(Ie){return isStraightLine(this.shape)?straightLineProto.pointAt.call(this,Ie):bezierCurveProto.pointAt.call(this,Ie)},$e.prototype.tangentAt=function(Ie){var Fe=this.shape,Ue=isStraightLine(Fe)?[Fe.x2-Fe.x1,Fe.y2-Fe.y1]:bezierCurveProto.tangentAt.call(this,Ie);return normalize$3(Ue,Ue)},$e}(Path),SYMBOL_CATEGORIES=["fromSymbol","toSymbol"];function makeSymbolTypeKey(xe){return"_"+xe+"Type"}function makeSymbolTypeValue(xe,$e,Ie){var Fe=$e.getItemVisual(Ie,xe);if(!Fe||Fe==="none")return Fe;var Ue=$e.getItemVisual(Ie,xe+"Size"),qe=$e.getItemVisual(Ie,xe+"Rotate"),At=$e.getItemVisual(Ie,xe+"Offset"),Dt=$e.getItemVisual(Ie,xe+"KeepAspect"),Lt=normalizeSymbolSize(Ue),jt=normalizeSymbolOffset(At||0,Lt);return Fe+Lt+jt+(qe||"")+(Dt||"")}function createSymbol(xe,$e,Ie){var Fe=$e.getItemVisual(Ie,xe);if(!(!Fe||Fe==="none")){var Ue=$e.getItemVisual(Ie,xe+"Size"),qe=$e.getItemVisual(Ie,xe+"Rotate"),At=$e.getItemVisual(Ie,xe+"Offset"),Dt=$e.getItemVisual(Ie,xe+"KeepAspect"),Lt=normalizeSymbolSize(Ue),jt=normalizeSymbolOffset(At||0,Lt),hn=createSymbol$1(Fe,-Lt[0]/2+jt[0],-Lt[1]/2+jt[1],Lt[0],Lt[1],null,Dt);return hn.__specifiedRotation=qe==null||isNaN(qe)?void 0:+qe*Math.PI/180||0,hn.name=xe,hn}}function createLine(xe){var $e=new ECLinePath({name:"line",subPixelOptimize:!0});return setLinePoints($e.shape,xe),$e}function setLinePoints(xe,$e){xe.x1=$e[0][0],xe.y1=$e[0][1],xe.x2=$e[1][0],xe.y2=$e[1][1],xe.percent=1;var Ie=$e[2];Ie?(xe.cpx1=Ie[0],xe.cpy1=Ie[1]):(xe.cpx1=NaN,xe.cpy1=NaN)}var Line=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;return qe._createLine(Ie,Fe,Ue),qe}return $e.prototype._createLine=function(Ie,Fe,Ue){var qe=Ie.hostModel,At=Ie.getItemLayout(Fe),Dt=createLine(At);Dt.shape.percent=0,initProps(Dt,{shape:{percent:1}},qe,Fe),this.add(Dt),each$f(SYMBOL_CATEGORIES,function(Lt){var jt=createSymbol(Lt,Ie,Fe);this.add(jt),this[makeSymbolTypeKey(Lt)]=makeSymbolTypeValue(Lt,Ie,Fe)},this),this._updateCommonStl(Ie,Fe,Ue)},$e.prototype.updateData=function(Ie,Fe,Ue){var qe=Ie.hostModel,At=this.childOfName("line"),Dt=Ie.getItemLayout(Fe),Lt={shape:{}};setLinePoints(Lt.shape,Dt),updateProps$1(At,Lt,qe,Fe),each$f(SYMBOL_CATEGORIES,function(jt){var hn=makeSymbolTypeValue(jt,Ie,Fe),vn=makeSymbolTypeKey(jt);if(this[vn]!==hn){this.remove(this.childOfName(jt));var bn=createSymbol(jt,Ie,Fe);this.add(bn)}this[vn]=hn},this),this._updateCommonStl(Ie,Fe,Ue)},$e.prototype.getLinePath=function(){return this.childAt(0)},$e.prototype._updateCommonStl=function(Ie,Fe,Ue){var qe=Ie.hostModel,At=this.childOfName("line"),Dt=Ue&&Ue.emphasisLineStyle,Lt=Ue&&Ue.blurLineStyle,jt=Ue&&Ue.selectLineStyle,hn=Ue&&Ue.labelStatesModels,vn=Ue&&Ue.emphasisDisabled,bn=Ue&&Ue.focus,_n=Ue&&Ue.blurScope;if(!Ue||Ie.hasItemOption){var wn=Ie.getItemModel(Fe),kn=wn.getModel("emphasis");Dt=kn.getModel("lineStyle").getLineStyle(),Lt=wn.getModel(["blur","lineStyle"]).getLineStyle(),jt=wn.getModel(["select","lineStyle"]).getLineStyle(),vn=kn.get("disabled"),bn=kn.get("focus"),_n=kn.get("blurScope"),hn=getLabelStatesModels(wn)}var Cn=Ie.getItemVisual(Fe,"style"),Sn=Cn.stroke;At.useStyle(Cn),At.style.fill=null,At.style.strokeNoScale=!0,At.ensureState("emphasis").style=Dt,At.ensureState("blur").style=Lt,At.ensureState("select").style=jt,each$f(SYMBOL_CATEGORIES,function($n){var Pn=this.childOfName($n);if(Pn){Pn.setColor(Sn),Pn.style.opacity=Cn.opacity;for(var Nn=0;Nn<SPECIAL_STATES.length;Nn++){var Mn=SPECIAL_STATES[Nn],In=At.getState(Mn);if(In){var On=In.style||{},Rn=Pn.ensureState(Mn),Bn=Rn.style||(Rn.style={});On.stroke!=null&&(Bn[Pn.__isEmptyBrush?"stroke":"fill"]=On.stroke),On.opacity!=null&&(Bn.opacity=On.opacity)}}Pn.markRedraw()}},this);var xn=qe.getRawValue(Fe);setLabelStyle(this,hn,{labelDataIndex:Fe,labelFetcher:{getFormattedLabel:function($n,Pn){return qe.getFormattedLabel($n,Pn,Ie.dataType)}},inheritColor:Sn||"#000",defaultOpacity:Cn.opacity,defaultText:(xn==null?Ie.getName(Fe):isFinite(xn)?round$3(xn):xn)+""});var En=this.getTextContent();if(En){var Tn=hn.normal;En.__align=En.style.align,En.__verticalAlign=En.style.verticalAlign,En.__position=Tn.get("position")||"middle";var An=Tn.get("distance");isArray$2(An)||(An=[An,An]),En.__labelDistance=An}this.setTextConfig({position:null,local:!0,inside:!1}),toggleHoverEmphasis(this,bn,_n,vn)},$e.prototype.highlight=function(){enterEmphasis(this)},$e.prototype.downplay=function(){leaveEmphasis(this)},$e.prototype.updateLayout=function(Ie,Fe){this.setLinePoints(Ie.getItemLayout(Fe))},$e.prototype.setLinePoints=function(Ie){var Fe=this.childOfName("line");setLinePoints(Fe.shape,Ie),Fe.dirty()},$e.prototype.beforeUpdate=function(){var Ie=this,Fe=Ie.childOfName("fromSymbol"),Ue=Ie.childOfName("toSymbol"),qe=Ie.getTextContent();if(!Fe&&!Ue&&(!qe||qe.ignore))return;for(var At=1,Dt=this.parent;Dt;)Dt.scaleX&&(At/=Dt.scaleX),Dt=Dt.parent;var Lt=Ie.childOfName("line");if(!this.__dirty&&!Lt.__dirty)return;var jt=Lt.shape.percent,hn=Lt.pointAt(0),vn=Lt.pointAt(jt),bn=sub([],vn,hn);normalize$3(bn,bn);function _n(In,On){var Rn=In.__specifiedRotation;if(Rn==null){var Bn=Lt.tangentAt(On);In.attr("rotation",(On===1?-1:1)*Math.PI/2-Math.atan2(Bn[1],Bn[0]))}else In.attr("rotation",Rn)}if(Fe&&(Fe.setPosition(hn),_n(Fe,0),Fe.scaleX=Fe.scaleY=At*jt,Fe.markRedraw()),Ue&&(Ue.setPosition(vn),_n(Ue,1),Ue.scaleX=Ue.scaleY=At*jt,Ue.markRedraw()),qe&&!qe.ignore){qe.x=qe.y=0,qe.originX=qe.originY=0;var wn=void 0,kn=void 0,Cn=qe.__labelDistance,Sn=Cn[0]*At,xn=Cn[1]*At,En=jt/2,Tn=Lt.tangentAt(En),An=[Tn[1],-Tn[0]],$n=Lt.pointAt(En);An[1]>0&&(An[0]=-An[0],An[1]=-An[1]);var Pn=Tn[0]<0?-1:1;if(qe.__position!=="start"&&qe.__position!=="end"){var Nn=-Math.atan2(Tn[1],Tn[0]);vn[0]<hn[0]&&(Nn=Math.PI+Nn),qe.rotation=Nn}var Mn=void 0;switch(qe.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":Mn=-xn,kn="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":Mn=xn,kn="top";break;default:Mn=0,kn="middle"}switch(qe.__position){case"end":qe.x=bn[0]*Sn+vn[0],qe.y=bn[1]*xn+vn[1],wn=bn[0]>.8?"left":bn[0]<-.8?"right":"center",kn=bn[1]>.8?"top":bn[1]<-.8?"bottom":"middle";break;case"start":qe.x=-bn[0]*Sn+hn[0],qe.y=-bn[1]*xn+hn[1],wn=bn[0]>.8?"right":bn[0]<-.8?"left":"center",kn=bn[1]>.8?"bottom":bn[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":qe.x=Sn*Pn+hn[0],qe.y=hn[1]+Mn,wn=Tn[0]<0?"right":"left",qe.originX=-Sn*Pn,qe.originY=-Mn;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":qe.x=$n[0],qe.y=$n[1]+Mn,wn="center",qe.originY=-Mn;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":qe.x=-Sn*Pn+vn[0],qe.y=vn[1]+Mn,wn=Tn[0]>=0?"right":"left",qe.originX=Sn*Pn,qe.originY=-Mn;break}qe.scaleX=qe.scaleY=At,qe.setStyle({verticalAlign:qe.__verticalAlign||kn,align:qe.__align||wn})}},$e}(Group$3),LineDraw=function(){function xe($e){this.group=new Group$3,this._LineCtor=$e||Line}return xe.prototype.updateData=function($e){var Ie=this;this._progressiveEls=null;var Fe=this,Ue=Fe.group,qe=Fe._lineData;Fe._lineData=$e,qe||Ue.removeAll();var At=makeSeriesScope$1($e);$e.diff(qe).add(function(Dt){Ie._doAdd($e,Dt,At)}).update(function(Dt,Lt){Ie._doUpdate(qe,$e,Lt,Dt,At)}).remove(function(Dt){Ue.remove(qe.getItemGraphicEl(Dt))}).execute()},xe.prototype.updateLayout=function(){var $e=this._lineData;$e&&$e.eachItemGraphicEl(function(Ie,Fe){Ie.updateLayout($e,Fe)},this)},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$1($e),this._lineData=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie){this._progressiveEls=[];function Fe(Dt){!Dt.isGroup&&!isEffectObject(Dt)&&(Dt.incremental=!0,Dt.ensureState("emphasis").hoverLayer=!0)}for(var Ue=$e.start;Ue<$e.end;Ue++){var qe=Ie.getItemLayout(Ue);if(lineNeedsDraw(qe)){var At=new this._LineCtor(Ie,Ue,this._seriesScope);At.traverse(Fe),this.group.add(At),Ie.setItemGraphicEl(Ue,At),this._progressiveEls.push(At)}}},xe.prototype.remove=function(){this.group.removeAll()},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype._doAdd=function($e,Ie,Fe){var Ue=$e.getItemLayout(Ie);if(lineNeedsDraw(Ue)){var qe=new this._LineCtor($e,Ie,Fe);$e.setItemGraphicEl(Ie,qe),this.group.add(qe)}},xe.prototype._doUpdate=function($e,Ie,Fe,Ue,qe){var At=$e.getItemGraphicEl(Fe);if(!lineNeedsDraw(Ie.getItemLayout(Ue))){this.group.remove(At);return}At?At.updateData(Ie,Ue,qe):At=new this._LineCtor(Ie,Ue,qe),Ie.setItemGraphicEl(Ue,At),this.group.add(At)},xe}();function isEffectObject(xe){return xe.animators&&xe.animators.length>0}function makeSeriesScope$1(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{lineStyle:$e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:Ie.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:$e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:$e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:Ie.get("disabled"),blurScope:Ie.get("blurScope"),focus:Ie.get("focus"),labelStatesModels:getLabelStatesModels($e)}}function isPointNaN(xe){return isNaN(xe[0])||isNaN(xe[1])}function lineNeedsDraw(xe){return xe&&!isPointNaN(xe[0])&&!isPointNaN(xe[1])}var v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(xe,$e,Ie){for(var Fe=xe[0],Ue=xe[1],qe=xe[2],At=1/0,Dt,Lt=Ie*Ie,jt=.1,hn=.1;hn<=.9;hn+=.1){v1[0]=quadraticAt(Fe[0],Ue[0],qe[0],hn),v1[1]=quadraticAt(Fe[1],Ue[1],qe[1],hn);var vn=mathAbs(v2DistSquare(v1,$e)-Lt);vn<At&&(At=vn,Dt=hn)}for(var bn=0;bn<32;bn++){var _n=Dt+jt;v2[0]=quadraticAt(Fe[0],Ue[0],qe[0],Dt),v2[1]=quadraticAt(Fe[1],Ue[1],qe[1],Dt),v3[0]=quadraticAt(Fe[0],Ue[0],qe[0],_n),v3[1]=quadraticAt(Fe[1],Ue[1],qe[1],_n);var vn=v2DistSquare(v2,$e)-Lt;if(mathAbs(vn)<.01)break;var wn=v2DistSquare(v3,$e)-Lt;jt/=2,vn<0?wn>=0?Dt=Dt+jt:Dt=Dt-jt:wn>=0?Dt=Dt-jt:Dt=Dt+jt}return Dt}function adjustEdge(xe,$e){var Ie=[],Fe=quadraticSubdivide,Ue=[[],[],[]],qe=[[],[]],At=[];$e/=2,xe.eachEdge(function(Dt,Lt){var jt=Dt.getLayout(),hn=Dt.getVisual("fromSymbol"),vn=Dt.getVisual("toSymbol");jt.__original||(jt.__original=[clone$3(jt[0]),clone$3(jt[1])],jt[2]&&jt.__original.push(clone$3(jt[2])));var bn=jt.__original;if(jt[2]!=null){if(copy$1(Ue[0],bn[0]),copy$1(Ue[1],bn[2]),copy$1(Ue[2],bn[1]),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1),wn=intersectCurveCircle(Ue,bn[0],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[0][0]=Ie[3],Ue[1][0]=Ie[4],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[0][1]=Ie[3],Ue[1][1]=Ie[4]}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2),wn=intersectCurveCircle(Ue,bn[1],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[1][0]=Ie[1],Ue[2][0]=Ie[2],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[1][1]=Ie[1],Ue[2][1]=Ie[2]}copy$1(jt[0],Ue[0]),copy$1(jt[1],Ue[2]),copy$1(jt[2],Ue[1])}else{if(copy$1(qe[0],bn[0]),copy$1(qe[1],bn[1]),sub(At,qe[1],qe[0]),normalize$3(At,At),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1);scaleAndAdd$1(qe[0],qe[0],At,_n*$e)}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2);scaleAndAdd$1(qe[1],qe[1],At,-_n*$e)}copy$1(jt[0],qe[0]),copy$1(jt[1],qe[1])}})}function isViewCoordSys(xe){return xe.type==="view"}var GraphView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){var Ue=new SymbolDraw,qe=new LineDraw,At=this.group;this._controller=new RoamController(Fe.getZr()),this._controllerHost={target:At},At.add(Ue.group),At.add(qe.group),this._symbolDraw=Ue,this._lineDraw=qe,this._firstRender=!0},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.coordinateSystem;this._model=Ie;var Dt=this._symbolDraw,Lt=this._lineDraw,jt=this.group;if(isViewCoordSys(At)){var hn={x:At.x,y:At.y,scaleX:At.scaleX,scaleY:At.scaleY};this._firstRender?jt.attr(hn):updateProps$1(jt,hn,Ie)}adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie));var vn=Ie.getData();Dt.updateData(vn);var bn=Ie.getEdgeData();Lt.updateData(bn),this._updateNodeAndLinkScale(),this._updateController(Ie,Fe,Ue),clearTimeout(this._layoutTimeout);var _n=Ie.forceLayout,wn=Ie.get(["force","layoutAnimation"]);_n&&this._startForceLayoutIteration(_n,wn);var kn=Ie.get("layout");vn.graph.eachNode(function(En){var Tn=En.dataIndex,An=En.getGraphicEl(),$n=En.getModel();if(An){An.off("drag").off("dragend");var Pn=$n.get("draggable");Pn&&An.on("drag",function(Mn){switch(kn){case"force":_n.warmUp(),!qe._layouting&&qe._startForceLayoutIteration(_n,wn),_n.setFixed(Tn),vn.setItemLayout(Tn,[An.x,An.y]);break;case"circular":vn.setItemLayout(Tn,[An.x,An.y]),En.setLayout({fixed:!0},!0),circularLayout(Ie,"symbolSize",En,[Mn.offsetX,Mn.offsetY]),qe.updateLayout(Ie);break;case"none":default:vn.setItemLayout(Tn,[An.x,An.y]),simpleLayoutEdge(Ie.getGraph(),Ie),qe.updateLayout(Ie);break}}).on("dragend",function(){_n&&_n.setUnfixed(Tn)}),An.setDraggable(Pn,!!$n.get("cursor"));var Nn=$n.get(["emphasis","focus"]);Nn==="adjacency"&&(getECData(An).focus=En.getAdjacentDataIndices())}}),vn.graph.eachEdge(function(En){var Tn=En.getGraphicEl(),An=En.getModel().get(["emphasis","focus"]);Tn&&An==="adjacency"&&(getECData(Tn).focus={edge:[En.dataIndex],node:[En.node1.dataIndex,En.node2.dataIndex]})});var Cn=Ie.get("layout")==="circular"&&Ie.get(["circular","rotateLabel"]),Sn=vn.getLayout("cx"),xn=vn.getLayout("cy");vn.graph.eachNode(function(En){rotateNodeLabel(En,Cn,Sn,xn)}),this._firstRender=!1},$e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},$e.prototype._startForceLayoutIteration=function(Ie,Fe){var Ue=this;(function qe(){Ie.step(function(At){Ue.updateLayout(Ue._model),(Ue._layouting=!At)&&(Fe?Ue._layoutTimeout=setTimeout(qe,16):qe())})})()},$e.prototype._updateController=function(Ie,Fe,Ue){var qe=this,At=this._controller,Dt=this._controllerHost,Lt=this.group;if(At.setPointerChecker(function(jt,hn,vn){var bn=Lt.getBoundingRect();return bn.applyTransform(Lt.transform),bn.contain(hn,vn)&&!onIrrelevantElement(jt,Ue,Ie)}),!isViewCoordSys(Ie.coordinateSystem)){At.disable();return}At.enable(Ie.get("roam")),Dt.zoomLimit=Ie.get("scaleLimit"),Dt.zoom=Ie.coordinateSystem.getZoom(),At.off("pan").off("zoom").on("pan",function(jt){updateViewOnPan(Dt,jt.dx,jt.dy),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",dx:jt.dx,dy:jt.dy})}).on("zoom",function(jt){updateViewOnZoom(Dt,jt.scale,jt.originX,jt.originY),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",zoom:jt.scale,originX:jt.originX,originY:jt.originY}),qe._updateNodeAndLinkScale(),adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),qe._lineDraw.updateLayout(),Ue.updateLabelLayout()})},$e.prototype._updateNodeAndLinkScale=function(){var Ie=this._model,Fe=Ie.getData(),Ue=getNodeGlobalScale(Ie);Fe.eachItemGraphicEl(function(qe,At){qe&&qe.setSymbolScale(Ue)})},$e.prototype.updateLayout=function(Ie){adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},$e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},$e.type="graph",$e}(ChartView);function generateNodeKey(xe){return"_EC_"+xe}var Graph=function(){function xe($e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=$e||!1}return xe.prototype.isDirected=function(){return this._directed},xe.prototype.addNode=function($e,Ie){$e=$e==null?""+Ie:""+$e;var Fe=this._nodesMap;if(!Fe[generateNodeKey($e)]){var Ue=new GraphNode($e,Ie);return Ue.hostGraph=this,this.nodes.push(Ue),Fe[generateNodeKey($e)]=Ue,Ue}},xe.prototype.getNodeByIndex=function($e){var Ie=this.data.getRawIndex($e);return this.nodes[Ie]},xe.prototype.getNodeById=function($e){return this._nodesMap[generateNodeKey($e)]},xe.prototype.addEdge=function($e,Ie,Fe){var Ue=this._nodesMap,qe=this._edgesMap;if(isNumber$2($e)&&($e=this.nodes[$e]),isNumber$2(Ie)&&(Ie=this.nodes[Ie]),$e instanceof GraphNode||($e=Ue[generateNodeKey($e)]),Ie instanceof GraphNode||(Ie=Ue[generateNodeKey(Ie)]),!(!$e||!Ie)){var At=$e.id+"-"+Ie.id,Dt=new GraphEdge($e,Ie,Fe);return Dt.hostGraph=this,this._directed&&($e.outEdges.push(Dt),Ie.inEdges.push(Dt)),$e.edges.push(Dt),$e!==Ie&&Ie.edges.push(Dt),this.edges.push(Dt),qe[At]=Dt,Dt}},xe.prototype.getEdgeByIndex=function($e){var Ie=this.edgeData.getRawIndex($e);return this.edges[Ie]},xe.prototype.getEdge=function($e,Ie){$e instanceof GraphNode&&($e=$e.id),Ie instanceof GraphNode&&(Ie=Ie.id);var Fe=this._edgesMap;return this._directed?Fe[$e+"-"+Ie]:Fe[$e+"-"+Ie]||Fe[Ie+"-"+$e]},xe.prototype.eachNode=function($e,Ie){for(var Fe=this.nodes,Ue=Fe.length,qe=0;qe<Ue;qe++)Fe[qe].dataIndex>=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.eachEdge=function($e,Ie){for(var Fe=this.edges,Ue=Fe.length,qe=0;qe<Ue;qe++)Fe[qe].dataIndex>=0&&Fe[qe].node1.dataIndex>=0&&Fe[qe].node2.dataIndex>=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.breadthFirstTraverse=function($e,Ie,Fe,Ue){if(Ie instanceof GraphNode||(Ie=this._nodesMap[generateNodeKey(Ie)]),!!Ie){for(var qe=Fe==="out"?"outEdges":Fe==="in"?"inEdges":"edges",At=0;At<this.nodes.length;At++)this.nodes[At].__visited=!1;if(!$e.call(Ue,Ie,null))for(var Dt=[Ie];Dt.length;)for(var Lt=Dt.shift(),jt=Lt[qe],At=0;At<jt.length;At++){var hn=jt[At],vn=hn.node1===Lt?hn.node2:hn.node1;if(!vn.__visited){if($e.call(Ue,vn,Lt))return;Dt.push(vn),vn.__visited=!0}}}},xe.prototype.update=function(){for(var $e=this.data,Ie=this.edgeData,Fe=this.nodes,Ue=this.edges,qe=0,At=Fe.length;qe<At;qe++)Fe[qe].dataIndex=-1;for(var qe=0,At=$e.count();qe<At;qe++)Fe[$e.getRawIndex(qe)].dataIndex=qe;Ie.filterSelf(function(Dt){var Lt=Ue[Ie.getRawIndex(Dt)];return Lt.node1.dataIndex>=0&&Lt.node2.dataIndex>=0});for(var qe=0,At=Ue.length;qe<At;qe++)Ue[qe].dataIndex=-1;for(var qe=0,At=Ie.count();qe<At;qe++)Ue[Ie.getRawIndex(qe)].dataIndex=qe},xe.prototype.clone=function(){for(var $e=new xe(this._directed),Ie=this.nodes,Fe=this.edges,Ue=0;Ue<Ie.length;Ue++)$e.addNode(Ie[Ue].id,Ie[Ue].dataIndex);for(var Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];$e.addEdge(qe.node1.id,qe.node2.id,qe.dataIndex)}return $e},xe}(),GraphNode=function(){function xe($e,Ie){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=$e??"",this.dataIndex=Ie??-1}return xe.prototype.degree=function(){return this.edges.length},xe.prototype.inDegree=function(){return this.inEdges.length},xe.prototype.outDegree=function(){return this.outEdges.length},xe.prototype.getModel=function($e){if(!(this.dataIndex<0)){var Ie=this.hostGraph,Fe=Ie.data.getItemModel(this.dataIndex);return Fe.getModel($e)}},xe.prototype.getAdjacentDataIndices=function(){for(var $e={edge:[],node:[]},Ie=0;Ie<this.edges.length;Ie++){var Fe=this.edges[Ie];Fe.dataIndex<0||($e.edge.push(Fe.dataIndex),$e.node.push(Fe.node1.dataIndex,Fe.node2.dataIndex))}return $e},xe.prototype.getTrajectoryDataIndices=function(){for(var $e=createHashMap(),Ie=createHashMap(),Fe=0;Fe<this.edges.length;Fe++){var Ue=this.edges[Fe];if(!(Ue.dataIndex<0)){$e.set(Ue.dataIndex,!0);for(var qe=[Ue.node1],At=[Ue.node2],Dt=0;Dt<qe.length;){var Lt=qe[Dt];Dt++,Ie.set(Lt.dataIndex,!0);for(var jt=0;jt<Lt.inEdges.length;jt++)$e.set(Lt.inEdges[jt].dataIndex,!0),qe.push(Lt.inEdges[jt].node1)}for(Dt=0;Dt<At.length;){var hn=At[Dt];Dt++,Ie.set(hn.dataIndex,!0);for(var jt=0;jt<hn.outEdges.length;jt++)$e.set(hn.outEdges[jt].dataIndex,!0),At.push(hn.outEdges[jt].node2)}}}return{edge:$e.keys(),node:Ie.keys()}},xe}(),GraphEdge=function(){function xe($e,Ie,Fe){this.dataIndex=-1,this.node1=$e,this.node2=Ie,this.dataIndex=Fe??-1}return xe.prototype.getModel=function($e){if(!(this.dataIndex<0)){var Ie=this.hostGraph,Fe=Ie.edgeData.getItemModel(this.dataIndex);return Fe.getModel($e)}},xe.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},xe.prototype.getTrajectoryDataIndices=function(){var $e=createHashMap(),Ie=createHashMap();$e.set(this.dataIndex,!0);for(var Fe=[this.node1],Ue=[this.node2],qe=0;qe<Fe.length;){var At=Fe[qe];qe++,Ie.set(At.dataIndex,!0);for(var Dt=0;Dt<At.inEdges.length;Dt++)$e.set(At.inEdges[Dt].dataIndex,!0),Fe.push(At.inEdges[Dt].node1)}for(qe=0;qe<Ue.length;){var Lt=Ue[qe];qe++,Ie.set(Lt.dataIndex,!0);for(var Dt=0;Dt<Lt.outEdges.length;Dt++)$e.set(Lt.outEdges[Dt].dataIndex,!0),Ue.push(Lt.outEdges[Dt].node2)}return{edge:$e.keys(),node:Ie.keys()}},xe}();function createGraphDataProxyMixin(xe,$e){return{getValue:function(Ie){var Fe=this[xe][$e];return Fe.getStore().get(Fe.getDimensionIndex(Ie||"value"),this.dataIndex)},setVisual:function(Ie,Fe){this.dataIndex>=0&&this[xe][$e].setItemVisual(this.dataIndex,Ie,Fe)},getVisual:function(Ie){return this[xe][$e].getItemVisual(this.dataIndex,Ie)},setLayout:function(Ie,Fe){this.dataIndex>=0&&this[xe][$e].setItemLayout(this.dataIndex,Ie,Fe)},getLayout:function(){return this[xe][$e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[xe][$e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[xe][$e].getRawIndex(this.dataIndex)}}}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data"));mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));function createGraphFromNodeEdge(xe,$e,Ie,Fe,Ue){for(var qe=new Graph(Fe),At=0;At<xe.length;At++)qe.addNode(retrieve(xe[At].id,xe[At].name,At),At);for(var Dt=[],Lt=[],jt=0,At=0;At<$e.length;At++){var hn=$e[At],vn=hn.source,bn=hn.target;qe.addEdge(vn,bn,jt)&&(Lt.push(hn),Dt.push(retrieve(convertOptionIdName(hn.id,null),vn+" > "+bn)),jt++)}var _n=Ie.get("coordinateSystem"),wn;if(_n==="cartesian2d"||_n==="polar")wn=createSeriesData(xe,Ie);else{var kn=CoordinateSystemManager.get(_n),Cn=kn?kn.dimensions||[]:[];indexOf(Cn,"value")<0&&Cn.concat(["value"]);var Sn=prepareSeriesDataSchema(xe,{coordDimensions:Cn,encodeDefine:Ie.getEncode()}).dimensions;wn=new SeriesData(Sn,Ie),wn.initData(xe)}var xn=new SeriesData(["value"],Ie);return xn.initData(Lt,Dt),Ue&&Ue(wn,xn),linkSeriesData({mainData:wn,struct:qe,structAttr:"graph",datas:{node:wn,edge:xn},datasAttr:{node:"data",edge:"edgeData"}}),qe.update(),qe}var GraphSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments);var Fe=this;function Ue(){return Fe._categoriesData}this.legendVisualProvider=new LegendVisualProvider(Ue,Ue),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeDefaultAndTheme=function(Ie){xe.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(Ie,"edgeLabel",["show"])},$e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links||[],qe=Ie.data||Ie.nodes||[],At=this;if(qe&&Ue){initCurvenessList(this);var Dt=createGraphFromNodeEdge(qe,Ue,this,!0,Lt);return each$f(Dt.edges,function(jt){createEdgeMapForCurveness(jt.node1,jt.node2,this,jt.dataIndex)},this),Dt.data}function Lt(jt,hn){jt.wrapMethod("getItemModel",function(wn){var kn=At._categoriesModels,Cn=wn.getShallow("category"),Sn=kn[Cn];return Sn&&(Sn.parentModel=wn.parentModel,wn.parentModel=Sn),wn});var vn=Model.prototype.getModel;function bn(wn,kn){var Cn=vn.call(this,wn,kn);return Cn.resolveParentPath=_n,Cn}hn.wrapMethod("getItemModel",function(wn){return wn.resolveParentPath=_n,wn.getModel=bn,wn});function _n(wn){if(wn&&(wn[0]==="label"||wn[1]==="label")){var kn=wn.slice();return wn[0]==="label"?kn[0]="edgeLabel":wn[1]==="label"&&(kn[1]="edgeLabel"),kn}return wn}}},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.getCategoriesData=function(){return this._categoriesData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){if(Ue==="edge"){var qe=this.getData(),At=this.getDataParams(Ie,Ue),Dt=qe.graph.getEdgeByIndex(Ie),Lt=qe.getName(Dt.node1.dataIndex),jt=qe.getName(Dt.node2.dataIndex),hn=[];return Lt!=null&&hn.push(Lt),jt!=null&&hn.push(jt),createTooltipMarkup("nameValue",{name:hn.join(" > "),value:At.value,noValue:At.value==null})}var vn=defaultSeriesFormatTooltip({series:this,dataIndex:Ie,multipleSeries:Fe});return vn},$e.prototype._updateCategoriesData=function(){var Ie=map$1(this.option.categories||[],function(Ue){return Ue.value!=null?Ue:extend$1({value:0},Ue)}),Fe=new SeriesData(["value"],this);Fe.initData(Ie),this._categoriesData=Fe,this._categoriesModels=Fe.mapArray(function(Ue){return Fe.getItemModel(Ue)})},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.isAnimationEnabled=function(){return xe.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},$e.type="series.graph",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel),actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$G(xe){xe.registerChartView(GraphView),xe.registerSeriesModel(GraphSeriesModel),xe.registerProcessor(categoryFilter),xe.registerVisual(categoryVisual),xe.registerVisual(graphEdgeVisual),xe.registerLayout(graphSimpleLayout),xe.registerLayout(xe.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),xe.registerLayout(graphForceLayout),xe.registerCoordinateSystem("graphView",{dimensions:View.dimensions,create:createViewCoordSys}),xe.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop$2),xe.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop$2),xe.registerAction(actionInfo$1,function($e,Ie,Fe){Ie.eachComponent({mainType:"series",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}var PointerShape=function(){function xe(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return xe}(),PointerPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="pointer",Fe}return $e.prototype.getDefaultShape=function(){return new PointerShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Math.cos,qe=Math.sin,At=Fe.r,Dt=Fe.width,Lt=Fe.angle,jt=Fe.x-Ue(Lt)*Dt*(Dt>=At/3?1:2),hn=Fe.y-qe(Lt)*Dt*(Dt>=At/3?1:2);Lt=Fe.angle-Math.PI/2,Ie.moveTo(jt,hn),Ie.lineTo(Fe.x+Ue(Lt)*Dt,Fe.y+qe(Lt)*Dt),Ie.lineTo(Fe.x+Ue(Fe.angle)*At,Fe.y+qe(Fe.angle)*At),Ie.lineTo(Fe.x-Ue(Lt)*Dt,Fe.y-qe(Lt)*Dt),Ie.lineTo(jt,hn)},$e}(Path);function parsePosition(xe,$e){var Ie=xe.get("center"),Fe=$e.getWidth(),Ue=$e.getHeight(),qe=Math.min(Fe,Ue),At=parsePercent(Ie[0],$e.getWidth()),Dt=parsePercent(Ie[1],$e.getHeight()),Lt=parsePercent(xe.get("radius"),qe/2);return{cx:At,cy:Dt,r:Lt}}function formatLabel(xe,$e){var Ie=xe==null?"":xe+"";return $e&&(isString$2($e)?Ie=$e.replace("{value}",Ie):isFunction$2($e)&&(Ie=$e(xe))),Ie}var GaugeView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeAll();var qe=Ie.get(["axisLine","lineStyle","color"]),At=parsePosition(Ie,Ue);this._renderMain(Ie,Fe,Ue,qe,At),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.prototype._renderMain=function(Ie,Fe,Ue,qe,At){var Dt=this.group,Lt=Ie.get("clockwise"),jt=-Ie.get("startAngle")/180*Math.PI,hn=-Ie.get("endAngle")/180*Math.PI,vn=Ie.getModel("axisLine"),bn=vn.get("roundCap"),_n=bn?SausagePath:Sector,wn=vn.get("show"),kn=vn.getModel("lineStyle"),Cn=kn.get("width"),Sn=[jt,hn];normalizeArcAngles(Sn,!Lt),jt=Sn[0],hn=Sn[1];for(var xn=hn-jt,En=jt,Tn=[],An=0;wn&&An<qe.length;An++){var $n=Math.min(Math.max(qe[An][0],0),1);hn=jt+xn*$n;var Pn=new _n({shape:{startAngle:En,endAngle:hn,cx:At.cx,cy:At.cy,clockwise:Lt,r0:At.r-Cn,r:At.r},silent:!0});Pn.setStyle({fill:qe[An][1]}),Pn.setStyle(kn.getLineStyle(["color","width"])),Tn.push(Pn),En=hn}Tn.reverse(),each$f(Tn,function(Mn){return Dt.add(Mn)});var Nn=function(Mn){if(Mn<=0)return qe[0][1];var In;for(In=0;In<qe.length;In++)if(qe[In][0]>=Mn&&(In===0?0:qe[In-1][0])<Mn)return qe[In][1];return qe[In-1][1]};this._renderTicks(Ie,Fe,Ue,Nn,At,jt,hn,Lt,Cn),this._renderTitleAndDetail(Ie,Fe,Ue,Nn,At),this._renderAnchor(Ie,At),this._renderPointer(Ie,Fe,Ue,Nn,At,jt,hn,Lt,Cn)},$e.prototype._renderTicks=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){for(var vn=this.group,bn=At.cx,_n=At.cy,wn=At.r,kn=+Ie.get("min"),Cn=+Ie.get("max"),Sn=Ie.getModel("splitLine"),xn=Ie.getModel("axisTick"),En=Ie.getModel("axisLabel"),Tn=Ie.get("splitNumber"),An=xn.get("splitNumber"),$n=parsePercent(Sn.get("length"),wn),Pn=parsePercent(xn.get("length"),wn),Nn=Dt,Mn=(Lt-Dt)/Tn,In=Mn/An,On=Sn.getModel("lineStyle").getLineStyle(),Rn=xn.getModel("lineStyle").getLineStyle(),Bn=Sn.get("distance"),Vn,Ln,Dn=0;Dn<=Tn;Dn++){if(Vn=Math.cos(Nn),Ln=Math.sin(Nn),Sn.get("show")){var Hn=Bn?Bn+hn:hn,Fn=new Line$1({shape:{x1:Vn*(wn-Hn)+bn,y1:Ln*(wn-Hn)+_n,x2:Vn*(wn-$n-Hn)+bn,y2:Ln*(wn-$n-Hn)+_n},style:On,silent:!0});On.stroke==="auto"&&Fn.setStyle({stroke:qe(Dn/Tn)}),vn.add(Fn)}if(En.get("show")){var Hn=En.get("distance")+Bn,zn=formatLabel(round$3(Dn/Tn*(Cn-kn)+kn),En.get("formatter")),jn=qe(Dn/Tn),Gn=Vn*(wn-$n-Hn)+bn,Wn=Ln*(wn-$n-Hn)+_n,Xn=En.get("rotate"),er=0;Xn==="radial"?(er=-Nn+2*Math.PI,er>Math.PI/2&&(er+=Math.PI)):Xn==="tangential"?er=-Nn-Math.PI/2:isNumber$2(Xn)&&(er=Xn*Math.PI/180),er===0?vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:Ln<-.8?"top":Ln>.8?"bottom":"middle",align:Vn<-.4?"left":Vn>.4?"right":"center"},{inheritColor:jn}),silent:!0})):vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:"middle",align:"center"},{inheritColor:jn}),silent:!0,originX:Gn,originY:Wn,rotation:er}))}if(xn.get("show")&&Dn!==Tn){var Hn=xn.get("distance");Hn=Hn?Hn+hn:hn;for(var rr=0;rr<=An;rr++){Vn=Math.cos(Nn),Ln=Math.sin(Nn);var Jn=new Line$1({shape:{x1:Vn*(wn-Hn)+bn,y1:Ln*(wn-Hn)+_n,x2:Vn*(wn-Pn-Hn)+bn,y2:Ln*(wn-Pn-Hn)+_n},silent:!0,style:Rn});Rn.stroke==="auto"&&Jn.setStyle({stroke:qe((Dn+rr/An)/Tn)}),vn.add(Jn),Nn+=In}Nn-=In}else Nn+=Mn}},$e.prototype._renderPointer=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){var vn=this.group,bn=this._data,_n=this._progressEls,wn=[],kn=Ie.get(["pointer","show"]),Cn=Ie.getModel("progress"),Sn=Cn.get("show"),xn=Ie.getData(),En=xn.mapDimension("value"),Tn=+Ie.get("min"),An=+Ie.get("max"),$n=[Tn,An],Pn=[Dt,Lt];function Nn(In,On){var Rn=xn.getItemModel(In),Bn=Rn.getModel("pointer"),Vn=parsePercent(Bn.get("width"),At.r),Ln=parsePercent(Bn.get("length"),At.r),Dn=Ie.get(["pointer","icon"]),Hn=Bn.get("offsetCenter"),Fn=parsePercent(Hn[0],At.r),zn=parsePercent(Hn[1],At.r),jn=Bn.get("keepAspect"),Gn;return Dn?Gn=createSymbol$1(Dn,Fn-Vn/2,zn-Ln,Vn,Ln,null,jn):Gn=new PointerPath({shape:{angle:-Math.PI/2,width:Vn,r:Ln,x:Fn,y:zn}}),Gn.rotation=-(On+Math.PI/2),Gn.x=At.cx,Gn.y=At.cy,Gn}function Mn(In,On){var Rn=Cn.get("roundCap"),Bn=Rn?SausagePath:Sector,Vn=Cn.get("overlap"),Ln=Vn?Cn.get("width"):hn/xn.count(),Dn=Vn?At.r-Ln:At.r-(In+1)*Ln,Hn=Vn?At.r:At.r-In*Ln,Fn=new Bn({shape:{startAngle:Dt,endAngle:On,cx:At.cx,cy:At.cy,clockwise:jt,r0:Dn,r:Hn}});return Vn&&(Fn.z2=An-xn.get(En,In)%An),Fn}(Sn||kn)&&(xn.diff(bn).add(function(In){var On=xn.get(En,In);if(kn){var Rn=Nn(In,Dt);initProps(Rn,{rotation:-((isNaN(+On)?Pn[0]:linearMap$2(On,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Rn),xn.setItemGraphicEl(In,Rn)}if(Sn){var Bn=Mn(In,Dt),Vn=Cn.get("clip");initProps(Bn,{shape:{endAngle:linearMap$2(On,$n,Pn,Vn)}},Ie),vn.add(Bn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Bn),wn[In]=Bn}}).update(function(In,On){var Rn=xn.get(En,In);if(kn){var Bn=bn.getItemGraphicEl(On),Vn=Bn?Bn.rotation:Dt,Ln=Nn(In,Vn);Ln.rotation=Vn,updateProps$1(Ln,{rotation:-((isNaN(+Rn)?Pn[0]:linearMap$2(Rn,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Ln),xn.setItemGraphicEl(In,Ln)}if(Sn){var Dn=_n[On],Hn=Dn?Dn.shape.endAngle:Dt,Fn=Mn(In,Hn),zn=Cn.get("clip");updateProps$1(Fn,{shape:{endAngle:linearMap$2(Rn,$n,Pn,zn)}},Ie),vn.add(Fn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Fn),wn[In]=Fn}}).execute(),xn.each(function(In){var On=xn.getItemModel(In),Rn=On.getModel("emphasis"),Bn=Rn.get("focus"),Vn=Rn.get("blurScope"),Ln=Rn.get("disabled");if(kn){var Dn=xn.getItemGraphicEl(In),Hn=xn.getItemVisual(In,"style"),Fn=Hn.fill;if(Dn instanceof ZRImage){var zn=Dn.style;Dn.useStyle(extend$1({image:zn.image,x:zn.x,y:zn.y,width:zn.width,height:zn.height},Hn))}else Dn.useStyle(Hn),Dn.type!=="pointer"&&Dn.setColor(Fn);Dn.setStyle(On.getModel(["pointer","itemStyle"]).getItemStyle()),Dn.style.fill==="auto"&&Dn.setStyle("fill",qe(linearMap$2(xn.get(En,In),$n,[0,1],!0))),Dn.z2EmphasisLift=0,setStatesStylesFromModel(Dn,On),toggleHoverEmphasis(Dn,Bn,Vn,Ln)}if(Sn){var jn=wn[In];jn.useStyle(xn.getItemVisual(In,"style")),jn.setStyle(On.getModel(["progress","itemStyle"]).getItemStyle()),jn.z2EmphasisLift=0,setStatesStylesFromModel(jn,On),toggleHoverEmphasis(jn,Bn,Vn,Ln)}}),this._progressEls=wn)},$e.prototype._renderAnchor=function(Ie,Fe){var Ue=Ie.getModel("anchor"),qe=Ue.get("show");if(qe){var At=Ue.get("size"),Dt=Ue.get("icon"),Lt=Ue.get("offsetCenter"),jt=Ue.get("keepAspect"),hn=createSymbol$1(Dt,Fe.cx-At/2+parsePercent(Lt[0],Fe.r),Fe.cy-At/2+parsePercent(Lt[1],Fe.r),At,At,null,jt);hn.z2=Ue.get("showAbove")?1:0,hn.setStyle(Ue.getModel("itemStyle").getItemStyle()),this.group.add(hn)}},$e.prototype._renderTitleAndDetail=function(Ie,Fe,Ue,qe,At){var Dt=this,Lt=Ie.getData(),jt=Lt.mapDimension("value"),hn=+Ie.get("min"),vn=+Ie.get("max"),bn=new Group$3,_n=[],wn=[],kn=Ie.isAnimationEnabled(),Cn=Ie.get(["pointer","showAbove"]);Lt.diff(this._data).add(function(Sn){_n[Sn]=new ZRText({silent:!0}),wn[Sn]=new ZRText({silent:!0})}).update(function(Sn,xn){_n[Sn]=Dt._titleEls[xn],wn[Sn]=Dt._detailEls[xn]}).execute(),Lt.each(function(Sn){var xn=Lt.getItemModel(Sn),En=Lt.get(jt,Sn),Tn=new Group$3,An=qe(linearMap$2(En,[hn,vn],[0,1],!0)),$n=xn.getModel("title");if($n.get("show")){var Pn=$n.get("offsetCenter"),Nn=At.cx+parsePercent(Pn[0],At.r),Mn=At.cy+parsePercent(Pn[1],At.r),In=_n[Sn];In.attr({z2:Cn?0:2,style:createTextStyle($n,{x:Nn,y:Mn,text:Lt.getName(Sn),align:"center",verticalAlign:"middle"},{inheritColor:An})}),Tn.add(In)}var On=xn.getModel("detail");if(On.get("show")){var Rn=On.get("offsetCenter"),Bn=At.cx+parsePercent(Rn[0],At.r),Vn=At.cy+parsePercent(Rn[1],At.r),Ln=parsePercent(On.get("width"),At.r),Dn=parsePercent(On.get("height"),At.r),Hn=Ie.get(["progress","show"])?Lt.getItemVisual(Sn,"style").fill:An,In=wn[Sn],Fn=On.get("formatter");In.attr({z2:Cn?0:2,style:createTextStyle(On,{x:Bn,y:Vn,text:formatLabel(En,Fn),width:isNaN(Ln)?null:Ln,height:isNaN(Dn)?null:Dn,align:"center",verticalAlign:"middle"},{inheritColor:Hn})}),setLabelValueAnimation(In,{normal:On},En,function(jn){return formatLabel(jn,Fn)}),kn&&animateLabelValue(In,Sn,Lt,Ie,{getFormattedLabel:function(jn,Gn,Wn,Xn,er,rr){return formatLabel(rr?rr.interpolatedValue:En,Fn)}}),Tn.add(In)}bn.add(Tn)}),this.group.add(bn),this._titleEls=_n,this._detailEls=wn},$e.type="gauge",$e}(ChartView),GaugeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="itemStyle",Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,["value"])},$e.type="series.gauge",$e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},$e}(SeriesModel);function install$F(xe){xe.registerChartView(GaugeView),xe.registerSeriesModel(GaugeSeriesModel)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=Ue,At=new Polyline$1,Dt=new ZRText;return qe.setTextContent(Dt),Ue.setTextGuideLine(At),Ue.updateData(Ie,Fe,!0),Ue}return $e.prototype.updateData=function(Ie,Fe,Ue){var qe=this,At=Ie.hostModel,Dt=Ie.getItemModel(Fe),Lt=Ie.getItemLayout(Fe),jt=Dt.getModel("emphasis"),hn=Dt.get(opacityAccessPath$1);hn=hn??1,Ue||saveOldStyle(qe),qe.useStyle(Ie.getItemVisual(Fe,"style")),qe.style.lineJoin="round",Ue?(qe.setShape({points:Lt.points}),qe.style.opacity=0,initProps(qe,{style:{opacity:hn}},At,Fe)):updateProps$1(qe,{style:{opacity:hn},shape:{points:Lt.points}},At,Fe),setStatesStylesFromModel(qe,Dt),this._updateLabel(Ie,Fe),toggleHoverEmphasis(this,jt.get("focus"),jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie,Fe){var Ue=this,qe=this.getTextGuideLine(),At=Ue.getTextContent(),Dt=Ie.hostModel,Lt=Ie.getItemModel(Fe),jt=Ie.getItemLayout(Fe),hn=jt.label,vn=Ie.getItemVisual(Fe,"style"),bn=vn.fill;setLabelStyle(At,getLabelStatesModels(Lt),{labelFetcher:Ie.hostModel,labelDataIndex:Fe,defaultOpacity:vn.opacity,defaultText:Ie.getName(Fe)},{normal:{align:hn.textAlign,verticalAlign:hn.verticalAlign}}),Ue.setTextConfig({local:!0,inside:!!hn.inside,insideStroke:bn,outsideFill:bn});var _n=hn.linePoints;qe.setShape({points:_n}),Ue.textGuideLineConfig={anchor:_n?new Point(_n[0][0],_n[0][1]):null},updateProps$1(At,{style:{x:hn.x,y:hn.y}},Dt,Fe),At.attr({rotation:hn.rotation,originX:hn.x,originY:hn.y,z2:10}),setLabelLineStyle(Ue,getLabelLineStatesModels(Lt),{stroke:bn})},$e}(Polygon),FunnelView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreLabelLineUpdate=!0,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._data,Dt=this.group;qe.diff(At).add(function(Lt){var jt=new FunnelPiece(qe,Lt);qe.setItemGraphicEl(Lt,jt),Dt.add(jt)}).update(function(Lt,jt){var hn=At.getItemGraphicEl(jt);hn.updateData(qe,Lt),Dt.add(hn),qe.setItemGraphicEl(Lt,hn)}).remove(function(Lt){var jt=At.getItemGraphicEl(Lt);removeElementWithFadeOut(jt,Ie,Lt)}).execute(),this._data=qe},$e.prototype.remove=function(){this.group.removeAll(),this._data=null},$e.prototype.dispose=function(){},$e.type="funnel",$e}(ChartView),FunnelSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=xe.prototype.getDataParams.call(this,Ie),qe=Fe.mapDimension("value"),At=Fe.getSum(qe);return Ue.percent=At?+(Fe.get(qe,Ie)/At*100).toFixed(2):0,Ue.$vars.push("percent"),Ue},$e.type="series.funnel",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function getViewRect$2(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getSortedIndices(xe,$e){for(var Ie=xe.mapDimension("value"),Fe=xe.mapArray(Ie,function(Lt){return Lt}),Ue=[],qe=$e==="ascending",At=0,Dt=xe.count();At<Dt;At++)Ue[At]=At;return isFunction$2($e)?Ue.sort($e):$e!=="none"&&Ue.sort(function(Lt,jt){return qe?Fe[Lt]-Fe[jt]:Fe[jt]-Fe[Lt]}),Ue}function labelLayout(xe){var $e=xe.hostModel,Ie=$e.get("orient");xe.each(function(Fe){var Ue=xe.getItemModel(Fe),qe=Ue.getModel("label"),At=qe.get("position"),Dt=Ue.getModel("labelLine"),Lt=xe.getItemLayout(Fe),jt=Lt.points,hn=At==="inner"||At==="inside"||At==="center"||At==="insideLeft"||At==="insideRight",vn,bn,_n,wn;if(hn)At==="insideLeft"?(bn=(jt[0][0]+jt[3][0])/2+5,_n=(jt[0][1]+jt[3][1])/2,vn="left"):At==="insideRight"?(bn=(jt[1][0]+jt[2][0])/2-5,_n=(jt[1][1]+jt[2][1])/2,vn="right"):(bn=(jt[0][0]+jt[1][0]+jt[2][0]+jt[3][0])/4,_n=(jt[0][1]+jt[1][1]+jt[2][1]+jt[3][1])/4,vn="center"),wn=[[bn,_n],[bn,_n]];else{var kn=void 0,Cn=void 0,Sn=void 0,xn=void 0,En=Dt.get("length");At==="left"?(kn=(jt[3][0]+jt[0][0])/2,Cn=(jt[3][1]+jt[0][1])/2,Sn=kn-En,bn=Sn-5,vn="right"):At==="right"?(kn=(jt[1][0]+jt[2][0])/2,Cn=(jt[1][1]+jt[2][1])/2,Sn=kn+En,bn=Sn+5,vn="left"):At==="top"?(kn=(jt[3][0]+jt[0][0])/2,Cn=(jt[3][1]+jt[0][1])/2,xn=Cn-En,_n=xn-5,vn="center"):At==="bottom"?(kn=(jt[1][0]+jt[2][0])/2,Cn=(jt[1][1]+jt[2][1])/2,xn=Cn+En,_n=xn+5,vn="center"):At==="rightTop"?(kn=Ie==="horizontal"?jt[3][0]:jt[1][0],Cn=Ie==="horizontal"?jt[3][1]:jt[1][1],Ie==="horizontal"?(xn=Cn-En,_n=xn-5,vn="center"):(Sn=kn+En,bn=Sn+5,vn="top")):At==="rightBottom"?(kn=jt[2][0],Cn=jt[2][1],Ie==="horizontal"?(xn=Cn+En,_n=xn+5,vn="center"):(Sn=kn+En,bn=Sn+5,vn="bottom")):At==="leftTop"?(kn=jt[0][0],Cn=Ie==="horizontal"?jt[0][1]:jt[1][1],Ie==="horizontal"?(xn=Cn-En,_n=xn-5,vn="center"):(Sn=kn-En,bn=Sn-5,vn="right")):At==="leftBottom"?(kn=Ie==="horizontal"?jt[1][0]:jt[3][0],Cn=Ie==="horizontal"?jt[1][1]:jt[2][1],Ie==="horizontal"?(xn=Cn+En,_n=xn+5,vn="center"):(Sn=kn-En,bn=Sn-5,vn="right")):(kn=(jt[1][0]+jt[2][0])/2,Cn=(jt[1][1]+jt[2][1])/2,Ie==="horizontal"?(xn=Cn+En,_n=xn+5,vn="center"):(Sn=kn+En,bn=Sn+5,vn="left")),Ie==="horizontal"?(Sn=kn,bn=Sn):(xn=Cn,_n=xn),wn=[[kn,Cn],[Sn,xn]]}Lt.label={linePoints:wn,x:bn,y:_n,verticalAlign:"middle",textAlign:vn,inside:hn}})}function funnelLayout(xe,$e){xe.eachSeriesByType("funnel",function(Ie){var Fe=Ie.getData(),Ue=Fe.mapDimension("value"),qe=Ie.get("sort"),At=getViewRect$2(Ie,$e),Dt=Ie.get("orient"),Lt=At.width,jt=At.height,hn=getSortedIndices(Fe,qe),vn=At.x,bn=At.y,_n=Dt==="horizontal"?[parsePercent(Ie.get("minSize"),jt),parsePercent(Ie.get("maxSize"),jt)]:[parsePercent(Ie.get("minSize"),Lt),parsePercent(Ie.get("maxSize"),Lt)],wn=Fe.getDataExtent(Ue),kn=Ie.get("min"),Cn=Ie.get("max");kn==null&&(kn=Math.min(wn[0],0)),Cn==null&&(Cn=wn[1]);var Sn=Ie.get("funnelAlign"),xn=Ie.get("gap"),En=Dt==="horizontal"?Lt:jt,Tn=(En-xn*(Fe.count()-1))/Fe.count(),An=function(Vn,Ln){if(Dt==="horizontal"){var Dn=Fe.get(Ue,Vn)||0,Hn=linearMap$2(Dn,[kn,Cn],_n,!0),Fn=void 0;switch(Sn){case"top":Fn=bn;break;case"center":Fn=bn+(jt-Hn)/2;break;case"bottom":Fn=bn+(jt-Hn);break}return[[Ln,Fn],[Ln,Fn+Hn]]}var zn=Fe.get(Ue,Vn)||0,jn=linearMap$2(zn,[kn,Cn],_n,!0),Gn;switch(Sn){case"left":Gn=vn;break;case"center":Gn=vn+(Lt-jn)/2;break;case"right":Gn=vn+Lt-jn;break}return[[Gn,Ln],[Gn+jn,Ln]]};qe==="ascending"&&(Tn=-Tn,xn=-xn,Dt==="horizontal"?vn+=Lt:bn+=jt,hn=hn.reverse());for(var $n=0;$n<hn.length;$n++){var Pn=hn[$n],Nn=hn[$n+1],Mn=Fe.getItemModel(Pn);if(Dt==="horizontal"){var In=Mn.get(["itemStyle","width"]);In==null?In=Tn:(In=parsePercent(In,Lt),qe==="ascending"&&(In=-In));var On=An(Pn,vn),Rn=An(Nn,vn+In);vn+=In+xn,Fe.setItemLayout(Pn,{points:On.concat(Rn.slice().reverse())})}else{var Bn=Mn.get(["itemStyle","height"]);Bn==null?Bn=Tn:(Bn=parsePercent(Bn,jt),qe==="ascending"&&(Bn=-Bn));var On=An(Pn,bn),Rn=An(Nn,bn+Bn);bn+=Bn+xn,Fe.setItemLayout(Pn,{points:On.concat(Rn.slice().reverse())})}}labelLayout(Fe)})}function install$E(xe){xe.registerChartView(FunnelView),xe.registerSeriesModel(FunnelSeriesModel),xe.registerLayout(funnelLayout),xe.registerProcessor(dataFilter$1("funnel"))}var DEFAULT_SMOOTH=.3,ParallelView$1=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._dataGroup=new Group$3,Ie._initialized=!1,Ie}return $e.prototype.init=function(){this.group.add(this._dataGroup)},$e.prototype.render=function(Ie,Fe,Ue,qe){this._progressiveEls=null;var At=this._dataGroup,Dt=Ie.getData(),Lt=this._data,jt=Ie.coordinateSystem,hn=jt.dimensions,vn=makeSeriesScope(Ie);Dt.diff(Lt).add(bn).update(_n).remove(wn).execute();function bn(Cn){var Sn=addEl(Dt,At,Cn,hn,jt);updateElCommon(Sn,Dt,Cn,vn)}function _n(Cn,Sn){var xn=Lt.getItemGraphicEl(Sn),En=createLinePoints(Dt,Cn,hn,jt);Dt.setItemGraphicEl(Cn,xn),updateProps$1(xn,{shape:{points:En}},Ie,Cn),saveOldStyle(xn),updateElCommon(xn,Dt,Cn,vn)}function wn(Cn){var Sn=Lt.getItemGraphicEl(Cn);At.remove(Sn)}if(!this._initialized){this._initialized=!0;var kn=createGridClipShape$2(jt,Ie,function(){setTimeout(function(){At.removeClipPath()})});At.setClipPath(kn)}this._data=Dt},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},$e.prototype.incrementalRender=function(Ie,Fe,Ue){for(var qe=Fe.getData(),At=Fe.coordinateSystem,Dt=At.dimensions,Lt=makeSeriesScope(Fe),jt=this._progressiveEls=[],hn=Ie.start;hn<Ie.end;hn++){var vn=addEl(qe,this._dataGroup,hn,Dt,At);vn.incremental=!0,updateElCommon(vn,qe,hn,Lt),jt.push(vn)}},$e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},$e.type="parallel",$e}(ChartView);function createGridClipShape$2(xe,$e,Ie){var Fe=xe.model,Ue=xe.getRect(),qe=new Rect$2({shape:{x:Ue.x,y:Ue.y,width:Ue.width,height:Ue.height}}),At=Fe.get("layout")==="horizontal"?"width":"height";return qe.setShape(At,0),initProps(qe,{shape:{width:Ue.width,height:Ue.height}},$e,Ie),qe}function createLinePoints(xe,$e,Ie,Fe){for(var Ue=[],qe=0;qe<Ie.length;qe++){var At=Ie[qe],Dt=xe.get(xe.mapDimension(At),$e);isEmptyValue$1(Dt,Fe.getAxis(At).type)||Ue.push(Fe.dataToPoint(Dt,At))}return Ue}function addEl(xe,$e,Ie,Fe,Ue){var qe=createLinePoints(xe,Ie,Fe,Ue),At=new Polyline$1({shape:{points:qe},z2:10});return $e.add(At),xe.setItemGraphicEl(Ie,At),At}function makeSeriesScope(xe){var $e=xe.get("smooth",!0);return $e===!0&&($e=DEFAULT_SMOOTH),$e=numericToNumber($e),eqNaN($e)&&($e=0),{smooth:$e}}function updateElCommon(xe,$e,Ie,Fe){xe.useStyle($e.getItemVisual(Ie,"style")),xe.style.fill=null,xe.setShape("smooth",Fe.smooth);var Ue=$e.getItemModel(Ie),qe=Ue.getModel("emphasis");setStatesStylesFromModel(xe,Ue,"lineStyle"),toggleHoverEmphasis(xe,qe.get("focus"),qe.get("blurScope"),qe.get("disabled"))}function isEmptyValue$1(xe,$e){return $e==="category"?xe==null:xe==null||isNaN(xe)}var ParallelSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="lineStyle",Ie.visualDrawType="stroke",Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:bind$2(makeDefaultEncode,null,this)})},$e.prototype.getRawIndicesByActiveState=function(Ie){var Fe=this.coordinateSystem,Ue=this.getData(),qe=[];return Fe.eachActiveState(Ue,function(At,Dt){Ie===At&&qe.push(Ue.getRawIndex(Dt))}),qe},$e.type="series.parallel",$e.dependencies=["parallel"],$e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},$e}(SeriesModel);function makeDefaultEncode(xe){var $e=xe.ecModel.getComponent("parallel",xe.get("parallelIndex"));if($e){var Ie={};return each$f($e.dimensions,function(Fe){var Ue=convertDimNameToNumber(Fe);Ie[Fe]=Ue}),Ie}}function convertDimNameToNumber(xe){return+xe.replace("dim","")}var opacityAccessPath=["lineStyle","opacity"],parallelVisual={seriesType:"parallel",reset:function(xe,$e){var Ie=xe.coordinateSystem,Fe={normal:xe.get(["lineStyle","opacity"]),active:xe.get("activeOpacity"),inactive:xe.get("inactiveOpacity")};return{progress:function(Ue,qe){Ie.eachActiveState(qe,function(At,Dt){var Lt=Fe[At];if(At==="normal"&&qe.hasItemOption){var jt=qe.getItemModel(Dt).get(opacityAccessPath,!0);jt!=null&&(Lt=jt)}var hn=qe.ensureUniqueItemVisual(Dt,"style");hn.opacity=Lt},Ue.start,Ue.end)}}}};function parallelPreprocessor(xe){createParallelIfNeeded(xe),mergeAxisOptionFromParallel(xe)}function createParallelIfNeeded(xe){if(!xe.parallel){var $e=!1;each$f(xe.series,function(Ie){Ie&&Ie.type==="parallel"&&($e=!0)}),$e&&(xe.parallel=[{}])}}function mergeAxisOptionFromParallel(xe){var $e=normalizeToArray(xe.parallelAxis);each$f($e,function(Ie){if(isObject$4(Ie)){var Fe=Ie.parallelIndex||0,Ue=normalizeToArray(xe.parallel)[Fe];Ue&&Ue.parallelAxisDefault&&merge$1(Ie,Ue.parallelAxisDefault,!1)}})}var CLICK_THRESHOLD=5,ParallelView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this._model=Ie,this._api=Ue,this._handlers||(this._handlers={},each$f(handlers$1,function(qe,At){Ue.getZr().on(At,this._handlers[At]=bind$2(qe,this))},this)),createOrUpdate(this,"_throttledDispatchExpand",Ie.get("axisExpandRate"),"fixRate")},$e.prototype.dispose=function(Ie,Fe){clear$1(this,"_throttledDispatchExpand"),each$f(this._handlers,function(Ue,qe){Fe.getZr().off(qe,Ue)}),this._handlers=null},$e.prototype._throttledDispatchExpand=function(Ie){this._dispatchExpand(Ie)},$e.prototype._dispatchExpand=function(Ie){Ie&&this._api.dispatchAction(extend$1({type:"parallelAxisExpand"},Ie))},$e.type="parallel",$e}(ComponentView),handlers$1={mousedown:function(xe){checkTrigger(this,"click")&&(this._mouseDownPoint=[xe.offsetX,xe.offsetY])},mouseup:function(xe){var $e=this._mouseDownPoint;if(checkTrigger(this,"click")&&$e){var Ie=[xe.offsetX,xe.offsetY],Fe=Math.pow($e[0]-Ie[0],2)+Math.pow($e[1]-Ie[1],2);if(Fe>CLICK_THRESHOLD)return;var Ue=this._model.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]);Ue.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:Ue.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(xe){if(!(this._mouseDownPoint||!checkTrigger(this,"mousemove"))){var $e=this._model,Ie=$e.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]),Fe=Ie.behavior;Fe==="jump"&&this._throttledDispatchExpand.debounceNextCall($e.get("axisExpandDebounce")),this._throttledDispatchExpand(Fe==="none"?null:{axisExpandWindow:Ie.axisExpandWindow,animation:Fe==="jump"?null:{duration:0}})}}};function checkTrigger(xe,$e){var Ie=xe._model;return Ie.get("axisExpandable")&&Ie.get("axisExpandTriggerOn")===$e}var ParallelModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){xe.prototype.init.apply(this,arguments),this.mergeOption({})},$e.prototype.mergeOption=function(Ie){var Fe=this.option;Ie&&merge$1(Fe,Ie,!0),this._initDimensions()},$e.prototype.contains=function(Ie,Fe){var Ue=Ie.get("parallelIndex");return Ue!=null&&Fe.getComponent("parallel",Ue)===this},$e.prototype.setAxisExpand=function(Ie){each$f(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(Fe){Ie.hasOwnProperty(Fe)&&(this.option[Fe]=Ie[Fe])},this)},$e.prototype._initDimensions=function(){var Ie=this.dimensions=[],Fe=this.parallelAxisIndex=[],Ue=filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(qe){return(qe.get("parallelIndex")||0)===this.componentIndex},this);each$f(Ue,function(qe){Ie.push("dim"+qe.get("dim")),Fe.push(qe.componentIndex)})},$e.type="parallel",$e.dependencies=["parallelAxis"],$e.layoutMode="box",$e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},$e}(ComponentModel),ParallelAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.type=qe||"value",Dt.axisIndex=At,Dt}return $e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},$e}(Axis);function sliderMove(xe,$e,Ie,Fe,Ue,qe){xe=xe||0;var At=Ie[1]-Ie[0];if(Ue!=null&&(Ue=restrict$1(Ue,[0,At])),qe!=null&&(qe=Math.max(qe,Ue??0)),Fe==="all"){var Dt=Math.abs($e[1]-$e[0]);Dt=restrict$1(Dt,[0,At]),Ue=qe=restrict$1(Dt,[Ue,qe]),Fe=0}$e[0]=restrict$1($e[0],Ie),$e[1]=restrict$1($e[1],Ie);var Lt=getSpanSign($e,Fe);$e[Fe]+=xe;var jt=Ue||0,hn=Ie.slice();Lt.sign<0?hn[0]+=jt:hn[1]-=jt,$e[Fe]=restrict$1($e[Fe],hn);var vn;return vn=getSpanSign($e,Fe),Ue!=null&&(vn.sign!==Lt.sign||vn.span<Ue)&&($e[1-Fe]=$e[Fe]+Lt.sign*Ue),vn=getSpanSign($e,Fe),qe!=null&&vn.span>qe&&($e[1-Fe]=$e[Fe]+vn.sign*qe),$e}function getSpanSign(xe,$e){var Ie=xe[$e]-xe[1-$e];return{span:Math.abs(Ie),sign:Ie>0?-1:Ie<0?1:$e?-1:1}}function restrict$1(xe,$e){return Math.min($e[1]!=null?$e[1]:1/0,Math.max($e[0]!=null?$e[0]:-1/0,xe))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function xe($e,Ie,Fe){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=$e.dimensions,this._model=$e,this._init($e,Ie,Fe)}return xe.prototype._init=function($e,Ie,Fe){var Ue=$e.dimensions,qe=$e.parallelAxisIndex;each$a(Ue,function(At,Dt){var Lt=qe[Dt],jt=Ie.getComponent("parallelAxis",Lt),hn=this._axesMap.set(At,new ParallelAxis(At,createScaleByModel$1(jt),[0,0],jt.get("type"),Lt)),vn=hn.type==="category";hn.onBand=vn&&jt.get("boundaryGap"),hn.inverse=jt.get("inverse"),jt.axis=hn,hn.model=jt,hn.coordinateSystem=jt.coordinateSystem=this},this)},xe.prototype.update=function($e,Ie){this._updateAxesFromSeries(this._model,$e)},xe.prototype.containPoint=function($e){var Ie=this._makeLayoutInfo(),Fe=Ie.axisBase,Ue=Ie.layoutBase,qe=Ie.pixelDimIndex,At=$e[1-qe],Dt=$e[qe];return At>=Fe&&At<=Fe+Ie.axisLength&&Dt>=Ue&&Dt<=Ue+Ie.layoutLength},xe.prototype.getModel=function(){return this._model},xe.prototype._updateAxesFromSeries=function($e,Ie){Ie.eachSeries(function(Fe){if($e.contains(Fe,Ie)){var Ue=Fe.getData();each$a(this.dimensions,function(qe){var At=this._axesMap.get(qe);At.scale.unionExtentFromData(Ue,Ue.mapDimension(qe)),niceScaleExtent(At.scale,At.model)},this)}},this)},xe.prototype.resize=function($e,Ie){this._rect=getLayoutRect($e.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),this._layoutAxes()},xe.prototype.getRect=function(){return this._rect},xe.prototype._makeLayoutInfo=function(){var $e=this._model,Ie=this._rect,Fe=["x","y"],Ue=["width","height"],qe=$e.get("layout"),At=qe==="horizontal"?0:1,Dt=Ie[Ue[At]],Lt=[0,Dt],jt=this.dimensions.length,hn=restrict($e.get("axisExpandWidth"),Lt),vn=restrict($e.get("axisExpandCount")||0,[0,jt]),bn=$e.get("axisExpandable")&&jt>3&&jt>vn&&vn>1&&hn>0&&Dt>0,_n=$e.get("axisExpandWindow"),wn;if(_n)wn=restrict(_n[1]-_n[0],Lt),_n[1]=_n[0]+wn;else{wn=restrict(hn*(vn-1),Lt);var kn=$e.get("axisExpandCenter")||mathFloor(jt/2);_n=[hn*kn-wn/2],_n[1]=_n[0]+wn}var Cn=(Dt-wn)/(jt-vn);Cn<3&&(Cn=0);var Sn=[mathFloor(round(_n[0]/hn,1))+1,mathCeil(round(_n[1]/hn,1))-1],xn=Cn/hn*_n[0];return{layout:qe,pixelDimIndex:At,layoutBase:Ie[Fe[At]],layoutLength:Dt,axisBase:Ie[Fe[1-At]],axisLength:Ie[Ue[1-At]],axisExpandable:bn,axisExpandWidth:hn,axisCollapseWidth:Cn,axisExpandWindow:_n,axisCount:jt,winInnerIndices:Sn,axisExpandWindow0Pos:xn}},xe.prototype._layoutAxes=function(){var $e=this._rect,Ie=this._axesMap,Fe=this.dimensions,Ue=this._makeLayoutInfo(),qe=Ue.layout;Ie.each(function(At){var Dt=[0,Ue.axisLength],Lt=At.inverse?1:0;At.setExtent(Dt[Lt],Dt[1-Lt])}),each$a(Fe,function(At,Dt){var Lt=(Ue.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(Dt,Ue),jt={horizontal:{x:Lt.position,y:Ue.axisLength},vertical:{x:0,y:Lt.position}},hn={horizontal:PI$1/2,vertical:0},vn=[jt[qe].x+$e.x,jt[qe].y+$e.y],bn=hn[qe],_n=create$1();rotate(_n,_n,bn),translate$1(_n,_n,vn),this._axesLayout[At]={position:vn,rotation:bn,transform:_n,axisNameAvailableWidth:Lt.axisNameAvailableWidth,axisLabelShow:Lt.axisLabelShow,nameTruncateMaxWidth:Lt.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},xe.prototype.getAxis=function($e){return this._axesMap.get($e)},xe.prototype.dataToPoint=function($e,Ie){return this.axisCoordToPoint(this._axesMap.get(Ie).dataToCoord($e),Ie)},xe.prototype.eachActiveState=function($e,Ie,Fe,Ue){Fe==null&&(Fe=0),Ue==null&&(Ue=$e.count());var qe=this._axesMap,At=this.dimensions,Dt=[],Lt=[];each$f(At,function(Cn){Dt.push($e.mapDimension(Cn)),Lt.push(qe.get(Cn).model)});for(var jt=this.hasAxisBrushed(),hn=Fe;hn<Ue;hn++){var vn=void 0;if(!jt)vn="normal";else{vn="active";for(var bn=$e.getValues(Dt,hn),_n=0,wn=At.length;_n<wn;_n++){var kn=Lt[_n].getActiveState(bn[_n]);if(kn==="inactive"){vn="inactive";break}}}Ie(vn,hn)}},xe.prototype.hasAxisBrushed=function(){for(var $e=this.dimensions,Ie=this._axesMap,Fe=!1,Ue=0,qe=$e.length;Ue<qe;Ue++)Ie.get($e[Ue]).model.getActiveState()!=="normal"&&(Fe=!0);return Fe},xe.prototype.axisCoordToPoint=function($e,Ie){var Fe=this._axesLayout[Ie];return applyTransform([$e,0],Fe.transform)},xe.prototype.getAxisLayout=function($e){return clone$4(this._axesLayout[$e])},xe.prototype.getSlidedAxisExpandWindow=function($e){var Ie=this._makeLayoutInfo(),Fe=Ie.pixelDimIndex,Ue=Ie.axisExpandWindow.slice(),qe=Ue[1]-Ue[0],At=[0,Ie.axisExpandWidth*(Ie.axisCount-1)];if(!this.containPoint($e))return{behavior:"none",axisExpandWindow:Ue};var Dt=$e[Fe]-Ie.layoutBase-Ie.axisExpandWindow0Pos,Lt,jt="slide",hn=Ie.axisCollapseWidth,vn=this._model.get("axisExpandSlideTriggerArea"),bn=vn[0]!=null;if(hn)bn&&hn&&Dt<qe*vn[0]?(jt="jump",Lt=Dt-qe*vn[2]):bn&&hn&&Dt>qe*(1-vn[0])?(jt="jump",Lt=Dt-qe*(1-vn[2])):(Lt=Dt-qe*vn[1])>=0&&(Lt=Dt-qe*(1-vn[1]))<=0&&(Lt=0),Lt*=Ie.axisExpandWidth/hn,Lt?sliderMove(Lt,Ue,At,"all"):jt="none";else{var _n=Ue[1]-Ue[0],wn=At[1]*Dt/_n;Ue=[mathMax$2(0,wn-_n/2)],Ue[1]=mathMin$2(At[1],Ue[0]+_n),Ue[0]=Ue[1]-_n}return{axisExpandWindow:Ue,behavior:jt}},xe}();function restrict(xe,$e){return mathMin$2(mathMax$2(xe,$e[0]),$e[1])}function layoutAxisWithoutExpand(xe,$e){var Ie=$e.layoutLength/($e.axisCount-1);return{position:Ie*xe,axisNameAvailableWidth:Ie,axisLabelShow:!0}}function layoutAxisWithExpand(xe,$e){var Ie=$e.layoutLength,Fe=$e.axisExpandWidth,Ue=$e.axisCount,qe=$e.axisCollapseWidth,At=$e.winInnerIndices,Dt,Lt=qe,jt=!1,hn;return xe<At[0]?(Dt=xe*qe,hn=qe):xe<=At[1]?(Dt=$e.axisExpandWindow0Pos+xe*Fe-$e.axisExpandWindow[0],Lt=Fe,jt=!0):(Dt=Ie-(Ue-1-xe)*qe,hn=qe),{position:Dt,axisNameAvailableWidth:Lt,axisLabelShow:jt,nameTruncateMaxWidth:hn}}function createParallelCoordSys(xe,$e){var Ie=[];return xe.eachComponent("parallel",function(Fe,Ue){var qe=new Parallel(Fe,xe,$e);qe.name="parallel_"+Ue,qe.resize(Fe,$e),Fe.coordinateSystem=qe,qe.model=Fe,Ie.push(qe)}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="parallel"){var Ue=Fe.getReferringComponents("parallel",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue.coordinateSystem}}),Ie}var parallelCoordSysCreator={create:createParallelCoordSys},ParallelAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.activeIntervals=[],Ie}return $e.prototype.getAreaSelectStyle=function(){return makeStyleMapper([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},$e.prototype.setActiveIntervals=function(Ie){var Fe=this.activeIntervals=clone$4(Ie);if(Fe)for(var Ue=Fe.length-1;Ue>=0;Ue--)asc$2(Fe[Ue])},$e.prototype.getActiveState=function(Ie){var Fe=this.activeIntervals;if(!Fe.length)return"normal";if(Ie==null||isNaN(+Ie))return"inactive";if(Fe.length===1){var Ue=Fe[0];if(Ue[0]<=Ie&&Ie<=Ue[1])return"active"}else for(var qe=0,At=Fe.length;qe<At;qe++)if(Fe[qe][0]<=Ie&&Ie<=Fe[qe][1])return"active";return"inactive"},$e}(ComponentModel);mixin(ParallelAxisModel,AxisModelCommonMixin);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(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe._track=[],Fe._covers=[],Fe._handlers={},Fe._zr=Ie,Fe.group=new Group$3,Fe._uid="brushController_"+baseUID++,each$f(pointerHandlers,function(Ue,qe){this._handlers[qe]=bind$2(Ue,this)},Fe),Fe}return $e.prototype.enableBrush=function(Ie){return this._brushType&&this._doDisableBrush(),Ie.brushType&&this._doEnableBrush(Ie),this},$e.prototype._doEnableBrush=function(Ie){var Fe=this._zr;this._enableGlobalPan||take(Fe,MUTEX_RESOURCE_KEY,this._uid),each$f(this._handlers,function(Ue,qe){Fe.on(qe,Ue)}),this._brushType=Ie.brushType,this._brushOption=merge$1(clone$4(DEFAULT_BRUSH_OPT),Ie,!0)},$e.prototype._doDisableBrush=function(){var Ie=this._zr;release(Ie,MUTEX_RESOURCE_KEY,this._uid),each$f(this._handlers,function(Fe,Ue){Ie.off(Ue,Fe)}),this._brushType=this._brushOption=null},$e.prototype.setPanels=function(Ie){if(Ie&&Ie.length){var Fe=this._panels={};each$f(Ie,function(Ue){Fe[Ue.panelId]=clone$4(Ue)})}else this._panels=null;return this},$e.prototype.mount=function(Ie){Ie=Ie||{},this._enableGlobalPan=Ie.enableGlobalPan;var Fe=this.group;return this._zr.add(Fe),Fe.attr({x:Ie.x||0,y:Ie.y||0,rotation:Ie.rotation||0,scaleX:Ie.scaleX||1,scaleY:Ie.scaleY||1}),this._transform=Fe.getLocalTransform(),this},$e.prototype.updateCovers=function(Ie){Ie=map$1(Ie,function(bn){return merge$1(clone$4(DEFAULT_BRUSH_OPT),bn,!0)});var Fe="\0-brush-index-",Ue=this._covers,qe=this._covers=[],At=this,Dt=this._creatingCover;return new DataDiffer(Ue,Ie,jt,Lt).add(hn).update(hn).remove(vn).execute(),this;function Lt(bn,_n){return(bn.id!=null?bn.id:Fe+_n)+"-"+bn.brushType}function jt(bn,_n){return Lt(bn.__brushOption,_n)}function hn(bn,_n){var wn=Ie[bn];if(_n!=null&&Ue[_n]===Dt)qe[bn]=Ue[_n];else{var kn=qe[bn]=_n!=null?(Ue[_n].__brushOption=wn,Ue[_n]):endCreating(At,createCover(At,wn));updateCoverAfterCreation(At,kn)}}function vn(bn){Ue[bn]!==Dt&&At.group.remove(Ue[bn])}},$e.prototype.unmount=function(){return this.enableBrush(!1),clearCovers(this),this._zr.remove(this.group),this},$e.prototype.dispose=function(){this.unmount(),this.off()},$e}(Eventful);function createCover(xe,$e){var Ie=coverRenderers[$e.brushType].createCover(xe,$e);return Ie.__brushOption=$e,updateZ$1(Ie,$e),xe.group.add(Ie),Ie}function endCreating(xe,$e){var Ie=getCoverRenderer($e);return Ie.endCreating&&(Ie.endCreating(xe,$e),updateZ$1($e,$e.__brushOption)),$e}function updateCoverShape(xe,$e){var Ie=$e.__brushOption;getCoverRenderer($e).updateCoverShape(xe,$e,Ie.range,Ie)}function updateZ$1(xe,$e){var Ie=$e.z;Ie==null&&(Ie=COVER_Z),xe.traverse(function(Fe){Fe.z=Ie,Fe.z2=Ie})}function updateCoverAfterCreation(xe,$e){getCoverRenderer($e).updateCommon(xe,$e),updateCoverShape(xe,$e)}function getCoverRenderer(xe){return coverRenderers[xe.__brushOption.brushType]}function getPanelByPoint(xe,$e,Ie){var Fe=xe._panels;if(!Fe)return BRUSH_PANEL_GLOBAL;var Ue,qe=xe._transform;return each$f(Fe,function(At){At.isTargetByCursor($e,Ie,qe)&&(Ue=At)}),Ue}function getPanelByCover(xe,$e){var Ie=xe._panels;if(!Ie)return BRUSH_PANEL_GLOBAL;var Fe=$e.__brushOption.panelId;return Fe!=null?Ie[Fe]:BRUSH_PANEL_GLOBAL}function clearCovers(xe){var $e=xe._covers,Ie=$e.length;return each$f($e,function(Fe){xe.group.remove(Fe)},xe),$e.length=0,!!Ie}function trigger(xe,$e){var Ie=map$1(xe._covers,function(Fe){var Ue=Fe.__brushOption,qe=clone$4(Ue.range);return{brushType:Ue.brushType,panelId:Ue.panelId,range:qe}});xe.trigger("brush",{areas:Ie,isEnd:!!$e.isEnd,removeOnClick:!!$e.removeOnClick})}function shouldShowCover(xe){var $e=xe._track;if(!$e.length)return!1;var Ie=$e[$e.length-1],Fe=$e[0],Ue=Ie[0]-Fe[0],qe=Ie[1]-Fe[1],At=mathPow(Ue*Ue+qe*qe,.5);return At>UNSELECT_THRESHOLD}function getTrackEnds(xe){var $e=xe.length-1;return $e<0&&($e=0),[xe[0],xe[$e]]}function createBaseRectCover(xe,$e,Ie,Fe){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,xe,$e,Ue,["n","s","w","e"]),ondragend:curry$1(trigger,$e,{isEnd:!0})})),each$f(Fe,function(qe){Ue.add(new Rect$2({name:qe.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,xe,$e,Ue,qe),ondragend:curry$1(trigger,$e,{isEnd:!0})}))}),Ue}function updateBaseRect(xe,$e,Ie,Fe){var Ue=Fe.brushStyle.lineWidth||0,qe=mathMax$1(Ue,MIN_RESIZE_LINE_WIDTH),At=Ie[0][0],Dt=Ie[1][0],Lt=At-Ue/2,jt=Dt-Ue/2,hn=Ie[0][1],vn=Ie[1][1],bn=hn-qe+Ue/2,_n=vn-qe+Ue/2,wn=hn-At,kn=vn-Dt,Cn=wn+Ue,Sn=kn+Ue;updateRectShape(xe,$e,"main",At,Dt,wn,kn),Fe.transformable&&(updateRectShape(xe,$e,"w",Lt,jt,qe,Sn),updateRectShape(xe,$e,"e",bn,jt,qe,Sn),updateRectShape(xe,$e,"n",Lt,jt,Cn,qe),updateRectShape(xe,$e,"s",Lt,_n,Cn,qe),updateRectShape(xe,$e,"nw",Lt,jt,qe,qe),updateRectShape(xe,$e,"ne",bn,jt,qe,qe),updateRectShape(xe,$e,"sw",Lt,_n,qe,qe),updateRectShape(xe,$e,"se",bn,_n,qe,qe))}function updateCommon$1(xe,$e){var Ie=$e.__brushOption,Fe=Ie.transformable,Ue=$e.childAt(0);Ue.useStyle(makeStyle(Ie)),Ue.attr({silent:!Fe,cursor:Fe?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(qe){var At=$e.childOfName(qe.join("")),Dt=qe.length===1?getGlobalDirection1(xe,qe[0]):getGlobalDirection2(xe,qe);At&&At.attr({silent:!Fe,invisible:!Fe,cursor:Fe?CURSOR_MAP[Dt]+"-resize":null})})}function updateRectShape(xe,$e,Ie,Fe,Ue,qe,At){var Dt=$e.childOfName(Ie);Dt&&Dt.setShape(pointsToRect(clipByPanel(xe,$e,[[Fe,Ue],[Fe+qe,Ue+At]])))}function makeStyle(xe){return defaults$1({strokeNoScale:!0},xe.brushStyle)}function formatRectRange(xe,$e,Ie,Fe){var Ue=[mathMin$1(xe,Ie),mathMin$1($e,Fe)],qe=[mathMax$1(xe,Ie),mathMax$1($e,Fe)];return[[Ue[0],qe[0]],[Ue[1],qe[1]]]}function getTransform(xe){return getTransform$1(xe.group)}function getGlobalDirection1(xe,$e){var Ie={w:"left",e:"right",n:"top",s:"bottom"},Fe={left:"w",right:"e",top:"n",bottom:"s"},Ue=transformDirection(Ie[$e],getTransform(xe));return Fe[Ue]}function getGlobalDirection2(xe,$e){var Ie=[getGlobalDirection1(xe,$e[0]),getGlobalDirection1(xe,$e[1])];return(Ie[0]==="e"||Ie[0]==="w")&&Ie.reverse(),Ie.join("")}function driftRect(xe,$e,Ie,Fe,Ue,qe){var At=Ie.__brushOption,Dt=xe.toRectRange(At.range),Lt=toLocalDelta($e,Ue,qe);each$f(Fe,function(jt){var hn=DIRECTION_MAP[jt];Dt[hn[0]][hn[1]]+=Lt[hn[0]]}),At.range=xe.fromRectRange(formatRectRange(Dt[0][0],Dt[1][0],Dt[0][1],Dt[1][1])),updateCoverAfterCreation($e,Ie),trigger($e,{isEnd:!1})}function driftPolygon(xe,$e,Ie,Fe){var Ue=$e.__brushOption.range,qe=toLocalDelta(xe,Ie,Fe);each$f(Ue,function(At){At[0]+=qe[0],At[1]+=qe[1]}),updateCoverAfterCreation(xe,$e),trigger(xe,{isEnd:!1})}function toLocalDelta(xe,$e,Ie){var Fe=xe.group,Ue=Fe.transformCoordToLocal($e,Ie),qe=Fe.transformCoordToLocal(0,0);return[Ue[0]-qe[0],Ue[1]-qe[1]]}function clipByPanel(xe,$e,Ie){var Fe=getPanelByCover(xe,$e);return Fe&&Fe!==BRUSH_PANEL_GLOBAL?Fe.clipPath(Ie,xe._transform):clone$4(Ie)}function pointsToRect(xe){var $e=mathMin$1(xe[0][0],xe[1][0]),Ie=mathMin$1(xe[0][1],xe[1][1]),Fe=mathMax$1(xe[0][0],xe[1][0]),Ue=mathMax$1(xe[0][1],xe[1][1]);return{x:$e,y:Ie,width:Fe-$e,height:Ue-Ie}}function resetCursor(xe,$e,Ie){if(!(!xe._brushType||isOutsideZrArea(xe,$e.offsetX,$e.offsetY))){var Fe=xe._zr,Ue=xe._covers,qe=getPanelByPoint(xe,$e,Ie);if(!xe._dragging)for(var At=0;At<Ue.length;At++){var Dt=Ue[At].__brushOption;if(qe&&(qe===BRUSH_PANEL_GLOBAL||Dt.panelId===qe.panelId)&&coverRenderers[Dt.brushType].contain(Ue[At],Ie[0],Ie[1]))return}qe&&Fe.setCursorStyle("crosshair")}}function preventDefault(xe){var $e=xe.event;$e.preventDefault&&$e.preventDefault()}function mainShapeContain(xe,$e,Ie){return xe.childOfName("main").contain($e,Ie)}function updateCoverByMouse(xe,$e,Ie,Fe){var Ue=xe._creatingCover,qe=xe._creatingPanel,At=xe._brushOption,Dt;if(xe._track.push(Ie.slice()),shouldShowCover(xe)||Ue){if(qe&&!Ue){At.brushMode==="single"&&clearCovers(xe);var Lt=clone$4(At);Lt.brushType=determineBrushType(Lt.brushType,qe),Lt.panelId=qe===BRUSH_PANEL_GLOBAL?null:qe.panelId,Ue=xe._creatingCover=createCover(xe,Lt),xe._covers.push(Ue)}if(Ue){var jt=coverRenderers[determineBrushType(xe._brushType,qe)],hn=Ue.__brushOption;hn.range=jt.getCreatingRange(clipByPanel(xe,Ue,xe._track)),Fe&&(endCreating(xe,Ue),jt.updateCommon(xe,Ue)),updateCoverShape(xe,Ue),Dt={isEnd:Fe}}}else Fe&&At.brushMode==="single"&&At.removeOnClick&&getPanelByPoint(xe,$e,Ie)&&clearCovers(xe)&&(Dt={isEnd:Fe,removeOnClick:!0});return Dt}function determineBrushType(xe,$e){return xe==="auto"?$e.defaultBrushType:xe}var pointerHandlers={mousedown:function(xe){if(this._dragging)handleDragEnd(this,xe);else if(!xe.target||!xe.target.draggable){preventDefault(xe);var $e=this.group.transformCoordToLocal(xe.offsetX,xe.offsetY);this._creatingCover=null;var Ie=this._creatingPanel=getPanelByPoint(this,xe,$e);Ie&&(this._dragging=!0,this._track=[$e.slice()])}},mousemove:function(xe){var $e=xe.offsetX,Ie=xe.offsetY,Fe=this.group.transformCoordToLocal($e,Ie);if(resetCursor(this,xe,Fe),this._dragging){preventDefault(xe);var Ue=updateCoverByMouse(this,xe,Fe,!1);Ue&&trigger(this,Ue)}},mouseup:function(xe){handleDragEnd(this,xe)}};function handleDragEnd(xe,$e){if(xe._dragging){preventDefault($e);var Ie=$e.offsetX,Fe=$e.offsetY,Ue=xe.group.transformCoordToLocal(Ie,Fe),qe=updateCoverByMouse(xe,$e,Ue,!0);xe._dragging=!1,xe._track=[],xe._creatingCover=null,qe&&trigger(xe,qe)}}function isOutsideZrArea(xe,$e,Ie){var Fe=xe._zr;return $e<0||$e>Fe.getWidth()||Ie<0||Ie>Fe.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(xe,$e){function Ie(Fe){return Fe}return createBaseRectCover({toRectRange:Ie,fromRectRange:Ie},xe,$e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(xe){var $e=getTrackEnds(xe);return formatRectRange($e[1][0],$e[1][1],$e[0][0],$e[0][1])},updateCoverShape:function(xe,$e,Ie,Fe){updateBaseRect(xe,$e,Ie,Fe)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(xe,$e){var Ie=new Group$3;return Ie.add(new Polyline$1({name:"main",style:makeStyle($e),silent:!0})),Ie},getCreatingRange:function(xe){return xe},endCreating:function(xe,$e){$e.remove($e.childAt(0)),$e.add(new Polygon({name:"main",draggable:!0,drift:curry$1(driftPolygon,xe,$e),ondragend:curry$1(trigger,xe,{isEnd:!0})}))},updateCoverShape:function(xe,$e,Ie,Fe){$e.childAt(0).setShape({points:clipByPanel(xe,$e,Ie)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(xe){return{createCover:function($e,Ie){return createBaseRectCover({toRectRange:function(Fe){var Ue=[Fe,[0,100]];return xe&&Ue.reverse(),Ue},fromRectRange:function(Fe){return Fe[xe]}},$e,Ie,[[["w"],["e"]],[["n"],["s"]]][xe])},getCreatingRange:function($e){var Ie=getTrackEnds($e),Fe=mathMin$1(Ie[0][xe],Ie[1][xe]),Ue=mathMax$1(Ie[0][xe],Ie[1][xe]);return[Fe,Ue]},updateCoverShape:function($e,Ie,Fe,Ue){var qe,At=getPanelByCover($e,Ie);if(At!==BRUSH_PANEL_GLOBAL&&At.getLinearBrushOtherExtent)qe=At.getLinearBrushOtherExtent(xe);else{var Dt=$e._zr;qe=[0,[Dt.getWidth(),Dt.getHeight()][1-xe]]}var Lt=[Fe,qe];xe&&Lt.reverse(),updateBaseRect($e,Ie,Lt,Ue)},updateCommon:updateCommon$1,contain:mainShapeContain}}function makeRectPanelClipPath(xe){return xe=normalizeRect(xe),function($e){return clipPointsByRect($e,xe)}}function makeLinearBrushOtherExtent(xe,$e){return xe=normalizeRect(xe),function(Ie){var Fe=$e??Ie,Ue=Fe?xe.width:xe.height,qe=Fe?xe.x:xe.y;return[qe,qe+(Ue||0)]}}function makeRectIsTargetByCursor(xe,$e,Ie){var Fe=normalizeRect(xe);return function(Ue,qe){return Fe.contain(qe[0],qe[1])&&!onIrrelevantElement(Ue,$e,Ie)}}function normalizeRect(xe){return BoundingRect.create(xe)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){xe.prototype.init.apply(this,arguments),(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$2(this._onBrush,this))},$e.prototype.render=function(Ie,Fe,Ue,qe){if(!fromAxisAreaSelect(Ie,Fe,qe)){this.axisModel=Ie,this.api=Ue,this.group.removeAll();var At=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!Ie.get("show")){var Dt=getCoordSysModel(Ie,Fe),Lt=Dt.coordinateSystem,jt=Ie.getAreaSelectStyle(),hn=jt.width,vn=Ie.axis.dim,bn=Lt.getAxisLayout(vn),_n=extend$1({strokeContainThreshold:hn},bn),wn=new AxisBuilder(Ie,_n);each$f(elementList$1,wn.add,wn),this._axisGroup.add(wn.getGroup()),this._refreshBrushController(_n,jt,Ie,Dt,hn,Ue),groupTransition(At,this._axisGroup,Ie)}}},$e.prototype._refreshBrushController=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ue.axis.getExtent(),jt=Lt[1]-Lt[0],hn=Math.min(30,Math.abs(jt)*.1),vn=BoundingRect.create({x:Lt[0],y:-At/2,width:jt,height:At});vn.x-=hn,vn.width+=2*hn,this._brushController.mount({enableGlobalPan:!0,rotation:Ie.rotation,x:Ie.position[0],y:Ie.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(vn),isTargetByCursor:makeRectIsTargetByCursor(vn,Dt,qe),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(vn,0)}]).enableBrush({brushType:"lineX",brushStyle:Fe,removeOnClick:!0}).updateCovers(getCoverInfoList(Ue))},$e.prototype._onBrush=function(Ie){var Fe=Ie.areas,Ue=this.axisModel,qe=Ue.axis,At=map$1(Fe,function(Dt){return[qe.coordToData(Dt.range[0],!0),qe.coordToData(Dt.range[1],!0)]});(!Ue.option.realtime===Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:Ue.id,intervals:At})},$e.prototype.dispose=function(){this._brushController.dispose()},$e.type="parallelAxis",$e}(ComponentView);function fromAxisAreaSelect(xe,$e,Ie){return Ie&&Ie.type==="axisAreaSelect"&&$e.findComponents({mainType:"parallelAxis",query:Ie})[0]===xe}function getCoverInfoList(xe){var $e=xe.axis;return map$1(xe.activeIntervals,function(Ie){return{brushType:"lineX",panelId:"pl",range:[$e.dataToCoord(Ie[0],!0),$e.dataToCoord(Ie[1],!0)]}})}function getCoordSysModel(xe,$e){return $e.getComponent("parallel",xe.get("parallelIndex"))}var actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(xe){xe.registerAction(actionInfo,function($e,Ie){Ie.eachComponent({mainType:"parallelAxis",query:$e},function(Fe){Fe.axis.model.setActiveIntervals($e.intervals)})}),xe.registerAction("parallelAxisExpand",function($e,Ie){Ie.eachComponent({mainType:"parallel",query:$e},function(Fe){Fe.setAxisExpand($e)})})}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$D(xe){xe.registerComponentView(ParallelView),xe.registerComponentModel(ParallelModel),xe.registerCoordinateSystem("parallel",parallelCoordSysCreator),xe.registerPreprocessor(parallelPreprocessor),xe.registerComponentModel(ParallelAxisModel),xe.registerComponentView(ParallelAxisView),axisModelCreator(xe,"parallel",ParallelAxisModel,defaultAxisOption),installParallelActions(xe)}function install$C(xe){use(install$D),xe.registerChartView(ParallelView$1),xe.registerSeriesModel(ParallelSeriesModel),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,parallelVisual)}var SankeyPathShape=function(){function xe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return xe}(),SankeyPath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SankeyPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.extent;Ie.moveTo(Fe.x1,Fe.y1),Ie.bezierCurveTo(Fe.cpx1,Fe.cpy1,Fe.cpx2,Fe.cpy2,Fe.x2,Fe.y2),Fe.orient==="vertical"?(Ie.lineTo(Fe.x2+Ue,Fe.y2),Ie.bezierCurveTo(Fe.cpx2+Ue,Fe.cpy2,Fe.cpx1+Ue,Fe.cpy1,Fe.x1+Ue,Fe.y1)):(Ie.lineTo(Fe.x2,Fe.y2+Ue),Ie.bezierCurveTo(Fe.cpx2,Fe.cpy2+Ue,Fe.cpx1,Fe.cpy1+Ue,Fe.x1,Fe.y1+Ue)),Ie.closePath()},$e.prototype.highlight=function(){enterEmphasis(this)},$e.prototype.downplay=function(){leaveEmphasis(this)},$e}(Path),SankeyView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._focusAdjacencyDisabled=!1,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.getGraph(),Dt=this.group,Lt=Ie.layoutInfo,jt=Lt.width,hn=Lt.height,vn=Ie.getData(),bn=Ie.getData("edge"),_n=Ie.get("orient");this._model=Ie,Dt.removeAll(),Dt.x=Lt.x,Dt.y=Lt.y,At.eachEdge(function(wn){var kn=new SankeyPath,Cn=getECData(kn);Cn.dataIndex=wn.dataIndex,Cn.seriesIndex=Ie.seriesIndex,Cn.dataType="edge";var Sn=wn.getModel(),xn=Sn.getModel("lineStyle"),En=xn.get("curveness"),Tn=wn.node1.getLayout(),An=wn.node1.getModel(),$n=An.get("localX"),Pn=An.get("localY"),Nn=wn.node2.getLayout(),Mn=wn.node2.getModel(),In=Mn.get("localX"),On=Mn.get("localY"),Rn=wn.getLayout(),Bn,Vn,Ln,Dn,Hn,Fn,zn,jn;kn.shape.extent=Math.max(1,Rn.dy),kn.shape.orient=_n,_n==="vertical"?(Bn=($n!=null?$n*jt:Tn.x)+Rn.sy,Vn=(Pn!=null?Pn*hn:Tn.y)+Tn.dy,Ln=(In!=null?In*jt:Nn.x)+Rn.ty,Dn=On!=null?On*hn:Nn.y,Hn=Bn,Fn=Vn*(1-En)+Dn*En,zn=Ln,jn=Vn*En+Dn*(1-En)):(Bn=($n!=null?$n*jt:Tn.x)+Tn.dx,Vn=(Pn!=null?Pn*hn:Tn.y)+Rn.sy,Ln=In!=null?In*jt:Nn.x,Dn=(On!=null?On*hn:Nn.y)+Rn.ty,Hn=Bn*(1-En)+Ln*En,Fn=Vn,zn=Bn*En+Ln*(1-En),jn=Dn),kn.setShape({x1:Bn,y1:Vn,x2:Ln,y2:Dn,cpx1:Hn,cpy1:Fn,cpx2:zn,cpy2:jn}),kn.useStyle(xn.getItemStyle()),applyCurveStyle(kn.style,_n,wn);var Gn=""+Sn.get("value"),Wn=getLabelStatesModels(Sn,"edgeLabel");setLabelStyle(kn,Wn,{labelFetcher:{getFormattedLabel:function(rr,Jn,qn,Yn,ar,tr){return Ie.getFormattedLabel(rr,Jn,"edge",Yn,retrieve3(ar,Wn.normal&&Wn.normal.get("formatter"),Gn),tr)}},labelDataIndex:wn.dataIndex,defaultText:Gn}),kn.setTextConfig({position:"inside"});var Xn=Sn.getModel("emphasis");setStatesStylesFromModel(kn,Sn,"lineStyle",function(rr){var Jn=rr.getItemStyle();return applyCurveStyle(Jn,_n,wn),Jn}),Dt.add(kn),bn.setItemGraphicEl(wn.dataIndex,kn);var er=Xn.get("focus");toggleHoverEmphasis(kn,er==="adjacency"?wn.getAdjacentDataIndices():er==="trajectory"?wn.getTrajectoryDataIndices():er,Xn.get("blurScope"),Xn.get("disabled"))}),At.eachNode(function(wn){var kn=wn.getLayout(),Cn=wn.getModel(),Sn=Cn.get("localX"),xn=Cn.get("localY"),En=Cn.getModel("emphasis"),Tn=new Rect$2({shape:{x:Sn!=null?Sn*jt:kn.x,y:xn!=null?xn*hn:kn.y,width:kn.dx,height:kn.dy},style:Cn.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(Tn,getLabelStatesModels(Cn),{labelFetcher:{getFormattedLabel:function($n,Pn){return Ie.getFormattedLabel($n,Pn,"node")}},labelDataIndex:wn.dataIndex,defaultText:wn.id}),Tn.disableLabelAnimation=!0,Tn.setStyle("fill",wn.getVisual("color")),Tn.setStyle("decal",wn.getVisual("style").decal),setStatesStylesFromModel(Tn,Cn),Dt.add(Tn),vn.setItemGraphicEl(wn.dataIndex,Tn),getECData(Tn).dataType="node";var An=En.get("focus");toggleHoverEmphasis(Tn,An==="adjacency"?wn.getAdjacentDataIndices():An==="trajectory"?wn.getTrajectoryDataIndices():An,En.get("blurScope"),En.get("disabled"))}),vn.eachItemGraphicEl(function(wn,kn){var Cn=vn.getItemModel(kn);Cn.get("draggable")&&(wn.drift=function(Sn,xn){qe._focusAdjacencyDisabled=!0,this.shape.x+=Sn,this.shape.y+=xn,this.dirty(),Ue.dispatchAction({type:"dragNode",seriesId:Ie.id,dataIndex:vn.getRawIndex(kn),localX:this.shape.x/jt,localY:this.shape.y/hn})},wn.ondragend=function(){qe._focusAdjacencyDisabled=!1},wn.draggable=!0,wn.cursor="move")}),!this._data&&Ie.isAnimationEnabled()&&Dt.setClipPath(createGridClipShape$1(Dt.getBoundingRect(),Ie,function(){Dt.removeClipPath()})),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.type="sankey",$e}(ChartView);function applyCurveStyle(xe,$e,Ie){switch(xe.fill){case"source":xe.fill=Ie.node1.getVisual("color"),xe.decal=Ie.node1.getVisual("style").decal;break;case"target":xe.fill=Ie.node2.getVisual("color"),xe.decal=Ie.node2.getVisual("style").decal;break;case"gradient":var Fe=Ie.node1.getVisual("color"),Ue=Ie.node2.getVisual("color");isString$2(Fe)&&isString$2(Ue)&&(xe.fill=new LinearGradient(0,0,+($e==="horizontal"),+($e==="vertical"),[{color:Fe,offset:0},{color:Ue,offset:1}]))}}function createGridClipShape$1(xe,$e,Ie){var Fe=new Rect$2({shape:{x:xe.x-10,y:xe.y-10,width:0,height:xe.height+20}});return initProps(Fe,{shape:{width:xe.width+20}},$e,Ie),Fe}var SankeySeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links,qe=Ie.data||Ie.nodes,At=Ie.levels;this.levelModels=[];for(var Dt=this.levelModels,Lt=0;Lt<At.length;Lt++)At[Lt].depth!=null&&At[Lt].depth>=0&&(Dt[At[Lt].depth]=new Model(At[Lt],this,Fe));if(qe&&Ue){var jt=createGraphFromNodeEdge(qe,Ue,this,!0,hn);return jt.data}function hn(vn,bn){vn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getData().getItemLayout(wn);if(Cn){var Sn=Cn.depth,xn=kn.levelModels[Sn];xn&&(_n.parentModel=xn)}return _n}),bn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getGraph().getEdgeByIndex(wn),Sn=Cn.node1.getLayout();if(Sn){var xn=Sn.depth,En=kn.levelModels[xn];En&&(_n.parentModel=En)}return _n})}},$e.prototype.setNodePosition=function(Ie,Fe){var Ue=this.option.data||this.option.nodes,qe=Ue[Ie];qe.localX=Fe[0],qe.localY=Fe[1]},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){function qe(_n){return isNaN(_n)||_n==null}if(Ue==="edge"){var At=this.getDataParams(Ie,Ue),Dt=At.data,Lt=At.value,jt=Dt.source+" -- "+Dt.target;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:qe(Lt)})}else{var hn=this.getGraph().getNodeByIndex(Ie),vn=hn.getLayout().value,bn=this.getDataParams(Ie,Ue).data.name;return createTooltipMarkup("nameValue",{name:bn!=null?bn+"":null,value:vn,noValue:qe(vn)})}},$e.prototype.optionUpdated=function(){},$e.prototype.getDataParams=function(Ie,Fe){var Ue=xe.prototype.getDataParams.call(this,Ie,Fe);if(Ue.value==null&&Fe==="node"){var qe=this.getGraph().getNodeByIndex(Ie),At=qe.getLayout().value;Ue.value=At}return Ue},$e.type="series.sankey",$e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},$e}(SeriesModel);function sankeyLayout(xe,$e){xe.eachSeriesByType("sankey",function(Ie){var Fe=Ie.get("nodeWidth"),Ue=Ie.get("nodeGap"),qe=getViewRect$1(Ie,$e);Ie.layoutInfo=qe;var At=qe.width,Dt=qe.height,Lt=Ie.getGraph(),jt=Lt.nodes,hn=Lt.edges;computeNodeValues(jt);var vn=filter(jt,function(kn){return kn.getLayout().value===0}),bn=vn.length!==0?0:Ie.get("layoutIterations"),_n=Ie.get("orient"),wn=Ie.get("nodeAlign");layoutSankey(jt,hn,Fe,Ue,At,Dt,bn,_n,wn)})}function getViewRect$1(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function layoutSankey(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){computeNodeBreadths(xe,$e,Ie,Ue,qe,Dt,Lt),computeNodeDepths(xe,$e,qe,Ue,Fe,At,Dt),computeEdgeDepths(xe,Dt)}function computeNodeValues(xe){each$f(xe,function($e){var Ie=sum$1($e.outEdges,getEdgeValue),Fe=sum$1($e.inEdges,getEdgeValue),Ue=$e.getValue()||0,qe=Math.max(Ie,Fe,Ue);$e.setLayout({value:qe},!0)})}function computeNodeBreadths(xe,$e,Ie,Fe,Ue,qe,At){for(var Dt=[],Lt=[],jt=[],hn=[],vn=0,bn=0;bn<$e.length;bn++)Dt[bn]=1;for(var bn=0;bn<xe.length;bn++)Lt[bn]=xe[bn].inEdges.length,Lt[bn]===0&&jt.push(xe[bn]);for(var _n=-1;jt.length;){for(var wn=0;wn<jt.length;wn++){var kn=jt[wn],Cn=kn.hostGraph.data.getRawDataItem(kn.dataIndex),Sn=Cn.depth!=null&&Cn.depth>=0;Sn&&Cn.depth>_n&&(_n=Cn.depth),kn.setLayout({depth:Sn?Cn.depth:vn},!0),qe==="vertical"?kn.setLayout({dy:Ie},!0):kn.setLayout({dx:Ie},!0);for(var xn=0;xn<kn.outEdges.length;xn++){var En=kn.outEdges[xn],Tn=$e.indexOf(En);Dt[Tn]=0;var An=En.node2,$n=xe.indexOf(An);--Lt[$n]===0&&hn.indexOf(An)<0&&hn.push(An)}}++vn,jt=hn,hn=[]}for(var bn=0;bn<Dt.length;bn++)if(Dt[bn]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var Pn=_n>vn-1?_n:vn-1;At&&At!=="left"&&adjustNodeWithNodeAlign(xe,At,qe,Pn);var Nn=qe==="vertical"?(Ue-Ie)/Pn:(Fe-Ie)/Pn;scaleNodeBreadths(xe,Nn,qe)}function isNodeDepth(xe){var $e=xe.hostGraph.data.getRawDataItem(xe.dataIndex);return $e.depth!=null&&$e.depth>=0}function adjustNodeWithNodeAlign(xe,$e,Ie,Fe){if($e==="right"){for(var Ue=[],qe=xe,At=0;qe.length;){for(var Dt=0;Dt<qe.length;Dt++){var Lt=qe[Dt];Lt.setLayout({skNodeHeight:At},!0);for(var jt=0;jt<Lt.inEdges.length;jt++){var hn=Lt.inEdges[jt];Ue.indexOf(hn.node1)<0&&Ue.push(hn.node1)}}qe=Ue,Ue=[],++At}each$f(xe,function(vn){isNodeDepth(vn)||vn.setLayout({depth:Math.max(0,Fe-vn.getLayout().skNodeHeight)},!0)})}else $e==="justify"&&moveSinksRight(xe,Fe)}function moveSinksRight(xe,$e){each$f(xe,function(Ie){!isNodeDepth(Ie)&&!Ie.outEdges.length&&Ie.setLayout({depth:$e},!0)})}function scaleNodeBreadths(xe,$e,Ie){each$f(xe,function(Fe){var Ue=Fe.getLayout().depth*$e;Ie==="vertical"?Fe.setLayout({y:Ue},!0):Fe.setLayout({x:Ue},!0)})}function computeNodeDepths(xe,$e,Ie,Fe,Ue,qe,At){var Dt=prepareNodesByBreadth(xe,At);initializeNodeDepth(Dt,$e,Ie,Fe,Ue,At),resolveCollisions(Dt,Ue,Ie,Fe,At);for(var Lt=1;qe>0;qe--)Lt*=.99,relaxRightToLeft(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At),relaxLeftToRight(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At)}function prepareNodesByBreadth(xe,$e){var Ie=[],Fe=$e==="vertical"?"y":"x",Ue=groupData(xe,function(qe){return qe.getLayout()[Fe]});return Ue.keys.sort(function(qe,At){return qe-At}),each$f(Ue.keys,function(qe){Ie.push(Ue.buckets.get(qe))}),Ie}function initializeNodeDepth(xe,$e,Ie,Fe,Ue,qe){var At=1/0;each$f(xe,function(Dt){var Lt=Dt.length,jt=0;each$f(Dt,function(vn){jt+=vn.getLayout().value});var hn=qe==="vertical"?(Fe-(Lt-1)*Ue)/jt:(Ie-(Lt-1)*Ue)/jt;hn<At&&(At=hn)}),each$f(xe,function(Dt){each$f(Dt,function(Lt,jt){var hn=Lt.getLayout().value*At;qe==="vertical"?(Lt.setLayout({x:jt},!0),Lt.setLayout({dx:hn},!0)):(Lt.setLayout({y:jt},!0),Lt.setLayout({dy:hn},!0))})}),each$f($e,function(Dt){var Lt=+Dt.getValue()*At;Dt.setLayout({dy:Lt},!0)})}function resolveCollisions(xe,$e,Ie,Fe,Ue){var qe=Ue==="vertical"?"x":"y";each$f(xe,function(At){At.sort(function(kn,Cn){return kn.getLayout()[qe]-Cn.getLayout()[qe]});for(var Dt,Lt,jt,hn=0,vn=At.length,bn=Ue==="vertical"?"dx":"dy",_n=0;_n<vn;_n++)Lt=At[_n],jt=hn-Lt.getLayout()[qe],jt>0&&(Dt=Lt.getLayout()[qe]+jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e;var wn=Ue==="vertical"?Fe:Ie;if(jt=hn-$e-wn,jt>0){Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0),hn=Dt;for(var _n=vn-2;_n>=0;--_n)Lt=At[_n],jt=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e-hn,jt>0&&(Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]}})}function relaxRightToLeft(xe,$e,Ie){each$f(xe.slice().reverse(),function(Fe){each$f(Fe,function(Ue){if(Ue.outEdges.length){var qe=sum$1(Ue.outEdges,weightedTarget,Ie)/sum$1(Ue.outEdges,getEdgeValue);if(isNaN(qe)){var At=Ue.outEdges.length;qe=At?sum$1(Ue.outEdges,centerTarget,Ie)/At:0}if(Ie==="vertical"){var Dt=Ue.getLayout().x+(qe-center(Ue,Ie))*$e;Ue.setLayout({x:Dt},!0)}else{var Lt=Ue.getLayout().y+(qe-center(Ue,Ie))*$e;Ue.setLayout({y:Lt},!0)}}})})}function weightedTarget(xe,$e){return center(xe.node2,$e)*xe.getValue()}function centerTarget(xe,$e){return center(xe.node2,$e)}function weightedSource(xe,$e){return center(xe.node1,$e)*xe.getValue()}function centerSource(xe,$e){return center(xe.node1,$e)}function center(xe,$e){return $e==="vertical"?xe.getLayout().x+xe.getLayout().dx/2:xe.getLayout().y+xe.getLayout().dy/2}function getEdgeValue(xe){return xe.getValue()}function sum$1(xe,$e,Ie){for(var Fe=0,Ue=xe.length,qe=-1;++qe<Ue;){var At=+$e(xe[qe],Ie);isNaN(At)||(Fe+=At)}return Fe}function relaxLeftToRight(xe,$e,Ie){each$f(xe,function(Fe){each$f(Fe,function(Ue){if(Ue.inEdges.length){var qe=sum$1(Ue.inEdges,weightedSource,Ie)/sum$1(Ue.inEdges,getEdgeValue);if(isNaN(qe)){var At=Ue.inEdges.length;qe=At?sum$1(Ue.inEdges,centerSource,Ie)/At:0}if(Ie==="vertical"){var Dt=Ue.getLayout().x+(qe-center(Ue,Ie))*$e;Ue.setLayout({x:Dt},!0)}else{var Lt=Ue.getLayout().y+(qe-center(Ue,Ie))*$e;Ue.setLayout({y:Lt},!0)}}})})}function computeEdgeDepths(xe,$e){var Ie=$e==="vertical"?"x":"y";each$f(xe,function(Fe){Fe.outEdges.sort(function(Ue,qe){return Ue.node2.getLayout()[Ie]-qe.node2.getLayout()[Ie]}),Fe.inEdges.sort(function(Ue,qe){return Ue.node1.getLayout()[Ie]-qe.node1.getLayout()[Ie]})}),each$f(xe,function(Fe){var Ue=0,qe=0;each$f(Fe.outEdges,function(At){At.setLayout({sy:Ue},!0),Ue+=At.getLayout().dy}),each$f(Fe.inEdges,function(At){At.setLayout({ty:qe},!0),qe+=At.getLayout().dy})})}function sankeyVisual(xe){xe.eachSeriesByType("sankey",function($e){var Ie=$e.getGraph(),Fe=Ie.nodes,Ue=Ie.edges;if(Fe.length){var qe=1/0,At=-1/0;each$f(Fe,function(Dt){var Lt=Dt.getLayout().value;Lt<qe&&(qe=Lt),Lt>At&&(At=Lt)}),each$f(Fe,function(Dt){var Lt=new VisualMapping({type:"color",mappingMethod:"linear",dataExtent:[qe,At],visual:$e.get("color")}),jt=Lt.mapValueToVisual(Dt.getLayout().value),hn=Dt.getModel().get(["itemStyle","color"]);hn!=null?(Dt.setVisual("color",hn),Dt.setVisual("style",{fill:hn})):(Dt.setVisual("color",jt),Dt.setVisual("style",{fill:jt}))})}Ue.length&&each$f(Ue,function(Dt){var Lt=Dt.getModel().get("lineStyle");Dt.setVisual("style",Lt)})})}function install$B(xe){xe.registerChartView(SankeyView),xe.registerSeriesModel(SankeySeriesModel),xe.registerLayout(sankeyLayout),xe.registerVisual(sankeyVisual),xe.registerAction({type:"dragNode",event:"dragnode",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"sankey",query:$e},function(Fe){Fe.setNodePosition($e.dataIndex,[$e.localX,$e.localY])})})}var WhiskerBoxCommonMixin=function(){function xe(){}return xe.prototype.getInitialData=function($e,Ie){var Fe,Ue=Ie.getComponent("xAxis",this.get("xAxisIndex")),qe=Ie.getComponent("yAxis",this.get("yAxisIndex")),At=Ue.get("type"),Dt=qe.get("type"),Lt;At==="category"?($e.layout="horizontal",Fe=Ue.getOrdinalMeta(),Lt=!0):Dt==="category"?($e.layout="vertical",Fe=qe.getOrdinalMeta(),Lt=!0):$e.layout=$e.layout||"horizontal";var jt=["x","y"],hn=$e.layout==="horizontal"?0:1,vn=this._baseAxisDim=jt[hn],bn=jt[1-hn],_n=[Ue,qe],wn=_n[hn].get("type"),kn=_n[1-hn].get("type"),Cn=$e.data;if(Cn&&Lt){var Sn=[];each$f(Cn,function(Tn,An){var $n;isArray$2(Tn)?($n=Tn.slice(),Tn.unshift(An)):isArray$2(Tn.value)?($n=extend$1({},Tn),$n.value=$n.value.slice(),Tn.value.unshift(An)):$n=Tn,Sn.push($n)}),$e.data=Sn}var xn=this.defaultValueDimensions,En=[{name:vn,type:getDimensionTypeByAxis(wn),ordinalMeta:Fe,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:bn,type:getDimensionTypeByAxis(kn),dimsDef:xn.slice()}];return createSeriesDataSimply(this,{coordDimensions:En,dimensionsCount:xn.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,En,this)})},xe.prototype.getBaseAxis=function(){var $e=this._baseAxisDim;return this.ecModel.getComponent($e+"Axis",this.get($e+"AxisIndex")).axis},xe}(),BoxplotSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],Ie.visualDrawType="stroke",Ie}return $e.type="series.boxplot",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},$e}(SeriesModel);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);var BoxplotView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this.group,Dt=this._data;this._data||At.removeAll();var Lt=Ie.get("layout")==="horizontal"?1:0;qe.diff(Dt).add(function(jt){if(qe.hasValue(jt)){var hn=qe.getItemLayout(jt),vn=createNormalBox$1(hn,qe,jt,Lt,!0);qe.setItemGraphicEl(jt,vn),At.add(vn)}}).update(function(jt,hn){var vn=Dt.getItemGraphicEl(hn);if(!qe.hasValue(jt)){At.remove(vn);return}var bn=qe.getItemLayout(jt);vn?(saveOldStyle(vn),updateNormalBoxData(bn,vn,qe,jt)):vn=createNormalBox$1(bn,qe,jt,Lt),At.add(vn),qe.setItemGraphicEl(jt,vn)}).remove(function(jt){var hn=Dt.getItemGraphicEl(jt);hn&&At.remove(hn)}).execute(),this._data=qe},$e.prototype.remove=function(Ie){var Fe=this.group,Ue=this._data;this._data=null,Ue&&Ue.eachItemGraphicEl(function(qe){qe&&Fe.remove(qe)})},$e.type="boxplot",$e}(ChartView),BoxPathShape=function(){function xe(){}return xe}(),BoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="boxplotBoxPath",Fe}return $e.prototype.getDefaultShape=function(){return new BoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0;for(Ie.moveTo(Ue[qe][0],Ue[qe][1]),qe++;qe<4;qe++)Ie.lineTo(Ue[qe][0],Ue[qe][1]);for(Ie.closePath();qe<Ue.length;qe++)Ie.moveTo(Ue[qe][0],Ue[qe][1]),qe++,Ie.lineTo(Ue[qe][0],Ue[qe][1])},$e}(Path);function createNormalBox$1(xe,$e,Ie,Fe,Ue){var qe=xe.ends,At=new BoxPath({shape:{points:Ue?transInit$1(qe,Fe,xe):qe}});return updateNormalBoxData(xe,At,$e,Ie,Ue),At}function updateNormalBoxData(xe,$e,Ie,Fe,Ue){var qe=Ie.hostModel,At=graphic[Ue?"initProps":"updateProps"];At($e,{shape:{points:xe.ends}},qe,Fe),$e.useStyle(Ie.getItemVisual(Fe,"style")),$e.style.strokeNoScale=!0,$e.z2=100;var Dt=Ie.getItemModel(Fe),Lt=Dt.getModel("emphasis");setStatesStylesFromModel($e,Dt),toggleHoverEmphasis($e,Lt.get("focus"),Lt.get("blurScope"),Lt.get("disabled"))}function transInit$1(xe,$e,Ie){return map$1(xe,function(Fe){return Fe=Fe.slice(),Fe[$e]=Ie.initBaseline,Fe})}var each$9=each$f;function boxplotLayout(xe){var $e=groupSeriesByAxis(xe);each$9($e,function(Ie){var Fe=Ie.seriesModels;Fe.length&&(calculateBase(Ie),each$9(Fe,function(Ue,qe){layoutSingleSeries(Ue,Ie.boxOffsetList[qe],Ie.boxWidthList[qe])}))})}function groupSeriesByAxis(xe){var $e=[],Ie=[];return xe.eachSeriesByType("boxplot",function(Fe){var Ue=Fe.getBaseAxis(),qe=indexOf(Ie,Ue);qe<0&&(qe=Ie.length,Ie[qe]=Ue,$e[qe]={axis:Ue,seriesModels:[]}),$e[qe].seriesModels.push(Fe)}),$e}function calculateBase(xe){var $e=xe.axis,Ie=xe.seriesModels,Fe=Ie.length,Ue=xe.boxWidthList=[],qe=xe.boxOffsetList=[],At=[],Dt;if($e.type==="category")Dt=$e.getBandWidth();else{var Lt=0;each$9(Ie,function(wn){Lt=Math.max(Lt,wn.getData().count())});var jt=$e.getExtent();Dt=Math.abs(jt[1]-jt[0])/Lt}each$9(Ie,function(wn){var kn=wn.get("boxWidth");isArray$2(kn)||(kn=[kn,kn]),At.push([parsePercent(kn[0],Dt)||0,parsePercent(kn[1],Dt)||0])});var hn=Dt*.8-2,vn=hn/Fe*.3,bn=(hn-vn*(Fe-1))/Fe,_n=bn/2-hn/2;each$9(Ie,function(wn,kn){qe.push(_n),_n+=vn+bn,Ue.push(Math.min(Math.max(bn,At[kn][0]),At[kn][1]))})}function layoutSingleSeries(xe,$e,Ie){var Fe=xe.coordinateSystem,Ue=xe.getData(),qe=Ie/2,At=xe.get("layout")==="horizontal"?0:1,Dt=1-At,Lt=["x","y"],jt=Ue.mapDimension(Lt[At]),hn=Ue.mapDimensionsAll(Lt[Dt]);if(jt==null||hn.length<5)return;for(var vn=0;vn<Ue.count();vn++){var bn=Ue.get(jt,vn),_n=En(bn,hn[2],vn),wn=En(bn,hn[0],vn),kn=En(bn,hn[1],vn),Cn=En(bn,hn[3],vn),Sn=En(bn,hn[4],vn),xn=[];Tn(xn,kn,!1),Tn(xn,Cn,!0),xn.push(wn,kn,Sn,Cn),An(xn,wn),An(xn,Sn),An(xn,_n),Ue.setItemLayout(vn,{initBaseline:_n[Dt],ends:xn})}function En($n,Pn,Nn){var Mn=Ue.get(Pn,Nn),In=[];In[At]=$n,In[Dt]=Mn;var On;return isNaN($n)||isNaN(Mn)?On=[NaN,NaN]:(On=Fe.dataToPoint(In),On[At]+=$e),On}function Tn($n,Pn,Nn){var Mn=Pn.slice(),In=Pn.slice();Mn[At]+=qe,In[At]-=qe,Nn?$n.push(Mn,In):$n.push(In,Mn)}function An($n,Pn){var Nn=Pn.slice(),Mn=Pn.slice();Nn[At]-=qe,Mn[At]+=qe,$n.push(Nn,Mn)}}function prepareBoxplotData(xe,$e){$e=$e||{};for(var Ie=[],Fe=[],Ue=$e.boundIQR,qe=Ue==="none"||Ue===0,At=0;At<xe.length;At++){var Dt=asc$2(xe[At].slice()),Lt=quantile(Dt,.25),jt=quantile(Dt,.5),hn=quantile(Dt,.75),vn=Dt[0],bn=Dt[Dt.length-1],_n=(Ue??1.5)*(hn-Lt),wn=qe?vn:Math.max(vn,Lt-_n),kn=qe?bn:Math.min(bn,hn+_n),Cn=$e.itemNameFormatter,Sn=isFunction$2(Cn)?Cn({value:At}):isString$2(Cn)?Cn.replace("{value}",At+""):At+"";Ie.push([Sn,wn,Lt,jt,hn,kn]);for(var xn=0;xn<Dt.length;xn++){var En=Dt[xn];if(En<wn||En>kn){var Tn=[Sn,En];Fe.push(Tn)}}}return{boxData:Ie,outliers:Fe}}var boxplotTransform={type:"echarts:boxplot",transform:function xe($e){var Ie=$e.upstream;if(Ie.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){var Fe="";throwError$1(Fe)}var Ue=prepareBoxplotData(Ie.getRawData(),$e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:Ue.boxData},{data:Ue.outliers}]}};function install$A(xe){xe.registerSeriesModel(BoxplotSeriesModel),xe.registerChartView(BoxplotView),xe.registerLayout(boxplotLayout),xe.registerTransform(boxplotTransform)}var SKIP_PROPS=["color","borderColor"],CandlestickView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(Ie),this._isLargeDraw?this._renderLarge(Ie):this._renderNormal(Ie)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this._clear(),this._updateDrawMode(Ie)},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(Ie,Fe):this._incrementalRenderNormal(Ie,Fe)},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._updateDrawMode=function(Ie){var Fe=Ie.pipelineContext.large;(this._isLargeDraw==null||Fe!==this._isLargeDraw)&&(this._isLargeDraw=Fe,this._clear())},$e.prototype._renderNormal=function(Ie){var Fe=Ie.getData(),Ue=this._data,qe=this.group,At=Fe.getLayout("isSimpleBox"),Dt=Ie.get("clip",!0),Lt=Ie.coordinateSystem,jt=Lt.getArea&&Lt.getArea();this._data||qe.removeAll(),Fe.diff(Ue).add(function(hn){if(Fe.hasValue(hn)){var vn=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,vn))return;var bn=createNormalBox(vn,hn,!0);initProps(bn,{shape:{points:vn.ends}},Ie,hn),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}}).update(function(hn,vn){var bn=Ue.getItemGraphicEl(vn);if(!Fe.hasValue(hn)){qe.remove(bn);return}var _n=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,_n)){qe.remove(bn);return}bn?(updateProps$1(bn,{shape:{points:_n.ends}},Ie,hn),saveOldStyle(bn)):bn=createNormalBox(_n),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}).remove(function(hn){var vn=Ue.getItemGraphicEl(hn);vn&&qe.remove(vn)}).execute(),this._data=Fe},$e.prototype._renderLarge=function(Ie){this._clear(),createLarge(Ie,this.group);var Fe=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;Fe?this.group.setClipPath(Fe):this.group.removeClipPath()},$e.prototype._incrementalRenderNormal=function(Ie,Fe){for(var Ue=Fe.getData(),qe=Ue.getLayout("isSimpleBox"),At;(At=Ie.next())!=null;){var Dt=Ue.getItemLayout(At),Lt=createNormalBox(Dt);setBoxCommon(Lt,Ue,At,qe),Lt.incremental=!0,this.group.add(Lt),this._progressiveEls.push(Lt)}},$e.prototype._incrementalRenderLarge=function(Ie,Fe){createLarge(Fe,this.group,this._progressiveEls,!0)},$e.prototype.remove=function(Ie){this._clear()},$e.prototype._clear=function(){this.group.removeAll(),this._data=null},$e.type="candlestick",$e}(ChartView),NormalBoxPathShape=function(){function xe(){}return xe}(),NormalBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="normalCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new NormalBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points;this.__simpleBox?(Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[6][0],Ue[6][1])):(Ie.moveTo(Ue[0][0],Ue[0][1]),Ie.lineTo(Ue[1][0],Ue[1][1]),Ie.lineTo(Ue[2][0],Ue[2][1]),Ie.lineTo(Ue[3][0],Ue[3][1]),Ie.closePath(),Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[5][0],Ue[5][1]),Ie.moveTo(Ue[6][0],Ue[6][1]),Ie.lineTo(Ue[7][0],Ue[7][1]))},$e}(Path);function createNormalBox(xe,$e,Ie){var Fe=xe.ends;return new NormalBoxPath({shape:{points:Ie?transInit(Fe,xe):Fe},z2:100})}function isNormalBoxClipped(xe,$e){for(var Ie=!0,Fe=0;Fe<$e.ends.length;Fe++)if(xe.contain($e.ends[Fe][0],$e.ends[Fe][1])){Ie=!1;break}return Ie}function setBoxCommon(xe,$e,Ie,Fe){var Ue=$e.getItemModel(Ie);xe.useStyle($e.getItemVisual(Ie,"style")),xe.style.strokeNoScale=!0,xe.__simpleBox=Fe,setStatesStylesFromModel(xe,Ue)}function transInit(xe,$e){return map$1(xe,function(Ie){return Ie=Ie.slice(),Ie[1]=$e.initBaseline,Ie})}var LargeBoxPathShape=function(){function xe(){}return xe}(),LargeBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new LargeBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=0;qe<Ue.length;)if(this.__sign===Ue[qe++]){var At=Ue[qe++];Ie.moveTo(At,Ue[qe++]),Ie.lineTo(At,Ue[qe++])}else qe+=3},$e}(Path);function createLarge(xe,$e,Ie,Fe){var Ue=xe.getData(),qe=Ue.getLayout("largePoints"),At=new LargeBoxPath({shape:{points:qe},__sign:1,ignoreCoarsePointer:!0});$e.add(At);var Dt=new LargeBoxPath({shape:{points:qe},__sign:-1,ignoreCoarsePointer:!0});$e.add(Dt);var Lt=new LargeBoxPath({shape:{points:qe},__sign:0,ignoreCoarsePointer:!0});$e.add(Lt),setLargeStyle(1,At,xe),setLargeStyle(-1,Dt,xe),setLargeStyle(0,Lt,xe),Fe&&(At.incremental=!0,Dt.incremental=!0),Ie&&Ie.push(At,Dt)}function setLargeStyle(xe,$e,Ie,Fe){var Ue=Ie.get(["itemStyle",xe>0?"borderColor":"borderColor0"])||Ie.get(["itemStyle",xe>0?"color":"color0"]);xe===0&&(Ue=Ie.get(["itemStyle","borderColorDoji"]));var qe=Ie.getModel("itemStyle").getItemStyle(SKIP_PROPS);$e.useStyle(qe),$e.style.fill=null,$e.style.stroke=Ue}var CandlestickSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],Ie}return $e.prototype.getShadowDim=function(){return"open"},$e.prototype.brushSelector=function(Ie,Fe,Ue){var qe=Fe.getItemLayout(Ie);return qe&&Ue.rect(qe.brushRect)},$e.type="series.candlestick",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},$e}(SeriesModel);mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);function candlestickPreprocessor(xe){!xe||!isArray$2(xe.series)||each$f(xe.series,function($e){isObject$4($e)&&$e.type==="k"&&($e.type="candlestick")})}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"],candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(xe,$e){function Ie(qe,At){return At.get(qe>0?positiveColorQuery:negativeColorQuery)}function Fe(qe,At){return At.get(qe===0?dojiBorderColorQuery:qe>0?positiveBorderColorQuery:negativeBorderColorQuery)}if(!$e.isSeriesFiltered(xe)){var Ue=xe.pipelineContext.large;return!Ue&&{progress:function(qe,At){for(var Dt;(Dt=qe.next())!=null;){var Lt=At.getItemModel(Dt),jt=At.getItemLayout(Dt).sign,hn=Lt.getItemStyle();hn.fill=Ie(jt,Lt),hn.stroke=Fe(jt,Lt)||hn.fill;var vn=At.ensureUniqueItemVisual(Dt,"style");extend$1(vn,hn)}}}}}},candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem,Ie=xe.getData(),Fe=calculateCandleWidth(xe,Ie),Ue=0,qe=1,At=["x","y"],Dt=Ie.getDimensionIndex(Ie.mapDimension(At[Ue])),Lt=map$1(Ie.mapDimensionsAll(At[qe]),Ie.getDimensionIndex,Ie),jt=Lt[0],hn=Lt[1],vn=Lt[2],bn=Lt[3];if(Ie.setLayout({candleWidth:Fe,isSimpleBox:Fe<=1.3}),Dt<0||Lt.length<4)return;return{progress:xe.pipelineContext.large?wn:_n};function _n(kn,Cn){for(var Sn,xn=Cn.getStore();(Sn=kn.next())!=null;){var En=xn.get(Dt,Sn),Tn=xn.get(jt,Sn),An=xn.get(hn,Sn),$n=xn.get(vn,Sn),Pn=xn.get(bn,Sn),Nn=Math.min(Tn,An),Mn=Math.max(Tn,An),In=Hn(Nn,En),On=Hn(Mn,En),Rn=Hn($n,En),Bn=Hn(Pn,En),Vn=[];Fn(Vn,On,0),Fn(Vn,In,1),Vn.push(jn(Bn),jn(On),jn(Rn),jn(In));var Ln=Cn.getItemModel(Sn),Dn=!!Ln.get(["itemStyle","borderColorDoji"]);Cn.setItemLayout(Sn,{sign:getSign(xn,Sn,Tn,An,hn,Dn),initBaseline:Tn>An?On[qe]:In[qe],ends:Vn,brushRect:zn($n,Pn,En)})}function Hn(Gn,Wn){var Xn=[];return Xn[Ue]=Wn,Xn[qe]=Gn,isNaN(Wn)||isNaN(Gn)?[NaN,NaN]:$e.dataToPoint(Xn)}function Fn(Gn,Wn,Xn){var er=Wn.slice(),rr=Wn.slice();er[Ue]=subPixelOptimize(er[Ue]+Fe/2,1,!1),rr[Ue]=subPixelOptimize(rr[Ue]-Fe/2,1,!0),Xn?Gn.push(er,rr):Gn.push(rr,er)}function zn(Gn,Wn,Xn){var er=Hn(Gn,Xn),rr=Hn(Wn,Xn);return er[Ue]-=Fe/2,rr[Ue]-=Fe/2,{x:er[0],y:er[1],width:Fe,height:rr[1]-er[1]}}function jn(Gn){return Gn[Ue]=subPixelOptimize(Gn[Ue],1),Gn}}function wn(kn,Cn){for(var Sn=createFloat32Array(kn.count*4),xn=0,En,Tn=[],An=[],$n,Pn=Cn.getStore(),Nn=!!xe.get(["itemStyle","borderColorDoji"]);($n=kn.next())!=null;){var Mn=Pn.get(Dt,$n),In=Pn.get(jt,$n),On=Pn.get(hn,$n),Rn=Pn.get(vn,$n),Bn=Pn.get(bn,$n);if(isNaN(Mn)||isNaN(Rn)||isNaN(Bn)){Sn[xn++]=NaN,xn+=3;continue}Sn[xn++]=getSign(Pn,$n,In,On,hn,Nn),Tn[Ue]=Mn,Tn[qe]=Rn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[0]:NaN,Sn[xn++]=En?En[1]:NaN,Tn[qe]=Bn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[1]:NaN}Cn.setLayout("largePoints",Sn)}}};function getSign(xe,$e,Ie,Fe,Ue,qe){var At;return Ie>Fe?At=-1:Ie<Fe?At=1:At=qe?0:$e>0?xe.get(Ue,$e-1)<=Fe?1:-1:1,At}function calculateCandleWidth(xe,$e){var Ie=xe.getBaseAxis(),Fe,Ue=Ie.type==="category"?Ie.getBandWidth():(Fe=Ie.getExtent(),Math.abs(Fe[1]-Fe[0])/$e.count()),qe=parsePercent(retrieve2(xe.get("barMaxWidth"),Ue),Ue),At=parsePercent(retrieve2(xe.get("barMinWidth"),1),Ue),Dt=xe.get("barWidth");return Dt!=null?parsePercent(Dt,Ue):Math.max(Math.min(Ue/2,qe),At)}function install$z(xe){xe.registerChartView(CandlestickView),xe.registerSeriesModel(CandlestickSeriesModel),xe.registerPreprocessor(candlestickPreprocessor),xe.registerVisual(candlestickVisual),xe.registerLayout(candlestickLayout)}function updateRipplePath(xe,$e){var Ie=$e.rippleEffectColor||$e.color;xe.eachChild(function(Fe){Fe.attr({z:$e.z,zlevel:$e.zlevel,style:{stroke:$e.brushType==="stroke"?Ie:null,fill:$e.brushType==="fill"?Ie:null}})})}var EffectSymbol=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=new Symbol$1(Ie,Fe),At=new Group$3;return Ue.add(qe),Ue.add(At),Ue.updateData(Ie,Fe),Ue}return $e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},$e.prototype.startEffectAnimation=function(Ie){for(var Fe=Ie.symbolType,Ue=Ie.color,qe=Ie.rippleNumber,At=this.childAt(1),Dt=0;Dt<qe;Dt++){var Lt=createSymbol$1(Fe,-1,-1,2,2,Ue);Lt.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var jt=-Dt/qe*Ie.period+Ie.effectOffset;Lt.animate("",!0).when(Ie.period,{scaleX:Ie.rippleScale/2,scaleY:Ie.rippleScale/2}).delay(jt).start(),Lt.animateStyle(!0).when(Ie.period,{opacity:0}).delay(jt).start(),At.add(Lt)}updateRipplePath(At,Ie)},$e.prototype.updateEffectAnimation=function(Ie){for(var Fe=this._effectCfg,Ue=this.childAt(1),qe=["symbolType","period","rippleScale","rippleNumber"],At=0;At<qe.length;At++){var Dt=qe[At];if(Fe[Dt]!==Ie[Dt]){this.stopEffectAnimation(),this.startEffectAnimation(Ie);return}}updateRipplePath(Ue,Ie)},$e.prototype.highlight=function(){enterEmphasis(this)},$e.prototype.downplay=function(){leaveEmphasis(this)},$e.prototype.getSymbolType=function(){var Ie=this.childAt(0);return Ie&&Ie.getSymbolType()},$e.prototype.updateData=function(Ie,Fe){var Ue=this,qe=Ie.hostModel;this.childAt(0).updateData(Ie,Fe);var At=this.childAt(1),Dt=Ie.getItemModel(Fe),Lt=Ie.getItemVisual(Fe,"symbol"),jt=normalizeSymbolSize(Ie.getItemVisual(Fe,"symbolSize")),hn=Ie.getItemVisual(Fe,"style"),vn=hn&&hn.fill,bn=Dt.getModel("emphasis");At.setScale(jt),At.traverse(function(Cn){Cn.setStyle("fill",vn)});var _n=normalizeSymbolOffset(Ie.getItemVisual(Fe,"symbolOffset"),jt);_n&&(At.x=_n[0],At.y=_n[1]);var wn=Ie.getItemVisual(Fe,"symbolRotate");At.rotation=(wn||0)*Math.PI/180||0;var kn={};kn.showEffectOn=qe.get("showEffectOn"),kn.rippleScale=Dt.get(["rippleEffect","scale"]),kn.brushType=Dt.get(["rippleEffect","brushType"]),kn.period=Dt.get(["rippleEffect","period"])*1e3,kn.effectOffset=Fe/Ie.count(),kn.z=qe.getShallow("z")||0,kn.zlevel=qe.getShallow("zlevel")||0,kn.symbolType=Lt,kn.color=vn,kn.rippleEffectColor=Dt.get(["rippleEffect","color"]),kn.rippleNumber=Dt.get(["rippleEffect","number"]),kn.showEffectOn==="render"?(this._effectCfg?this.updateEffectAnimation(kn):this.startEffectAnimation(kn),this._effectCfg=kn):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(Cn){Cn==="emphasis"?kn.showEffectOn!=="render"&&Ue.startEffectAnimation(kn):Cn==="normal"&&kn.showEffectOn!=="render"&&Ue.stopEffectAnimation()}),this._effectCfg=kn,toggleHoverEmphasis(this,bn.get("focus"),bn.get("blurScope"),bn.get("disabled"))},$e.prototype.fadeOut=function(Ie){Ie&&Ie()},$e}(Group$3),EffectScatterView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){this._symbolDraw=new SymbolDraw(EffectSymbol)},$e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._symbolDraw;At.updateData(qe,{clipShape:this._getClipShape(Ie)}),this.group.add(At.group)},$e.prototype._getClipShape=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe&&Fe.getArea&&Fe.getArea();return Ie.get("clip",!0)?Ue:null},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData();this.group.dirty();var At=pointsLayout("").reset(Ie,Fe,Ue);At.progress&&At.progress({start:0,end:qe.count(),count:qe.count()},qe),this._symbolDraw.updateLayout()},$e.prototype._updateGroupTransform=function(Ie){var Fe=Ie.coordinateSystem;Fe&&Fe.getRoamTransform&&(this.group.transform=clone$2(Fe.getRoamTransform()),this.group.decomposeTransform())},$e.prototype.remove=function(Ie,Fe){this._symbolDraw&&this._symbolDraw.remove(!0)},$e.type="effectScatter",$e}(ChartView),EffectScatterSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.point(Fe.getItemLayout(Ie))},$e.type="series.effectScatter",$e.dependencies=["grid","polar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},$e}(SeriesModel);function install$y(xe){xe.registerChartView(EffectScatterView),xe.registerSeriesModel(EffectScatterSeriesModel),xe.registerLayout(pointsLayout("effectScatter"))}var EffectLine=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;return qe.add(qe.createLine(Ie,Fe,Ue)),qe._updateEffectSymbol(Ie,Fe),qe}return $e.prototype.createLine=function(Ie,Fe,Ue){return new Line(Ie,Fe,Ue)},$e.prototype._updateEffectSymbol=function(Ie,Fe){var Ue=Ie.getItemModel(Fe),qe=Ue.getModel("effect"),At=qe.get("symbolSize"),Dt=qe.get("symbol");isArray$2(At)||(At=[At,At]);var Lt=Ie.getItemVisual(Fe,"style"),jt=qe.get("color")||Lt&&Lt.stroke,hn=this.childAt(1);this._symbolType!==Dt&&(this.remove(hn),hn=createSymbol$1(Dt,-.5,-.5,1,1,jt),hn.z2=100,hn.culling=!0,this.add(hn)),hn&&(hn.setStyle("shadowColor",jt),hn.setStyle(qe.getItemStyle(["color"])),hn.scaleX=At[0],hn.scaleY=At[1],hn.setColor(jt),this._symbolType=Dt,this._symbolScale=At,this._updateEffectAnimation(Ie,qe,Fe))},$e.prototype._updateEffectAnimation=function(Ie,Fe,Ue){var qe=this.childAt(1);if(qe){var At=Ie.getItemLayout(Ue),Dt=Fe.get("period")*1e3,Lt=Fe.get("loop"),jt=Fe.get("roundTrip"),hn=Fe.get("constantSpeed"),vn=retrieve(Fe.get("delay"),function(_n){return _n/Ie.count()*Dt/3});if(qe.ignore=!0,this._updateAnimationPoints(qe,At),hn>0&&(Dt=this._getLineLength(qe)/hn*1e3),Dt!==this._period||Lt!==this._loop||jt!==this._roundTrip){qe.stopAnimation();var bn=void 0;isFunction$2(vn)?bn=vn(Ue):bn=vn,qe.__t>0&&(bn=-Dt*qe.__t),this._animateSymbol(qe,Dt,bn,Lt,jt)}this._period=Dt,this._loop=Lt,this._roundTrip=jt}},$e.prototype._animateSymbol=function(Ie,Fe,Ue,qe,At){if(Fe>0){Ie.__t=0;var Dt=this,Lt=Ie.animate("",qe).when(At?Fe*2:Fe,{__t:At?2:1}).delay(Ue).during(function(){Dt._updateSymbolPosition(Ie)});qe||Lt.done(function(){Dt.remove(Ie)}),Lt.start()}},$e.prototype._getLineLength=function(Ie){return dist$1(Ie.__p1,Ie.__cp1)+dist$1(Ie.__cp1,Ie.__p2)},$e.prototype._updateAnimationPoints=function(Ie,Fe){Ie.__p1=Fe[0],Ie.__p2=Fe[1],Ie.__cp1=Fe[2]||[(Fe[0][0]+Fe[1][0])/2,(Fe[0][1]+Fe[1][1])/2]},$e.prototype.updateData=function(Ie,Fe,Ue){this.childAt(0).updateData(Ie,Fe,Ue),this._updateEffectSymbol(Ie,Fe)},$e.prototype._updateSymbolPosition=function(Ie){var Fe=Ie.__p1,Ue=Ie.__p2,qe=Ie.__cp1,At=Ie.__t<1?Ie.__t:2-Ie.__t,Dt=[Ie.x,Ie.y],Lt=Dt.slice(),jt=quadraticAt$1,hn=quadraticDerivativeAt;Dt[0]=jt(Fe[0],qe[0],Ue[0],At),Dt[1]=jt(Fe[1],qe[1],Ue[1],At);var vn=Ie.__t<1?hn(Fe[0],qe[0],Ue[0],At):hn(Ue[0],qe[0],Fe[0],1-At),bn=Ie.__t<1?hn(Fe[1],qe[1],Ue[1],At):hn(Ue[1],qe[1],Fe[1],1-At);Ie.rotation=-Math.atan2(bn,vn)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(Ie.__lastT!==void 0&&Ie.__lastT<Ie.__t?(Ie.scaleY=dist$1(Lt,Dt)*1.05,At===1&&(Dt[0]=Lt[0]+(Dt[0]-Lt[0])/2,Dt[1]=Lt[1]+(Dt[1]-Lt[1])/2)):Ie.__lastT===1?Ie.scaleY=2*dist$1(Fe,Dt):Ie.scaleY=this._symbolScale[1]),Ie.__lastT=Ie.__t,Ie.ignore=!1,Ie.x=Dt[0],Ie.y=Dt[1]},$e.prototype.updateLayout=function(Ie,Fe){this.childAt(0).updateLayout(Ie,Fe);var Ue=Ie.getItemModel(Fe).getModel("effect");this._updateEffectAnimation(Ie,Ue,Fe)},$e}(Group$3),Polyline=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;return qe._createPolyline(Ie,Fe,Ue),qe}return $e.prototype._createPolyline=function(Ie,Fe,Ue){var qe=Ie.getItemLayout(Fe),At=new Polyline$1({shape:{points:qe}});this.add(At),this._updateCommonStl(Ie,Fe,Ue)},$e.prototype.updateData=function(Ie,Fe,Ue){var qe=Ie.hostModel,At=this.childAt(0),Dt={shape:{points:Ie.getItemLayout(Fe)}};updateProps$1(At,Dt,qe,Fe),this._updateCommonStl(Ie,Fe,Ue)},$e.prototype._updateCommonStl=function(Ie,Fe,Ue){var qe=this.childAt(0),At=Ie.getItemModel(Fe),Dt=Ue&&Ue.emphasisLineStyle,Lt=Ue&&Ue.focus,jt=Ue&&Ue.blurScope,hn=Ue&&Ue.emphasisDisabled;if(!Ue||Ie.hasItemOption){var vn=At.getModel("emphasis");Dt=vn.getModel("lineStyle").getLineStyle(),hn=vn.get("disabled"),Lt=vn.get("focus"),jt=vn.get("blurScope")}qe.useStyle(Ie.getItemVisual(Fe,"style")),qe.style.fill=null,qe.style.strokeNoScale=!0;var bn=qe.ensureState("emphasis");bn.style=Dt,toggleHoverEmphasis(this,Lt,jt,hn)},$e.prototype.updateLayout=function(Ie,Fe){var Ue=this.childAt(0);Ue.setShape("points",Ie.getItemLayout(Fe))},$e}(Group$3),EffectPolyline=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie._lastFrame=0,Ie._lastFramePercent=0,Ie}return $e.prototype.createLine=function(Ie,Fe,Ue){return new Polyline(Ie,Fe,Ue)},$e.prototype._updateAnimationPoints=function(Ie,Fe){this._points=Fe;for(var Ue=[0],qe=0,At=1;At<Fe.length;At++){var Dt=Fe[At-1],Lt=Fe[At];qe+=dist$1(Dt,Lt),Ue.push(qe)}if(qe===0){this._length=0;return}for(var At=0;At<Ue.length;At++)Ue[At]/=qe;this._offsets=Ue,this._length=qe},$e.prototype._getLineLength=function(){return this._length},$e.prototype._updateSymbolPosition=function(Ie){var Fe=Ie.__t<1?Ie.__t:2-Ie.__t,Ue=this._points,qe=this._offsets,At=Ue.length;if(qe){var Dt=this._lastFrame,Lt;if(Fe<this._lastFramePercent){var jt=Math.min(Dt+1,At-1);for(Lt=jt;Lt>=0&&!(qe[Lt]<=Fe);Lt--);Lt=Math.min(Lt,At-2)}else{for(Lt=Dt;Lt<At&&!(qe[Lt]>Fe);Lt++);Lt=Math.min(Lt-1,At-2)}var hn=(Fe-qe[Lt])/(qe[Lt+1]-qe[Lt]),vn=Ue[Lt],bn=Ue[Lt+1];Ie.x=vn[0]*(1-hn)+hn*bn[0],Ie.y=vn[1]*(1-hn)+hn*bn[1];var _n=Ie.__t<1?bn[0]-vn[0]:vn[0]-bn[0],wn=Ie.__t<1?bn[1]-vn[1]:vn[1]-bn[1];Ie.rotation=-Math.atan2(wn,_n)-Math.PI/2,this._lastFrame=Lt,this._lastFramePercent=Fe,Ie.ignore=!1}},$e}(EffectLine),LargeLinesPathShape=function(){function xe(){this.polyline=!1,this.curveness=0,this.segs=[]}return xe}(),LargeLinesPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new LargeLinesPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.segs,qe=Fe.curveness,At;if(Fe.polyline)for(At=this._off;At<Ue.length;){var Dt=Ue[At++];if(Dt>0){Ie.moveTo(Ue[At++],Ue[At++]);for(var Lt=1;Lt<Dt;Lt++)Ie.lineTo(Ue[At++],Ue[At++])}}else for(At=this._off;At<Ue.length;){var jt=Ue[At++],hn=Ue[At++],vn=Ue[At++],bn=Ue[At++];if(Ie.moveTo(jt,hn),qe>0){var _n=(jt+vn)/2-(hn-bn)*qe,wn=(hn+bn)/2-(vn-jt)*qe;Ie.quadraticCurveTo(_n,wn,vn,bn)}else Ie.lineTo(vn,bn)}this.incremental&&(this._off=At,this.notClear=!0)},$e.prototype.findDataIndex=function(Ie,Fe){var Ue=this.shape,qe=Ue.segs,At=Ue.curveness,Dt=this.style.lineWidth;if(Ue.polyline)for(var Lt=0,jt=0;jt<qe.length;){var hn=qe[jt++];if(hn>0)for(var vn=qe[jt++],bn=qe[jt++],_n=1;_n<hn;_n++){var wn=qe[jt++],kn=qe[jt++];if(containStroke$4(vn,bn,wn,kn,Dt,Ie,Fe))return Lt}Lt++}else for(var Lt=0,jt=0;jt<qe.length;){var vn=qe[jt++],bn=qe[jt++],wn=qe[jt++],kn=qe[jt++];if(At>0){var Cn=(vn+wn)/2-(bn-kn)*At,Sn=(bn+kn)/2-(wn-vn)*At;if(containStroke$2(vn,bn,Cn,Sn,wn,kn,Dt,Ie,Fe))return Lt}else if(containStroke$4(vn,bn,wn,kn,Dt,Ie,Fe))return Lt;Lt++}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.segs,qe=1/0,At=1/0,Dt=-1/0,Lt=-1/0,jt=0;jt<Ue.length;){var hn=Ue[jt++],vn=Ue[jt++];qe=Math.min(hn,qe),Dt=Math.max(hn,Dt),At=Math.min(vn,At),Lt=Math.max(vn,Lt)}Ie=this._rect=new BoundingRect(qe,At,Dt,Lt)}return Ie},$e}(Path),LargeLineDraw=function(){function xe(){this.group=new Group$3}return xe.prototype.updateData=function($e){this._clear();var Ie=this._create();Ie.setShape({segs:$e.getLayout("linesPoints")}),this._setCommon(Ie,$e)},xe.prototype.incrementalPrepareUpdate=function($e){this.group.removeAll(),this._clear()},xe.prototype.incrementalUpdate=function($e,Ie){var Fe=this._newAdded[0],Ue=Ie.getLayout("linesPoints"),qe=Fe&&Fe.shape.segs;if(qe&&qe.length<2e4){var At=qe.length,Dt=new Float32Array(At+Ue.length);Dt.set(qe),Dt.set(Ue,At),Fe.setShape({segs:Dt})}else{this._newAdded=[];var Lt=this._create();Lt.incremental=!0,Lt.setShape({segs:Ue}),this._setCommon(Lt,Ie),Lt.__startIndex=$e.start}},xe.prototype.remove=function(){this._clear()},xe.prototype.eachRendered=function($e){this._newAdded[0]&&$e(this._newAdded[0])},xe.prototype._create=function(){var $e=new LargeLinesPath({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push($e),this.group.add($e),$e},xe.prototype._setCommon=function($e,Ie,Fe){var Ue=Ie.hostModel;$e.setShape({polyline:Ue.get("polyline"),curveness:Ue.get(["lineStyle","curveness"])}),$e.useStyle(Ue.getModel("lineStyle").getLineStyle()),$e.style.strokeNoScale=!0;var qe=Ie.getVisual("style");qe&&qe.stroke&&$e.setStyle("stroke",qe.stroke),$e.setStyle("fill",null);var At=getECData($e);At.seriesIndex=Ue.seriesIndex,$e.on("mousemove",function(Dt){At.dataIndex=null;var Lt=$e.hoverDataIdx;Lt>0&&(At.dataIndex=Lt+$e.__startIndex)})},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem;if($e){var Ie=xe.get("polyline"),Fe=xe.pipelineContext.large;return{progress:function(Ue,qe){var At=[];if(Fe){var Dt=void 0,Lt=Ue.end-Ue.start;if(Ie){for(var jt=0,hn=Ue.start;hn<Ue.end;hn++)jt+=xe.getLineCoordsCount(hn);Dt=new Float32Array(Lt+jt*2)}else Dt=new Float32Array(Lt*4);for(var vn=0,bn=[],hn=Ue.start;hn<Ue.end;hn++){var _n=xe.getLineCoords(hn,At);Ie&&(Dt[vn++]=_n);for(var wn=0;wn<_n;wn++)bn=$e.dataToPoint(At[wn],!1,bn),Dt[vn++]=bn[0],Dt[vn++]=bn[1]}qe.setLayout("linesPoints",Dt)}else for(var hn=Ue.start;hn<Ue.end;hn++){var kn=qe.getItemModel(hn),_n=xe.getLineCoords(hn,At),Cn=[];if(Ie)for(var Sn=0;Sn<_n;Sn++)Cn.push($e.dataToPoint(At[Sn]));else{Cn[0]=$e.dataToPoint(At[0]),Cn[1]=$e.dataToPoint(At[1]);var xn=kn.get(["lineStyle","curveness"]);+xn&&(Cn[2]=[(Cn[0][0]+Cn[1][0])/2-(Cn[0][1]-Cn[1][1])*xn,(Cn[0][1]+Cn[1][1])/2-(Cn[1][0]-Cn[0][0])*xn])}qe.setItemLayout(hn,Cn)}}}}}},LinesView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateLineDraw(qe,Ie),Dt=Ie.get("zlevel"),Lt=Ie.get(["effect","trailLength"]),jt=Ue.getZr(),hn=jt.painter.getType()==="svg";hn||jt.painter.getLayer(Dt).clear(!0),this._lastZlevel!=null&&!hn&&jt.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(Ie)&&Lt>0&&(hn||jt.configLayer(Dt,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(Lt/10+.9,1),0)})),At.updateData(qe);var vn=Ie.get("clip",!0)&&createClipPath(Ie.coordinateSystem,!1,Ie);vn?this.group.setClipPath(vn):this.group.removeClipPath(),this._lastZlevel=Dt,this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateLineDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._clearLayer(Ue),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._lineDraw.incrementalUpdate(Ie,Fe.getData()),this._finished=Ie.end===Fe.getData().count()},$e.prototype.eachRendered=function(Ie){this._lineDraw&&this._lineDraw.eachRendered(Ie)},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData(),At=Ie.pipelineContext;if(!this._finished||At.large||At.progressiveRender)return{update:!0};var Dt=linesLayout.reset(Ie,Fe,Ue);Dt.progress&&Dt.progress({start:0,end:qe.count(),count:qe.count()},qe),this._lineDraw.updateLayout(),this._clearLayer(Ue)},$e.prototype._updateLineDraw=function(Ie,Fe){var Ue=this._lineDraw,qe=this._showEffect(Fe),At=!!Fe.get("polyline"),Dt=Fe.pipelineContext,Lt=Dt.large;return(!Ue||qe!==this._hasEffet||At!==this._isPolyline||Lt!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._lineDraw=Lt?new LargeLineDraw:new LineDraw(At?qe?EffectPolyline:Polyline:qe?EffectLine:Line),this._hasEffet=qe,this._isPolyline=At,this._isLargeDraw=Lt),this.group.add(Ue.group),Ue},$e.prototype._showEffect=function(Ie){return!!Ie.get(["effect","show"])},$e.prototype._clearLayer=function(Ie){var Fe=Ie.getZr(),Ue=Fe.painter.getType()==="svg";!Ue&&this._lastZlevel!=null&&Fe.painter.getLayer(this._lastZlevel).clear(!0)},$e.prototype.remove=function(Ie,Fe){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(Fe)},$e.prototype.dispose=function(Ie,Fe){this.remove(Ie,Fe)},$e.type="lines",$e}(ChartView),Uint32Arr=typeof Uint32Array>"u"?Array:Uint32Array,Float64Arr=typeof Float64Array>"u"?Array:Float64Array;function compatEc2(xe){var $e=xe.data;$e&&$e[0]&&$e[0][0]&&$e[0][0].coord&&(xe.data=map$1($e,function(Ie){var Fe=[Ie[0].coord,Ie[1].coord],Ue={coords:Fe};return Ie[0].name&&(Ue.fromName=Ie[0].name),Ie[1].name&&(Ue.toName=Ie[1].name),mergeAll([Ue,Ie[0],Ie[1]])}))}var LinesSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="lineStyle",Ie.visualDrawType="stroke",Ie}return $e.prototype.init=function(Ie){Ie.data=Ie.data||[],compatEc2(Ie);var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count)),xe.prototype.init.apply(this,arguments)},$e.prototype.mergeOption=function(Ie){if(compatEc2(Ie),Ie.data){var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count))}xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.appendData=function(Ie){var Fe=this._processFlatCoordsArray(Ie.data);Fe.flatCoords&&(this._flatCoords?(this._flatCoords=concatArray(this._flatCoords,Fe.flatCoords),this._flatCoordsOffset=concatArray(this._flatCoordsOffset,Fe.flatCoordsOffset)):(this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset),Ie.data=new Float32Array(Fe.count)),this.getRawData().appendData(Ie.data)},$e.prototype._getCoordsFromItemModel=function(Ie){var Fe=this.getData().getItemModel(Ie),Ue=Fe.option instanceof Array?Fe.option:Fe.getShallow("coords");return Ue},$e.prototype.getLineCoordsCount=function(Ie){return this._flatCoordsOffset?this._flatCoordsOffset[Ie*2+1]:this._getCoordsFromItemModel(Ie).length},$e.prototype.getLineCoords=function(Ie,Fe){if(this._flatCoordsOffset){for(var Ue=this._flatCoordsOffset[Ie*2],qe=this._flatCoordsOffset[Ie*2+1],At=0;At<qe;At++)Fe[At]=Fe[At]||[],Fe[At][0]=this._flatCoords[Ue+At*2],Fe[At][1]=this._flatCoords[Ue+At*2+1];return qe}else{for(var Dt=this._getCoordsFromItemModel(Ie),At=0;At<Dt.length;At++)Fe[At]=Fe[At]||[],Fe[At][0]=Dt[At][0],Fe[At][1]=Dt[At][1];return Dt.length}},$e.prototype._processFlatCoordsArray=function(Ie){var Fe=0;if(this._flatCoords&&(Fe=this._flatCoords.length),isNumber$2(Ie[0])){for(var Ue=Ie.length,qe=new Uint32Arr(Ue),At=new Float64Arr(Ue),Dt=0,Lt=0,jt=0,hn=0;hn<Ue;){jt++;var vn=Ie[hn++];qe[Lt++]=Dt+Fe,qe[Lt++]=vn;for(var bn=0;bn<vn;bn++){var _n=Ie[hn++],wn=Ie[hn++];At[Dt++]=_n,At[Dt++]=wn}}return{flatCoordsOffset:new Uint32Array(qe.buffer,0,Lt),flatCoords:At,count:jt}}return{flatCoordsOffset:null,flatCoords:null,count:Ie.length}},$e.prototype.getInitialData=function(Ie,Fe){var Ue=new SeriesData(["value"],this);return Ue.hasItemOption=!1,Ue.initData(Ie.data,[],function(qe,At,Dt,Lt){if(qe instanceof Array)return NaN;Ue.hasItemOption=!0;var jt=qe.value;if(jt!=null)return jt instanceof Array?jt[Lt]:jt}),Ue},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=qe.getItemModel(Ie),Dt=At.get("name");if(Dt)return Dt;var Lt=At.get("fromName"),jt=At.get("toName"),hn=[];return Lt!=null&&hn.push(Lt),jt!=null&&hn.push(jt),createTooltipMarkup("nameValue",{name:hn.join(" > ")})},$e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?1e4:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?2e4:this.get("progressiveThreshold"))},$e.prototype.getZLevelKey=function(){var Ie=this.getModel("effect"),Fe=Ie.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:Ie.get("show")&&Fe>0?Fe+"":""},$e.type="series.lines",$e.dependencies=["grid","polar","geo","calendar"],$e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},$e}(SeriesModel);function normalize(xe){return xe instanceof Array||(xe=[xe,xe]),xe}var linesVisual={seriesType:"lines",reset:function(xe){var $e=normalize(xe.get("symbol")),Ie=normalize(xe.get("symbolSize")),Fe=xe.getData();Fe.setVisual("fromSymbol",$e&&$e[0]),Fe.setVisual("toSymbol",$e&&$e[1]),Fe.setVisual("fromSymbolSize",Ie&&Ie[0]),Fe.setVisual("toSymbolSize",Ie&&Ie[1]);function Ue(qe,At){var Dt=qe.getItemModel(At),Lt=normalize(Dt.getShallow("symbol",!0)),jt=normalize(Dt.getShallow("symbolSize",!0));Lt[0]&&qe.setItemVisual(At,"fromSymbol",Lt[0]),Lt[1]&&qe.setItemVisual(At,"toSymbol",Lt[1]),jt[0]&&qe.setItemVisual(At,"fromSymbolSize",jt[0]),jt[1]&&qe.setItemVisual(At,"toSymbolSize",jt[1])}return{dataEach:Fe.hasItemOption?Ue:null}}};function install$x(xe){xe.registerChartView(LinesView),xe.registerSeriesModel(LinesSeriesModel),xe.registerLayout(linesLayout),xe.registerVisual(linesVisual)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function xe(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var $e=platformApi.createCanvas();this.canvas=$e}return xe.prototype.update=function($e,Ie,Fe,Ue,qe,At){var Dt=this._getBrush(),Lt=this._getGradient(qe,"inRange"),jt=this._getGradient(qe,"outOfRange"),hn=this.pointSize+this.blurSize,vn=this.canvas,bn=vn.getContext("2d"),_n=$e.length;vn.width=Ie,vn.height=Fe;for(var wn=0;wn<_n;++wn){var kn=$e[wn],Cn=kn[0],Sn=kn[1],xn=kn[2],En=Ue(xn);bn.globalAlpha=En,bn.drawImage(Dt,Cn-hn,Sn-hn)}if(!vn.width||!vn.height)return vn;for(var Tn=bn.getImageData(0,0,vn.width,vn.height),An=Tn.data,$n=0,Pn=An.length,Nn=this.minOpacity,Mn=this.maxOpacity,In=Mn-Nn;$n<Pn;){var En=An[$n+3]/256,On=Math.floor(En*(GRADIENT_LEVELS-1))*4;if(En>0){var Rn=At(En)?Lt:jt;En>0&&(En=En*In+Nn),An[$n++]=Rn[On],An[$n++]=Rn[On+1],An[$n++]=Rn[On+2],An[$n++]=Rn[On+3]*En*256}else $n+=4}return bn.putImageData(Tn,0,0),vn},xe.prototype._getBrush=function(){var $e=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),Ie=this.pointSize+this.blurSize,Fe=Ie*2;$e.width=Fe,$e.height=Fe;var Ue=$e.getContext("2d");return Ue.clearRect(0,0,Fe,Fe),Ue.shadowOffsetX=Fe,Ue.shadowBlur=this.blurSize,Ue.shadowColor="#000",Ue.beginPath(),Ue.arc(-Ie,Ie,this.pointSize,0,Math.PI*2,!0),Ue.closePath(),Ue.fill(),$e},xe.prototype._getGradient=function($e,Ie){for(var Fe=this._gradientPixels,Ue=Fe[Ie]||(Fe[Ie]=new Uint8ClampedArray(256*4)),qe=[0,0,0,0],At=0,Dt=0;Dt<256;Dt++)$e[Ie](Dt/255,!0,qe),Ue[At++]=qe[0],Ue[At++]=qe[1],Ue[At++]=qe[2],Ue[At++]=qe[3];return Ue},xe}();function getIsInPiecewiseRange(xe,$e,Ie){var Fe=xe[1]-xe[0];$e=map$1($e,function(At){return{interval:[(At.interval[0]-xe[0])/Fe,(At.interval[1]-xe[0])/Fe]}});var Ue=$e.length,qe=0;return function(At){var Dt;for(Dt=qe;Dt<Ue;Dt++){var Lt=$e[Dt].interval;if(Lt[0]<=At&&At<=Lt[1]){qe=Dt;break}}if(Dt===Ue)for(Dt=qe-1;Dt>=0;Dt--){var Lt=$e[Dt].interval;if(Lt[0]<=At&&At<=Lt[1]){qe=Dt;break}}return Dt>=0&&Dt<Ue&&Ie[Dt]}}function getIsInContinuousRange(xe,$e){var Ie=xe[1]-xe[0];return $e=[($e[0]-xe[0])/Ie,($e[1]-xe[0])/Ie],function(Fe){return Fe>=$e[0]&&Fe<=$e[1]}}function isGeoCoordSys(xe){var $e=xe.dimensions;return $e[0]==="lng"&&$e[1]==="lat"}var HeatmapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe;Fe.eachComponent("visualMap",function(Dt){Dt.eachTargetSeries(function(Lt){Lt===Ie&&(qe=Dt)})}),this._progressiveEls=null,this.group.removeAll();var At=Ie.coordinateSystem;At.type==="cartesian2d"||At.type==="calendar"?this._renderOnCartesianAndCalendar(Ie,Ue,0,Ie.getData().count()):isGeoCoordSys(At)&&this._renderOnGeo(At,Ie,qe,Ue)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this.group.removeAll()},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){var At=Fe.coordinateSystem;At&&(isGeoCoordSys(At)?this.render(Fe,Ue,qe):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(Fe,qe,Ie.start,Ie.end,!0)))},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._renderOnCartesianAndCalendar=function(Ie,Fe,Ue,qe,At){var Dt=Ie.coordinateSystem,Lt=isCoordinateSystemType(Dt,"cartesian2d"),jt,hn,vn,bn;if(Lt){var _n=Dt.getAxis("x"),wn=Dt.getAxis("y");jt=_n.getBandWidth()+.5,hn=wn.getBandWidth()+.5,vn=_n.scale.getExtent(),bn=wn.scale.getExtent()}for(var kn=this.group,Cn=Ie.getData(),Sn=Ie.getModel(["emphasis","itemStyle"]).getItemStyle(),xn=Ie.getModel(["blur","itemStyle"]).getItemStyle(),En=Ie.getModel(["select","itemStyle"]).getItemStyle(),Tn=Ie.get(["itemStyle","borderRadius"]),An=getLabelStatesModels(Ie),$n=Ie.getModel("emphasis"),Pn=$n.get("focus"),Nn=$n.get("blurScope"),Mn=$n.get("disabled"),In=Lt?[Cn.mapDimension("x"),Cn.mapDimension("y"),Cn.mapDimension("value")]:[Cn.mapDimension("time"),Cn.mapDimension("value")],On=Ue;On<qe;On++){var Rn=void 0,Bn=Cn.getItemVisual(On,"style");if(Lt){var Vn=Cn.get(In[0],On),Ln=Cn.get(In[1],On);if(isNaN(Cn.get(In[2],On))||isNaN(Vn)||isNaN(Ln)||Vn<vn[0]||Vn>vn[1]||Ln<bn[0]||Ln>bn[1])continue;var Dn=Dt.dataToPoint([Vn,Ln]);Rn=new Rect$2({shape:{x:Dn[0]-jt/2,y:Dn[1]-hn/2,width:jt,height:hn},style:Bn})}else{if(isNaN(Cn.get(In[1],On)))continue;Rn=new Rect$2({z2:1,shape:Dt.dataToRect([Cn.get(In[0],On)]).contentShape,style:Bn})}if(Cn.hasItemOption){var Hn=Cn.getItemModel(On),Fn=Hn.getModel("emphasis");Sn=Fn.getModel("itemStyle").getItemStyle(),xn=Hn.getModel(["blur","itemStyle"]).getItemStyle(),En=Hn.getModel(["select","itemStyle"]).getItemStyle(),Tn=Hn.get(["itemStyle","borderRadius"]),Pn=Fn.get("focus"),Nn=Fn.get("blurScope"),Mn=Fn.get("disabled"),An=getLabelStatesModels(Hn)}Rn.shape.r=Tn;var zn=Ie.getRawValue(On),jn="-";zn&&zn[2]!=null&&(jn=zn[2]+""),setLabelStyle(Rn,An,{labelFetcher:Ie,labelDataIndex:On,defaultOpacity:Bn.opacity,defaultText:jn}),Rn.ensureState("emphasis").style=Sn,Rn.ensureState("blur").style=xn,Rn.ensureState("select").style=En,toggleHoverEmphasis(Rn,Pn,Nn,Mn),Rn.incremental=At,At&&(Rn.states.emphasis.hoverLayer=!0),kn.add(Rn),Cn.setItemGraphicEl(On,Rn),this._progressiveEls&&this._progressiveEls.push(Rn)}},$e.prototype._renderOnGeo=function(Ie,Fe,Ue,qe){var At=Ue.targetVisuals.inRange,Dt=Ue.targetVisuals.outOfRange,Lt=Fe.getData(),jt=this._hmLayer||this._hmLayer||new HeatmapLayer;jt.blurSize=Fe.get("blurSize"),jt.pointSize=Fe.get("pointSize"),jt.minOpacity=Fe.get("minOpacity"),jt.maxOpacity=Fe.get("maxOpacity");var hn=Ie.getViewRect().clone(),vn=Ie.getRoamTransform();hn.applyTransform(vn);var bn=Math.max(hn.x,0),_n=Math.max(hn.y,0),wn=Math.min(hn.width+hn.x,qe.getWidth()),kn=Math.min(hn.height+hn.y,qe.getHeight()),Cn=wn-bn,Sn=kn-_n,xn=[Lt.mapDimension("lng"),Lt.mapDimension("lat"),Lt.mapDimension("value")],En=Lt.mapArray(xn,function(Pn,Nn,Mn){var In=Ie.dataToPoint([Pn,Nn]);return In[0]-=bn,In[1]-=_n,In.push(Mn),In}),Tn=Ue.getExtent(),An=Ue.type==="visualMap.continuous"?getIsInContinuousRange(Tn,Ue.option.range):getIsInPiecewiseRange(Tn,Ue.getPieceList(),Ue.option.selected);jt.update(En,Cn,Sn,At.color.getNormalizer(),{inRange:At.color.getColorMapper(),outOfRange:Dt.color.getColorMapper()},An);var $n=new ZRImage({style:{width:Cn,height:Sn,x:bn,y:_n,image:jt.canvas},silent:!0});this.group.add($n)},$e.type="heatmap",$e}(ChartView),HeatmapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{generateCoord:"value"})},$e.prototype.preventIncremental=function(){var Ie=CoordinateSystemManager.get(this.get("coordinateSystem"));if(Ie&&Ie.dimensions)return Ie.dimensions[0]==="lng"&&Ie.dimensions[1]==="lat"},$e.type="series.heatmap",$e.dependencies=["grid","geo","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function install$w(xe){xe.registerChartView(HeatmapView),xe.registerSeriesModel(HeatmapSeriesModel)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle,PictorialBarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group,At=Ie.getData(),Dt=this._data,Lt=Ie.coordinateSystem,jt=Lt.getBaseAxis(),hn=jt.isHorizontal(),vn=Lt.master.getRect(),bn={ecSize:{width:Ue.getWidth(),height:Ue.getHeight()},seriesModel:Ie,coordSys:Lt,coordSysExtent:[[vn.x,vn.x+vn.width],[vn.y,vn.y+vn.height]],isHorizontal:hn,valueDim:LAYOUT_ATTRS[+hn],categoryDim:LAYOUT_ATTRS[1-+hn]};At.diff(Dt).add(function(wn){if(At.hasValue(wn)){var kn=getItemModel(At,wn),Cn=getSymbolMeta(At,wn,kn,bn),Sn=createBar(At,bn,Cn);At.setItemGraphicEl(wn,Sn),qe.add(Sn),updateCommon(Sn,bn,Cn)}}).update(function(wn,kn){var Cn=Dt.getItemGraphicEl(kn);if(!At.hasValue(wn)){qe.remove(Cn);return}var Sn=getItemModel(At,wn),xn=getSymbolMeta(At,wn,Sn,bn),En=getShapeStr(At,xn);Cn&&En!==Cn.__pictorialShapeStr&&(qe.remove(Cn),At.setItemGraphicEl(wn,null),Cn=null),Cn?updateBar(Cn,bn,xn):Cn=createBar(At,bn,xn,!0),At.setItemGraphicEl(wn,Cn),Cn.__pictorialSymbolMeta=xn,qe.add(Cn),updateCommon(Cn,bn,xn)}).remove(function(wn){var kn=Dt.getItemGraphicEl(wn);kn&&removeBar(Dt,wn,kn.__pictorialSymbolMeta.animationModel,kn)}).execute();var _n=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;return _n?qe.setClipPath(_n):qe.removeClipPath(),this._data=At,this.group},$e.prototype.remove=function(Ie,Fe){var Ue=this.group,qe=this._data;Ie.get("animation")?qe&&qe.eachItemGraphicEl(function(At){removeBar(qe,getECData(At).dataIndex,Ie,At)}):Ue.removeAll()},$e.type="pictorialBar",$e}(ChartView);function getSymbolMeta(xe,$e,Ie,Fe){var Ue=xe.getItemLayout($e),qe=Ie.get("symbolRepeat"),At=Ie.get("symbolClip"),Dt=Ie.get("symbolPosition")||"start",Lt=Ie.get("symbolRotate"),jt=(Lt||0)*Math.PI/180||0,hn=Ie.get("symbolPatternSize")||2,vn=Ie.isAnimationEnabled(),bn={dataIndex:$e,layout:Ue,itemModel:Ie,symbolType:xe.getItemVisual($e,"symbol")||"circle",style:xe.getItemVisual($e,"style"),symbolClip:At,symbolRepeat:qe,symbolRepeatDirection:Ie.get("symbolRepeatDirection"),symbolPatternSize:hn,rotation:jt,animationModel:vn?Ie:null,hoverScale:vn&&Ie.get(["emphasis","scale"]),z2:Ie.getShallow("z",!0)||0};prepareBarLength(Ie,qe,Ue,Fe,bn),prepareSymbolSize(xe,$e,Ue,qe,At,bn.boundingLength,bn.pxSign,hn,Fe,bn),prepareLineWidth(Ie,bn.symbolScale,jt,Fe,bn);var _n=bn.symbolSize,wn=normalizeSymbolOffset(Ie.get("symbolOffset"),_n);return prepareLayoutInfo(Ie,_n,Ue,qe,At,wn,Dt,bn.valueLineWidth,bn.boundingLength,bn.repeatCutLength,Fe,bn),bn}function prepareBarLength(xe,$e,Ie,Fe,Ue){var qe=Fe.valueDim,At=xe.get("symbolBoundingData"),Dt=Fe.coordSys.getOtherAxis(Fe.coordSys.getBaseAxis()),Lt=Dt.toGlobalCoord(Dt.dataToCoord(0)),jt=1-+(Ie[qe.wh]<=0),hn;if(isArray$2(At)){var vn=[convertToCoordOnAxis(Dt,At[0])-Lt,convertToCoordOnAxis(Dt,At[1])-Lt];vn[1]<vn[0]&&vn.reverse(),hn=vn[jt]}else At!=null?hn=convertToCoordOnAxis(Dt,At)-Lt:$e?hn=Fe.coordSysExtent[qe.index][jt]-Lt:hn=Ie[qe.wh];Ue.boundingLength=hn,$e&&(Ue.repeatCutLength=Ie[qe.wh]),Ue.pxSign=hn>0?1:-1}function convertToCoordOnAxis(xe,$e){return xe.toGlobalCoord(xe.dataToCoord(xe.scale.parse($e)))}function prepareSymbolSize(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=Lt.valueDim,vn=Lt.categoryDim,bn=Math.abs(Ie[vn.wh]),_n=xe.getItemVisual($e,"symbolSize"),wn;isArray$2(_n)?wn=_n.slice():_n==null?wn=["100%","100%"]:wn=[_n,_n],wn[vn.index]=parsePercent(wn[vn.index],bn),wn[hn.index]=parsePercent(wn[hn.index],Fe?bn:Math.abs(qe)),jt.symbolSize=wn;var kn=jt.symbolScale=[wn[0]/Dt,wn[1]/Dt];kn[hn.index]*=(Lt.isHorizontal?-1:1)*At}function prepareLineWidth(xe,$e,Ie,Fe,Ue){var qe=xe.get(BAR_BORDER_WIDTH_QUERY)||0;qe&&(pathForLineWidth.attr({scaleX:$e[0],scaleY:$e[1],rotation:Ie}),pathForLineWidth.updateTransform(),qe/=pathForLineWidth.getLineScale(),qe*=$e[Fe.valueDim.index]),Ue.valueLineWidth=qe||0}function prepareLayoutInfo(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn){var bn=hn.categoryDim,_n=hn.valueDim,wn=vn.pxSign,kn=Math.max($e[_n.index]+Dt,0),Cn=kn;if(Fe){var Sn=Math.abs(Lt),xn=retrieve(xe.get("symbolMargin"),"15%")+"",En=!1;xn.lastIndexOf("!")===xn.length-1&&(En=!0,xn=xn.slice(0,xn.length-1));var Tn=parsePercent(xn,$e[_n.index]),An=Math.max(kn+Tn*2,0),$n=En?0:Tn*2,Pn=isNumeric(Fe),Nn=Pn?Fe:toIntTimes((Sn+$n)/An),Mn=Sn-Nn*kn;Tn=Mn/2/(En?Nn:Math.max(Nn-1,1)),An=kn+Tn*2,$n=En?0:Tn*2,!Pn&&Fe!=="fixed"&&(Nn=jt?toIntTimes((Math.abs(jt)+$n)/An):0),Cn=Nn*An-$n,vn.repeatTimes=Nn,vn.symbolMargin=Tn}var In=wn*(Cn/2),On=vn.pathPosition=[];On[bn.index]=Ie[bn.wh]/2,On[_n.index]=At==="start"?In:At==="end"?Lt-In:Lt/2,qe&&(On[0]+=qe[0],On[1]+=qe[1]);var Rn=vn.bundlePosition=[];Rn[bn.index]=Ie[bn.xy],Rn[_n.index]=Ie[_n.xy];var Bn=vn.barRectShape=extend$1({},Ie);Bn[_n.wh]=wn*Math.max(Math.abs(Ie[_n.wh]),Math.abs(On[_n.index]+In)),Bn[bn.wh]=Ie[bn.wh];var Vn=vn.clipShape={};Vn[bn.xy]=-Ie[bn.xy],Vn[bn.wh]=hn.ecSize[bn.wh],Vn[_n.xy]=0,Vn[_n.wh]=Ie[_n.wh]}function createPath(xe){var $e=xe.symbolPatternSize,Ie=createSymbol$1(xe.symbolType,-$e/2,-$e/2,$e,$e);return Ie.attr({culling:!0}),Ie.type!=="image"&&Ie.setStyle({strokeNoScale:!0}),Ie}function createOrUpdateRepeatSymbols(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=Ie.symbolSize,At=Ie.valueLineWidth,Dt=Ie.pathPosition,Lt=$e.valueDim,jt=Ie.repeatTimes||0,hn=0,vn=qe[$e.valueDim.index]+At+Ie.symbolMargin*2;for(eachPath(xe,function(kn){kn.__pictorialAnimationIndex=hn,kn.__pictorialRepeatTimes=jt,hn<jt?updateAttr(kn,null,wn(hn),Ie,Fe):updateAttr(kn,null,{scaleX:0,scaleY:0},Ie,Fe,function(){Ue.remove(kn)}),hn++});hn<jt;hn++){var bn=createPath(Ie);bn.__pictorialAnimationIndex=hn,bn.__pictorialRepeatTimes=jt,Ue.add(bn);var _n=wn(hn);updateAttr(bn,{x:_n.x,y:_n.y,scaleX:0,scaleY:0},{scaleX:_n.scaleX,scaleY:_n.scaleY,rotation:_n.rotation},Ie,Fe)}function wn(kn){var Cn=Dt.slice(),Sn=Ie.pxSign,xn=kn;return(Ie.symbolRepeatDirection==="start"?Sn>0:Sn<0)&&(xn=jt-1-kn),Cn[Lt.index]=vn*(xn-jt/2+.5)+Dt[Lt.index],{x:Cn[0],y:Cn[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation}}}function createOrUpdateSingleSymbol(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=xe.__pictorialMainPath;qe?updateAttr(qe,null,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation},Ie,Fe):(qe=xe.__pictorialMainPath=createPath(Ie),Ue.add(qe),updateAttr(qe,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:0,scaleY:0,rotation:Ie.rotation},{scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1]},Ie,Fe))}function createOrUpdateBarRect(xe,$e,Ie){var Fe=extend$1({},$e.barRectShape),Ue=xe.__pictorialBarRect;Ue?updateAttr(Ue,null,{shape:Fe},$e,Ie):(Ue=xe.__pictorialBarRect=new Rect$2({z2:2,shape:Fe,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),Ue.disableMorphing=!0,xe.add(Ue))}function createOrUpdateClip(xe,$e,Ie,Fe){if(Ie.symbolClip){var Ue=xe.__pictorialClipPath,qe=extend$1({},Ie.clipShape),At=$e.valueDim,Dt=Ie.animationModel,Lt=Ie.dataIndex;if(Ue)updateProps$1(Ue,{shape:qe},Dt,Lt);else{qe[At.wh]=0,Ue=new Rect$2({shape:qe}),xe.__pictorialBundle.setClipPath(Ue),xe.__pictorialClipPath=Ue;var jt={};jt[At.wh]=Ie.clipShape[At.wh],graphic[Fe?"updateProps":"initProps"](Ue,{shape:jt},Dt,Lt)}}}function getItemModel(xe,$e){var Ie=xe.getItemModel($e);return Ie.getAnimationDelayParams=getAnimationDelayParams,Ie.isAnimationEnabled=isAnimationEnabled,Ie}function getAnimationDelayParams(xe){return{index:xe.__pictorialAnimationIndex,count:xe.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(xe,$e,Ie,Fe){var Ue=new Group$3,qe=new Group$3;return Ue.add(qe),Ue.__pictorialBundle=qe,qe.x=Ie.bundlePosition[0],qe.y=Ie.bundlePosition[1],Ie.symbolRepeat?createOrUpdateRepeatSymbols(Ue,$e,Ie):createOrUpdateSingleSymbol(Ue,$e,Ie),createOrUpdateBarRect(Ue,Ie,Fe),createOrUpdateClip(Ue,$e,Ie,Fe),Ue.__pictorialShapeStr=getShapeStr(xe,Ie),Ue.__pictorialSymbolMeta=Ie,Ue}function updateBar(xe,$e,Ie){var Fe=Ie.animationModel,Ue=Ie.dataIndex,qe=xe.__pictorialBundle;updateProps$1(qe,{x:Ie.bundlePosition[0],y:Ie.bundlePosition[1]},Fe,Ue),Ie.symbolRepeat?createOrUpdateRepeatSymbols(xe,$e,Ie,!0):createOrUpdateSingleSymbol(xe,$e,Ie,!0),createOrUpdateBarRect(xe,Ie,!0),createOrUpdateClip(xe,$e,Ie,!0)}function removeBar(xe,$e,Ie,Fe){var Ue=Fe.__pictorialBarRect;Ue&&Ue.removeTextContent();var qe=[];eachPath(Fe,function(At){qe.push(At)}),Fe.__pictorialMainPath&&qe.push(Fe.__pictorialMainPath),Fe.__pictorialClipPath&&(Ie=null),each$f(qe,function(At){removeElement(At,{scaleX:0,scaleY:0},Ie,$e,function(){Fe.parent&&Fe.parent.remove(Fe)})}),xe.setItemGraphicEl($e,null)}function getShapeStr(xe,$e){return[xe.getItemVisual($e.dataIndex,"symbol")||"none",!!$e.symbolRepeat,!!$e.symbolClip].join(":")}function eachPath(xe,$e,Ie){each$f(xe.__pictorialBundle.children(),function(Fe){Fe!==xe.__pictorialBarRect&&$e.call(Ie,Fe)})}function updateAttr(xe,$e,Ie,Fe,Ue,qe){$e&&xe.attr($e),Fe.symbolClip&&!Ue?Ie&&xe.attr(Ie):Ie&&graphic[Ue?"updateProps":"initProps"](xe,Ie,Fe.animationModel,Fe.dataIndex,qe)}function updateCommon(xe,$e,Ie){var Fe=Ie.dataIndex,Ue=Ie.itemModel,qe=Ue.getModel("emphasis"),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ue.getModel(["blur","itemStyle"]).getItemStyle(),Lt=Ue.getModel(["select","itemStyle"]).getItemStyle(),jt=Ue.getShallow("cursor"),hn=qe.get("focus"),vn=qe.get("blurScope"),bn=qe.get("scale");eachPath(xe,function(kn){if(kn instanceof ZRImage){var Cn=kn.style;kn.useStyle(extend$1({image:Cn.image,x:Cn.x,y:Cn.y,width:Cn.width,height:Cn.height},Ie.style))}else kn.useStyle(Ie.style);var Sn=kn.ensureState("emphasis");Sn.style=At,bn&&(Sn.scaleX=kn.scaleX*1.1,Sn.scaleY=kn.scaleY*1.1),kn.ensureState("blur").style=Dt,kn.ensureState("select").style=Lt,jt&&(kn.cursor=jt),kn.z2=Ie.z2});var _n=$e.valueDim.posDesc[+(Ie.boundingLength>0)],wn=xe.__pictorialBarRect;wn.ignoreClip=!0,setLabelStyle(wn,getLabelStatesModels(Ue),{labelFetcher:$e.seriesModel,labelDataIndex:Fe,defaultText:getDefaultLabel($e.seriesModel.getData(),Fe),inheritColor:Ie.style.fill,defaultOpacity:Ie.style.opacity,defaultOutsidePosition:_n}),toggleHoverEmphasis(xe,hn,vn,qe.get("disabled"))}function toIntTimes(xe){var $e=Math.round(xe);return Math.abs(xe-$e)<1e-4?$e:Math.ceil(xe)}var PictorialBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie.defaultSymbol="roundRect",Ie}return $e.prototype.getInitialData=function(Ie){return Ie.stack=null,xe.prototype.getInitialData.apply(this,arguments)},$e.type="series.pictorialBar",$e.dependencies=["grid"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),$e}(BaseBarSeriesModel);function install$v(xe){xe.registerChartView(PictorialBarView),xe.registerSeriesModel(PictorialBarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$4,"pictorialBar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._layers=[],Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this,Dt=this.group,Lt=Ie.getLayerSeries(),jt=qe.getLayout("layoutInfo"),hn=jt.rect,vn=jt.boundaryGap;Dt.x=0,Dt.y=hn.y+vn[0];function bn(Cn){return Cn.name}var _n=new DataDiffer(this._layersSeries||[],Lt,bn,bn),wn=[];_n.add(bind$2(kn,this,"add")).update(bind$2(kn,this,"update")).remove(bind$2(kn,this,"remove")).execute();function kn(Cn,Sn,xn){var En=At._layers;if(Cn==="remove"){Dt.remove(En[Sn]);return}for(var Tn=[],An=[],$n,Pn=Lt[Sn].indices,Nn=0;Nn<Pn.length;Nn++){var Mn=qe.getItemLayout(Pn[Nn]),In=Mn.x,On=Mn.y0,Rn=Mn.y;Tn.push(In,On),An.push(In,On+Rn),$n=qe.getItemVisual(Pn[Nn],"style")}var Bn,Vn=qe.getItemLayout(Pn[0]),Ln=Ie.getModel("label"),Dn=Ln.get("margin"),Hn=Ie.getModel("emphasis");if(Cn==="add"){var Fn=wn[Sn]=new Group$3;Bn=new ECPolygon({shape:{points:Tn,stackedOnPoints:An,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),Fn.add(Bn),Dt.add(Fn),Ie.isAnimationEnabled()&&Bn.setClipPath(createGridClipShape(Bn.getBoundingRect(),Ie,function(){Bn.removeClipPath()}))}else{var Fn=En[xn];Bn=Fn.childAt(0),Dt.add(Fn),wn[Sn]=Fn,updateProps$1(Bn,{shape:{points:Tn,stackedOnPoints:An}},Ie),saveOldStyle(Bn)}setLabelStyle(Bn,getLabelStatesModels(Ie),{labelDataIndex:Pn[Nn-1],defaultText:qe.getName(Pn[Nn-1]),inheritColor:$n.fill},{normal:{verticalAlign:"middle"}}),Bn.setTextConfig({position:null,local:!0});var zn=Bn.getTextContent();zn&&(zn.x=Vn.x-Dn,zn.y=Vn.y0+Vn.y/2),Bn.useStyle($n),qe.setItemGraphicEl(Sn,Bn),setStatesStylesFromModel(Bn,Ie),toggleHoverEmphasis(Bn,Hn.get("focus"),Hn.get("blurScope"),Hn.get("disabled"))}this._layersSeries=Lt,this._layers=wn},$e.type="themeRiver",$e}(ChartView);function createGridClipShape(xe,$e,Ie){var Fe=new Rect$2({shape:{x:xe.x-10,y:xe.y-10,width:0,height:xe.height+20}});return initProps(Fe,{shape:{x:xe.x-50,width:xe.width+100,height:xe.height+20}},$e,Ie),Fe}var DATA_NAME_INDEX=2,ThemeRiverSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$2(this.getData,this),bind$2(this.getRawData,this))},$e.prototype.fixData=function(Ie){var Fe=Ie.length,Ue={},qe=groupData(Ie,function(bn){return Ue.hasOwnProperty(bn[0]+"")||(Ue[bn[0]+""]=-1),bn[2]}),At=[];qe.buckets.each(function(bn,_n){At.push({name:_n,dataList:bn})});for(var Dt=At.length,Lt=0;Lt<Dt;++Lt){for(var jt=At[Lt].name,hn=0;hn<At[Lt].dataList.length;++hn){var vn=At[Lt].dataList[hn][0]+"";Ue[vn]=Lt}for(var vn in Ue)Ue.hasOwnProperty(vn)&&Ue[vn]!==Lt&&(Ue[vn]=Lt,Ie[Fe]=[vn,0,jt],Fe++)}return Ie},$e.prototype.getInitialData=function(Ie,Fe){for(var Ue=this.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0],qe=Ue.get("type"),At=filter(Ie.data,function(wn){return wn[2]!==void 0}),Dt=this.fixData(At||[]),Lt=[],jt=this.nameMap=createHashMap(),hn=0,vn=0;vn<Dt.length;++vn)Lt.push(Dt[vn][DATA_NAME_INDEX]),jt.get(Dt[vn][DATA_NAME_INDEX])||(jt.set(Dt[vn][DATA_NAME_INDEX],hn),hn++);var bn=prepareSeriesDataSchema(Dt,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:getDimensionTypeByAxis(qe)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,_n=new SeriesData(bn,this);return _n.initData(Dt),_n},$e.prototype.getLayerSeries=function(){for(var Ie=this.getData(),Fe=Ie.count(),Ue=[],qe=0;qe<Fe;++qe)Ue[qe]=qe;var At=Ie.mapDimension("single"),Dt=groupData(Ue,function(jt){return Ie.get("name",jt)}),Lt=[];return Dt.buckets.each(function(jt,hn){jt.sort(function(vn,bn){return Ie.get(At,vn)-Ie.get(At,bn)}),Lt.push({name:hn,indices:jt})}),Lt},$e.prototype.getAxisTooltipData=function(Ie,Fe,Ue){isArray$2(Ie)||(Ie=Ie?[Ie]:[]);for(var qe=this.getData(),At=this.getLayerSeries(),Dt=[],Lt=At.length,jt,hn=0;hn<Lt;++hn){for(var vn=Number.MAX_VALUE,bn=-1,_n=At[hn].indices.length,wn=0;wn<_n;++wn){var kn=qe.get(Ie[0],At[hn].indices[wn]),Cn=Math.abs(kn-Fe);Cn<=vn&&(jt=kn,vn=Cn,bn=At[hn].indices[wn])}Dt.push(bn)}return{dataIndices:Dt,nestestValue:jt}},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=qe.getName(Ie),Dt=qe.get(qe.mapDimension("value"),Ie);return createTooltipMarkup("nameValue",{name:At,value:Dt})},$e.type="series.themeRiver",$e.dependencies=["singleAxis"],$e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},$e}(SeriesModel);function themeRiverLayout(xe,$e){xe.eachSeriesByType("themeRiver",function(Ie){var Fe=Ie.getData(),Ue=Ie.coordinateSystem,qe={},At=Ue.getRect();qe.rect=At;var Dt=Ie.get("boundaryGap"),Lt=Ue.getAxis();if(qe.boundaryGap=Dt,Lt.orient==="horizontal"){Dt[0]=parsePercent(Dt[0],At.height),Dt[1]=parsePercent(Dt[1],At.height);var jt=At.height-Dt[0]-Dt[1];doThemeRiverLayout(Fe,Ie,jt)}else{Dt[0]=parsePercent(Dt[0],At.width),Dt[1]=parsePercent(Dt[1],At.width);var hn=At.width-Dt[0]-Dt[1];doThemeRiverLayout(Fe,Ie,hn)}Fe.setLayout("layoutInfo",qe)})}function doThemeRiverLayout(xe,$e,Ie){if(xe.count())for(var Fe=$e.coordinateSystem,Ue=$e.getLayerSeries(),qe=xe.mapDimension("single"),At=xe.mapDimension("value"),Dt=map$1(Ue,function(Cn){return map$1(Cn.indices,function(Sn){var xn=Fe.dataToPoint(xe.get(qe,Sn));return xn[1]=xe.get(At,Sn),xn})}),Lt=computeBaseline(Dt),jt=Lt.y0,hn=Ie/Lt.max,vn=Ue.length,bn=Ue[0].indices.length,_n,wn=0;wn<bn;++wn){_n=jt[wn]*hn,xe.setItemLayout(Ue[0].indices[wn],{layerIndex:0,x:Dt[0][wn][0],y0:_n,y:Dt[0][wn][1]*hn});for(var kn=1;kn<vn;++kn)_n+=Dt[kn-1][wn][1]*hn,xe.setItemLayout(Ue[kn].indices[wn],{layerIndex:kn,x:Dt[kn][wn][0],y0:_n,y:Dt[kn][wn][1]*hn})}}function computeBaseline(xe){for(var $e=xe.length,Ie=xe[0].length,Fe=[],Ue=[],qe=0,At=0;At<Ie;++At){for(var Dt=0,Lt=0;Lt<$e;++Lt)Dt+=xe[Lt][At][1];Dt>qe&&(qe=Dt),Fe.push(Dt)}for(var jt=0;jt<Ie;++jt)Ue[jt]=(qe-Fe[jt])/2;qe=0;for(var hn=0;hn<Ie;++hn){var vn=Fe[hn]+Ue[hn];vn>qe&&(qe=vn)}return{y0:Ue,max:qe}}function install$u(xe){xe.registerChartView(ThemeRiverView),xe.registerSeriesModel(ThemeRiverSeriesModel),xe.registerLayout(themeRiverLayout),xe.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;At.z2=DEFAULT_SECTOR_Z,At.textConfig={inside:!0},getECData(At).seriesIndex=Fe.seriesIndex;var Dt=new ZRText({z2:DEFAULT_TEXT_Z,silent:Ie.getModel().get(["label","silent"])});return At.setTextContent(Dt),At.updateData(!0,Ie,Fe,Ue,qe),At}return $e.prototype.updateData=function(Ie,Fe,Ue,qe,At){this.node=Fe,Fe.piece=this,Ue=Ue||this._seriesModel,qe=qe||this._ecModel;var Dt=this;getECData(Dt).dataIndex=Fe.dataIndex;var Lt=Fe.getModel(),jt=Lt.getModel("emphasis"),hn=Fe.getLayout(),vn=extend$1({},hn);vn.label=null;var bn=Fe.getVisual("style");bn.lineJoin="bevel";var _n=Fe.getVisual("decal");_n&&(bn.decal=createOrUpdatePatternFromDecal(_n,At));var wn=getSectorCornerRadius(Lt.getModel("itemStyle"),vn,!0);extend$1(vn,wn),each$f(SPECIAL_STATES,function(xn){var En=Dt.ensureState(xn),Tn=Lt.getModel([xn,"itemStyle"]);En.style=Tn.getItemStyle();var An=getSectorCornerRadius(Tn,vn);An&&(En.shape=An)}),Ie?(Dt.setShape(vn),Dt.shape.r=hn.r0,initProps(Dt,{shape:{r:hn.r}},Ue,Fe.dataIndex)):(updateProps$1(Dt,{shape:vn},Ue),saveOldStyle(Dt)),Dt.useStyle(bn),this._updateLabel(Ue);var kn=Lt.getShallow("cursor");kn&&Dt.attr("cursor",kn),this._seriesModel=Ue||this._seriesModel,this._ecModel=qe||this._ecModel;var Cn=jt.get("focus"),Sn=Cn==="ancestor"?Fe.getAncestorsIndices():Cn==="descendant"?Fe.getDescendantIndices():Cn;toggleHoverEmphasis(this,Sn,jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie){var Fe=this,Ue=this.node.getModel(),qe=Ue.getModel("label"),At=this.node.getLayout(),Dt=At.endAngle-At.startAngle,Lt=(At.startAngle+At.endAngle)/2,jt=Math.cos(Lt),hn=Math.sin(Lt),vn=this,bn=vn.getTextContent(),_n=this.node.dataIndex,wn=qe.get("minAngle")/180*Math.PI,kn=qe.get("show")&&!(wn!=null&&Math.abs(Dt)<wn);bn.ignore=!kn,each$f(DISPLAY_STATES,function(Sn){var xn=Sn==="normal"?Ue.getModel("label"):Ue.getModel([Sn,"label"]),En=Sn==="normal",Tn=En?bn:bn.ensureState(Sn),An=Ie.getFormattedLabel(_n,Sn);En&&(An=An||Fe.node.name),Tn.style=createTextStyle(xn,{},null,Sn!=="normal",!0),An&&(Tn.style.text=An);var $n=xn.get("show");$n!=null&&!En&&(Tn.ignore=!$n);var Pn=Cn(xn,"position"),Nn=En?vn:vn.states[Sn],Mn=Nn.style.fill;Nn.textConfig={outsideFill:xn.get("color")==="inherit"?Mn:null,inside:Pn!=="outside"};var In,On=Cn(xn,"distance")||0,Rn=Cn(xn,"align"),Bn=Cn(xn,"rotate"),Vn=Math.PI*.5,Ln=Math.PI*1.5,Dn=normalizeRadian(Bn==="tangential"?Math.PI/2-Lt:Lt),Hn=Dn>Vn&&!isRadianAroundZero(Dn-Vn)&&Dn<Ln;Pn==="outside"?(In=At.r+On,Rn=Hn?"right":"left"):!Rn||Rn==="center"?(Dt===2*Math.PI&&At.r0===0?In=0:In=(At.r+At.r0)/2,Rn="center"):Rn==="left"?(In=At.r0+On,Rn=Hn?"right":"left"):Rn==="right"&&(In=At.r-On,Rn=Hn?"left":"right"),Tn.style.align=Rn,Tn.style.verticalAlign=Cn(xn,"verticalAlign")||"middle",Tn.x=In*jt+At.cx,Tn.y=In*hn+At.cy;var Fn=0;Bn==="radial"?Fn=normalizeRadian(-Lt)+(Hn?Math.PI:0):Bn==="tangential"?Fn=normalizeRadian(Math.PI/2-Lt)+(Hn?Math.PI:0):isNumber$2(Bn)&&(Fn=Bn*Math.PI/180),Tn.rotation=normalizeRadian(Fn)});function Cn(Sn,xn){var En=Sn.get(xn);return En??qe.get(xn)}bn.dirtyStyle()},$e}(Sector),ROOT_TO_NODE_ACTION="sunburstRootToNode",HIGHLIGHT_ACTION="sunburstHighlight",UNHIGHLIGHT_ACTION="sunburstUnhighlight";function installSunburstAction(xe){xe.registerAction({type:ROOT_TO_NODE_ACTION,update:"updateView"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"sunburst",query:$e},Fe);function Fe(Ue,qe){var At=retrieveTargetInfo($e,[ROOT_TO_NODE_ACTION],Ue);if(At){var Dt=Ue.getViewRoot();Dt&&($e.direction=aboveViewRoot(Dt,At.node)?"rollUp":"drillDown"),Ue.resetViewRoot(At.node)}}}),xe.registerAction({type:HIGHLIGHT_ACTION,update:"none"},function($e,Ie,Fe){$e=extend$1({},$e),Ie.eachComponent({mainType:"series",subType:"sunburst",query:$e},Ue);function Ue(qe){var At=retrieveTargetInfo($e,[HIGHLIGHT_ACTION],qe);At&&($e.dataIndex=At.node.dataIndex)}Fe.dispatchAction(extend$1($e,{type:"highlight"}))}),xe.registerAction({type:UNHIGHLIGHT_ACTION,update:"updateView"},function($e,Ie,Fe){$e=extend$1({},$e),Fe.dispatchAction(extend$1($e,{type:"downplay"}))})}var SunburstView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=this;this.seriesModel=Ie,this.api=Ue,this.ecModel=Fe;var Dt=Ie.getData(),Lt=Dt.tree.root,jt=Ie.getViewRoot(),hn=this.group,vn=Ie.get("renderLabelForZeroData"),bn=[];jt.eachNode(function(xn){bn.push(xn)});var _n=this._oldChildren||[];wn(bn,_n),Sn(Lt,jt),this._initEvents(),this._oldChildren=bn;function wn(xn,En){if(xn.length===0&&En.length===0)return;new DataDiffer(En,xn,Tn,Tn).add(An).update(An).remove(curry$1(An,null)).execute();function Tn($n){return $n.getId()}function An($n,Pn){var Nn=$n==null?null:xn[$n],Mn=Pn==null?null:En[Pn];kn(Nn,Mn)}}function kn(xn,En){if(!vn&&xn&&!xn.getValue()&&(xn=null),xn!==Lt&&En!==Lt){if(En&&En.piece)xn?(En.piece.updateData(!1,xn,Ie,Fe,Ue),Dt.setItemGraphicEl(xn.dataIndex,En.piece)):Cn(En);else if(xn){var Tn=new SunburstPiece(xn,Ie,Fe,Ue);hn.add(Tn),Dt.setItemGraphicEl(xn.dataIndex,Tn)}}}function Cn(xn){xn&&xn.piece&&(hn.remove(xn.piece),xn.piece=null)}function Sn(xn,En){En.depth>0?(At.virtualPiece?At.virtualPiece.updateData(!1,xn,Ie,Fe,Ue):(At.virtualPiece=new SunburstPiece(xn,Ie,Fe,Ue),hn.add(At.virtualPiece)),En.piece.off("click"),At.virtualPiece.on("click",function(Tn){At._rootToNode(En.parentNode)})):At.virtualPiece&&(hn.remove(At.virtualPiece),At.virtualPiece=null)}},$e.prototype._initEvents=function(){var Ie=this;this.group.off("click"),this.group.on("click",function(Fe){var Ue=!1,qe=Ie.seriesModel.getViewRoot();qe.eachNode(function(At){if(!Ue&&At.piece&&At.piece===Fe.target){var Dt=At.getModel().get("nodeClick");if(Dt==="rootToNode")Ie._rootToNode(At);else if(Dt==="link"){var Lt=At.getModel(),jt=Lt.get("link");if(jt){var hn=Lt.get("target",!0)||"_blank";windowOpen(jt,hn)}}Ue=!0}})})},$e.prototype._rootToNode=function(Ie){Ie!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie})},$e.prototype.containPoint=function(Ie,Fe){var Ue=Fe.getData(),qe=Ue.getItemLayout(0);if(qe){var At=Ie[0]-qe.cx,Dt=Ie[1]-qe.cy,Lt=Math.sqrt(At*At+Dt*Dt);return Lt<=qe.r&&Lt>=qe.r0}},$e.type="sunburst",$e}(ChartView),SunburstSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue(Ue);var qe=this._levelModels=map$1(Ie.levels||[],function(Lt){return new Model(Lt,this,Fe)},this),At=Tree$1.createTree(Ue,this,Dt);function Dt(Lt){Lt.wrapMethod("getItemModel",function(jt,hn){var vn=At.getNodeByDataIndex(hn),bn=qe[vn.depth];return bn&&(jt.parentModel=bn),jt})}return At.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treePathInfo=wrapTreePathInfo(Ue,this),Fe},$e.prototype.getLevelModel=function(Ie){return this._levelModels&&this._levelModels[Ie.depth]},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.sunburst",$e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},$e}(SeriesModel);function completeTreeValue(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue(Fe);var Ue=Fe.value;isArray$2(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$2(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$2(xe.value)?xe.value[0]=Ie:xe.value=Ie}var RADIAN=Math.PI/180;function sunburstLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.get("center"),qe=Fe.get("radius");isArray$2(qe)||(qe=[0,qe]),isArray$2(Ue)||(Ue=[Ue,Ue]);var At=Ie.getWidth(),Dt=Ie.getHeight(),Lt=Math.min(At,Dt),jt=parsePercent(Ue[0],At),hn=parsePercent(Ue[1],Dt),vn=parsePercent(qe[0],Lt/2),bn=parsePercent(qe[1],Lt/2),_n=-Fe.get("startAngle")*RADIAN,wn=Fe.get("minAngle")*RADIAN,kn=Fe.getData().tree.root,Cn=Fe.getViewRoot(),Sn=Cn.depth,xn=Fe.get("sort");xn!=null&&initChildren(Cn,xn);var En=0;each$f(Cn.children,function(Dn){!isNaN(Dn.getValue())&&En++});var Tn=Cn.getValue(),An=Math.PI/(Tn||En)*2,$n=Cn.depth>0,Pn=Cn.height-($n?-1:1),Nn=(bn-vn)/(Pn||1),Mn=Fe.get("clockwise"),In=Fe.get("stillShowZeroSum"),On=Mn?1:-1,Rn=function(Dn,Hn){if(Dn){var Fn=Hn;if(Dn!==kn){var zn=Dn.getValue(),jn=Tn===0&&In?An:zn*An;jn<wn&&(jn=wn),Fn=Hn+On*jn;var Gn=Dn.depth-Sn-($n?-1:1),Wn=vn+Nn*Gn,Xn=vn+Nn*(Gn+1),er=Fe.getLevelModel(Dn);if(er){var rr=er.get("r0",!0),Jn=er.get("r",!0),qn=er.get("radius",!0);qn!=null&&(rr=qn[0],Jn=qn[1]),rr!=null&&(Wn=parsePercent(rr,Lt/2)),Jn!=null&&(Xn=parsePercent(Jn,Lt/2))}Dn.setLayout({angle:jn,startAngle:Hn,endAngle:Fn,clockwise:Mn,cx:jt,cy:hn,r0:Wn,r:Xn})}if(Dn.children&&Dn.children.length){var Yn=0;each$f(Dn.children,function(ar){Yn+=Rn(ar,Hn+Yn)})}return Fn-Hn}};if($n){var Bn=vn,Vn=vn+Nn,Ln=Math.PI*2;kn.setLayout({angle:Ln,startAngle:_n,endAngle:_n+Ln,clockwise:Mn,cx:jt,cy:hn,r0:Bn,r:Vn})}Rn(Cn,_n)})}function initChildren(xe,$e){var Ie=xe.children||[];xe.children=sort(Ie,$e),Ie.length&&each$f(xe.children,function(Fe){initChildren(Fe,$e)})}function sort(xe,$e){if(isFunction$2($e)){var Ie=map$1(xe,function(Ue,qe){var At=Ue.getValue();return{params:{depth:Ue.depth,height:Ue.height,dataIndex:Ue.dataIndex,getValue:function(){return At}},index:qe}});return Ie.sort(function(Ue,qe){return $e(Ue.params,qe.params)}),map$1(Ie,function(Ue){return xe[Ue.index]})}else{var Fe=$e==="asc";return xe.sort(function(Ue,qe){var At=(Ue.getValue()-qe.getValue())*(Fe?1:-1);return At===0?(Ue.dataIndex-qe.dataIndex)*(Fe?-1:1):At})}}function sunburstVisual(xe){var $e={};function Ie(Fe,Ue,qe){for(var At=Fe;At&&At.depth>1;)At=At.parentNode;var Dt=Ue.getColorFromPalette(At.name||At.dataIndex+"",$e);return Fe.depth>1&&isString$2(Dt)&&(Dt=lift(Dt,(Fe.depth-1)/(qe-1)*.5)),Dt}xe.eachSeriesByType("sunburst",function(Fe){var Ue=Fe.getData(),qe=Ue.tree;qe.eachNode(function(At){var Dt=At.getModel(),Lt=Dt.getModel("itemStyle").getItemStyle();Lt.fill||(Lt.fill=Ie(At,Fe,qe.root.height));var jt=Ue.ensureUniqueItemVisual(At.dataIndex,"style");extend$1(jt,Lt)})})}function install$t(xe){xe.registerChartView(SunburstView),xe.registerSeriesModel(SunburstSeriesModel),xe.registerLayout(curry$1(sunburstLayout,"sunburst")),xe.registerProcessor(curry$1(dataFilter$1,"sunburst")),xe.registerVisual(sunburstVisual),installSunburstAction(xe)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this)},$e.prototype.getDataParams=function(Ie,Fe,Ue){var qe=xe.prototype.getDataParams.call(this,Ie,Fe);return Ue&&(qe.info=customInnerStore(Ue).info),qe},$e.type="series.custom",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},$e}(SeriesModel);function dataToCoordSize$3(xe,$e){return $e=$e||[0,0],map$1(["x","y"],function(Ie,Fe){var Ue=this.getAxis(Ie),qe=$e[Fe],At=xe[Fe]/2;return Ue.type==="category"?Ue.getBandWidth():Math.abs(Ue.dataToCoord(qe-At)-Ue.dataToCoord(qe+At))},this)}function cartesianPrepareCustom(xe){var $e=xe.master.getRect();return{coordSys:{type:"cartesian2d",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$2(dataToCoordSize$3,xe)}}}function dataToCoordSize$2(xe,$e){return $e=$e||[0,0],map$1([0,1],function(Ie){var Fe=$e[Ie],Ue=xe[Ie]/2,qe=[],At=[];return qe[Ie]=Fe-Ue,At[Ie]=Fe+Ue,qe[1-Ie]=At[1-Ie]=$e[1-Ie],Math.abs(this.dataToPoint(qe)[Ie]-this.dataToPoint(At)[Ie])},this)}function geoPrepareCustom(xe){var $e=xe.getBoundingRect();return{coordSys:{type:"geo",x:$e.x,y:$e.y,width:$e.width,height:$e.height,zoom:xe.getZoom()},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$2(dataToCoordSize$2,xe)}}}function dataToCoordSize$1(xe,$e){var Ie=this.getAxis(),Fe=$e instanceof Array?$e[0]:$e,Ue=(xe instanceof Array?xe[0]:xe)/2;return Ie.type==="category"?Ie.getBandWidth():Math.abs(Ie.dataToCoord(Fe-Ue)-Ie.dataToCoord(Fe+Ue))}function singlePrepareCustom(xe){var $e=xe.getRect();return{coordSys:{type:"singleAxis",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$2(dataToCoordSize$1,xe)}}}function dataToCoordSize(xe,$e){return $e=$e||[0,0],map$1(["Radius","Angle"],function(Ie,Fe){var Ue="get"+Ie+"Axis",qe=this[Ue](),At=$e[Fe],Dt=xe[Fe]/2,Lt=qe.type==="category"?qe.getBandWidth():Math.abs(qe.dataToCoord(At-Dt)-qe.dataToCoord(At+Dt));return Ie==="Angle"&&(Lt=Lt*Math.PI/180),Lt},this)}function polarPrepareCustom(xe){var $e=xe.getRadiusAxis(),Ie=xe.getAngleAxis(),Fe=$e.getExtent();return Fe[0]>Fe[1]&&Fe.reverse(),{coordSys:{type:"polar",cx:xe.cx,cy:xe.cy,r:Fe[1],r0:Fe[0]},api:{coord:function(Ue){var qe=$e.dataToRadius(Ue[0]),At=Ie.dataToAngle(Ue[1]),Dt=xe.coordToPoint([qe,At]);return Dt.push(qe,At*Math.PI/180),Dt},size:bind$2(dataToCoordSize,xe)}}}function calendarPrepareCustom(xe){var $e=xe.getRect(),Ie=xe.getRangeInfo();return{coordSys:{type:"calendar",x:$e.x,y:$e.y,width:$e.width,height:$e.height,cellWidth:xe.getCellWidth(),cellHeight:xe.getCellHeight(),rangeInfo:{start:Ie.start,end:Ie.end,weeks:Ie.weeks,dayCount:Ie.allDay}},api:{coord:function(Fe,Ue){return xe.dataToPoint(Fe,Ue)}}}}function isEC4CompatibleStyle(xe,$e,Ie,Fe){return xe&&(xe.legacy||xe.legacy!==!1&&!Ie&&!Fe&&$e!=="tspan"&&($e==="text"||hasOwn(xe,"text")))}function convertFromEC4CompatibleStyle(xe,$e,Ie){var Fe=xe,Ue,qe,At;if($e==="text")At=Fe;else{At={},hasOwn(Fe,"text")&&(At.text=Fe.text),hasOwn(Fe,"rich")&&(At.rich=Fe.rich),hasOwn(Fe,"textFill")&&(At.fill=Fe.textFill),hasOwn(Fe,"textStroke")&&(At.stroke=Fe.textStroke),hasOwn(Fe,"fontFamily")&&(At.fontFamily=Fe.fontFamily),hasOwn(Fe,"fontSize")&&(At.fontSize=Fe.fontSize),hasOwn(Fe,"fontStyle")&&(At.fontStyle=Fe.fontStyle),hasOwn(Fe,"fontWeight")&&(At.fontWeight=Fe.fontWeight),qe={type:"text",style:At,silent:!0},Ue={};var Dt=hasOwn(Fe,"textPosition");Ie?Ue.position=Dt?Fe.textPosition:"inside":Dt&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textPosition")&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textOffset")&&(Ue.offset=Fe.textOffset),hasOwn(Fe,"textRotation")&&(Ue.rotation=Fe.textRotation),hasOwn(Fe,"textDistance")&&(Ue.distance=Fe.textDistance)}return convertEC4CompatibleRichItem(At,xe),each$f(At.rich,function(Lt){convertEC4CompatibleRichItem(Lt,Lt)}),{textConfig:Ue,textContent:qe}}function convertEC4CompatibleRichItem(xe,$e){$e&&($e.font=$e.textFont||$e.font,hasOwn($e,"textStrokeWidth")&&(xe.lineWidth=$e.textStrokeWidth),hasOwn($e,"textAlign")&&(xe.align=$e.textAlign),hasOwn($e,"textVerticalAlign")&&(xe.verticalAlign=$e.textVerticalAlign),hasOwn($e,"textLineHeight")&&(xe.lineHeight=$e.textLineHeight),hasOwn($e,"textWidth")&&(xe.width=$e.textWidth),hasOwn($e,"textHeight")&&(xe.height=$e.textHeight),hasOwn($e,"textBackgroundColor")&&(xe.backgroundColor=$e.textBackgroundColor),hasOwn($e,"textPadding")&&(xe.padding=$e.textPadding),hasOwn($e,"textBorderColor")&&(xe.borderColor=$e.textBorderColor),hasOwn($e,"textBorderWidth")&&(xe.borderWidth=$e.textBorderWidth),hasOwn($e,"textBorderRadius")&&(xe.borderRadius=$e.textBorderRadius),hasOwn($e,"textBoxShadowColor")&&(xe.shadowColor=$e.textBoxShadowColor),hasOwn($e,"textBoxShadowBlur")&&(xe.shadowBlur=$e.textBoxShadowBlur),hasOwn($e,"textBoxShadowOffsetX")&&(xe.shadowOffsetX=$e.textBoxShadowOffsetX),hasOwn($e,"textBoxShadowOffsetY")&&(xe.shadowOffsetY=$e.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(xe,$e,Ie){var Fe=xe;Fe.textPosition=Fe.textPosition||Ie.position||"inside",Ie.offset!=null&&(Fe.textOffset=Ie.offset),Ie.rotation!=null&&(Fe.textRotation=Ie.rotation),Ie.distance!=null&&(Fe.textDistance=Ie.distance);var Ue=Fe.textPosition.indexOf("inside")>=0,qe=xe.fill||"#000";convertToEC4RichItem(Fe,$e);var At=Fe.textFill==null;return Ue?At&&(Fe.textFill=Ie.insideFill||"#fff",!Fe.textStroke&&Ie.insideStroke&&(Fe.textStroke=Ie.insideStroke),!Fe.textStroke&&(Fe.textStroke=qe),Fe.textStrokeWidth==null&&(Fe.textStrokeWidth=2)):(At&&(Fe.textFill=xe.fill||Ie.outsideFill||"#000"),!Fe.textStroke&&Ie.outsideStroke&&(Fe.textStroke=Ie.outsideStroke)),Fe.text=$e.text,Fe.rich=$e.rich,each$f($e.rich,function(Dt){convertToEC4RichItem(Dt,Dt)}),Fe}function convertToEC4RichItem(xe,$e){$e&&(hasOwn($e,"fill")&&(xe.textFill=$e.fill),hasOwn($e,"stroke")&&(xe.textStroke=$e.fill),hasOwn($e,"lineWidth")&&(xe.textStrokeWidth=$e.lineWidth),hasOwn($e,"font")&&(xe.font=$e.font),hasOwn($e,"fontStyle")&&(xe.fontStyle=$e.fontStyle),hasOwn($e,"fontWeight")&&(xe.fontWeight=$e.fontWeight),hasOwn($e,"fontSize")&&(xe.fontSize=$e.fontSize),hasOwn($e,"fontFamily")&&(xe.fontFamily=$e.fontFamily),hasOwn($e,"align")&&(xe.textAlign=$e.align),hasOwn($e,"verticalAlign")&&(xe.textVerticalAlign=$e.verticalAlign),hasOwn($e,"lineHeight")&&(xe.textLineHeight=$e.lineHeight),hasOwn($e,"width")&&(xe.textWidth=$e.width),hasOwn($e,"height")&&(xe.textHeight=$e.height),hasOwn($e,"backgroundColor")&&(xe.textBackgroundColor=$e.backgroundColor),hasOwn($e,"padding")&&(xe.textPadding=$e.padding),hasOwn($e,"borderColor")&&(xe.textBorderColor=$e.borderColor),hasOwn($e,"borderWidth")&&(xe.textBorderWidth=$e.borderWidth),hasOwn($e,"borderRadius")&&(xe.textBorderRadius=$e.borderRadius),hasOwn($e,"shadowColor")&&(xe.textBoxShadowColor=$e.shadowColor),hasOwn($e,"shadowBlur")&&(xe.textBoxShadowBlur=$e.shadowBlur),hasOwn($e,"shadowOffsetX")&&(xe.textBoxShadowOffsetX=$e.shadowOffsetX),hasOwn($e,"shadowOffsetY")&&(xe.textBoxShadowOffsetY=$e.shadowOffsetY),hasOwn($e,"textShadowColor")&&(xe.textShadowColor=$e.textShadowColor),hasOwn($e,"textShadowBlur")&&(xe.textShadowBlur=$e.textShadowBlur),hasOwn($e,"textShadowOffsetX")&&(xe.textShadowOffsetX=$e.textShadowOffsetX),hasOwn($e,"textShadowOffsetY")&&(xe.textShadowOffsetY=$e.textShadowOffsetY))}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(xe,$e){return xe[$e]=1,xe},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(xe,$e,Ie,Fe,Ue){var qe=xe+"Animation",At=getAnimationConfig(xe,Fe,Ue)||{},Dt=transitionInnerStore($e).userDuring;return At.duration>0&&(At.during=Dt?bind$2(duringCall,{el:$e,userDuring:Dt}):null,At.setToFinal=!0,At.scope=xe),extend$1(At,Ie[qe]),At}function applyUpdateTransition(xe,$e,Ie,Fe){Fe=Fe||{};var Ue=Fe.dataIndex,qe=Fe.isInit,At=Fe.clearStyle,Dt=Ie.isAnimationEnabled(),Lt=transitionInnerStore(xe),jt=$e.style;Lt.userDuring=$e.during;var hn={},vn={};if(prepareTransformAllPropsFinal(xe,$e,vn),prepareShapeOrExtraAllPropsFinal("shape",$e,vn),prepareShapeOrExtraAllPropsFinal("extra",$e,vn),!qe&&Dt&&(prepareTransformTransitionFrom(xe,$e,hn),prepareShapeOrExtraTransitionFrom("shape",xe,$e,hn),prepareShapeOrExtraTransitionFrom("extra",xe,$e,hn),prepareStyleTransitionFrom(xe,$e,jt,hn)),vn.style=jt,applyPropsDirectly(xe,vn,At),applyMiscProps(xe,$e),Dt)if(qe){var bn={};each$f(ELEMENT_ANIMATABLE_PROPS,function(wn){var kn=wn?$e[wn]:$e;kn&&kn.enterFrom&&(wn&&(bn[wn]=bn[wn]||{}),extend$1(wn?bn[wn]:bn,kn.enterFrom))});var _n=getElementAnimationConfig("enter",xe,$e,Ie,Ue);_n.duration>0&&xe.animateFrom(bn,_n)}else applyPropsTransition(xe,$e,Ue||0,Ie,hn);updateLeaveTo(xe,$e),jt?xe.dirty():xe.markRedraw()}function updateLeaveTo(xe,$e){for(var Ie=transitionInnerStore(xe).leaveToProps,Fe=0;Fe<ELEMENT_ANIMATABLE_PROPS.length;Fe++){var Ue=ELEMENT_ANIMATABLE_PROPS[Fe],qe=Ue?$e[Ue]:$e;qe&&qe.leaveTo&&(Ie||(Ie=transitionInnerStore(xe).leaveToProps={}),Ue&&(Ie[Ue]=Ie[Ue]||{}),extend$1(Ue?Ie[Ue]:Ie,qe.leaveTo))}}function applyLeaveTransition(xe,$e,Ie,Fe){if(xe){var Ue=xe.parent,qe=transitionInnerStore(xe).leaveToProps;if(qe){var At=getElementAnimationConfig("update",xe,$e,Ie,0);At.done=function(){Ue.remove(xe)},xe.animateTo(qe,At)}else Ue.remove(xe)}}function isTransitionAll(xe){return xe==="all"}function applyPropsDirectly(xe,$e,Ie){var Fe=$e.style;if(!xe.isGroup&&Fe){if(Ie){xe.useStyle({});for(var Ue=xe.animators,qe=0;qe<Ue.length;qe++){var At=Ue[qe];At.targetName==="style"&&At.changeTarget(xe.style)}}xe.setStyle(Fe)}$e&&($e.style=null,$e&&xe.attr($e),$e.style=Fe)}function applyPropsTransition(xe,$e,Ie,Fe,Ue){if(Ue){var qe=getElementAnimationConfig("update",xe,$e,Fe,Ie);qe.duration>0&&xe.animateFrom(Ue,qe)}}function applyMiscProps(xe,$e){hasOwn($e,"silent")&&(xe.silent=$e.silent),hasOwn($e,"ignore")&&(xe.ignore=$e.ignore),xe instanceof Displayable&&hasOwn($e,"invisible")&&(xe.invisible=$e.invisible),xe instanceof Path&&hasOwn($e,"autoBatch")&&(xe.autoBatch=$e.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(xe,$e){return tmpDuringScope.el[xe]=$e,this},getTransform:function(xe){return tmpDuringScope.el[xe]},setShape:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.shape||(Ie.shape={});return Fe[xe]=$e,Ie.dirtyShape&&Ie.dirtyShape(),this},getShape:function(xe){var $e=tmpDuringScope.el.shape;if($e)return $e[xe]},setStyle:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.style;return Fe&&(Fe[xe]=$e,Ie.dirtyStyle&&Ie.dirtyStyle()),this},getStyle:function(xe){var $e=tmpDuringScope.el.style;if($e)return $e[xe]},setExtra:function(xe,$e){var Ie=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return Ie[xe]=$e,this},getExtra:function(xe){var $e=tmpDuringScope.el.extra;if($e)return $e[xe]}};function duringCall(){var xe=this,$e=xe.el;if($e){var Ie=transitionInnerStore($e).userDuring,Fe=xe.userDuring;if(Ie!==Fe){xe.el=xe.userDuring=null;return}tmpDuringScope.el=$e,Fe(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(xe,$e,Ie,Fe){var Ue=Ie[xe];if(Ue){var qe=$e[xe],At;if(qe){var Dt=Ie.transition,Lt=Ue.transition;if(Lt)if(!At&&(At=Fe[xe]={}),isTransitionAll(Lt))extend$1(At,qe);else for(var jt=normalizeToArray(Lt),hn=0;hn<jt.length;hn++){var vn=jt[hn],bn=qe[vn];At[vn]=bn}else if(isTransitionAll(Dt)||indexOf(Dt,xe)>=0){!At&&(At=Fe[xe]={});for(var _n=keys(qe),hn=0;hn<_n.length;hn++){var vn=_n[hn],bn=qe[vn];isNonStyleTransitionEnabled(Ue[vn],bn)&&(At[vn]=bn)}}}}}function prepareShapeOrExtraAllPropsFinal(xe,$e,Ie){var Fe=$e[xe];if(Fe)for(var Ue=Ie[xe]={},qe=keys(Fe),At=0;At<qe.length;At++){var Dt=qe[At];Ue[Dt]=cloneValue(Fe[Dt])}}function prepareTransformTransitionFrom(xe,$e,Ie){for(var Fe=$e.transition,Ue=isTransitionAll(Fe)?TRANSFORMABLE_PROPS:normalizeToArray(Fe||[]),qe=0;qe<Ue.length;qe++){var At=Ue[qe];if(!(At==="style"||At==="shape"||At==="extra")){var Dt=xe[At];Ie[At]=Dt}}}function prepareTransformAllPropsFinal(xe,$e,Ie){for(var Fe=0;Fe<LEGACY_TRANSFORM_PROPS.length;Fe++){var Ue=LEGACY_TRANSFORM_PROPS[Fe],qe=LEGACY_TRANSFORM_PROPS_MAP[Ue],At=$e[Ue];At&&(Ie[qe[0]]=At[0],Ie[qe[1]]=At[1])}for(var Fe=0;Fe<TRANSFORMABLE_PROPS.length;Fe++){var Dt=TRANSFORMABLE_PROPS[Fe];$e[Dt]!=null&&(Ie[Dt]=$e[Dt])}}function prepareStyleTransitionFrom(xe,$e,Ie,Fe){if(Ie){var Ue=xe.style,qe;if(Ue){var At=Ie.transition,Dt=$e.transition;if(At&&!isTransitionAll(At)){var Lt=normalizeToArray(At);!qe&&(qe=Fe.style={});for(var jt=0;jt<Lt.length;jt++){var hn=Lt[jt],vn=Ue[hn];qe[hn]=vn}}else if(xe.getAnimationStyleProps&&(isTransitionAll(Dt)||isTransitionAll(At)||indexOf(Dt,"style")>=0)){var bn=xe.getAnimationStyleProps(),_n=bn?bn.style:null;if(_n){!qe&&(qe=Fe.style={});for(var wn=keys(Ie),jt=0;jt<wn.length;jt++){var hn=wn[jt];if(_n[hn]){var vn=Ue[hn];qe[hn]=vn}}}}}}}function isNonStyleTransitionEnabled(xe,$e){return isArrayLike(xe)?xe!==$e:xe!=null&&isFinite(xe)}var getStateToRestore=makeInner(),KEYFRAME_EXCLUDE_KEYS=["percent","easing","shape","style","extra"];function stopPreviousKeyframeAnimationAndRestore(xe){xe.stopAnimation("keyframe"),xe.attr(getStateToRestore(xe))}function applyKeyframeAnimation(xe,$e,Ie){if(!(!Ie.isAnimationEnabled()||!$e)){if(isArray$2($e)){each$f($e,function(Dt){applyKeyframeAnimation(xe,Dt,Ie)});return}var Fe=$e.keyframes,Ue=$e.duration;if(Ie&&Ue==null){var qe=getAnimationConfig("enter",Ie,0);Ue=qe&&qe.duration}if(!(!Fe||!Ue)){var At=getStateToRestore(xe);each$f(ELEMENT_ANIMATABLE_PROPS,function(Dt){if(!(Dt&&!xe[Dt])){var Lt;Fe.sort(function(jt,hn){return jt.percent-hn.percent}),each$f(Fe,function(jt){var hn=xe.animators,vn=Dt?jt[Dt]:jt;if(vn){var bn=keys(vn);if(Dt||(bn=filter(bn,function(kn){return indexOf(KEYFRAME_EXCLUDE_KEYS,kn)<0})),!!bn.length){Lt||(Lt=xe.animate(Dt,$e.loop,!0),Lt.scope="keyframe");for(var _n=0;_n<hn.length;_n++)hn[_n]!==Lt&&hn[_n].targetName===Lt.targetName&&hn[_n].stopTracks(bn);Dt&&(At[Dt]=At[Dt]||{});var wn=Dt?At[Dt]:At;each$f(bn,function(kn){wn[kn]=((Dt?xe[Dt]:xe)||{})[kn]}),Lt.whenWithKeys(Ue*jt.percent,vn,bn,jt.easing)}}}),Lt&&Lt.delay($e.delay||0).duration(Ue).start($e.easing)}})}}}var EMPHASIS="emphasis",NORMAL="normal",BLUR="blur",SELECT="select",STATES=[NORMAL,EMPHASIS,BLUR,SELECT],PATH_ITEM_STYLE={normal:["itemStyle"],emphasis:[EMPHASIS,"itemStyle"],blur:[BLUR,"itemStyle"],select:[SELECT,"itemStyle"]},PATH_LABEL={normal:["label"],emphasis:[EMPHASIS,"label"],blur:[BLUR,"label"],select:[SELECT,"label"]},DEFAULT_TRANSITION=["x","y"],GROUP_DIFF_PREFIX="e\0\0",attachedTxInfoTmp={normal:{},emphasis:{},blur:{},select:{}},prepareCustoms={cartesian2d:cartesianPrepareCustom,geo:geoPrepareCustom,single:singlePrepareCustom,polar:polarPrepareCustom,calendar:calendarPrepareCustom};function isPath(xe){return xe instanceof Path}function isDisplayable(xe){return xe instanceof Displayable}function copyElement(xe,$e){$e.copyTransform(xe),isDisplayable($e)&&isDisplayable(xe)&&($e.setStyle(xe.style),$e.z=xe.z,$e.z2=xe.z2,$e.zlevel=xe.zlevel,$e.invisible=xe.invisible,$e.ignore=xe.ignore,isPath($e)&&isPath(xe)&&$e.setShape(xe.shape))}var CustomChartView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){this._progressiveEls=null;var At=this._data,Dt=Ie.getData(),Lt=this.group,jt=makeRenderItem(Ie,Dt,Fe,Ue);At||Lt.removeAll(),Dt.diff(At).add(function(vn){createOrUpdateItem(Ue,null,vn,jt(vn,qe),Ie,Lt,Dt)}).remove(function(vn){var bn=At.getItemGraphicEl(vn);bn&&applyLeaveTransition(bn,customInnerStore(bn).option,Ie)}).update(function(vn,bn){var _n=At.getItemGraphicEl(bn);createOrUpdateItem(Ue,_n,vn,jt(vn,qe),Ie,Lt,Dt)}).execute();var hn=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;hn?Lt.setClipPath(hn):Lt.removeClipPath(),this._data=Dt},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this.group.removeAll(),this._data=null},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe,At){var Dt=Fe.getData(),Lt=makeRenderItem(Fe,Dt,Ue,qe),jt=this._progressiveEls=[];function hn(_n){_n.isGroup||(_n.incremental=!0,_n.ensureState("emphasis").hoverLayer=!0)}for(var vn=Ie.start;vn<Ie.end;vn++){var bn=createOrUpdateItem(null,null,vn,Lt(vn,At),Fe,this.group,Dt);bn&&(bn.traverse(hn),jt.push(bn))}},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype.filterForExposedEvent=function(Ie,Fe,Ue,qe){var At=Fe.element;if(At==null||Ue.name===At)return!0;for(;(Ue=Ue.__hostTarget||Ue.parent)&&Ue!==this.group;)if(Ue.name===At)return!0;return!1},$e.type="custom",$e}(ChartView);function createEl$1(xe){var $e=xe.type,Ie;if($e==="path"){var Fe=xe.shape,Ue=Fe.width!=null&&Fe.height!=null?{x:Fe.x||0,y:Fe.y||0,width:Fe.width,height:Fe.height}:null,qe=getPathData(Fe);Ie=makePath(qe,null,Ue,Fe.layout||"center"),customInnerStore(Ie).customPathData=qe}else if($e==="image")Ie=new ZRImage({}),customInnerStore(Ie).customImagePath=xe.style.image;else if($e==="text")Ie=new ZRText({});else if($e==="group")Ie=new Group$3;else{if($e==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var At=getShapeClass($e);if(!At){var Dt="";throwError$1(Dt)}Ie=new At}return customInnerStore(Ie).customGraphicType=$e,Ie.name=xe.name,Ie.z2EmphasisLift=1,Ie.z2SelectLift=1,Ie}function updateElNormal(xe,$e,Ie,Fe,Ue,qe,At){stopPreviousKeyframeAnimationAndRestore($e);var Dt=Ue&&Ue.normal.cfg;Dt&&$e.setTextConfig(Dt),Fe&&Fe.transition==null&&(Fe.transition=DEFAULT_TRANSITION);var Lt=Fe&&Fe.style;if(Lt){if($e.type==="text"){var jt=Lt;hasOwn(jt,"textFill")&&(jt.fill=jt.textFill),hasOwn(jt,"textStroke")&&(jt.stroke=jt.textStroke)}var hn=void 0,vn=isPath($e)?Lt.decal:null;xe&&vn&&(vn.dirty=!0,hn=createOrUpdatePatternFromDecal(vn,xe)),Lt.__decalPattern=hn}if(isDisplayable($e)&&Lt){var hn=Lt.__decalPattern;hn&&(Lt.decal=hn)}applyUpdateTransition($e,Fe,qe,{dataIndex:Ie,isInit:At,clearStyle:!0}),applyKeyframeAnimation($e,Fe.keyframeAnimation,qe)}function updateElOnState(xe,$e,Ie,Fe,Ue){var qe=$e.isGroup?null:$e,At=Ue&&Ue[xe].cfg;if(qe){var Dt=qe.ensureState(xe);if(Fe===!1){var Lt=qe.getState(xe);Lt&&(Lt.style=null)}else Dt.style=Fe||null;At&&(Dt.textConfig=At),setDefaultStateProxy(qe)}}function updateZ(xe,$e,Ie){if(!xe.isGroup){var Fe=xe,Ue=Ie.currentZ,qe=Ie.currentZLevel;Fe.z=Ue,Fe.zlevel=qe;var At=$e.z2;At!=null&&(Fe.z2=At||0);for(var Dt=0;Dt<STATES.length;Dt++)updateZForEachState(Fe,$e,STATES[Dt])}}function updateZForEachState(xe,$e,Ie){var Fe=Ie===NORMAL,Ue=Fe?$e:retrieveStateOption($e,Ie),qe=Ue?Ue.z2:null,At;qe!=null&&(At=Fe?xe:xe.ensureState(Ie),At.z2=qe||0)}function makeRenderItem(xe,$e,Ie,Fe){var Ue=xe.get("renderItem"),qe=xe.coordinateSystem,At={};qe&&(At=qe.prepareCustoms?qe.prepareCustoms(qe):prepareCustoms[qe.type](qe));for(var Dt=defaults$1({getWidth:Fe.getWidth,getHeight:Fe.getHeight,getZr:Fe.getZr,getDevicePixelRatio:Fe.getDevicePixelRatio,value:Tn,style:$n,ordinalRawValue:An,styleEmphasis:Pn,visual:In,barLayout:On,currentSeriesIndices:Rn,font:Bn},At.api||{}),Lt={context:{},seriesId:xe.id,seriesName:xe.name,seriesIndex:xe.seriesIndex,coordSys:At.coordSys,dataInsideLength:$e.count(),encode:wrapEncodeDef(xe.getData())},jt,hn,vn={},bn={},_n={},wn={},kn=0;kn<STATES.length;kn++){var Cn=STATES[kn];_n[Cn]=xe.getModel(PATH_ITEM_STYLE[Cn]),wn[Cn]=xe.getModel(PATH_LABEL[Cn])}function Sn(Vn){return Vn===jt?hn||(hn=$e.getItemModel(Vn)):$e.getItemModel(Vn)}function xn(Vn,Ln){return $e.hasItemOption?Vn===jt?vn[Ln]||(vn[Ln]=Sn(Vn).getModel(PATH_ITEM_STYLE[Ln])):Sn(Vn).getModel(PATH_ITEM_STYLE[Ln]):_n[Ln]}function En(Vn,Ln){return $e.hasItemOption?Vn===jt?bn[Ln]||(bn[Ln]=Sn(Vn).getModel(PATH_LABEL[Ln])):Sn(Vn).getModel(PATH_LABEL[Ln]):wn[Ln]}return function(Vn,Ln){return jt=Vn,hn=null,vn={},bn={},Ue&&Ue(defaults$1({dataIndexInside:Vn,dataIndex:$e.getRawIndex(Vn),actionType:Ln?Ln.type:null},Lt),Dt)};function Tn(Vn,Ln){return Ln==null&&(Ln=jt),$e.getStore().get($e.getDimensionIndex(Vn||0),Ln)}function An(Vn,Ln){Ln==null&&(Ln=jt),Vn=Vn||0;var Dn=$e.getDimensionInfo(Vn);if(!Dn){var Hn=$e.getDimensionIndex(Vn);return Hn>=0?$e.getStore().get(Hn,Ln):void 0}var Fn=$e.get(Dn.name,Ln),zn=Dn&&Dn.ordinalMeta;return zn?zn.categories[Fn]:Fn}function $n(Vn,Ln){Ln==null&&(Ln=jt);var Dn=$e.getItemVisual(Ln,"style"),Hn=Dn&&Dn.fill,Fn=Dn&&Dn.opacity,zn=xn(Ln,NORMAL).getItemStyle();Hn!=null&&(zn.fill=Hn),Fn!=null&&(zn.opacity=Fn);var jn={inheritColor:isString$2(Hn)?Hn:"#000"},Gn=En(Ln,NORMAL),Wn=createTextStyle(Gn,null,jn,!1,!0);Wn.text=Gn.getShallow("show")?retrieve2(xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var Xn=createTextConfig(Gn,jn,!1);return Mn(Vn,zn),zn=convertToEC4StyleForCustomSerise(zn,Wn,Xn),Vn&&Nn(zn,Vn),zn.legacy=!0,zn}function Pn(Vn,Ln){Ln==null&&(Ln=jt);var Dn=xn(Ln,EMPHASIS).getItemStyle(),Hn=En(Ln,EMPHASIS),Fn=createTextStyle(Hn,null,null,!0,!0);Fn.text=Hn.getShallow("show")?retrieve3(xe.getFormattedLabel(Ln,EMPHASIS),xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var zn=createTextConfig(Hn,null,!0);return Mn(Vn,Dn),Dn=convertToEC4StyleForCustomSerise(Dn,Fn,zn),Vn&&Nn(Dn,Vn),Dn.legacy=!0,Dn}function Nn(Vn,Ln){for(var Dn in Ln)hasOwn(Ln,Dn)&&(Vn[Dn]=Ln[Dn])}function Mn(Vn,Ln){Vn&&(Vn.textFill&&(Ln.textFill=Vn.textFill),Vn.textPosition&&(Ln.textPosition=Vn.textPosition))}function In(Vn,Ln){if(Ln==null&&(Ln=jt),hasOwn(STYLE_VISUAL_TYPE,Vn)){var Dn=$e.getItemVisual(Ln,"style");return Dn?Dn[STYLE_VISUAL_TYPE[Vn]]:null}if(hasOwn(NON_STYLE_VISUAL_PROPS,Vn))return $e.getItemVisual(Ln,Vn)}function On(Vn){if(qe.type==="cartesian2d"){var Ln=qe.getBaseAxis();return getLayoutOnAxis(defaults$1({axis:Ln},Vn))}}function Rn(){return Ie.getCurrentSeriesIndices()}function Bn(Vn){return getFont(Vn,Ie)}}function wrapEncodeDef(xe){var $e={};return each$f(xe.dimensions,function(Ie){var Fe=xe.getDimensionInfo(Ie);if(!Fe.isExtraCoord){var Ue=Fe.coordDim,qe=$e[Ue]=$e[Ue]||[];qe[Fe.coordDimIndex]=xe.getDimensionIndex(Ie)}}),$e}function createOrUpdateItem(xe,$e,Ie,Fe,Ue,qe,At){if(!Fe){qe.remove($e);return}var Dt=doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe);return Dt&&At.setItemGraphicEl(Ie,Dt),Dt&&toggleHoverEmphasis(Dt,Fe.focus,Fe.blurScope,Fe.emphasisDisabled),Dt}function doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe){var At=-1,Dt=$e;$e&&doesElNeedRecreate($e,Fe,Ue)&&(At=indexOf(qe.childrenRef(),$e),$e=null);var Lt=!$e,jt=$e;jt?jt.clearStates():(jt=createEl$1(Fe),Dt&&copyElement(Dt,jt)),Fe.morph===!1?jt.disableMorphing=!0:jt.disableMorphing&&(jt.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(jt,Ie,Fe,Ue,Lt,attachedTxInfoTmp),doCreateOrUpdateClipPath(jt,Ie,Fe,Ue,Lt),updateElNormal(xe,jt,Ie,Fe,attachedTxInfoTmp,Ue,Lt),hasOwn(Fe,"info")&&(customInnerStore(jt).info=Fe.info);for(var hn=0;hn<STATES.length;hn++){var vn=STATES[hn];if(vn!==NORMAL){var bn=retrieveStateOption(Fe,vn),_n=retrieveStyleOptionOnState(Fe,bn,vn);updateElOnState(vn,jt,bn,_n,attachedTxInfoTmp)}}return updateZ(jt,Fe,Ue),Fe.type==="group"&&mergeChildren(xe,jt,Ie,Fe,Ue),At>=0?qe.replaceAt(jt,At):qe.add(jt),jt}function doesElNeedRecreate(xe,$e,Ie){var Fe=customInnerStore(xe),Ue=$e.type,qe=$e.shape,At=$e.style;return Ie.isUniversalTransitionEnabled()||Ue!=null&&Ue!==Fe.customGraphicType||Ue==="path"&&hasOwnPathData(qe)&&getPathData(qe)!==Fe.customPathData||Ue==="image"&&hasOwn(At,"image")&&At.image!==Fe.customImagePath}function doCreateOrUpdateClipPath(xe,$e,Ie,Fe,Ue){var qe=Ie.clipPath;if(qe===!1)xe&&xe.getClipPath()&&xe.removeClipPath();else if(qe){var At=xe.getClipPath();At&&doesElNeedRecreate(At,qe,Fe)&&(At=null),At||(At=createEl$1(qe),xe.setClipPath(At)),updateElNormal(null,At,$e,qe,null,Fe,Ue)}}function doCreateOrUpdateAttachedTx(xe,$e,Ie,Fe,Ue,qe){if(!xe.isGroup){processTxInfo(Ie,null,qe),processTxInfo(Ie,EMPHASIS,qe);var At=qe.normal.conOpt,Dt=qe.emphasis.conOpt,Lt=qe.blur.conOpt,jt=qe.select.conOpt;if(At!=null||Dt!=null||jt!=null||Lt!=null){var hn=xe.getTextContent();if(At===!1)hn&&xe.removeTextContent();else{At=qe.normal.conOpt=At||{type:"text"},hn?hn.clearStates():(hn=createEl$1(At),xe.setTextContent(hn)),updateElNormal(null,hn,$e,At,null,Fe,Ue);for(var vn=At&&At.style,bn=0;bn<STATES.length;bn++){var _n=STATES[bn];if(_n!==NORMAL){var wn=qe[_n].conOpt;updateElOnState(_n,hn,wn,retrieveStyleOptionOnState(At,wn,_n),null)}}vn?hn.dirty():hn.markRedraw()}}}}function processTxInfo(xe,$e,Ie){var Fe=$e?retrieveStateOption(xe,$e):xe,Ue=$e?retrieveStyleOptionOnState(xe,Fe,EMPHASIS):xe.style,qe=xe.type,At=Fe?Fe.textConfig:null,Dt=xe.textContent,Lt=Dt?$e?retrieveStateOption(Dt,$e):Dt:null;if(Ue&&(Ie.isLegacy||isEC4CompatibleStyle(Ue,qe,!!At,!!Lt))){Ie.isLegacy=!0;var jt=convertFromEC4CompatibleStyle(Ue,qe,!$e);!At&&jt.textConfig&&(At=jt.textConfig),!Lt&&jt.textContent&&(Lt=jt.textContent)}if(!$e&&Lt){var hn=Lt;!hn.type&&(hn.type="text")}var vn=$e?Ie[$e]:Ie.normal;vn.cfg=At,vn.conOpt=Lt}function retrieveStateOption(xe,$e){return $e?xe?xe[$e]:null:xe}function retrieveStyleOptionOnState(xe,$e,Ie){var Fe=$e&&$e.style;return Fe==null&&Ie===EMPHASIS&&xe&&(Fe=xe.styleEmphasis),Fe}function mergeChildren(xe,$e,Ie,Fe,Ue){var qe=Fe.children,At=qe?qe.length:0,Dt=Fe.$mergeChildren,Lt=Dt==="byName"||Fe.diffChildrenByName,jt=Dt===!1;if(!(!At&&!Lt&&!jt)){if(Lt){diffGroupChildren({api:xe,oldChildren:$e.children()||[],newChildren:qe||[],dataIndex:Ie,seriesModel:Ue,group:$e});return}jt&&$e.removeAll();for(var hn=0;hn<At;hn++){var vn=qe[hn],bn=$e.childAt(hn);vn?(vn.ignore==null&&(vn.ignore=!1),doCreateOrUpdateEl(xe,bn,Ie,vn,Ue,$e)):bn.ignore=!0}for(var _n=$e.childCount()-1;_n>=hn;_n--){var wn=$e.childAt(_n);removeChildFromGroup($e,wn,Ue)}}}function removeChildFromGroup(xe,$e,Ie){$e&&applyLeaveTransition($e,customInnerStore(xe).option,Ie)}function diffGroupChildren(xe){new DataDiffer(xe.oldChildren,xe.newChildren,getKey,getKey,xe).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(xe,$e){var Ie=xe&&xe.name;return Ie??GROUP_DIFF_PREFIX+$e}function processAddUpdate(xe,$e){var Ie=this.context,Fe=xe!=null?Ie.newChildren[xe]:null,Ue=$e!=null?Ie.oldChildren[$e]:null;doCreateOrUpdateEl(Ie.api,Ue,Ie.dataIndex,Fe,Ie.seriesModel,Ie.group)}function processRemove(xe){var $e=this.context,Ie=$e.oldChildren[xe];Ie&&applyLeaveTransition(Ie,customInnerStore(Ie).option,$e.seriesModel)}function getPathData(xe){return xe&&(xe.pathData||xe.d)}function hasOwnPathData(xe){return xe&&(hasOwn(xe,"pathData")||hasOwn(xe,"d"))}function install$s(xe){xe.registerChartView(CustomChartView),xe.registerSeriesModel(CustomSeriesModel)}var inner$b=makeInner(),clone$1=clone$4,bind$1=bind$2,BaseAxisPointer=function(){function xe(){this._dragging=!1,this.animationThreshold=15}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=Ie.get("value"),At=Ie.get("status");if(this._axisModel=$e,this._axisPointerModel=Ie,this._api=Fe,!(!Ue&&this._lastValue===qe&&this._lastStatus===At)){this._lastValue=qe,this._lastStatus=At;var Dt=this._group,Lt=this._handle;if(!At||At==="hide"){Dt&&Dt.hide(),Lt&&Lt.hide();return}Dt&&Dt.show(),Lt&&Lt.show();var jt={};this.makeElOption(jt,qe,$e,Ie,Fe);var hn=jt.graphicKey;hn!==this._lastGraphicKey&&this.clear(Fe),this._lastGraphicKey=hn;var vn=this._moveAnimation=this.determineAnimation($e,Ie);if(!Dt)Dt=this._group=new Group$3,this.createPointerEl(Dt,jt,$e,Ie),this.createLabelEl(Dt,jt,$e,Ie),Fe.getZr().add(Dt);else{var bn=curry$1(updateProps,Ie,vn);this.updatePointerEl(Dt,jt,bn),this.updateLabelEl(Dt,jt,bn,Ie)}updateMandatoryProps(Dt,Ie,!0),this._renderHandle(qe)}},xe.prototype.remove=function($e){this.clear($e)},xe.prototype.dispose=function($e){this.clear($e)},xe.prototype.determineAnimation=function($e,Ie){var Fe=Ie.get("animation"),Ue=$e.axis,qe=Ue.type==="category",At=Ie.get("snap");if(!At&&!qe)return!1;if(Fe==="auto"||Fe==null){var Dt=this.animationThreshold;if(qe&&Ue.getBandWidth()>Dt)return!0;if(At){var Lt=getAxisInfo$1($e).seriesDataCount,jt=Ue.getExtent();return Math.abs(jt[0]-jt[1])/Lt>Dt}return!1}return Fe===!0},xe.prototype.makeElOption=function($e,Ie,Fe,Ue,qe){},xe.prototype.createPointerEl=function($e,Ie,Fe,Ue){var qe=Ie.pointer;if(qe){var At=inner$b($e).pointerEl=new graphic[qe.type](clone$1(Ie.pointer));$e.add(At)}},xe.prototype.createLabelEl=function($e,Ie,Fe,Ue){if(Ie.label){var qe=inner$b($e).labelEl=new ZRText(clone$1(Ie.label));$e.add(qe),updateLabelShowHide(qe,Ue)}},xe.prototype.updatePointerEl=function($e,Ie,Fe){var Ue=inner$b($e).pointerEl;Ue&&Ie.pointer&&(Ue.setStyle(Ie.pointer.style),Fe(Ue,{shape:Ie.pointer.shape}))},xe.prototype.updateLabelEl=function($e,Ie,Fe,Ue){var qe=inner$b($e).labelEl;qe&&(qe.setStyle(Ie.label.style),Fe(qe,{x:Ie.label.x,y:Ie.label.y}),updateLabelShowHide(qe,Ue))},xe.prototype._renderHandle=function($e){if(!(this._dragging||!this.updateHandleTransform)){var Ie=this._axisPointerModel,Fe=this._api.getZr(),Ue=this._handle,qe=Ie.getModel("handle"),At=Ie.get("status");if(!qe.get("show")||!At||At==="hide"){Ue&&Fe.remove(Ue),this._handle=null;return}var Dt;this._handle||(Dt=!0,Ue=this._handle=createIcon(qe.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(jt){stop(jt.event)},onmousedown:bind$1(this._onHandleDragMove,this,0,0),drift:bind$1(this._onHandleDragMove,this),ondragend:bind$1(this._onHandleDragEnd,this)}),Fe.add(Ue)),updateMandatoryProps(Ue,Ie,!1),Ue.setStyle(qe.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var Lt=qe.get("size");isArray$2(Lt)||(Lt=[Lt,Lt]),Ue.scaleX=Lt[0]/2,Ue.scaleY=Lt[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",qe.get("throttle")||0,"fixRate"),this._moveHandleToValue($e,Dt)}},xe.prototype._moveHandleToValue=function($e,Ie){updateProps(this._axisPointerModel,!Ie&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform($e,this._axisModel,this._axisPointerModel)))},xe.prototype._onHandleDragMove=function($e,Ie){var Fe=this._handle;if(Fe){this._dragging=!0;var Ue=this.updateHandleTransform(getHandleTransProps(Fe),[$e,Ie],this._axisModel,this._axisPointerModel);this._payloadInfo=Ue,Fe.stopAnimation(),Fe.attr(getHandleTransProps(Ue)),inner$b(Fe).lastProp=null,this._doDispatchAxisPointer()}},xe.prototype._doDispatchAxisPointer=function(){var $e=this._handle;if($e){var Ie=this._payloadInfo,Fe=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:Ie.cursorPoint[0],y:Ie.cursorPoint[1],tooltipOption:Ie.tooltipOption,axesInfo:[{axisDim:Fe.axis.dim,axisIndex:Fe.componentIndex}]})}},xe.prototype._onHandleDragEnd=function(){this._dragging=!1;var $e=this._handle;if($e){var Ie=this._axisPointerModel.get("value");this._moveHandleToValue(Ie),this._api.dispatchAction({type:"hideTip"})}},xe.prototype.clear=function($e){this._lastValue=null,this._lastStatus=null;var Ie=$e.getZr(),Fe=this._group,Ue=this._handle;Ie&&Fe&&(this._lastGraphicKey=null,Fe&&Ie.remove(Fe),Ue&&Ie.remove(Ue),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},xe.prototype.doClear=function(){},xe.prototype.buildLabel=function($e,Ie,Fe){return Fe=Fe||0,{x:$e[Fe],y:$e[1-Fe],width:Ie[Fe],height:Ie[1-Fe]}},xe}();function updateProps(xe,$e,Ie,Fe){propsEqual(inner$b(Ie).lastProp,Fe)||(inner$b(Ie).lastProp=Fe,$e?updateProps$1(Ie,Fe,xe):(Ie.stopAnimation(),Ie.attr(Fe)))}function propsEqual(xe,$e){if(isObject$4(xe)&&isObject$4($e)){var Ie=!0;return each$f($e,function(Fe,Ue){Ie=Ie&&propsEqual(xe[Ue],Fe)}),!!Ie}else return xe===$e}function updateLabelShowHide(xe,$e){xe[$e.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(xe){return{x:xe.x||0,y:xe.y||0,rotation:xe.rotation||0}}function updateMandatoryProps(xe,$e,Ie){var Fe=$e.get("z"),Ue=$e.get("zlevel");xe&&xe.traverse(function(qe){qe.type!=="group"&&(Fe!=null&&(qe.z=Fe),Ue!=null&&(qe.zlevel=Ue),qe.silent=Ie)})}function buildElStyle(xe){var $e=xe.get("type"),Ie=xe.getModel($e+"Style"),Fe;return $e==="line"?(Fe=Ie.getLineStyle(),Fe.fill=null):$e==="shadow"&&(Fe=Ie.getAreaStyle(),Fe.stroke=null),Fe}function buildLabelElOption(xe,$e,Ie,Fe,Ue){var qe=Ie.get("value"),At=getValueLabel(qe,$e.axis,$e.ecModel,Ie.get("seriesDataIndices"),{precision:Ie.get(["label","precision"]),formatter:Ie.get(["label","formatter"])}),Dt=Ie.getModel("label"),Lt=normalizeCssArray(Dt.get("padding")||0),jt=Dt.getFont(),hn=getBoundingRect(At,jt),vn=Ue.position,bn=hn.width+Lt[1]+Lt[3],_n=hn.height+Lt[0]+Lt[2],wn=Ue.align;wn==="right"&&(vn[0]-=bn),wn==="center"&&(vn[0]-=bn/2);var kn=Ue.verticalAlign;kn==="bottom"&&(vn[1]-=_n),kn==="middle"&&(vn[1]-=_n/2),confineInContainer(vn,bn,_n,Fe);var Cn=Dt.get("backgroundColor");(!Cn||Cn==="auto")&&(Cn=$e.get(["axisLine","lineStyle","color"])),xe.label={x:vn[0],y:vn[1],style:createTextStyle(Dt,{text:At,font:jt,fill:Dt.getTextColor(),padding:Lt,backgroundColor:Cn}),z2:10}}function confineInContainer(xe,$e,Ie,Fe){var Ue=Fe.getWidth(),qe=Fe.getHeight();xe[0]=Math.min(xe[0]+$e,Ue)-$e,xe[1]=Math.min(xe[1]+Ie,qe)-Ie,xe[0]=Math.max(xe[0],0),xe[1]=Math.max(xe[1],0)}function getValueLabel(xe,$e,Ie,Fe,Ue){xe=$e.scale.parse(xe);var qe=$e.scale.getLabel({value:xe},{precision:Ue.precision}),At=Ue.formatter;if(At){var Dt={value:getAxisRawValue($e,{value:xe}),axisDimension:$e.dim,axisIndex:$e.index,seriesData:[]};each$f(Fe,function(Lt){var jt=Ie.getSeriesByIndex(Lt.seriesIndex),hn=Lt.dataIndexInside,vn=jt&&jt.getDataParams(hn);vn&&Dt.seriesData.push(vn)}),isString$2(At)?qe=At.replace("{value}",qe):isFunction$2(At)&&(qe=At(Dt))}return qe}function getTransformedPosition(xe,$e,Ie){var Fe=create$1();return rotate(Fe,Fe,Ie.rotation),translate$1(Fe,Fe,Ie.position),applyTransform([xe.dataToCoord($e),(Ie.labelOffset||0)+(Ie.labelDirection||1)*(Ie.labelMargin||0)],Fe)}function buildCartesianSingleLabelElOption(xe,$e,Ie,Fe,Ue,qe){var At=AxisBuilder.innerTextLayout(Ie.rotation,0,Ie.labelDirection);Ie.labelMargin=Ue.get(["label","margin"]),buildLabelElOption($e,Fe,Ue,qe,{position:getTransformedPosition(Fe.axis,xe,Ie),align:At.textAlign,verticalAlign:At.textVerticalAlign})}function makeLineShape(xe,$e,Ie){return Ie=Ie||0,{x1:xe[Ie],y1:xe[1-Ie],x2:$e[Ie],y2:$e[1-Ie]}}function makeRectShape(xe,$e,Ie){return Ie=Ie||0,{x:xe[Ie],y:xe[1-Ie],width:$e[Ie],height:$e[1-Ie]}}function makeSectorShape(xe,$e,Ie,Fe,Ue,qe){return{cx:xe,cy:$e,r0:Ie,r:Fe,startAngle:Ue,endAngle:qe,clockwise:!0}}var CartesianAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.grid,jt=qe.get("type"),hn=getCartesian(Lt,Dt).getOtherAxis(Dt).getGlobalExtent(),vn=Dt.toGlobalCoord(Dt.dataToCoord(Fe,!0));if(jt&&jt!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder$2[jt](Dt,vn,hn);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$3(Lt.model,Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$3(Fe.axis.grid.model,Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.grid,Lt=At.getGlobalExtent(!0),jt=getCartesian(Dt,At).getOtherAxis(At).getGlobalExtent(),hn=At.dim==="x"?0:1,vn=[Ie.x,Ie.y];vn[hn]+=Fe[hn],vn[hn]=Math.min(Lt[1],vn[hn]),vn[hn]=Math.max(Lt[0],vn[hn]);var bn=(jt[1]+jt[0])/2,_n=[bn,bn];_n[hn]=vn[hn];var wn=[{verticalAlign:"middle"},{align:"center"}];return{x:vn[0],y:vn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:wn[hn]}},$e}(BaseAxisPointer);function getCartesian(xe,$e){var Ie={};return Ie[$e.dim+"AxisIndex"]=$e.index,xe.getCartesian(Ie)}var pointerShapeBuilder$2={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getAxisDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=Math.max(1,xe.getBandWidth()),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getAxisDimIndex(xe))}}};function getAxisDimIndex(xe){return xe.dim==="x"?0:1}var AxisPointerModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="axisPointer",$e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!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}},$e}(ComponentModel),inner$a=makeInner(),each$8=each$f;function register(xe,$e,Ie){if(!env.node){var Fe=$e.getZr();inner$a(Fe).records||(inner$a(Fe).records={}),initGlobalListeners(Fe,$e);var Ue=inner$a(Fe).records[xe]||(inner$a(Fe).records[xe]={});Ue.handler=Ie}}function initGlobalListeners(xe,$e){if(inner$a(xe).initialized)return;inner$a(xe).initialized=!0,Ie("click",curry$1(doEnter,"click")),Ie("mousemove",curry$1(doEnter,"mousemove")),Ie("globalout",onLeave);function Ie(Fe,Ue){xe.on(Fe,function(qe){var At=makeDispatchAction$1($e);each$8(inner$a(xe).records,function(Dt){Dt&&Ue(Dt,qe,At.dispatchAction)}),dispatchTooltipFinally(At.pendings,$e)})}}function dispatchTooltipFinally(xe,$e){var Ie=xe.showTip.length,Fe=xe.hideTip.length,Ue;Ie?Ue=xe.showTip[Ie-1]:Fe&&(Ue=xe.hideTip[Fe-1]),Ue&&(Ue.dispatchAction=null,$e.dispatchAction(Ue))}function onLeave(xe,$e,Ie){xe.handler("leave",null,Ie)}function doEnter(xe,$e,Ie,Fe){$e.handler(xe,Ie,Fe)}function makeDispatchAction$1(xe){var $e={showTip:[],hideTip:[]},Ie=function(Fe){var Ue=$e[Fe.type];Ue?Ue.push(Fe):(Fe.dispatchAction=Ie,xe.dispatchAction(Fe))};return{dispatchAction:Ie,pendings:$e}}function unregister(xe,$e){if(!env.node){var Ie=$e.getZr(),Fe=(inner$a(Ie).records||{})[xe];Fe&&(inner$a(Ie).records[xe]=null)}}var AxisPointerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Fe.getComponent("tooltip"),At=Ie.get("triggerOn")||qe&&qe.get("triggerOn")||"mousemove|click";register("axisPointer",Ue,function(Dt,Lt,jt){At!=="none"&&(Dt==="leave"||At.indexOf(Dt)>=0)&&jt({type:"updateAxisPointer",currTrigger:Dt,x:Lt&&Lt.offsetX,y:Lt&&Lt.offsetY})})},$e.prototype.remove=function(Ie,Fe){unregister("axisPointer",Fe)},$e.prototype.dispose=function(Ie,Fe){unregister("axisPointer",Fe)},$e.type="axisPointer",$e}(ComponentView);function findPointFromSeries(xe,$e){var Ie=[],Fe=xe.seriesIndex,Ue;if(Fe==null||!(Ue=$e.getSeriesByIndex(Fe)))return{point:[]};var qe=Ue.getData(),At=queryDataIndex(qe,xe);if(At==null||At<0||isArray$2(At))return{point:[]};var Dt=qe.getItemGraphicEl(At),Lt=Ue.coordinateSystem;if(Ue.getTooltipPosition)Ie=Ue.getTooltipPosition(At)||[];else if(Lt&&Lt.dataToPoint)if(xe.isStacked){var jt=Lt.getBaseAxis(),hn=Lt.getOtherAxis(jt),vn=hn.dim,bn=jt.dim,_n=vn==="x"||vn==="radius"?1:0,wn=qe.mapDimension(bn),kn=[];kn[_n]=qe.get(wn,At),kn[1-_n]=qe.get(qe.getCalculationInfo("stackResultDimension"),At),Ie=Lt.dataToPoint(kn)||[]}else Ie=Lt.dataToPoint(qe.getValues(map$1(Lt.dimensions,function(Sn){return qe.mapDimension(Sn)}),At))||[];else if(Dt){var Cn=Dt.getBoundingRect().clone();Cn.applyTransform(Dt.transform),Ie=[Cn.x+Cn.width/2,Cn.y+Cn.height/2]}return{point:Ie,el:Dt}}var inner$9=makeInner();function axisTrigger(xe,$e,Ie){var Fe=xe.currTrigger,Ue=[xe.x,xe.y],qe=xe,At=xe.dispatchAction||bind$2(Ie.dispatchAction,Ie),Dt=$e.getComponent("axisPointer").coordSysAxesInfo;if(Dt){illegalPoint(Ue)&&(Ue=findPointFromSeries({seriesIndex:qe.seriesIndex,dataIndex:qe.dataIndex},$e).point);var Lt=illegalPoint(Ue),jt=qe.axesInfo,hn=Dt.axesInfo,vn=Fe==="leave"||illegalPoint(Ue),bn={},_n={},wn={list:[],map:{}},kn={showPointer:curry$1(showPointer,_n),showTooltip:curry$1(showTooltip,wn)};each$f(Dt.coordSysMap,function(Sn,xn){var En=Lt||Sn.containPoint(Ue);each$f(Dt.coordSysAxesInfo[xn],function(Tn,An){var $n=Tn.axis,Pn=findInputAxisInfo(jt,Tn);if(!vn&&En&&(!jt||Pn)){var Nn=Pn&&Pn.value;Nn==null&&!Lt&&(Nn=$n.pointToData(Ue)),Nn!=null&&processOnAxis(Tn,Nn,kn,!1,bn)}})});var Cn={};return each$f(hn,function(Sn,xn){var En=Sn.linkGroup;En&&!_n[xn]&&each$f(En.axesInfo,function(Tn,An){var $n=_n[An];if(Tn!==Sn&&$n){var Pn=$n.value;En.mapper&&(Pn=Sn.axis.scale.parse(En.mapper(Pn,makeMapperParam(Tn),makeMapperParam(Sn)))),Cn[Sn.key]=Pn}})}),each$f(Cn,function(Sn,xn){processOnAxis(hn[xn],Sn,kn,!0,bn)}),updateModelActually(_n,hn,bn),dispatchTooltipActually(wn,Ue,xe,At),dispatchHighDownActually(hn,At,Ie),bn}}function processOnAxis(xe,$e,Ie,Fe,Ue){var qe=xe.axis;if(!(qe.scale.isBlank()||!qe.containData($e))){if(!xe.involveSeries){Ie.showPointer(xe,$e);return}var At=buildPayloadsBySeries($e,xe),Dt=At.payloadBatch,Lt=At.snapToValue;Dt[0]&&Ue.seriesIndex==null&&extend$1(Ue,Dt[0]),!Fe&&xe.snap&&qe.containData(Lt)&&Lt!=null&&($e=Lt),Ie.showPointer(xe,$e,Dt),Ie.showTooltip(xe,At,Lt)}}function buildPayloadsBySeries(xe,$e){var Ie=$e.axis,Fe=Ie.dim,Ue=xe,qe=[],At=Number.MAX_VALUE,Dt=-1;return each$f($e.seriesModels,function(Lt,jt){var hn=Lt.getData().mapDimensionsAll(Fe),vn,bn;if(Lt.getAxisTooltipData){var _n=Lt.getAxisTooltipData(hn,xe,Ie);bn=_n.dataIndices,vn=_n.nestestValue}else{if(bn=Lt.getData().indicesOfNearest(hn[0],xe,Ie.type==="category"?.5:null),!bn.length)return;vn=Lt.getData().get(hn[0],bn[0])}if(!(vn==null||!isFinite(vn))){var wn=xe-vn,kn=Math.abs(wn);kn<=At&&((kn<At||wn>=0&&Dt<0)&&(At=kn,Dt=wn,Ue=vn,qe.length=0),each$f(bn,function(Cn){qe.push({seriesIndex:Lt.seriesIndex,dataIndexInside:Cn,dataIndex:Lt.getData().getRawIndex(Cn)})}))}}),{payloadBatch:qe,snapToValue:Ue}}function showPointer(xe,$e,Ie,Fe){xe[$e.key]={value:Ie,payloadBatch:Fe}}function showTooltip(xe,$e,Ie,Fe){var Ue=Ie.payloadBatch,qe=$e.axis,At=qe.model,Dt=$e.axisPointerModel;if(!(!$e.triggerTooltip||!Ue.length)){var Lt=$e.coordSys.model,jt=makeKey(Lt),hn=xe.map[jt];hn||(hn=xe.map[jt]={coordSysId:Lt.id,coordSysIndex:Lt.componentIndex,coordSysType:Lt.type,coordSysMainType:Lt.mainType,dataByAxis:[]},xe.list.push(hn)),hn.dataByAxis.push({axisDim:qe.dim,axisIndex:At.componentIndex,axisType:At.type,axisId:At.id,value:Fe,valueLabelOpt:{precision:Dt.get(["label","precision"]),formatter:Dt.get(["label","formatter"])},seriesDataIndices:Ue.slice()})}}function updateModelActually(xe,$e,Ie){var Fe=Ie.axesInfo=[];each$f($e,function(Ue,qe){var At=Ue.axisPointerModel.option,Dt=xe[qe];Dt?(!Ue.useHandle&&(At.status="show"),At.value=Dt.value,At.seriesDataIndices=(Dt.payloadBatch||[]).slice()):!Ue.useHandle&&(At.status="hide"),At.status==="show"&&Fe.push({axisDim:Ue.axis.dim,axisIndex:Ue.axis.model.componentIndex,value:At.value})})}function dispatchTooltipActually(xe,$e,Ie,Fe){if(illegalPoint($e)||!xe.list.length){Fe({type:"hideTip"});return}var Ue=((xe.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};Fe({type:"showTip",escapeConnect:!0,x:$e[0],y:$e[1],tooltipOption:Ie.tooltipOption,position:Ie.position,dataIndexInside:Ue.dataIndexInside,dataIndex:Ue.dataIndex,seriesIndex:Ue.seriesIndex,dataByCoordSys:xe.list})}function dispatchHighDownActually(xe,$e,Ie){var Fe=Ie.getZr(),Ue="axisPointerLastHighlights",qe=inner$9(Fe)[Ue]||{},At=inner$9(Fe)[Ue]={};each$f(xe,function(jt,hn){var vn=jt.axisPointerModel.option;vn.status==="show"&&jt.triggerEmphasis&&each$f(vn.seriesDataIndices,function(bn){var _n=bn.seriesIndex+" | "+bn.dataIndex;At[_n]=bn})});var Dt=[],Lt=[];each$f(qe,function(jt,hn){!At[hn]&&Lt.push(jt)}),each$f(At,function(jt,hn){!qe[hn]&&Dt.push(jt)}),Lt.length&&Ie.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:Lt}),Dt.length&&Ie.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:Dt})}function findInputAxisInfo(xe,$e){for(var Ie=0;Ie<(xe||[]).length;Ie++){var Fe=xe[Ie];if($e.axis.dim===Fe.axisDim&&$e.axis.model.componentIndex===Fe.axisIndex)return Fe}}function makeMapperParam(xe){var $e=xe.axis.model,Ie={},Fe=Ie.axisDim=xe.axis.dim;return Ie.axisIndex=Ie[Fe+"AxisIndex"]=$e.componentIndex,Ie.axisName=Ie[Fe+"AxisName"]=$e.name,Ie.axisId=Ie[Fe+"AxisId"]=$e.id,Ie}function illegalPoint(xe){return!xe||xe[0]==null||isNaN(xe[0])||xe[1]==null||isNaN(xe[1])}function install$r(xe){AxisView.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer),xe.registerComponentModel(AxisPointerModel),xe.registerComponentView(AxisPointerView),xe.registerPreprocessor(function($e){if($e){(!$e.axisPointer||$e.axisPointer.length===0)&&($e.axisPointer={});var Ie=$e.axisPointer.link;Ie&&!isArray$2(Ie)&&($e.axisPointer.link=[Ie])}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,function($e,Ie){$e.getComponent("axisPointer").coordSysAxesInfo=collect($e,Ie)}),xe.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$q(xe){use(install$O),use(install$r)}var PolarAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis;Dt.dim==="angle"&&(this.animationThreshold=Math.PI/18);var Lt=Dt.polar,jt=Lt.getOtherAxis(Dt),hn=jt.getExtent(),vn=Dt.dataToCoord(Fe),bn=qe.get("type");if(bn&&bn!=="none"){var _n=buildElStyle(qe),wn=pointerShapeBuilder$1[bn](Dt,Lt,vn,hn);wn.style=_n,Ie.graphicKey=wn.type,Ie.pointer=wn}var kn=qe.get(["label","margin"]),Cn=getLabelPosition(Fe,Ue,qe,Lt,kn);buildLabelElOption(Ie,Ue,qe,At,Cn)},$e}(BaseAxisPointer);function getLabelPosition(xe,$e,Ie,Fe,Ue){var qe=$e.axis,At=qe.dataToCoord(xe),Dt=Fe.getAngleAxis().getExtent()[0];Dt=Dt/180*Math.PI;var Lt=Fe.getRadiusAxis().getExtent(),jt,hn,vn;if(qe.dim==="radius"){var bn=create$1();rotate(bn,bn,Dt),translate$1(bn,bn,[Fe.cx,Fe.cy]),jt=applyTransform([At,-Ue],bn);var _n=$e.getModel("axisLabel").get("rotate")||0,wn=AxisBuilder.innerTextLayout(Dt,_n*Math.PI/180,-1);hn=wn.textAlign,vn=wn.textVerticalAlign}else{var kn=Lt[1];jt=Fe.coordToPoint([kn+Ue,At]);var Cn=Fe.cx,Sn=Fe.cy;hn=Math.abs(jt[0]-Cn)/kn<.3?"center":jt[0]>Cn?"left":"right",vn=Math.abs(jt[1]-Sn)/kn<.3?"middle":jt[1]>Sn?"top":"bottom"}return{position:jt,align:hn,verticalAlign:vn}}var pointerShapeBuilder$1={line:function(xe,$e,Ie,Fe){return xe.dim==="angle"?{type:"Line",shape:makeLineShape($e.coordToPoint([Fe[0],Ie]),$e.coordToPoint([Fe[1],Ie]))}:{type:"Circle",shape:{cx:$e.cx,cy:$e.cy,r:Ie}}},shadow:function(xe,$e,Ie,Fe){var Ue=Math.max(1,xe.getBandWidth()),qe=Math.PI/180;return xe.dim==="angle"?{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Fe[0],Fe[1],(-Ie-Ue/2)*qe,(-Ie+Ue/2)*qe)}:{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Ie-Ue/2,Ie+Ue/2,0,Math.PI*2)}}},PolarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.findAxisModel=function(Ie){var Fe,Ue=this.ecModel;return Ue.eachComponent(Ie,function(qe){qe.getCoordSysModel()===this&&(Fe=qe)},this),Fe},$e.type="polar",$e.dependencies=["radiusAxis","angleAxis"],$e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},$e}(ComponentModel),PolarAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},$e.type="polarAxis",$e}(ComponentModel);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="angleAxis",$e}(PolarAxisModel),RadiusAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="radiusAxis",$e}(PolarAxisModel),RadiusAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"radius",Ie,Fe)||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e}(Axis);RadiusAxis.prototype.dataToRadius=Axis.prototype.dataToCoord;RadiusAxis.prototype.radiusToData=Axis.prototype.coordToData;var inner$8=makeInner(),AngleAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"angle",Ie,Fe||[0,360])||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e.prototype.calculateCategoryInterval=function(){var Ie=this,Fe=Ie.getLabelModel(),Ue=Ie.scale,qe=Ue.getExtent(),At=Ue.count();if(qe[1]-qe[0]<1)return 0;var Dt=qe[0],Lt=Ie.dataToCoord(Dt+1)-Ie.dataToCoord(Dt),jt=Math.abs(Lt),hn=getBoundingRect(Dt==null?"":Dt+"",Fe.getFont(),"center","top"),vn=Math.max(hn.height,7),bn=vn/jt;isNaN(bn)&&(bn=1/0);var _n=Math.max(0,Math.floor(bn)),wn=inner$8(Ie.model),kn=wn.lastAutoInterval,Cn=wn.lastTickCount;return kn!=null&&Cn!=null&&Math.abs(kn-_n)<=1&&Math.abs(Cn-At)<=1&&kn>_n?_n=kn:(wn.lastTickCount=At,wn.lastAutoInterval=_n),_n},$e}(Axis);AngleAxis.prototype.dataToAngle=Axis.prototype.dataToCoord;AngleAxis.prototype.angleToData=Axis.prototype.coordToData;var polarDimensions=["radius","angle"],Polar=function(){function xe($e){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis,this._angleAxis=new AngleAxis,this.axisPointerEnabled=!0,this.name=$e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return xe.prototype.containPoint=function($e){var Ie=this.pointToCoord($e);return this._radiusAxis.contain(Ie[0])&&this._angleAxis.contain(Ie[1])},xe.prototype.containData=function($e){return this._radiusAxis.containData($e[0])&&this._angleAxis.containData($e[1])},xe.prototype.getAxis=function($e){var Ie="_"+$e+"Axis";return this[Ie]},xe.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},xe.prototype.getAxesByScale=function($e){var Ie=[],Fe=this._angleAxis,Ue=this._radiusAxis;return Fe.scale.type===$e&&Ie.push(Fe),Ue.scale.type===$e&&Ie.push(Ue),Ie},xe.prototype.getAngleAxis=function(){return this._angleAxis},xe.prototype.getRadiusAxis=function(){return this._radiusAxis},xe.prototype.getOtherAxis=function($e){var Ie=this._angleAxis;return $e===Ie?this._radiusAxis:Ie},xe.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},xe.prototype.getTooltipAxes=function($e){var Ie=$e!=null&&$e!=="auto"?this.getAxis($e):this.getBaseAxis();return{baseAxes:[Ie],otherAxes:[this.getOtherAxis(Ie)]}},xe.prototype.dataToPoint=function($e,Ie){return this.coordToPoint([this._radiusAxis.dataToRadius($e[0],Ie),this._angleAxis.dataToAngle($e[1],Ie)])},xe.prototype.pointToData=function($e,Ie){var Fe=this.pointToCoord($e);return[this._radiusAxis.radiusToData(Fe[0],Ie),this._angleAxis.angleToData(Fe[1],Ie)]},xe.prototype.pointToCoord=function($e){var Ie=$e[0]-this.cx,Fe=$e[1]-this.cy,Ue=this.getAngleAxis(),qe=Ue.getExtent(),At=Math.min(qe[0],qe[1]),Dt=Math.max(qe[0],qe[1]);Ue.inverse?At=Dt-360:Dt=At+360;var Lt=Math.sqrt(Ie*Ie+Fe*Fe);Ie/=Lt,Fe/=Lt;for(var jt=Math.atan2(-Fe,Ie)/Math.PI*180,hn=jt<At?1:-1;jt<At||jt>Dt;)jt+=hn*360;return[Lt,jt]},xe.prototype.coordToPoint=function($e){var Ie=$e[0],Fe=$e[1]/180*Math.PI,Ue=Math.cos(Fe)*Ie+this.cx,qe=-Math.sin(Fe)*Ie+this.cy;return[Ue,qe]},xe.prototype.getArea=function(){var $e=this.getAngleAxis(),Ie=this.getRadiusAxis(),Fe=Ie.getExtent().slice();Fe[0]>Fe[1]&&Fe.reverse();var Ue=$e.getExtent(),qe=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:Fe[0],r:Fe[1],startAngle:-Ue[0]*qe,endAngle:-Ue[1]*qe,clockwise:$e.inverse,contain:function(At,Dt){var Lt=At-this.cx,jt=Dt-this.cy,hn=Lt*Lt+jt*jt-1e-4,vn=this.r,bn=this.r0;return hn<=vn*vn&&hn>=bn*bn}}},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$2(xe){var $e=xe.seriesModel,Ie=xe.polarModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}const Polar$1=Polar;function resizePolar(xe,$e,Ie){var Fe=$e.get("center"),Ue=Ie.getWidth(),qe=Ie.getHeight();xe.cx=parsePercent(Fe[0],Ue),xe.cy=parsePercent(Fe[1],qe);var At=xe.getRadiusAxis(),Dt=Math.min(Ue,qe)/2,Lt=$e.get("radius");Lt==null?Lt=[0,"100%"]:isArray$2(Lt)||(Lt=[0,Lt]);var jt=[parsePercent(Lt[0],Dt),parsePercent(Lt[1],Dt)];At.inverse?At.setExtent(jt[1],jt[0]):At.setExtent(jt[0],jt[1])}function updatePolarScale(xe,$e){var Ie=this,Fe=Ie.getAngleAxis(),Ue=Ie.getRadiusAxis();if(Fe.scale.setExtent(1/0,-1/0),Ue.scale.setExtent(1/0,-1/0),xe.eachSeries(function(Dt){if(Dt.coordinateSystem===Ie){var Lt=Dt.getData();each$f(getDataDimensionsOnAxis(Lt,"radius"),function(jt){Ue.scale.unionExtentFromData(Lt,jt)}),each$f(getDataDimensionsOnAxis(Lt,"angle"),function(jt){Fe.scale.unionExtentFromData(Lt,jt)})}}),niceScaleExtent(Fe.scale,Fe.model),niceScaleExtent(Ue.scale,Ue.model),Fe.type==="category"&&!Fe.onBand){var qe=Fe.getExtent(),At=360/Fe.scale.count();Fe.inverse?qe[1]+=At:qe[1]-=At,Fe.setExtent(qe[0],qe[1])}}function isAngleAxisModel(xe){return xe.mainType==="angleAxis"}function setAxis(xe,$e){var Ie;if(xe.type=$e.get("type"),xe.scale=createScaleByModel$1($e),xe.onBand=$e.get("boundaryGap")&&xe.type==="category",xe.inverse=$e.get("inverse"),isAngleAxisModel($e)){xe.inverse=xe.inverse!==$e.get("clockwise");var Fe=$e.get("startAngle"),Ue=(Ie=$e.get("endAngle"))!==null&&Ie!==void 0?Ie:Fe+(xe.inverse?-360:360);xe.setExtent(Fe,Ue)}$e.axis=xe,xe.model=$e}var polarCreator={dimensions:polarDimensions,create:function(xe,$e){var Ie=[];return xe.eachComponent("polar",function(Fe,Ue){var qe=new Polar$1(Ue+"");qe.update=updatePolarScale;var At=qe.getRadiusAxis(),Dt=qe.getAngleAxis(),Lt=Fe.findAxisModel("radiusAxis"),jt=Fe.findAxisModel("angleAxis");setAxis(At,Lt),setAxis(Dt,jt),resizePolar(qe,Fe,$e),Ie.push(qe),Fe.coordinateSystem=qe,qe.model=Fe}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="polar"){var Ue=Fe.getReferringComponents("polar",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue.coordinateSystem}}),Ie}},elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(xe,$e,Ie){$e[1]>$e[0]&&($e=$e.slice().reverse());var Fe=xe.coordToPoint([$e[0],Ie]),Ue=xe.coordToPoint([$e[1],Ie]);return{x1:Fe[0],y1:Fe[1],x2:Ue[0],y2:Ue[1]}}function getRadiusIdx(xe){var $e=xe.getRadiusAxis();return $e.inverse?0:1}function fixAngleOverlap(xe){var $e=xe[0],Ie=xe[xe.length-1];$e&&Ie&&Math.abs(Math.abs($e.coord-Ie.coord)-360)<1e-4&&xe.pop()}var AngleAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.axisPointerClass="PolarAxisPointer",Ie}return $e.prototype.render=function(Ie,Fe){if(this.group.removeAll(),!!Ie.get("show")){var Ue=Ie.axis,qe=Ue.polar,At=qe.getRadiusAxis().getExtent(),Dt=Ue.getTicksCoords(),Lt=Ue.getMinorTicksCoords(),jt=map$1(Ue.getViewLabels(),function(hn){hn=clone$4(hn);var vn=Ue.scale,bn=vn.type==="ordinal"?vn.getRawOrdinalNumber(hn.tickValue):hn.tickValue;return hn.coord=Ue.dataToCoord(bn),hn});fixAngleOverlap(jt),fixAngleOverlap(Dt),each$f(elementList,function(hn){Ie.get([hn,"show"])&&(!Ue.scale.isBlank()||hn==="axisLine")&&angelAxisElementsBuilders[hn](this.group,Ie,qe,Dt,Lt,At,jt)},this)}},$e.type="angleAxis",$e}(AxisView),angelAxisElementsBuilders={axisLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel(["axisLine","lineStyle"]),Dt=Ie.getAngleAxis(),Lt=Math.PI/180,jt=Dt.getExtent(),hn=getRadiusIdx(Ie),vn=hn?0:1,bn,_n=Math.abs(jt[1]-jt[0])===360?"Circle":"Arc";qe[vn]===0?bn=new graphic[_n]({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],startAngle:-jt[0]*Lt,endAngle:-jt[1]*Lt,clockwise:Dt.inverse},style:At.getLineStyle(),z2:1,silent:!0}):bn=new Ring$1({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],r0:qe[vn]},style:At.getLineStyle(),z2:1,silent:!0}),bn.style.fill=null,xe.add(bn)},axisTick:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("axisTick"),Dt=(At.get("inside")?-1:1)*At.get("length"),Lt=qe[getRadiusIdx(Ie)],jt=map$1(Fe,function(hn){return new Line$1({shape:getAxisLineShape(Ie,[Lt,Lt+Dt],hn.coord)})});xe.add(mergePath(jt,{style:defaults$1(At.getModel("lineStyle").getLineStyle(),{stroke:$e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(xe,$e,Ie,Fe,Ue,qe){if(Ue.length){for(var At=$e.getModel("axisTick"),Dt=$e.getModel("minorTick"),Lt=(At.get("inside")?-1:1)*Dt.get("length"),jt=qe[getRadiusIdx(Ie)],hn=[],vn=0;vn<Ue.length;vn++)for(var bn=0;bn<Ue[vn].length;bn++)hn.push(new Line$1({shape:getAxisLineShape(Ie,[jt,jt+Lt],Ue[vn][bn].coord)}));xe.add(mergePath(hn,{style:defaults$1(Dt.getModel("lineStyle").getLineStyle(),defaults$1(At.getLineStyle(),{stroke:$e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(xe,$e,Ie,Fe,Ue,qe,At){var Dt=$e.getCategories(!0),Lt=$e.getModel("axisLabel"),jt=Lt.get("margin"),hn=$e.get("triggerEvent");each$f(At,function(vn,bn){var _n=Lt,wn=vn.tickValue,kn=qe[getRadiusIdx(Ie)],Cn=Ie.coordToPoint([kn+jt,vn.coord]),Sn=Ie.cx,xn=Ie.cy,En=Math.abs(Cn[0]-Sn)/kn<.3?"center":Cn[0]>Sn?"left":"right",Tn=Math.abs(Cn[1]-xn)/kn<.3?"middle":Cn[1]>xn?"top":"bottom";if(Dt&&Dt[wn]){var An=Dt[wn];isObject$4(An)&&An.textStyle&&(_n=new Model(An.textStyle,Lt,Lt.ecModel))}var $n=new ZRText({silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(_n,{x:Cn[0],y:Cn[1],fill:_n.getTextColor()||$e.get(["axisLine","lineStyle","color"]),text:vn.formattedLabel,align:En,verticalAlign:Tn})});if(xe.add($n),hn){var Pn=AxisBuilder.makeAxisEventDataBase($e);Pn.targetType="axisLabel",Pn.value=vn.rawLabel,getECData($n).eventData=Pn}},this)},splitLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("splitLine"),Dt=At.getModel("lineStyle"),Lt=Dt.get("color"),jt=0;Lt=Lt instanceof Array?Lt:[Lt];for(var hn=[],vn=0;vn<Fe.length;vn++){var bn=jt++%Lt.length;hn[bn]=hn[bn]||[],hn[bn].push(new Line$1({shape:getAxisLineShape(Ie,qe,Fe[vn].coord)}))}for(var vn=0;vn<hn.length;vn++)xe.add(mergePath(hn[vn],{style:defaults$1({stroke:Lt[vn%Lt.length]},Dt.getLineStyle()),silent:!0,z:$e.get("z")}))},minorSplitLine:function(xe,$e,Ie,Fe,Ue,qe){if(Ue.length){for(var At=$e.getModel("minorSplitLine"),Dt=At.getModel("lineStyle"),Lt=[],jt=0;jt<Ue.length;jt++)for(var hn=0;hn<Ue[jt].length;hn++)Lt.push(new Line$1({shape:getAxisLineShape(Ie,qe,Ue[jt][hn].coord)}));xe.add(mergePath(Lt,{style:Dt.getLineStyle(),silent:!0,z:$e.get("z")}))}},splitArea:function(xe,$e,Ie,Fe,Ue,qe){if(Fe.length){var At=$e.getModel("splitArea"),Dt=At.getModel("areaStyle"),Lt=Dt.get("color"),jt=0;Lt=Lt instanceof Array?Lt:[Lt];for(var hn=[],vn=Math.PI/180,bn=-Fe[0].coord*vn,_n=Math.min(qe[0],qe[1]),wn=Math.max(qe[0],qe[1]),kn=$e.get("clockwise"),Cn=1,Sn=Fe.length;Cn<=Sn;Cn++){var xn=Cn===Sn?Fe[0].coord:Fe[Cn].coord,En=jt++%Lt.length;hn[En]=hn[En]||[],hn[En].push(new Sector({shape:{cx:Ie.cx,cy:Ie.cy,r0:_n,r:wn,startAngle:bn,endAngle:-xn*vn,clockwise:kn},silent:!0})),bn=-xn*vn}for(var Cn=0;Cn<hn.length;Cn++)xe.add(mergePath(hn[Cn],{style:defaults$1({fill:Lt[Cn%Lt.length]},Dt.getAreaStyle()),silent:!0}))}}},axisBuilderAttrs$1=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs$1=["splitLine","splitArea","minorSplitLine"],RadiusAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.axisPointerClass="PolarAxisPointer",Ie}return $e.prototype.render=function(Ie,Fe){if(this.group.removeAll(),!!Ie.get("show")){var Ue=this._axisGroup,qe=this._axisGroup=new Group$3;this.group.add(qe);var At=Ie.axis,Dt=At.polar,Lt=Dt.getAngleAxis(),jt=At.getTicksCoords(),hn=At.getMinorTicksCoords(),vn=Lt.getExtent()[0],bn=At.getExtent(),_n=layoutAxis(Dt,Ie,vn),wn=new AxisBuilder(Ie,_n);each$f(axisBuilderAttrs$1,wn.add,wn),qe.add(wn.getGroup()),groupTransition(Ue,qe,Ie),each$f(selfBuilderAttrs$1,function(kn){Ie.get([kn,"show"])&&!At.scale.isBlank()&&axisElementBuilders$1[kn](this.group,Ie,Dt,vn,bn,jt,hn)},this)}},$e.type="radiusAxis",$e}(AxisView),axisElementBuilders$1={splitLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("splitLine"),Dt=At.getModel("lineStyle"),Lt=Dt.get("color"),jt=0,hn=Ie.getAngleAxis(),vn=Math.PI/180,bn=hn.getExtent(),_n=Math.abs(bn[1]-bn[0])===360?"Circle":"Arc";Lt=Lt instanceof Array?Lt:[Lt];for(var wn=[],kn=0;kn<qe.length;kn++){var Cn=jt++%Lt.length;wn[Cn]=wn[Cn]||[],wn[Cn].push(new graphic[_n]({shape:{cx:Ie.cx,cy:Ie.cy,r:Math.max(qe[kn].coord,0),startAngle:-bn[0]*vn,endAngle:-bn[1]*vn,clockwise:hn.inverse}}))}for(var kn=0;kn<wn.length;kn++)xe.add(mergePath(wn[kn],{style:defaults$1({stroke:Lt[kn%Lt.length],fill:null},Dt.getLineStyle()),silent:!0}))},minorSplitLine:function(xe,$e,Ie,Fe,Ue,qe,At){if(At.length){for(var Dt=$e.getModel("minorSplitLine"),Lt=Dt.getModel("lineStyle"),jt=[],hn=0;hn<At.length;hn++)for(var vn=0;vn<At[hn].length;vn++)jt.push(new Circle({shape:{cx:Ie.cx,cy:Ie.cy,r:At[hn][vn].coord}}));xe.add(mergePath(jt,{style:defaults$1({fill:null},Lt.getLineStyle()),silent:!0}))}},splitArea:function(xe,$e,Ie,Fe,Ue,qe){if(qe.length){var At=$e.getModel("splitArea"),Dt=At.getModel("areaStyle"),Lt=Dt.get("color"),jt=0;Lt=Lt instanceof Array?Lt:[Lt];for(var hn=[],vn=qe[0].coord,bn=1;bn<qe.length;bn++){var _n=jt++%Lt.length;hn[_n]=hn[_n]||[],hn[_n].push(new Sector({shape:{cx:Ie.cx,cy:Ie.cy,r0:vn,r:qe[bn].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),vn=qe[bn].coord}for(var bn=0;bn<hn.length;bn++)xe.add(mergePath(hn[bn],{style:defaults$1({fill:Lt[bn%Lt.length]},Dt.getAreaStyle()),silent:!0}))}}};function layoutAxis(xe,$e,Ie){return{position:[xe.cx,xe.cy],rotation:Ie/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:$e.getModel("axisLabel").get("rotate"),z2:1}}function getSeriesStackId(xe){return xe.get("stack")||"__ec_stack_"+xe.seriesIndex}function getAxisKey(xe,$e){return $e.dim+xe.model.componentIndex}function barLayoutPolar(xe,$e,Ie){var Fe={},Ue=calRadialBar(filter($e.getSeriesByType(xe),function(qe){return!$e.isSeriesFiltered(qe)&&qe.coordinateSystem&&qe.coordinateSystem.type==="polar"}));$e.eachSeriesByType(xe,function(qe){if(qe.coordinateSystem.type==="polar"){var At=qe.getData(),Dt=qe.coordinateSystem,Lt=Dt.getBaseAxis(),jt=getAxisKey(Dt,Lt),hn=getSeriesStackId(qe),vn=Ue[jt][hn],bn=vn.offset,_n=vn.width,wn=Dt.getOtherAxis(Lt),kn=qe.coordinateSystem.cx,Cn=qe.coordinateSystem.cy,Sn=qe.get("barMinHeight")||0,xn=qe.get("barMinAngle")||0;Fe[hn]=Fe[hn]||[];for(var En=At.mapDimension(wn.dim),Tn=At.mapDimension(Lt.dim),An=isDimensionStacked(At,En),$n=Lt.dim!=="radius"||!qe.get("roundCap",!0),Pn=wn.dataToCoord(0),Nn=0,Mn=At.count();Nn<Mn;Nn++){var In=At.get(En,Nn),On=At.get(Tn,Nn),Rn=In>=0?"p":"n",Bn=Pn;An&&(Fe[hn][On]||(Fe[hn][On]={p:Pn,n:Pn}),Bn=Fe[hn][On][Rn]);var Vn=void 0,Ln=void 0,Dn=void 0,Hn=void 0;if(wn.dim==="radius"){var Fn=wn.dataToCoord(In)-Pn,zn=Lt.dataToCoord(On);Math.abs(Fn)<Sn&&(Fn=(Fn<0?-1:1)*Sn),Vn=Bn,Ln=Bn+Fn,Dn=zn-bn,Hn=Dn-_n,An&&(Fe[hn][On][Rn]=Ln)}else{var jn=wn.dataToCoord(In,$n)-Pn,Gn=Lt.dataToCoord(On);Math.abs(jn)<xn&&(jn=(jn<0?-1:1)*xn),Vn=Gn+bn,Ln=Vn+_n,Dn=Bn,Hn=Bn+jn,An&&(Fe[hn][On][Rn]=Hn)}At.setItemLayout(Nn,{cx:kn,cy:Cn,r0:Vn,r:Ln,startAngle:-Dn*Math.PI/180,endAngle:-Hn*Math.PI/180,clockwise:Dn>=Hn})}}})}function calRadialBar(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.getData(),At=Fe.coordinateSystem,Dt=At.getBaseAxis(),Lt=getAxisKey(At,Dt),jt=Dt.getExtent(),hn=Dt.type==="category"?Dt.getBandWidth():Math.abs(jt[1]-jt[0])/qe.count(),vn=$e[Lt]||{bandWidth:hn,remainedWidth:hn,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},bn=vn.stacks;$e[Lt]=vn;var _n=getSeriesStackId(Fe);bn[_n]||vn.autoWidthCount++,bn[_n]=bn[_n]||{width:0,maxWidth:0};var wn=parsePercent(Fe.get("barWidth"),hn),kn=parsePercent(Fe.get("barMaxWidth"),hn),Cn=Fe.get("barGap"),Sn=Fe.get("barCategoryGap");wn&&!bn[_n].width&&(wn=Math.min(vn.remainedWidth,wn),bn[_n].width=wn,vn.remainedWidth-=wn),kn&&(bn[_n].maxWidth=kn),Cn!=null&&(vn.gap=Cn),Sn!=null&&(vn.categoryGap=Sn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=parsePercent(Fe.categoryGap,At),Lt=parsePercent(Fe.gap,1),jt=Fe.remainedWidth,hn=Fe.autoWidthCount,vn=(jt-Dt)/(hn+(hn-1)*Lt);vn=Math.max(vn,0),each$f(qe,function(kn,Cn){var Sn=kn.maxWidth;Sn&&Sn<vn&&(Sn=Math.min(Sn,jt),kn.width&&(Sn=Math.min(Sn,kn.width)),jt-=Sn,kn.width=Sn,hn--)}),vn=(jt-Dt)/(hn+(hn-1)*Lt),vn=Math.max(vn,0);var bn=0,_n;each$f(qe,function(kn,Cn){kn.width||(kn.width=vn),_n=kn,bn+=kn.width*(1+Lt)}),_n&&(bn-=_n.width*Lt);var wn=-bn/2;each$f(qe,function(kn,Cn){Ie[Ue][Cn]=Ie[Ue][Cn]||{offset:wn,width:kn.width},wn+=kn.width*(1+Lt)})}),Ie}var angleAxisExtraOption={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},radiusAxisExtraOption={splitNumber:5},PolarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="polar",$e}(ComponentView);function install$p(xe){use(install$r),AxisView.registerAxisPointerClass("PolarAxisPointer",PolarAxisPointer),xe.registerCoordinateSystem("polar",polarCreator),xe.registerComponentModel(PolarModel),xe.registerComponentView(PolarView),axisModelCreator(xe,"angle",AngleAxisModel,angleAxisExtraOption),axisModelCreator(xe,"radius",RadiusAxisModel,radiusAxisExtraOption),xe.registerComponentView(AngleAxisView),xe.registerComponentView(RadiusAxisView),xe.registerLayout(curry$1(barLayoutPolar,"bar"))}function layout$2(xe,$e){$e=$e||{};var Ie=xe.coordinateSystem,Fe=xe.axis,Ue={},qe=Fe.position,At=Fe.orient,Dt=Ie.getRect(),Lt=[Dt.x,Dt.x+Dt.width,Dt.y,Dt.y+Dt.height],jt={horizontal:{top:Lt[2],bottom:Lt[3]},vertical:{left:Lt[0],right:Lt[1]}};Ue.position=[At==="vertical"?jt.vertical[qe]:Lt[0],At==="horizontal"?jt.horizontal[qe]:Lt[3]];var hn={horizontal:0,vertical:1};Ue.rotation=Math.PI/2*hn[At];var vn={top:-1,bottom:1,right:1,left:-1};Ue.labelDirection=Ue.tickDirection=Ue.nameDirection=vn[qe],xe.get(["axisTick","inside"])&&(Ue.tickDirection=-Ue.tickDirection),retrieve($e.labelInside,xe.get(["axisLabel","inside"]))&&(Ue.labelDirection=-Ue.labelDirection);var bn=$e.rotate;return bn==null&&(bn=xe.get(["axisLabel","rotate"])),Ue.labelRotation=qe==="top"?-bn:bn,Ue.z2=1,Ue}var axisBuilderAttrs=["axisLine","axisTickLabel","axisName"],selfBuilderAttrs=["splitArea","splitLine"],SingleAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.axisPointerClass="SingleAxisPointer",Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=this.group;At.removeAll();var Dt=this._axisGroup;this._axisGroup=new Group$3;var Lt=layout$2(Ie),jt=new AxisBuilder(Ie,Lt);each$f(axisBuilderAttrs,jt.add,jt),At.add(this._axisGroup),At.add(jt.getGroup()),each$f(selfBuilderAttrs,function(hn){Ie.get([hn,"show"])&&axisElementBuilders[hn](this,this.group,this._axisGroup,Ie)},this),groupTransition(Dt,this._axisGroup,Ie),xe.prototype.render.call(this,Ie,Fe,Ue,qe)},$e.prototype.remove=function(){rectCoordAxisHandleRemove(this)},$e.type="singleAxis",$e}(AxisView),axisElementBuilders={splitLine:function(xe,$e,Ie,Fe){var Ue=Fe.axis;if(!Ue.scale.isBlank()){var qe=Fe.getModel("splitLine"),At=qe.getModel("lineStyle"),Dt=At.get("color");Dt=Dt instanceof Array?Dt:[Dt];for(var Lt=At.get("width"),jt=Fe.coordinateSystem.getRect(),hn=Ue.isHorizontal(),vn=[],bn=0,_n=Ue.getTicksCoords({tickModel:qe}),wn=[],kn=[],Cn=0;Cn<_n.length;++Cn){var Sn=Ue.toGlobalCoord(_n[Cn].coord);hn?(wn[0]=Sn,wn[1]=jt.y,kn[0]=Sn,kn[1]=jt.y+jt.height):(wn[0]=jt.x,wn[1]=Sn,kn[0]=jt.x+jt.width,kn[1]=Sn);var xn=new Line$1({shape:{x1:wn[0],y1:wn[1],x2:kn[0],y2:kn[1]},silent:!0});subPixelOptimizeLine(xn.shape,Lt);var En=bn++%Dt.length;vn[En]=vn[En]||[],vn[En].push(xn)}for(var Tn=At.getLineStyle(["color"]),Cn=0;Cn<vn.length;++Cn)$e.add(mergePath(vn[Cn],{style:defaults$1({stroke:Dt[Cn%Dt.length]},Tn),silent:!0}))}},splitArea:function(xe,$e,Ie,Fe){rectCoordAxisBuildSplitArea(xe,Ie,Fe,Fe)}},SingleAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getCoordSysModel=function(){return this},$e.type="singleAxis",$e.layoutMode="box",$e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},$e}(ComponentModel);mixin(SingleAxisModel,AxisModelCommonMixin.prototype);var SingleAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.type=qe||"value",Dt.position=At||"bottom",Dt}return $e.prototype.isHorizontal=function(){var Ie=this.position;return Ie==="top"||Ie==="bottom"},$e.prototype.pointToData=function(Ie,Fe){return this.coordinateSystem.pointToData(Ie)[0]},$e}(Axis),singleDimensions=["single"],Single=function(){function xe($e,Ie,Fe){this.type="single",this.dimension="single",this.dimensions=singleDimensions,this.axisPointerEnabled=!0,this.model=$e,this._init($e,Ie,Fe)}return xe.prototype._init=function($e,Ie,Fe){var Ue=this.dimension,qe=new SingleAxis(Ue,createScaleByModel$1($e),[0,0],$e.get("type"),$e.get("position")),At=qe.type==="category";qe.onBand=At&&$e.get("boundaryGap"),qe.inverse=$e.get("inverse"),qe.orient=$e.get("orient"),$e.axis=qe,qe.model=$e,qe.coordinateSystem=this,this._axis=qe},xe.prototype.update=function($e,Ie){$e.eachSeries(function(Fe){if(Fe.coordinateSystem===this){var Ue=Fe.getData();each$f(Ue.mapDimensionsAll(this.dimension),function(qe){this._axis.scale.unionExtentFromData(Ue,qe)},this),niceScaleExtent(this._axis.scale,this._axis.model)}},this)},xe.prototype.resize=function($e,Ie){this._rect=getLayoutRect({left:$e.get("left"),top:$e.get("top"),right:$e.get("right"),bottom:$e.get("bottom"),width:$e.get("width"),height:$e.get("height")},{width:Ie.getWidth(),height:Ie.getHeight()}),this._adjustAxis()},xe.prototype.getRect=function(){return this._rect},xe.prototype._adjustAxis=function(){var $e=this._rect,Ie=this._axis,Fe=Ie.isHorizontal(),Ue=Fe?[0,$e.width]:[0,$e.height],qe=Ie.inverse?1:0;Ie.setExtent(Ue[qe],Ue[1-qe]),this._updateAxisTransform(Ie,Fe?$e.x:$e.y)},xe.prototype._updateAxisTransform=function($e,Ie){var Fe=$e.getExtent(),Ue=Fe[0]+Fe[1],qe=$e.isHorizontal();$e.toGlobalCoord=qe?function(At){return At+Ie}:function(At){return Ue-At+Ie},$e.toLocalCoord=qe?function(At){return At-Ie}:function(At){return Ue-At+Ie}},xe.prototype.getAxis=function(){return this._axis},xe.prototype.getBaseAxis=function(){return this._axis},xe.prototype.getAxes=function(){return[this._axis]},xe.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},xe.prototype.containPoint=function($e){var Ie=this.getRect(),Fe=this.getAxis(),Ue=Fe.orient;return Ue==="horizontal"?Fe.contain(Fe.toLocalCoord($e[0]))&&$e[1]>=Ie.y&&$e[1]<=Ie.y+Ie.height:Fe.contain(Fe.toLocalCoord($e[1]))&&$e[0]>=Ie.y&&$e[0]<=Ie.y+Ie.height},xe.prototype.pointToData=function($e){var Ie=this.getAxis();return[Ie.coordToData(Ie.toLocalCoord($e[Ie.orient==="horizontal"?0:1]))]},xe.prototype.dataToPoint=function($e){var Ie=this.getAxis(),Fe=this.getRect(),Ue=[],qe=Ie.orient==="horizontal"?0:1;return $e instanceof Array&&($e=$e[0]),Ue[qe]=Ie.toGlobalCoord(Ie.dataToCoord(+$e)),Ue[1-qe]=qe===0?Fe.y+Fe.height/2:Fe.x+Fe.width/2,Ue},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$1(xe){var $e=xe.seriesModel,Ie=xe.singleAxisModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}function create(xe,$e){var Ie=[];return xe.eachComponent("singleAxis",function(Fe,Ue){var qe=new Single(Fe,xe,$e);qe.name="single_"+Ue,qe.resize(Fe,$e),Fe.coordinateSystem=qe,Ie.push(qe)}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="singleAxis"){var Ue=Fe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue&&Ue.coordinateSystem}}),Ie}var singleCreator={create,dimensions:singleDimensions},XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.coordinateSystem,jt=getGlobalExtent(Lt,1-getPointDimIndex(Dt)),hn=Lt.dataToPoint(Fe)[0],vn=qe.get("type");if(vn&&vn!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder[vn](Dt,hn,jt);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$2(Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$2(Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.coordinateSystem,Lt=getPointDimIndex(At),jt=getGlobalExtent(Dt,Lt),hn=[Ie.x,Ie.y];hn[Lt]+=Fe[Lt],hn[Lt]=Math.min(jt[1],hn[Lt]),hn[Lt]=Math.max(jt[0],hn[Lt]);var vn=getGlobalExtent(Dt,1-Lt),bn=(vn[1]+vn[0])/2,_n=[bn,bn];return _n[Lt]=hn[Lt],{x:hn[0],y:hn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:{verticalAlign:"middle"}}},$e}(BaseAxisPointer),pointerShapeBuilder={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getPointDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=xe.getBandWidth(),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getPointDimIndex(xe))}}};function getPointDimIndex(xe){return xe.isHorizontal()?0:1}function getGlobalExtent(xe,$e){var Ie=xe.getRect();return[Ie[XY$1[$e]],Ie[XY$1[$e]]+Ie[WH$1[$e]]]}var SingleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="single",$e}(ComponentView);function install$o(xe){use(install$r),AxisView.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer),xe.registerComponentView(SingleView),xe.registerComponentView(SingleAxisView),xe.registerComponentModel(SingleAxisModel),axisModelCreator(xe,"single",SingleAxisModel,SingleAxisModel.defaultOption),xe.registerCoordinateSystem("single",singleCreator)}var CalendarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=getLayoutParams(Ie);xe.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(Ie,qe)},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(this.option,Ie)},$e.prototype.getCellSize=function(){return this.option.cellSize},$e.type="calendar",$e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},$e}(ComponentModel);function mergeAndNormalizeLayoutParams$1(xe,$e){var Ie=xe.cellSize,Fe;isArray$2(Ie)?Fe=Ie:Fe=xe.cellSize=[Ie,Ie],Fe.length===1&&(Fe[1]=Fe[0]);var Ue=map$1([0,1],function(qe){return sizeCalculable($e,qe)&&(Fe[qe]="auto"),Fe[qe]!=null&&Fe[qe]!=="auto"});mergeLayoutParam(xe,$e,{type:"box",ignoreSize:Ue})}var CalendarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll();var At=Ie.coordinateSystem,Dt=At.getRangeInfo(),Lt=At.getOrient(),jt=Fe.getLocaleModel();this._renderDayRect(Ie,Dt,qe),this._renderLines(Ie,Dt,Lt,qe),this._renderYearText(Ie,Dt,Lt,qe),this._renderMonthText(Ie,jt,Lt,qe),this._renderWeekText(Ie,jt,Dt,Lt,qe)},$e.prototype._renderDayRect=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=Ie.getModel("itemStyle").getItemStyle(),Dt=qe.getCellWidth(),Lt=qe.getCellHeight(),jt=Fe.start.time;jt<=Fe.end.time;jt=qe.getNextNDay(jt,1).time){var hn=qe.dataToRect([jt],!1).tl,vn=new Rect$2({shape:{x:hn[0],y:hn[1],width:Dt,height:Lt},cursor:"default",style:At});Ue.add(vn)}},$e.prototype._renderLines=function(Ie,Fe,Ue,qe){var At=this,Dt=Ie.coordinateSystem,Lt=Ie.getModel(["splitLine","lineStyle"]).getLineStyle(),jt=Ie.get(["splitLine","show"]),hn=Lt.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var vn=Fe.start,bn=0;vn.time<=Fe.end.time;bn++){wn(vn.formatedDate),bn===0&&(vn=Dt.getDateInfo(Fe.start.y+"-"+Fe.start.m));var _n=vn.date;_n.setMonth(_n.getMonth()+1),vn=Dt.getDateInfo(_n)}wn(Dt.getNextNDay(Fe.end.time,1).formatedDate);function wn(kn){At._firstDayOfMonth.push(Dt.getDateInfo(kn)),At._firstDayPoints.push(Dt.dataToRect([kn],!1).tl);var Cn=At._getLinePointsOfOneWeek(Ie,kn,Ue);At._tlpoints.push(Cn[0]),At._blpoints.push(Cn[Cn.length-1]),jt&&At._drawSplitline(Cn,Lt,qe)}jt&&this._drawSplitline(At._getEdgesPoints(At._tlpoints,hn,Ue),Lt,qe),jt&&this._drawSplitline(At._getEdgesPoints(At._blpoints,hn,Ue),Lt,qe)},$e.prototype._getEdgesPoints=function(Ie,Fe,Ue){var qe=[Ie[0].slice(),Ie[Ie.length-1].slice()],At=Ue==="horizontal"?0:1;return qe[0][At]=qe[0][At]-Fe/2,qe[1][At]=qe[1][At]+Fe/2,qe},$e.prototype._drawSplitline=function(Ie,Fe,Ue){var qe=new Polyline$1({z2:20,shape:{points:Ie},style:Fe});Ue.add(qe)},$e.prototype._getLinePointsOfOneWeek=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=qe.getDateInfo(Fe),Dt=[],Lt=0;Lt<7;Lt++){var jt=qe.getNextNDay(At.time,Lt),hn=qe.dataToRect([jt.time],!1);Dt[2*jt.day]=hn.tl,Dt[2*jt.day+1]=hn[Ue==="horizontal"?"bl":"tr"]}return Dt},$e.prototype._formatterLabel=function(Ie,Fe){return isString$2(Ie)&&Ie?formatTplSimple(Ie,Fe):isFunction$2(Ie)?Ie(Fe):Fe.nameMap},$e.prototype._yearTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt=Fe[0],Lt=Fe[1],jt=["center","bottom"];qe==="bottom"?(Lt+=At,jt=["center","top"]):qe==="left"?Dt-=At:qe==="right"?(Dt+=At,jt=["center","top"]):Lt-=At;var hn=0;return(qe==="left"||qe==="right")&&(hn=Math.PI/2),{rotation:hn,x:Dt,y:Lt,style:{align:jt[0],verticalAlign:jt[1]}}},$e.prototype._renderYearText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("yearLabel");if(At.get("show")){var Dt=At.get("margin"),Lt=At.get("position");Lt||(Lt=Ue!=="horizontal"?"top":"left");var jt=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],hn=(jt[0][0]+jt[1][0])/2,vn=(jt[0][1]+jt[1][1])/2,bn=Ue==="horizontal"?0:1,_n={top:[hn,jt[bn][1]],bottom:[hn,jt[1-bn][1]],left:[jt[1-bn][0],vn],right:[jt[bn][0],vn]},wn=Fe.start.y;+Fe.end.y>+Fe.start.y&&(wn=wn+"-"+Fe.end.y);var kn=At.get("formatter"),Cn={start:Fe.start.y,end:Fe.end.y,nameMap:wn},Sn=this._formatterLabel(kn,Cn),xn=new ZRText({z2:30,style:createTextStyle(At,{text:Sn})});xn.attr(this._yearTextPositionControl(xn,_n[Lt],Ue,Lt,Dt)),qe.add(xn)}},$e.prototype._monthTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt="left",Lt="top",jt=Ie[0],hn=Ie[1];return Ue==="horizontal"?(hn=hn+At,Fe&&(Dt="center"),qe==="start"&&(Lt="bottom")):(jt=jt+At,Fe&&(Lt="middle"),qe==="start"&&(Dt="right")),{x:jt,y:hn,align:Dt,verticalAlign:Lt}},$e.prototype._renderMonthText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("monthLabel");if(At.get("show")){var Dt=At.get("nameMap"),Lt=At.get("margin"),jt=At.get("position"),hn=At.get("align"),vn=[this._tlpoints,this._blpoints];(!Dt||isString$2(Dt))&&(Dt&&(Fe=getLocaleModel(Dt)||Fe),Dt=Fe.get(["time","monthAbbr"])||[]);var bn=jt==="start"?0:1,_n=Ue==="horizontal"?0:1;Lt=jt==="start"?-Lt:Lt;for(var wn=hn==="center",kn=0;kn<vn[bn].length-1;kn++){var Cn=vn[bn][kn].slice(),Sn=this._firstDayOfMonth[kn];if(wn){var xn=this._firstDayPoints[kn];Cn[_n]=(xn[_n]+vn[0][kn+1][_n])/2}var En=At.get("formatter"),Tn=Dt[+Sn.m-1],An={yyyy:Sn.y,yy:(Sn.y+"").slice(2),MM:Sn.m,M:+Sn.m,nameMap:Tn},$n=this._formatterLabel(En,An),Pn=new ZRText({z2:30,style:extend$1(createTextStyle(At,{text:$n}),this._monthTextPositionControl(Cn,wn,Ue,jt,Lt))});qe.add(Pn)}}},$e.prototype._weekTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt="center",Lt="middle",jt=Ie[0],hn=Ie[1],vn=Ue==="start";return Fe==="horizontal"?(jt=jt+qe+(vn?1:-1)*At[0]/2,Dt=vn?"right":"left"):(hn=hn+qe+(vn?1:-1)*At[1]/2,Lt=vn?"bottom":"top"),{x:jt,y:hn,align:Dt,verticalAlign:Lt}},$e.prototype._renderWeekText=function(Ie,Fe,Ue,qe,At){var Dt=Ie.getModel("dayLabel");if(Dt.get("show")){var Lt=Ie.coordinateSystem,jt=Dt.get("position"),hn=Dt.get("nameMap"),vn=Dt.get("margin"),bn=Lt.getFirstDayOfWeek();if(!hn||isString$2(hn)){hn&&(Fe=getLocaleModel(hn)||Fe);var _n=Fe.get(["time","dayOfWeekShort"]);hn=_n||map$1(Fe.get(["time","dayOfWeekAbbr"]),function(An){return An[0]})}var wn=Lt.getNextNDay(Ue.end.time,7-Ue.lweek).time,kn=[Lt.getCellWidth(),Lt.getCellHeight()];vn=parsePercent(vn,Math.min(kn[1],kn[0])),jt==="start"&&(wn=Lt.getNextNDay(Ue.start.time,-(7+Ue.fweek)).time,vn=-vn);for(var Cn=0;Cn<7;Cn++){var Sn=Lt.getNextNDay(wn,Cn),xn=Lt.dataToRect([Sn.time],!1).center,En=Cn;En=Math.abs((Cn+bn)%7);var Tn=new ZRText({z2:30,style:extend$1(createTextStyle(Dt,{text:hn[En]}),this._weekTextPositionControl(xn,qe,jt,vn,kn))});At.add(Tn)}}},$e.type="calendar",$e}(ComponentView),PROXIMATE_ONE_DAY=864e5,Calendar$1=function(){function xe($e,Ie,Fe){this.type="calendar",this.dimensions=xe.dimensions,this.getDimensionsInfo=xe.getDimensionsInfo,this._model=$e}return xe.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},xe.prototype.getRangeInfo=function(){return this._rangeInfo},xe.prototype.getModel=function(){return this._model},xe.prototype.getRect=function(){return this._rect},xe.prototype.getCellWidth=function(){return this._sw},xe.prototype.getCellHeight=function(){return this._sh},xe.prototype.getOrient=function(){return this._orient},xe.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},xe.prototype.getDateInfo=function($e){$e=parseDate$1($e);var Ie=$e.getFullYear(),Fe=$e.getMonth()+1,Ue=Fe<10?"0"+Fe:""+Fe,qe=$e.getDate(),At=qe<10?"0"+qe:""+qe,Dt=$e.getDay();return Dt=Math.abs((Dt+7-this.getFirstDayOfWeek())%7),{y:Ie+"",m:Ue,d:At,day:Dt,time:$e.getTime(),formatedDate:Ie+"-"+Ue+"-"+At,date:$e}},xe.prototype.getNextNDay=function($e,Ie){return Ie=Ie||0,Ie===0?this.getDateInfo($e):($e=new Date(this.getDateInfo($e).time),$e.setDate($e.getDate()+Ie),this.getDateInfo($e))},xe.prototype.update=function($e,Ie){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var Fe=this._rangeInfo.weeks||1,Ue=["width","height"],qe=this._model.getCellSize().slice(),At=this._model.getBoxLayoutParams(),Dt=this._orient==="horizontal"?[Fe,7]:[7,Fe];each$f([0,1],function(vn){hn(qe,vn)&&(At[Ue[vn]]=qe[vn]*Dt[vn])});var Lt={width:Ie.getWidth(),height:Ie.getHeight()},jt=this._rect=getLayoutRect(At,Lt);each$f([0,1],function(vn){hn(qe,vn)||(qe[vn]=jt[Ue[vn]]/Dt[vn])});function hn(vn,bn){return vn[bn]!=null&&vn[bn]!=="auto"}this._sw=qe[0],this._sh=qe[1]},xe.prototype.dataToPoint=function($e,Ie){isArray$2($e)&&($e=$e[0]),Ie==null&&(Ie=!0);var Fe=this.getDateInfo($e),Ue=this._rangeInfo,qe=Fe.formatedDate;if(Ie&&!(Fe.time>=Ue.start.time&&Fe.time<Ue.end.time+PROXIMATE_ONE_DAY))return[NaN,NaN];var At=Fe.day,Dt=this._getRangeInfo([Ue.start.time,qe]).nthWeek;return this._orient==="vertical"?[this._rect.x+At*this._sw+this._sw/2,this._rect.y+Dt*this._sh+this._sh/2]:[this._rect.x+Dt*this._sw+this._sw/2,this._rect.y+At*this._sh+this._sh/2]},xe.prototype.pointToData=function($e){var Ie=this.pointToDate($e);return Ie&&Ie.time},xe.prototype.dataToRect=function($e,Ie){var Fe=this.dataToPoint($e,Ie);return{contentShape:{x:Fe[0]-(this._sw-this._lineWidth)/2,y:Fe[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:Fe,tl:[Fe[0]-this._sw/2,Fe[1]-this._sh/2],tr:[Fe[0]+this._sw/2,Fe[1]-this._sh/2],br:[Fe[0]+this._sw/2,Fe[1]+this._sh/2],bl:[Fe[0]-this._sw/2,Fe[1]+this._sh/2]}},xe.prototype.pointToDate=function($e){var Ie=Math.floor(($e[0]-this._rect.x)/this._sw)+1,Fe=Math.floor(($e[1]-this._rect.y)/this._sh)+1,Ue=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(Fe,Ie-1,Ue):this._getDateByWeeksAndDay(Ie,Fe-1,Ue)},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys(Ie);return Ue===this?Ue.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys(Ie);return Ue===this?Ue.pointToData(Fe):null},xe.prototype.containPoint=function($e){return console.warn("Not implemented."),!1},xe.prototype._initRangeOption=function(){var $e=this._model.get("range"),Ie;if(isArray$2($e)&&$e.length===1&&($e=$e[0]),isArray$2($e))Ie=$e;else{var Fe=$e.toString();if(/^\d{4}$/.test(Fe)&&(Ie=[Fe+"-01-01",Fe+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(Fe)){var Ue=this.getDateInfo(Fe),qe=Ue.date;qe.setMonth(qe.getMonth()+1);var At=this.getNextNDay(qe,-1);Ie=[Ue.formatedDate,At.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(Fe)&&(Ie=[Fe,Fe])}if(!Ie)return $e;var Dt=this._getRangeInfo(Ie);return Dt.start.time>Dt.end.time&&Ie.reverse(),Ie},xe.prototype._getRangeInfo=function($e){var Ie=[this.getDateInfo($e[0]),this.getDateInfo($e[1])],Fe;Ie[0].time>Ie[1].time&&(Fe=!0,Ie.reverse());var Ue=Math.floor(Ie[1].time/PROXIMATE_ONE_DAY)-Math.floor(Ie[0].time/PROXIMATE_ONE_DAY)+1,qe=new Date(Ie[0].time),At=qe.getDate(),Dt=Ie[1].date.getDate();qe.setDate(At+Ue-1);var Lt=qe.getDate();if(Lt!==Dt)for(var jt=qe.getTime()-Ie[1].time>0?1:-1;(Lt=qe.getDate())!==Dt&&(qe.getTime()-Ie[1].time)*jt>0;)Ue-=jt,qe.setDate(Lt-jt);var hn=Math.floor((Ue+Ie[0].day+6)/7),vn=Fe?-hn+1:hn-1;return Fe&&Ie.reverse(),{range:[Ie[0].formatedDate,Ie[1].formatedDate],start:Ie[0],end:Ie[1],allDay:Ue,weeks:hn,nthWeek:vn,fweek:Ie[0].day,lweek:Ie[1].day}},xe.prototype._getDateByWeeksAndDay=function($e,Ie,Fe){var Ue=this._getRangeInfo(Fe);if($e>Ue.weeks||$e===0&&Ie<Ue.fweek||$e===Ue.weeks&&Ie>Ue.lweek)return null;var qe=($e-1)*7-Ue.fweek+Ie,At=new Date(Ue.start.time);return At.setDate(+Ue.start.d+qe),this.getDateInfo(At)},xe.create=function($e,Ie){var Fe=[];return $e.eachComponent("calendar",function(Ue){var qe=new xe(Ue);Fe.push(qe),Ue.coordinateSystem=qe}),$e.eachSeries(function(Ue){Ue.get("coordinateSystem")==="calendar"&&(Ue.coordinateSystem=Fe[Ue.get("calendarIndex")||0])}),Fe},xe.dimensions=["time","value"],xe}();function getCoordSys(xe){var $e=xe.calendarModel,Ie=xe.seriesModel,Fe=$e?$e.coordinateSystem:Ie?Ie.coordinateSystem:null;return Fe}function install$n(xe){xe.registerComponentModel(CalendarModel),xe.registerComponentView(CalendarView),xe.registerCoordinateSystem("calendar",Calendar$1)}function setKeyInfoToNewElOption(xe,$e){var Ie=xe.existing;if($e.id=xe.keyInfo.id,!$e.type&&Ie&&($e.type=Ie.type),$e.parentId==null){var Fe=$e.parentOption;Fe?$e.parentId=Fe.id:Ie&&($e.parentId=Ie.parentId)}$e.parentOption=null}function isSetLoc(xe,$e){var Ie;return each$f($e,function(Fe){xe[Fe]!=null&&xe[Fe]!=="auto"&&(Ie=!0)}),Ie}function mergeNewElOptionToExist(xe,$e,Ie){var Fe=extend$1({},Ie),Ue=xe[$e],qe=Ie.$action||"merge";qe==="merge"?Ue?(merge$1(Ue,Fe,!0),mergeLayoutParam(Ue,Fe,{ignoreSize:!0}),copyLayoutParams(Ie,Ue),copyTransitionInfo(Ie,Ue),copyTransitionInfo(Ie,Ue,"shape"),copyTransitionInfo(Ie,Ue,"style"),copyTransitionInfo(Ie,Ue,"extra"),Ie.clipPath=Ue.clipPath):xe[$e]=Fe:qe==="replace"?xe[$e]=Fe:qe==="remove"&&Ue&&(xe[$e]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(xe,$e,Ie){if(Ie&&(!xe[Ie]&&$e[Ie]&&(xe[Ie]={}),xe=xe[Ie],$e=$e[Ie]),!(!xe||!$e))for(var Fe=Ie?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue];xe[qe]==null&&$e[qe]!=null&&(xe[qe]=$e[qe])}}function setLayoutInfoToExist(xe,$e){if(xe&&(xe.hv=$e.hv=[isSetLoc($e,["left","right"]),isSetLoc($e,["top","bottom"])],xe.type==="group")){var Ie=xe,Fe=$e;Ie.width==null&&(Ie.width=Fe.width=0),Ie.height==null&&(Ie.height=Fe.height=0)}}var GraphicComponentModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.preventAutoZ=!0,Ie}return $e.prototype.mergeOption=function(Ie,Fe){var Ue=this.option.elements;this.option.elements=null,xe.prototype.mergeOption.call(this,Ie,Fe),this.option.elements=Ue},$e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option,qe=(Fe?Ue:Ie).elements,At=Ue.elements=Fe?[]:Ue.elements,Dt=[];this._flatten(qe,Dt,null);var Lt=mappingToExists(At,Dt,"normalMerge"),jt=this._elOptionsToUpdate=[];each$f(Lt,function(hn,vn){var bn=hn.newOption;bn&&(jt.push(bn),setKeyInfoToNewElOption(hn,bn),mergeNewElOptionToExist(At,vn,bn),setLayoutInfoToExist(At[vn],bn))},this),Ue.elements=filter(At,function(hn){return hn&&delete hn.$action,hn!=null})},$e.prototype._flatten=function(Ie,Fe,Ue){each$f(Ie,function(qe){if(qe){Ue&&(qe.parentOption=Ue),Fe.push(qe);var At=qe.children;At&&At.length&&this._flatten(At,Fe,qe),delete qe.children}},this)},$e.prototype.useElOptionsToUpdate=function(){var Ie=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,Ie},$e.type="graphic",$e.defaultOption={elements:[]},$e}(ComponentModel),nonShapeGraphicElements={path:null,compoundPath:null,group:Group$3,image:ZRImage,text:ZRText},inner$7=makeInner(),GraphicComponentView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){this._elMap=createHashMap()},$e.prototype.render=function(Ie,Fe,Ue){Ie!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=Ie,this._updateElements(Ie),this._relocate(Ie,Ue)},$e.prototype._updateElements=function(Ie){var Fe=Ie.useElOptionsToUpdate();if(Fe){var Ue=this._elMap,qe=this.group,At=Ie.get("z"),Dt=Ie.get("zlevel");each$f(Fe,function(Lt){var jt=convertOptionIdName(Lt.id,null),hn=jt!=null?Ue.get(jt):null,vn=convertOptionIdName(Lt.parentId,null),bn=vn!=null?Ue.get(vn):qe,_n=Lt.type,wn=Lt.style;_n==="text"&&wn&&Lt.hv&&Lt.hv[1]&&(wn.textVerticalAlign=wn.textBaseline=wn.verticalAlign=wn.align=null);var kn=Lt.textContent,Cn=Lt.textConfig;if(wn&&isEC4CompatibleStyle(wn,_n,!!Cn,!!kn)){var Sn=convertFromEC4CompatibleStyle(wn,_n,!0);!Cn&&Sn.textConfig&&(Cn=Lt.textConfig=Sn.textConfig),!kn&&Sn.textContent&&(kn=Sn.textContent)}var xn=getCleanedElOption(Lt),En=Lt.$action||"merge",Tn=En==="merge",An=En==="replace";if(Tn){var $n=!hn,Pn=hn;$n?Pn=createEl(jt,bn,Lt.type,Ue):(Pn&&(inner$7(Pn).isNew=!1),stopPreviousKeyframeAnimationAndRestore(Pn)),Pn&&(applyUpdateTransition(Pn,xn,Ie,{isInit:$n}),updateCommonAttrs(Pn,Lt,At,Dt))}else if(An){removeEl$1(hn,Lt,Ue,Ie);var Nn=createEl(jt,bn,Lt.type,Ue);Nn&&(applyUpdateTransition(Nn,xn,Ie,{isInit:!0}),updateCommonAttrs(Nn,Lt,At,Dt))}else En==="remove"&&(updateLeaveTo(hn,Lt),removeEl$1(hn,Lt,Ue,Ie));var Mn=Ue.get(jt);if(Mn&&kn)if(Tn){var In=Mn.getTextContent();In?In.attr(kn):Mn.setTextContent(new ZRText(kn))}else An&&Mn.setTextContent(new ZRText(kn));if(Mn){var On=Lt.clipPath;if(On){var Rn=On.type,Bn=void 0,$n=!1;if(Tn){var Vn=Mn.getClipPath();$n=!Vn||inner$7(Vn).type!==Rn,Bn=$n?newEl(Rn):Vn}else An&&($n=!0,Bn=newEl(Rn));Mn.setClipPath(Bn),applyUpdateTransition(Bn,On,Ie,{isInit:$n}),applyKeyframeAnimation(Bn,On.keyframeAnimation,Ie)}var Ln=inner$7(Mn);Mn.setTextConfig(Cn),Ln.option=Lt,setEventData(Mn,Ie,Lt),setTooltipConfig({el:Mn,componentModel:Ie,itemName:Mn.name,itemTooltipOption:Lt.tooltip}),applyKeyframeAnimation(Mn,Lt.keyframeAnimation,Ie)}})}},$e.prototype._relocate=function(Ie,Fe){for(var Ue=Ie.option.elements,qe=this.group,At=this._elMap,Dt=Fe.getWidth(),Lt=Fe.getHeight(),jt=["x","y"],hn=0;hn<Ue.length;hn++){var vn=Ue[hn],bn=convertOptionIdName(vn.id,null),_n=bn!=null?At.get(bn):null;if(!(!_n||!_n.isGroup)){var wn=_n.parent,kn=wn===qe,Cn=inner$7(_n),Sn=inner$7(wn);Cn.width=parsePercent(Cn.option.width,kn?Dt:Sn.width)||0,Cn.height=parsePercent(Cn.option.height,kn?Lt:Sn.height)||0}}for(var hn=Ue.length-1;hn>=0;hn--){var vn=Ue[hn],bn=convertOptionIdName(vn.id,null),_n=bn!=null?At.get(bn):null;if(_n){var wn=_n.parent,Sn=inner$7(wn),xn=wn===qe?{width:Dt,height:Lt}:{width:Sn.width,height:Sn.height},En={},Tn=positionElement(_n,vn,xn,null,{hv:vn.hv,boundingMode:vn.bounding},En);if(!inner$7(_n).isNew&&Tn){for(var An=vn.transition,$n={},Pn=0;Pn<jt.length;Pn++){var Nn=jt[Pn],Mn=En[Nn];An&&(isTransitionAll(An)||indexOf(An,Nn)>=0)?$n[Nn]=Mn:_n[Nn]=Mn}updateProps$1(_n,$n,Ie,0)}else _n.attr(En)}}},$e.prototype._clear=function(){var Ie=this,Fe=this._elMap;Fe.each(function(Ue){removeEl$1(Ue,inner$7(Ue).option,Fe,Ie._lastGraphicModel)}),this._elMap=createHashMap()},$e.prototype.dispose=function(){this._clear()},$e.type="graphic",$e}(ComponentView);function newEl(xe){var $e=hasOwn(nonShapeGraphicElements,xe)?nonShapeGraphicElements[xe]:getShapeClass(xe),Ie=new $e({});return inner$7(Ie).type=xe,Ie}function createEl(xe,$e,Ie,Fe){var Ue=newEl(Ie);return $e.add(Ue),Fe.set(xe,Ue),inner$7(Ue).id=xe,inner$7(Ue).isNew=!0,Ue}function removeEl$1(xe,$e,Ie,Fe){var Ue=xe&&xe.parent;Ue&&(xe.type==="group"&&xe.traverse(function(qe){removeEl$1(qe,$e,Ie,Fe)}),applyLeaveTransition(xe,$e,Fe),Ie.removeKey(inner$7(xe).id))}function updateCommonAttrs(xe,$e,Ie,Fe){xe.isGroup||each$f([["cursor",Displayable.prototype.cursor],["zlevel",Fe||0],["z",Ie||0],["z2",0]],function(Ue){var qe=Ue[0];hasOwn($e,qe)?xe[qe]=retrieve2($e[qe],Ue[1]):xe[qe]==null&&(xe[qe]=Ue[1])}),each$f(keys($e),function(Ue){if(Ue.indexOf("on")===0){var qe=$e[Ue];xe[Ue]=isFunction$2(qe)?qe:null}}),hasOwn($e,"draggable")&&(xe.draggable=$e.draggable),$e.name!=null&&(xe.name=$e.name),$e.id!=null&&(xe.id=$e.id)}function getCleanedElOption(xe){return xe=extend$1({},xe),each$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function($e){delete xe[$e]}),xe}function setEventData(xe,$e,Ie){var Fe=getECData(xe).eventData;!xe.silent&&!xe.ignore&&!Fe&&(Fe=getECData(xe).eventData={componentType:"graphic",componentIndex:$e.componentIndex,name:xe.name}),Fe&&(Fe.info=Ie.info)}function install$m(xe){xe.registerComponentModel(GraphicComponentModel),xe.registerComponentView(GraphicComponentView),xe.registerPreprocessor(function($e){var Ie=$e.graphic;isArray$2(Ie)?!Ie[0]||!Ie[0].elements?$e.graphic=[{elements:Ie}]:$e.graphic=[$e.graphic[0]]:Ie&&!Ie.elements&&($e.graphic=[{elements:[Ie]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(xe){var $e=xe.get("coordinateSystem");return indexOf(SERIES_COORDS,$e)>=0}function getAxisMainType(xe){return xe+"Axis"}function findEffectedDataZooms(xe,$e){var Ie=createHashMap(),Fe=[],Ue=createHashMap();xe.eachComponent({mainType:"dataZoom",query:$e},function(hn){Ue.get(hn.uid)||Dt(hn)});var qe;do qe=!1,xe.eachComponent("dataZoom",At);while(qe);function At(hn){!Ue.get(hn.uid)&&Lt(hn)&&(Dt(hn),qe=!0)}function Dt(hn){Ue.set(hn.uid,!0),Fe.push(hn),jt(hn)}function Lt(hn){var vn=!1;return hn.eachTargetAxis(function(bn,_n){var wn=Ie.get(bn);wn&&wn[_n]&&(vn=!0)}),vn}function jt(hn){hn.eachTargetAxis(function(vn,bn){(Ie.get(vn)||Ie.set(vn,[]))[bn]=!0})}return Fe}function collectReferCoordSysModelInfo(xe){var $e=xe.ecModel,Ie={infoList:[],infoMap:createHashMap()};return xe.eachTargetAxis(function(Fe,Ue){var qe=$e.getComponent(getAxisMainType(Fe),Ue);if(qe){var At=qe.getCoordSysModel();if(At){var Dt=At.uid,Lt=Ie.infoMap.get(Dt);Lt||(Lt={model:At,axisModels:[]},Ie.infoList.push(Lt),Ie.infoMap.set(Dt,Lt)),Lt.axisModels.push(qe)}}}),Ie}var DataZoomAxisInfo=function(){function xe(){this.indexList=[],this.indexMap=[]}return xe.prototype.add=function($e){this.indexMap[$e]||(this.indexList.push($e),this.indexMap[$e]=!0)},xe}(),DataZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._autoThrottle=!0,Ie._noTarget=!0,Ie._rangePropMode=["percent","percent"],Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=retrieveRawOption(Ie);this.settledOption=qe,this.mergeDefaultAndTheme(Ie,Ue),this._doInit(qe)},$e.prototype.mergeOption=function(Ie){var Fe=retrieveRawOption(Ie);merge$1(this.option,Ie,!0),merge$1(this.settledOption,Fe,!0),this._doInit(Fe)},$e.prototype._doInit=function(Ie){var Fe=this.option;this._setDefaultThrottle(Ie),this._updateRangeUse(Ie);var Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe,At){this._rangePropMode[At]==="value"&&(Fe[qe[0]]=Ue[qe[0]]=null)},this),this._resetTarget()},$e.prototype._resetTarget=function(){var Ie=this.get("orient",!0),Fe=this._targetAxisInfoMap=createHashMap(),Ue=this._fillSpecifiedTargetAxis(Fe);Ue?this._orient=Ie||this._makeAutoOrientByTargetAxis():(this._orient=Ie||"horizontal",this._fillAutoTargetAxisByOrient(Fe,this._orient)),this._noTarget=!0,Fe.each(function(qe){qe.indexList.length&&(this._noTarget=!1)},this)},$e.prototype._fillSpecifiedTargetAxis=function(Ie){var Fe=!1;return each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(Ue){var qe=this.getReferringComponents(getAxisMainType(Ue),MULTIPLE_REFERRING);if(qe.specified){Fe=!0;var At=new DataZoomAxisInfo;each$f(qe.models,function(Dt){At.add(Dt.componentIndex)}),Ie.set(Ue,At)}},this),Fe},$e.prototype._fillAutoTargetAxisByOrient=function(Ie,Fe){var Ue=this.ecModel,qe=!0;if(qe){var At=Fe==="vertical"?"y":"x",Dt=Ue.findComponents({mainType:At+"Axis"});Lt(Dt,At)}if(qe){var Dt=Ue.findComponents({mainType:"singleAxis",filter:function(hn){return hn.get("orient",!0)===Fe}});Lt(Dt,"single")}function Lt(jt,hn){var vn=jt[0];if(vn){var bn=new DataZoomAxisInfo;if(bn.add(vn.componentIndex),Ie.set(hn,bn),qe=!1,hn==="x"||hn==="y"){var _n=vn.getReferringComponents("grid",SINGLE_REFERRING).models[0];_n&&each$f(jt,function(wn){vn.componentIndex!==wn.componentIndex&&_n===wn.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&bn.add(wn.componentIndex)})}}}qe&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(jt){if(qe){var hn=Ue.findComponents({mainType:getAxisMainType(jt),filter:function(bn){return bn.get("type",!0)==="category"}});if(hn[0]){var vn=new DataZoomAxisInfo;vn.add(hn[0].componentIndex),Ie.set(jt,vn),qe=!1}}},this)},$e.prototype._makeAutoOrientByTargetAxis=function(){var Ie;return this.eachTargetAxis(function(Fe){!Ie&&(Ie=Fe)},this),Ie==="y"?"vertical":"horizontal"},$e.prototype._setDefaultThrottle=function(Ie){if(Ie.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var Fe=this.ecModel.option;this.option.throttle=Fe.animation&&Fe.animationDurationUpdate>0?100:20}},$e.prototype._updateRangeUse=function(Ie){var Fe=this._rangePropMode,Ue=this.get("rangeMode");each$f([["start","startValue"],["end","endValue"]],function(qe,At){var Dt=Ie[qe[0]]!=null,Lt=Ie[qe[1]]!=null;Dt&&!Lt?Fe[At]="percent":!Dt&&Lt?Fe[At]="value":Ue?Fe[At]=Ue[At]:Dt&&(Fe[At]="percent")})},$e.prototype.noTarget=function(){return this._noTarget},$e.prototype.getFirstTargetAxisModel=function(){var Ie;return this.eachTargetAxis(function(Fe,Ue){Ie==null&&(Ie=this.ecModel.getComponent(getAxisMainType(Fe),Ue))},this),Ie},$e.prototype.eachTargetAxis=function(Ie,Fe){this._targetAxisInfoMap.each(function(Ue,qe){each$f(Ue.indexList,function(At){Ie.call(Fe,qe,At)})})},$e.prototype.getAxisProxy=function(Ie,Fe){var Ue=this.getAxisModel(Ie,Fe);if(Ue)return Ue.__dzAxisProxy},$e.prototype.getAxisModel=function(Ie,Fe){var Ue=this._targetAxisInfoMap.get(Ie);if(Ue&&Ue.indexMap[Fe])return this.ecModel.getComponent(getAxisMainType(Ie),Fe)},$e.prototype.setRawRange=function(Ie){var Fe=this.option,Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe){(Ie[qe[0]]!=null||Ie[qe[1]]!=null)&&(Fe[qe[0]]=Ue[qe[0]]=Ie[qe[0]],Fe[qe[1]]=Ue[qe[1]]=Ie[qe[1]])},this),this._updateRangeUse(Ie)},$e.prototype.setCalculatedRange=function(Ie){var Fe=this.option;each$f(["start","startValue","end","endValue"],function(Ue){Fe[Ue]=Ie[Ue]})},$e.prototype.getPercentRange=function(){var Ie=this.findRepresentativeAxisProxy();if(Ie)return Ie.getDataPercentWindow()},$e.prototype.getValueRange=function(Ie,Fe){if(Ie==null&&Fe==null){var Ue=this.findRepresentativeAxisProxy();if(Ue)return Ue.getDataValueWindow()}else return this.getAxisProxy(Ie,Fe).getDataValueWindow()},$e.prototype.findRepresentativeAxisProxy=function(Ie){if(Ie)return Ie.__dzAxisProxy;for(var Fe,Ue=this._targetAxisInfoMap.keys(),qe=0;qe<Ue.length;qe++)for(var At=Ue[qe],Dt=this._targetAxisInfoMap.get(At),Lt=0;Lt<Dt.indexList.length;Lt++){var jt=this.getAxisProxy(At,Dt.indexList[Lt]);if(jt.hostedBy(this))return jt;Fe||(Fe=jt)}return Fe},$e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},$e.prototype.getOrient=function(){return this._orient},$e.type="dataZoom",$e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],$e.defaultOption={z:4,filterMode:"filter",start:0,end:100},$e}(ComponentModel);function retrieveRawOption(xe){var $e={};return each$f(["start","end","startValue","endValue","throttle"],function(Ie){xe.hasOwnProperty(Ie)&&($e[Ie]=xe[Ie])}),$e}var SelectDataZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.select",$e}(DataZoomModel),DataZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue,qe){this.dataZoomModel=Ie,this.ecModel=Fe,this.api=Ue},$e.type="dataZoom",$e}(ComponentView),SelectDataZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.select",$e}(DataZoomView),each$7=each$f,asc$1=asc$2,AxisProxy=function(){function xe($e,Ie,Fe,Ue){this._dimName=$e,this._axisIndex=Ie,this.ecModel=Ue,this._dataZoomModel=Fe}return xe.prototype.hostedBy=function($e){return this._dataZoomModel===$e},xe.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},xe.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},xe.prototype.getTargetSeriesModels=function(){var $e=[];return this.ecModel.eachSeries(function(Ie){if(isCoordSupported(Ie)){var Fe=getAxisMainType(this._dimName),Ue=Ie.getReferringComponents(Fe,SINGLE_REFERRING).models[0];Ue&&this._axisIndex===Ue.componentIndex&&$e.push(Ie)}},this),$e},xe.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},xe.prototype.getMinMaxSpan=function(){return clone$4(this._minMaxSpan)},xe.prototype.calculateDataWindow=function($e){var Ie=this._dataExtent,Fe=this.getAxisModel(),Ue=Fe.axis.scale,qe=this._dataZoomModel.getRangePropMode(),At=[0,100],Dt=[],Lt=[],jt;each$7(["start","end"],function(bn,_n){var wn=$e[bn],kn=$e[bn+"Value"];qe[_n]==="percent"?(wn==null&&(wn=At[_n]),kn=Ue.parse(linearMap$2(wn,At,Ie))):(jt=!0,kn=kn==null?Ie[_n]:Ue.parse(kn),wn=linearMap$2(kn,Ie,At)),Lt[_n]=kn==null||isNaN(kn)?Ie[_n]:kn,Dt[_n]=wn==null||isNaN(wn)?At[_n]:wn}),asc$1(Lt),asc$1(Dt);var hn=this._minMaxSpan;jt?vn(Lt,Dt,Ie,At,!1):vn(Dt,Lt,At,Ie,!0);function vn(bn,_n,wn,kn,Cn){var Sn=Cn?"Span":"ValueSpan";sliderMove(0,bn,wn,"all",hn["min"+Sn],hn["max"+Sn]);for(var xn=0;xn<2;xn++)_n[xn]=linearMap$2(bn[xn],wn,kn,!0),Cn&&(_n[xn]=Ue.parse(_n[xn]))}return{valueWindow:Lt,percentWindow:Dt}},xe.prototype.reset=function($e){if($e===this._dataZoomModel){var Ie=this.getTargetSeriesModels();this._dataExtent=calculateDataExtent(this,this._dimName,Ie),this._updateMinMaxSpan();var Fe=this.calculateDataWindow($e.settledOption);this._valueWindow=Fe.valueWindow,this._percentWindow=Fe.percentWindow,this._setAxisModel()}},xe.prototype.filterData=function($e,Ie){if($e!==this._dataZoomModel)return;var Fe=this._dimName,Ue=this.getTargetSeriesModels(),qe=$e.get("filterMode"),At=this._valueWindow;if(qe==="none")return;each$7(Ue,function(Lt){var jt=Lt.getData(),hn=jt.mapDimensionsAll(Fe);if(hn.length){if(qe==="weakFilter"){var vn=jt.getStore(),bn=map$1(hn,function(_n){return jt.getDimensionIndex(_n)},jt);jt.filterSelf(function(_n){for(var wn,kn,Cn,Sn=0;Sn<hn.length;Sn++){var xn=vn.get(bn[Sn],_n),En=!isNaN(xn),Tn=xn<At[0],An=xn>At[1];if(En&&!Tn&&!An)return!0;En&&(Cn=!0),Tn&&(wn=!0),An&&(kn=!0)}return Cn&&wn&&kn})}else each$7(hn,function(_n){if(qe==="empty")Lt.setData(jt=jt.map(_n,function(kn){return Dt(kn)?kn:NaN}));else{var wn={};wn[_n]=At,jt.selectRange(wn)}});each$7(hn,function(_n){jt.setApproximateExtent(At,_n)})}});function Dt(Lt){return Lt>=At[0]&&Lt<=At[1]}},xe.prototype._updateMinMaxSpan=function(){var $e=this._minMaxSpan={},Ie=this._dataZoomModel,Fe=this._dataExtent;each$7(["min","max"],function(Ue){var qe=Ie.get(Ue+"Span"),At=Ie.get(Ue+"ValueSpan");At!=null&&(At=this.getAxisModel().axis.scale.parse(At)),At!=null?qe=linearMap$2(Fe[0]+At,Fe,[0,100],!0):qe!=null&&(At=linearMap$2(qe,[0,100],Fe,!0)-Fe[0]),$e[Ue+"Span"]=qe,$e[Ue+"ValueSpan"]=At},this)},xe.prototype._setAxisModel=function(){var $e=this.getAxisModel(),Ie=this._percentWindow,Fe=this._valueWindow;if(Ie){var Ue=getPixelPrecision(Fe,[0,500]);Ue=Math.min(Ue,20);var qe=$e.axis.scale.rawExtentInfo;Ie[0]!==0&&qe.setDeterminedMinMax("min",+Fe[0].toFixed(Ue)),Ie[1]!==100&&qe.setDeterminedMinMax("max",+Fe[1].toFixed(Ue)),qe.freeze()}},xe}();function calculateDataExtent(xe,$e,Ie){var Fe=[1/0,-1/0];each$7(Ie,function(At){unionAxisExtentFromData(Fe,At.getData(),$e)});var Ue=xe.getAxisModel(),qe=ensureScaleRawExtentInfo(Ue.axis.scale,Ue,Fe).calculate();return[qe.min,qe.max]}var dataZoomProcessor={getTargetSeries:function(xe){function $e(Ue){xe.eachComponent("dataZoom",function(qe){qe.eachTargetAxis(function(At,Dt){var Lt=xe.getComponent(getAxisMainType(At),Dt);Ue(At,Dt,Lt,qe)})})}$e(function(Ue,qe,At,Dt){At.__dzAxisProxy=null});var Ie=[];$e(function(Ue,qe,At,Dt){At.__dzAxisProxy||(At.__dzAxisProxy=new AxisProxy(Ue,qe,Dt,xe),Ie.push(At.__dzAxisProxy))});var Fe=createHashMap();return each$f(Ie,function(Ue){each$f(Ue.getTargetSeriesModels(),function(qe){Fe.set(qe.uid,qe)})}),Fe},overallReset:function(xe,$e){xe.eachComponent("dataZoom",function(Ie){Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).reset(Ie)}),Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).filterData(Ie,$e)})}),xe.eachComponent("dataZoom",function(Ie){var Fe=Ie.findRepresentativeAxisProxy();if(Fe){var Ue=Fe.getDataPercentWindow(),qe=Fe.getDataValueWindow();Ie.setCalculatedRange({start:Ue[0],end:Ue[1],startValue:qe[0],endValue:qe[1]})}})}};function installDataZoomAction(xe){xe.registerAction("dataZoom",function($e,Ie){var Fe=findEffectedDataZooms(Ie,$e);each$f(Fe,function(Ue){Ue.setRawRange({start:$e.start,end:$e.end,startValue:$e.startValue,endValue:$e.endValue})})})}var installed$1=!1;function installCommon$1(xe){installed$1||(installed$1=!0,xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor),installDataZoomAction(xe),xe.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$l(xe){xe.registerComponentModel(SelectDataZoomModel),xe.registerComponentView(SelectDataZoomView),installCommon$1(xe)}var ToolboxFeature=function(){function xe(){}return xe}(),features={};function registerFeature(xe,$e){features[xe]=$e}function getFeature(xe){return features[xe]}var ToolboxModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){xe.prototype.optionUpdated.apply(this,arguments);var Ie=this.ecModel;each$f(this.option.feature,function(Fe,Ue){var qe=getFeature(Ue);qe&&(qe.getDefaultOption&&(qe.defaultOption=qe.getDefaultOption(Ie)),merge$1(Fe,qe.defaultOption))})},$e.type="toolbox",$e.layoutMode={type:"box",ignoreSize:!0},$e.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"}},$e}(ComponentModel);function layout$1(xe,$e,Ie){var Fe=$e.getBoxLayoutParams(),Ue=$e.get("padding"),qe={width:Ie.getWidth(),height:Ie.getHeight()},At=getLayoutRect(Fe,qe,Ue);box($e.get("orient"),xe,$e.get("itemGap"),At.width,At.height),positionElement(xe,Fe,qe,Ue)}function makeBackground(xe,$e){var Ie=normalizeCssArray($e.get("padding")),Fe=$e.getItemStyle(["color","opacity"]);return Fe.fill=$e.get("backgroundColor"),xe=new Rect$2({shape:{x:xe.x-Ie[3],y:xe.y-Ie[0],width:xe.width+Ie[1]+Ie[3],height:xe.height+Ie[0]+Ie[2],r:$e.get("borderRadius")},style:Fe,silent:!0,z2:-1}),xe}var ToolboxView=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=this.group;if(At.removeAll(),!Ie.get("show"))return;var Dt=+Ie.get("itemSize"),Lt=Ie.get("orient")==="vertical",jt=Ie.get("feature")||{},hn=this._features||(this._features={}),vn=[];each$f(jt,function(wn,kn){vn.push(kn)}),new DataDiffer(this._featureNames||[],vn).add(bn).update(bn).remove(curry$1(bn,null)).execute(),this._featureNames=vn;function bn(wn,kn){var Cn=vn[wn],Sn=vn[kn],xn=jt[Cn],En=new Model(xn,Ie,Ie.ecModel),Tn;if(qe&&qe.newTitle!=null&&qe.featureName===Cn&&(xn.title=qe.newTitle),Cn&&!Sn){if(isUserFeatureName(Cn))Tn={onclick:En.option.onclick,featureName:Cn};else{var An=getFeature(Cn);if(!An)return;Tn=new An}hn[Cn]=Tn}else if(Tn=hn[Sn],!Tn)return;Tn.uid=getUID("toolbox-feature"),Tn.model=En,Tn.ecModel=Fe,Tn.api=Ue;var $n=Tn instanceof ToolboxFeature;if(!Cn&&Sn){$n&&Tn.dispose&&Tn.dispose(Fe,Ue);return}if(!En.get("show")||$n&&Tn.unusable){$n&&Tn.remove&&Tn.remove(Fe,Ue);return}_n(En,Tn,Cn),En.setIconStatus=function(Pn,Nn){var Mn=this.option,In=this.iconPaths;Mn.iconStatus=Mn.iconStatus||{},Mn.iconStatus[Pn]=Nn,In[Pn]&&(Nn==="emphasis"?enterEmphasis:leaveEmphasis)(In[Pn])},Tn instanceof ToolboxFeature&&Tn.render&&Tn.render(En,Fe,Ue,qe)}function _n(wn,kn,Cn){var Sn=wn.getModel("iconStyle"),xn=wn.getModel(["emphasis","iconStyle"]),En=kn instanceof ToolboxFeature&&kn.getIcons?kn.getIcons():wn.get("icon"),Tn=wn.get("title")||{},An,$n;isString$2(En)?(An={},An[Cn]=En):An=En,isString$2(Tn)?($n={},$n[Cn]=Tn):$n=Tn;var Pn=wn.iconPaths={};each$f(An,function(Nn,Mn){var In=createIcon(Nn,{},{x:-Dt/2,y:-Dt/2,width:Dt,height:Dt});In.setStyle(Sn.getItemStyle());var On=In.ensureState("emphasis");On.style=xn.getItemStyle();var Rn=new ZRText({style:{text:$n[Mn],align:xn.get("textAlign"),borderRadius:xn.get("textBorderRadius"),padding:xn.get("textPadding"),fill:null,font:getFont({fontStyle:xn.get("textFontStyle"),fontFamily:xn.get("textFontFamily"),fontSize:xn.get("textFontSize"),fontWeight:xn.get("textFontWeight")},Fe)},ignore:!0});In.setTextContent(Rn),setTooltipConfig({el:In,componentModel:Ie,itemName:Mn,formatterParamsExtra:{title:$n[Mn]}}),In.__title=$n[Mn],In.on("mouseover",function(){var Bn=xn.getItemStyle(),Vn=Lt?Ie.get("right")==null&&Ie.get("left")!=="right"?"right":"left":Ie.get("bottom")==null&&Ie.get("top")!=="bottom"?"bottom":"top";Rn.setStyle({fill:xn.get("textFill")||Bn.fill||Bn.stroke||"#000",backgroundColor:xn.get("textBackgroundColor")}),In.setTextConfig({position:xn.get("textPosition")||Vn}),Rn.ignore=!Ie.get("showTitle"),Ue.enterEmphasis(this)}).on("mouseout",function(){wn.get(["iconStatus",Mn])!=="emphasis"&&Ue.leaveEmphasis(this),Rn.hide()}),(wn.get(["iconStatus",Mn])==="emphasis"?enterEmphasis:leaveEmphasis)(In),At.add(In),In.on("click",bind$2(kn.onclick,kn,Fe,Ue,Mn)),Pn[Mn]=In})}layout$1(At,Ie,Ue),At.add(makeBackground(At.getBoundingRect(),Ie)),Lt||At.eachChild(function(wn){var kn=wn.__title,Cn=wn.ensureState("emphasis"),Sn=Cn.textConfig||(Cn.textConfig={}),xn=wn.getTextContent(),En=xn&&xn.ensureState("emphasis");if(En&&!isFunction$2(En)&&kn){var Tn=En.style||(En.style={}),An=getBoundingRect(kn,ZRText.makeFont(Tn)),$n=wn.x+At.x,Pn=wn.y+At.y+Dt,Nn=!1;Pn+An.height>Ue.getHeight()&&(Sn.position="top",Nn=!0);var Mn=Nn?-5-An.height:Dt+10;$n+An.width/2>Ue.getWidth()?(Sn.position=["100%",Mn],Tn.align="right"):$n-An.width/2<0&&(Sn.position=[0,Mn],Tn.align="left")}})},$e.prototype.updateView=function(Ie,Fe,Ue,qe){each$f(this._features,function(At){At instanceof ToolboxFeature&&At.updateView&&At.updateView(At.model,Fe,Ue,qe)})},$e.prototype.remove=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.remove&&Ue.remove(Ie,Fe)}),this.group.removeAll()},$e.prototype.dispose=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.dispose&&Ue.dispose(Ie,Fe)})},$e.type="toolbox",$e}(ComponentView);function isUserFeatureName(xe){return xe.indexOf("my")===0}var SaveAsImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.onclick=function(Ie,Fe){var Ue=this.model,qe=Ue.get("name")||Ie.get("title.0.text")||"echarts",At=Fe.getZr().painter.getType()==="svg",Dt=At?"svg":Ue.get("type",!0)||"png",Lt=Fe.getConnectedDataURL({type:Dt,backgroundColor:Ue.get("backgroundColor",!0)||Ie.get("backgroundColor")||"#fff",connectedBackgroundColor:Ue.get("connectedBackgroundColor"),excludeComponents:Ue.get("excludeComponents"),pixelRatio:Ue.get("pixelRatio")}),jt=env.browser;if(isFunction$2(MouseEvent)&&(jt.newEdge||!jt.ie&&!jt.edge)){var hn=document.createElement("a");hn.download=qe+"."+Dt,hn.target="_blank",hn.href=Lt;var vn=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});hn.dispatchEvent(vn)}else if(window.navigator.msSaveOrOpenBlob||At){var bn=Lt.split(","),_n=bn[0].indexOf("base64")>-1,wn=At?decodeURIComponent(bn[1]):bn[1];_n&&(wn=window.atob(wn));var kn=qe+"."+Dt;if(window.navigator.msSaveOrOpenBlob){for(var Cn=wn.length,Sn=new Uint8Array(Cn);Cn--;)Sn[Cn]=wn.charCodeAt(Cn);var xn=new Blob([Sn]);window.navigator.msSaveOrOpenBlob(xn,kn)}else{var En=document.createElement("iframe");document.body.appendChild(En);var Tn=En.contentWindow,An=Tn.document;An.open("image/svg+xml","replace"),An.write(wn),An.close(),Tn.focus(),An.execCommand("SaveAs",!0,kn),document.body.removeChild(En)}}else{var $n=Ue.get("lang"),Pn='<body style="margin:0;"><img src="'+Lt+'" style="max-width:100%;" title="'+($n&&$n[0]||"")+'" /></body>',Nn=window.open();Nn.document.write(Pn),Nn.document.title=qe}},$e.getDefaultOption=function(Ie){var Fe={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 Fe},$e}(ToolboxFeature),INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon"),Ue={};return each$f(Ie.get("type"),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.getDefaultOption=function(Ie){var Fe={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 Fe},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this.model,At=qe.get(["seriesIndex",Ue]);if(seriesOptGenreator[Ue]){var Dt={series:[]},Lt=function(vn){var bn=vn.subType,_n=vn.id,wn=seriesOptGenreator[Ue](bn,_n,vn,qe);wn&&(defaults$1(wn,vn.option),Dt.series.push(wn));var kn=vn.coordinateSystem;if(kn&&kn.type==="cartesian2d"&&(Ue==="line"||Ue==="bar")){var Cn=kn.getAxesByScale("ordinal")[0];if(Cn){var Sn=Cn.dim,xn=Sn+"Axis",En=vn.getReferringComponents(xn,SINGLE_REFERRING).models[0],Tn=En.componentIndex;Dt[xn]=Dt[xn]||[];for(var An=0;An<=Tn;An++)Dt[xn][Tn]=Dt[xn][Tn]||{};Dt[xn][Tn].boundaryGap=Ue==="bar"}}};each$f(radioTypes,function(vn){indexOf(vn,Ue)>=0&&each$f(vn,function(bn){qe.setIconStatus(bn,"normal")})}),qe.setIconStatus(Ue,"emphasis"),Ie.eachComponent({mainType:"series",query:At==null?null:{seriesIndex:At}},Lt);var jt,hn=Ue;Ue==="stack"&&(jt=merge$1({stack:qe.option.title.tiled,tiled:qe.option.title.stack},qe.option.title),qe.get(["iconStatus",Ue])!=="emphasis"&&(hn="tiled")),Fe.dispatchAction({type:"changeMagicType",currentType:hn,newOption:Dt,newTitle:jt,featureName:"magicType"})}},$e}(ToolboxFeature),seriesOptGenreator={line:function(xe,$e,Ie,Fe){if(xe==="bar")return merge$1({id:$e,type:"line",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","line"])||{},!0)},bar:function(xe,$e,Ie,Fe){if(xe==="line")return merge$1({id:$e,type:"bar",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","bar"])||{},!0)},stack:function(xe,$e,Ie,Fe){var Ue=Ie.get("stack")===INNER_STACK_KEYWORD;if(xe==="line"||xe==="bar")return Fe.setIconStatus("stack",Ue?"normal":"emphasis"),merge$1({id:$e,stack:Ue?"":INNER_STACK_KEYWORD},Fe.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(xe,$e){$e.mergeOption(xe.newOption)});var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER="	";function groupSeries(xe){var $e={},Ie=[],Fe=[];return xe.eachRawSeries(function(Ue){var qe=Ue.coordinateSystem;if(qe&&(qe.type==="cartesian2d"||qe.type==="polar")){var At=qe.getBaseAxis();if(At.type==="category"){var Dt=At.dim+"_"+At.index;$e[Dt]||($e[Dt]={categoryAxis:At,valueAxis:qe.getOtherAxis(At),series:[]},Fe.push({axisDim:At.dim,axisIndex:At.index})),$e[Dt].series.push(Ue)}else Ie.push(Ue)}else Ie.push(Ue)}),{seriesGroupByCategoryAxis:$e,other:Ie,meta:Fe}}function assembleSeriesWithCategoryAxis(xe){var $e=[];return each$f(xe,function(Ie,Fe){var Ue=Ie.categoryAxis,qe=Ie.valueAxis,At=qe.dim,Dt=[" "].concat(map$1(Ie.series,function(_n){return _n.name})),Lt=[Ue.model.getCategories()];each$f(Ie.series,function(_n){var wn=_n.getRawData();Lt.push(_n.getRawData().mapArray(wn.mapDimension(At),function(kn){return kn}))});for(var jt=[Dt.join(ITEM_SPLITER)],hn=0;hn<Lt[0].length;hn++){for(var vn=[],bn=0;bn<Lt.length;bn++)vn.push(Lt[bn][hn]);jt.push(vn.join(ITEM_SPLITER))}$e.push(jt.join(`
`))}),$e.join(`

`+BLOCK_SPLITER+`

`)}function assembleOtherSeries(xe){return map$1(xe,function($e){var Ie=$e.getRawData(),Fe=[$e.name],Ue=[];return Ie.each(Ie.dimensions,function(){for(var qe=arguments.length,At=arguments[qe-1],Dt=Ie.getName(At),Lt=0;Lt<qe-1;Lt++)Ue[Lt]=arguments[Lt];Fe.push((Dt?Dt+ITEM_SPLITER:"")+Ue.join(ITEM_SPLITER))}),Fe.join(`
`)}).join(`

`+BLOCK_SPLITER+`

`)}function getContentFromModel(xe){var $e=groupSeries(xe);return{value:filter([assembleSeriesWithCategoryAxis($e.seriesGroupByCategoryAxis),assembleOtherSeries($e.other)],function(Ie){return!!Ie.replace(/[\n\t\s]/g,"")}).join(`

`+BLOCK_SPLITER+`

`),meta:$e.meta}}function trim$1(xe){return xe.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function isTSVFormat(xe){var $e=xe.slice(0,xe.indexOf(`
`));if($e.indexOf(ITEM_SPLITER)>=0)return!0}var itemSplitRegex=new RegExp("["+ITEM_SPLITER+"]+","g");function parseTSVContents(xe){for(var $e=xe.split(/\n+/g),Ie=trim$1($e.shift()).split(itemSplitRegex),Fe=[],Ue=map$1(Ie,function(Lt){return{name:Lt,data:[]}}),qe=0;qe<$e.length;qe++){var At=trim$1($e[qe]).split(itemSplitRegex);Fe.push(At.shift());for(var Dt=0;Dt<At.length;Dt++)Ue[Dt]&&(Ue[Dt].data[qe]=At[Dt])}return{series:Ue,categories:Fe}}function parseListContents(xe){for(var $e=xe.split(/\n+/g),Ie=trim$1($e.shift()),Fe=[],Ue=0;Ue<$e.length;Ue++){var qe=trim$1($e[Ue]);if(qe){var At=qe.split(itemSplitRegex),Dt="",Lt=void 0,jt=!1;isNaN(At[0])?(jt=!0,Dt=At[0],At=At.slice(1),Fe[Ue]={name:Dt,value:[]},Lt=Fe[Ue].value):Lt=Fe[Ue]=[];for(var hn=0;hn<At.length;hn++)Lt.push(+At[hn]);Lt.length===1&&(jt?Fe[Ue].value=Lt[0]:Fe[Ue]=Lt[0])}}return{name:Ie,data:Fe}}function parseContents(xe,$e){var Ie=xe.split(new RegExp(`
*`+BLOCK_SPLITER+`
*`,"g")),Fe={series:[]};return each$f(Ie,function(Ue,qe){if(isTSVFormat(Ue)){var At=parseTSVContents(Ue),Dt=$e[qe],Lt=Dt.axisDim+"Axis";Dt&&(Fe[Lt]=Fe[Lt]||[],Fe[Lt][Dt.axisIndex]={data:At.categories},Fe.series=Fe.series.concat(At.series))}else{var At=parseListContents(Ue);Fe.series.push(At)}}),Fe}var DataView=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.onclick=function(Ie,Fe){setTimeout(function(){Fe.dispatchAction({type:"hideTip"})});var Ue=Fe.getDom(),qe=this.model;this._dom&&Ue.removeChild(this._dom);var At=document.createElement("div");At.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",At.style.backgroundColor=qe.get("backgroundColor")||"#fff";var Dt=document.createElement("h4"),Lt=qe.get("lang")||[];Dt.innerHTML=Lt[0]||qe.get("title"),Dt.style.cssText="margin:10px 20px",Dt.style.color=qe.get("textColor");var jt=document.createElement("div"),hn=document.createElement("textarea");jt.style.cssText="overflow:auto";var vn=qe.get("optionToContent"),bn=qe.get("contentToOption"),_n=getContentFromModel(Ie);if(isFunction$2(vn)){var wn=vn(Fe.getOption());isString$2(wn)?jt.innerHTML=wn:isDom(wn)&&jt.appendChild(wn)}else{hn.readOnly=qe.get("readOnly");var kn=hn.style;kn.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",kn.color=qe.get("textColor"),kn.borderColor=qe.get("textareaBorderColor"),kn.backgroundColor=qe.get("textareaColor"),hn.value=_n.value,jt.appendChild(hn)}var Cn=_n.meta,Sn=document.createElement("div");Sn.style.cssText="position:absolute;bottom:5px;left:0;right:0";var xn="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",En=document.createElement("div"),Tn=document.createElement("div");xn+=";background-color:"+qe.get("buttonColor"),xn+=";color:"+qe.get("buttonTextColor");var An=this;function $n(){Ue.removeChild(At),An._dom=null}addEventListener(En,"click",$n),addEventListener(Tn,"click",function(){if(bn==null&&vn!=null||bn!=null&&vn==null){$n();return}var Pn;try{isFunction$2(bn)?Pn=bn(jt,Fe.getOption()):Pn=parseContents(hn.value,Cn)}catch(Nn){throw $n(),new Error("Data view format error "+Nn)}Pn&&Fe.dispatchAction({type:"changeDataView",newOption:Pn}),$n()}),En.innerHTML=Lt[1],Tn.innerHTML=Lt[2],Tn.style.cssText=En.style.cssText=xn,!qe.get("readOnly")&&Sn.appendChild(Tn),Sn.appendChild(En),At.appendChild(Dt),At.appendChild(jt),At.appendChild(Sn),jt.style.height=Ue.clientHeight-80+"px",Ue.appendChild(At),this._dom=At},$e.prototype.remove=function(Ie,Fe){this._dom&&Fe.getDom().removeChild(this._dom)},$e.prototype.dispose=function(Ie,Fe){this.remove(Ie,Fe)},$e.getDefaultOption=function(Ie){var Fe={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 Fe},$e}(ToolboxFeature);function tryMergeDataOption(xe,$e){return map$1(xe,function(Ie,Fe){var Ue=$e&&$e[Fe];if(isObject$4(Ue)&&!isArray$2(Ue)){var qe=isObject$4(Ie)&&!isArray$2(Ie);qe||(Ie={value:Ie});var At=Ue.name!=null&&Ie.name==null;return Ie=defaults$1(Ie,Ue),At&&delete Ie.name,Ie}else return Ie})}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(xe,$e){var Ie=[];each$f(xe.newOption.series,function(Fe){var Ue=$e.getSeriesByName(Fe.name)[0];if(!Ue)Ie.push(extend$1({type:"scatter"},Fe));else{var qe=Ue.get("data");Ie.push({name:Fe.name,data:tryMergeDataOption(Fe.data,qe)})}}),$e.mergeOption(defaults$1({series:Ie},xe.newOption))});var each$6=each$f,inner$6=makeInner();function push(xe,$e){var Ie=getStoreSnapshots(xe);each$6($e,function(Fe,Ue){for(var qe=Ie.length-1;qe>=0;qe--){var At=Ie[qe];if(At[Ue])break}if(qe<0){var Dt=xe.queryComponents({mainType:"dataZoom",subType:"select",id:Ue})[0];if(Dt){var Lt=Dt.getPercentRange();Ie[0][Ue]={dataZoomId:Ue,start:Lt[0],end:Lt[1]}}}}),Ie.push($e)}function pop(xe){var $e=getStoreSnapshots(xe),Ie=$e[$e.length-1];$e.length>1&&$e.pop();var Fe={};return each$6(Ie,function(Ue,qe){for(var At=$e.length-1;At>=0;At--)if(Ue=$e[At][qe],Ue){Fe[qe]=Ue;break}}),Fe}function clear(xe){inner$6(xe).snapshots=null}function count(xe){return getStoreSnapshots(xe).length}function getStoreSnapshots(xe){var $e=inner$6(xe);return $e.snapshots||($e.snapshots=[{}]),$e.snapshots}var RestoreOption=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.onclick=function(Ie,Fe){clear(Ie),Fe.dispatchAction({type:"restore",from:this.uid})},$e.getDefaultOption=function(Ie){var Fe={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 Fe},$e}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(xe,$e){$e.resetOption("recreate")});var INCLUDE_FINDER_MAIN_TYPES=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],BrushTargetManager=function(){function xe($e,Ie,Fe){var Ue=this;this._targetInfoList=[];var qe=parseFinder(Ie,$e);each$f(targetInfoBuilders,function(At,Dt){(!Fe||!Fe.include||indexOf(Fe.include,Dt)>=0)&&At(qe,Ue._targetInfoList)})}return xe.prototype.setOutputRanges=function($e,Ie){return this.matchOutputRanges($e,Ie,function(Fe,Ue,qe){if((Fe.coordRanges||(Fe.coordRanges=[])).push(Ue),!Fe.coordRange){Fe.coordRange=Ue;var At=coordConvert[Fe.brushType](0,qe,Ue);Fe.__rangeOffset={offset:diffProcessor[Fe.brushType](At.values,Fe.range,[1,1]),xyMinMax:At.xyMinMax}}}),$e},xe.prototype.matchOutputRanges=function($e,Ie,Fe){each$f($e,function(Ue){var qe=this.findTargetInfo(Ue,Ie);qe&&qe!==!0&&each$f(qe.coordSyses,function(At){var Dt=coordConvert[Ue.brushType](1,At,Ue.range,!0);Fe(Ue,Dt.values,At,Ie)})},this)},xe.prototype.setInputRanges=function($e,Ie){each$f($e,function(Fe){var Ue=this.findTargetInfo(Fe,Ie);if(Fe.range=Fe.range||[],Ue&&Ue!==!0){Fe.panelId=Ue.panelId;var qe=coordConvert[Fe.brushType](0,Ue.coordSys,Fe.coordRange),At=Fe.__rangeOffset;Fe.range=At?diffProcessor[Fe.brushType](qe.values,At.offset,getScales(qe.xyMinMax,At.xyMinMax)):qe.values}},this)},xe.prototype.makePanelOpts=function($e,Ie){return map$1(this._targetInfoList,function(Fe){var Ue=Fe.getPanelRect();return{panelId:Fe.panelId,defaultBrushType:Ie?Ie(Fe):null,clipPath:makeRectPanelClipPath(Ue),isTargetByCursor:makeRectIsTargetByCursor(Ue,$e,Fe.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(Ue)}})},xe.prototype.controlSeries=function($e,Ie,Fe){var Ue=this.findTargetInfo($e,Fe);return Ue===!0||Ue&&indexOf(Ue.coordSyses,Ie.coordinateSystem)>=0},xe.prototype.findTargetInfo=function($e,Ie){for(var Fe=this._targetInfoList,Ue=parseFinder(Ie,$e),qe=0;qe<Fe.length;qe++){var At=Fe[qe],Dt=$e.panelId;if(Dt){if(At.panelId===Dt)return At}else for(var Lt=0;Lt<targetInfoMatchers.length;Lt++)if(targetInfoMatchers[Lt](Ue,At))return At}return!0},xe}();function formatMinMax(xe){return xe[0]>xe[1]&&xe.reverse(),xe}function parseFinder(xe,$e){return parseFinder$1(xe,$e,{includeMainTypes:INCLUDE_FINDER_MAIN_TYPES})}var targetInfoBuilders={grid:function(xe,$e){var Ie=xe.xAxisModels,Fe=xe.yAxisModels,Ue=xe.gridModels,qe=createHashMap(),At={},Dt={};!Ie&&!Fe&&!Ue||(each$f(Ie,function(Lt){var jt=Lt.axis.grid.model;qe.set(jt.id,jt),At[jt.id]=!0}),each$f(Fe,function(Lt){var jt=Lt.axis.grid.model;qe.set(jt.id,jt),Dt[jt.id]=!0}),each$f(Ue,function(Lt){qe.set(Lt.id,Lt),At[Lt.id]=!0,Dt[Lt.id]=!0}),qe.each(function(Lt){var jt=Lt.coordinateSystem,hn=[];each$f(jt.getCartesians(),function(vn,bn){(indexOf(Ie,vn.getAxis("x").model)>=0||indexOf(Fe,vn.getAxis("y").model)>=0)&&hn.push(vn)}),$e.push({panelId:"grid--"+Lt.id,gridModel:Lt,coordSysModel:Lt,coordSys:hn[0],coordSyses:hn,getPanelRect:panelRectBuilders.grid,xAxisDeclared:At[Lt.id],yAxisDeclared:Dt[Lt.id]})}))},geo:function(xe,$e){each$f(xe.geoModels,function(Ie){var Fe=Ie.coordinateSystem;$e.push({panelId:"geo--"+Ie.id,geoModel:Ie,coordSysModel:Ie,coordSys:Fe,coordSyses:[Fe],getPanelRect:panelRectBuilders.geo})})}},targetInfoMatchers=[function(xe,$e){var Ie=xe.xAxisModel,Fe=xe.yAxisModel,Ue=xe.gridModel;return!Ue&&Ie&&(Ue=Ie.axis.grid.model),!Ue&&Fe&&(Ue=Fe.axis.grid.model),Ue&&Ue===$e.gridModel},function(xe,$e){var Ie=xe.geoModel;return Ie&&Ie===$e.geoModel}],panelRectBuilders={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var xe=this.coordSys,$e=xe.getBoundingRect().clone();return $e.applyTransform(getTransform$1(xe)),$e}},coordConvert={lineX:curry$1(axisConvert,0),lineY:curry$1(axisConvert,1),rect:function(xe,$e,Ie,Fe){var Ue=xe?$e.pointToData([Ie[0][0],Ie[1][0]],Fe):$e.dataToPoint([Ie[0][0],Ie[1][0]],Fe),qe=xe?$e.pointToData([Ie[0][1],Ie[1][1]],Fe):$e.dataToPoint([Ie[0][1],Ie[1][1]],Fe),At=[formatMinMax([Ue[0],qe[0]]),formatMinMax([Ue[1],qe[1]])];return{values:At,xyMinMax:At}},polygon:function(xe,$e,Ie,Fe){var Ue=[[1/0,-1/0],[1/0,-1/0]],qe=map$1(Ie,function(At){var Dt=xe?$e.pointToData(At,Fe):$e.dataToPoint(At,Fe);return Ue[0][0]=Math.min(Ue[0][0],Dt[0]),Ue[1][0]=Math.min(Ue[1][0],Dt[1]),Ue[0][1]=Math.max(Ue[0][1],Dt[0]),Ue[1][1]=Math.max(Ue[1][1],Dt[1]),Dt});return{values:qe,xyMinMax:Ue}}};function axisConvert(xe,$e,Ie,Fe){var Ue=Ie.getAxis(["x","y"][xe]),qe=formatMinMax(map$1([0,1],function(Dt){return $e?Ue.coordToData(Ue.toLocalCoord(Fe[Dt]),!0):Ue.toGlobalCoord(Ue.dataToCoord(Fe[Dt]))})),At=[];return At[xe]=qe,At[1-xe]=[NaN,NaN],{values:qe,xyMinMax:At}}var diffProcessor={lineX:curry$1(axisDiffProcessor,0),lineY:curry$1(axisDiffProcessor,1),rect:function(xe,$e,Ie){return[[xe[0][0]-Ie[0]*$e[0][0],xe[0][1]-Ie[0]*$e[0][1]],[xe[1][0]-Ie[1]*$e[1][0],xe[1][1]-Ie[1]*$e[1][1]]]},polygon:function(xe,$e,Ie){return map$1(xe,function(Fe,Ue){return[Fe[0]-Ie[0]*$e[Ue][0],Fe[1]-Ie[1]*$e[Ue][1]]})}};function axisDiffProcessor(xe,$e,Ie,Fe){return[$e[0]-Fe[xe]*Ie[0],$e[1]-Fe[xe]*Ie[1]]}function getScales(xe,$e){var Ie=getSize(xe),Fe=getSize($e),Ue=[Ie[0]/Fe[0],Ie[1]/Fe[1]];return isNaN(Ue[0])&&(Ue[0]=1),isNaN(Ue[1])&&(Ue[1]=1),Ue}function getSize(xe){return xe?[xe[0][1]-xe[0][0],xe[1][1]-xe[1][0]]:[NaN,NaN]}var each$5=each$f,DATA_ZOOM_ID_BASE=makeInternalComponentId("toolbox-dataZoom_"),DataZoomFeature=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue,qe){this._brushController||(this._brushController=new BrushController(Ue.getZr()),this._brushController.on("brush",bind$2(this._onBrush,this)).mount()),updateZoomBtnStatus(Ie,Fe,this,qe,Ue),updateBackBtnStatus(Ie,Fe)},$e.prototype.onclick=function(Ie,Fe,Ue){handlers[Ue].call(this)},$e.prototype.remove=function(Ie,Fe){this._brushController&&this._brushController.unmount()},$e.prototype.dispose=function(Ie,Fe){this._brushController&&this._brushController.dispose()},$e.prototype._onBrush=function(Ie){var Fe=Ie.areas;if(!Ie.isEnd||!Fe.length)return;var Ue={},qe=this.ecModel;this._brushController.updateCovers([]);var At=new BrushTargetManager(makeAxisFinder(this.model),qe,{include:["grid"]});At.matchOutputRanges(Fe,qe,function(jt,hn,vn){if(vn.type==="cartesian2d"){var bn=jt.brushType;bn==="rect"?(Dt("x",vn,hn[0]),Dt("y",vn,hn[1])):Dt({lineX:"x",lineY:"y"}[bn],vn,hn)}}),push(qe,Ue),this._dispatchZoomAction(Ue);function Dt(jt,hn,vn){var bn=hn.getAxis(jt),_n=bn.model,wn=Lt(jt,_n,qe),kn=wn.findRepresentativeAxisProxy(_n).getMinMaxSpan();(kn.minValueSpan!=null||kn.maxValueSpan!=null)&&(vn=sliderMove(0,vn.slice(),bn.scale.getExtent(),0,kn.minValueSpan,kn.maxValueSpan)),wn&&(Ue[wn.id]={dataZoomId:wn.id,startValue:vn[0],endValue:vn[1]})}function Lt(jt,hn,vn){var bn;return vn.eachComponent({mainType:"dataZoom",subType:"select"},function(_n){var wn=_n.getAxisModel(jt,hn.componentIndex);wn&&(bn=_n)}),bn}},$e.prototype._dispatchZoomAction=function(Ie){var Fe=[];each$5(Ie,function(Ue,qe){Fe.push(clone$4(Ue))}),Fe.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:Fe})},$e.getDefaultOption=function(Ie){var Fe={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 Fe},$e}(ToolboxFeature),handlers={zoom:function(){var xe=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:xe})},back:function(){this._dispatchZoomAction(pop(this.ecModel))}};function makeAxisFinder(xe){var $e={xAxisIndex:xe.get("xAxisIndex",!0),yAxisIndex:xe.get("yAxisIndex",!0),xAxisId:xe.get("xAxisId",!0),yAxisId:xe.get("yAxisId",!0)};return $e.xAxisIndex==null&&$e.xAxisId==null&&($e.xAxisIndex="all"),$e.yAxisIndex==null&&$e.yAxisId==null&&($e.yAxisIndex="all"),$e}function updateBackBtnStatus(xe,$e){xe.setIconStatus("back",count($e)>1?"emphasis":"normal")}function updateZoomBtnStatus(xe,$e,Ie,Fe,Ue){var qe=Ie._isZoomActive;Fe&&Fe.type==="takeGlobalCursor"&&(qe=Fe.key==="dataZoomSelect"?Fe.dataZoomSelectActive:!1),Ie._isZoomActive=qe,xe.setIconStatus("zoom",qe?"emphasis":"normal");var At=new BrushTargetManager(makeAxisFinder(xe),$e,{include:["grid"]}),Dt=At.makePanelOpts(Ue,function(Lt){return Lt.xAxisDeclared&&!Lt.yAxisDeclared?"lineX":!Lt.xAxisDeclared&&Lt.yAxisDeclared?"lineY":"rect"});Ie._brushController.setPanels(Dt).enableBrush(qe&&Dt.length?{brushType:"auto",brushStyle:xe.getModel("brushStyle").getItemStyle()}:!1)}registerInternalOptionCreator("dataZoom",function(xe){var $e=xe.getComponent("toolbox",0),Ie=["feature","dataZoom"];if(!$e||$e.get(Ie)==null)return;var Fe=$e.getModel(Ie),Ue=[],qe=makeAxisFinder(Fe),At=parseFinder$1(xe,qe);each$5(At.xAxisModels,function(Lt){return Dt(Lt,"xAxis","xAxisIndex")}),each$5(At.yAxisModels,function(Lt){return Dt(Lt,"yAxis","yAxisIndex")});function Dt(Lt,jt,hn){var vn=Lt.componentIndex,bn={type:"select",$fromToolbox:!0,filterMode:Fe.get("filterMode",!0)||"filter",id:DATA_ZOOM_ID_BASE+jt+vn};bn[hn]=vn,Ue.push(bn)}return Ue});function install$k(xe){xe.registerComponentModel(ToolboxModel),xe.registerComponentView(ToolboxView),registerFeature("saveAsImage",SaveAsImage),registerFeature("magicType",MagicType),registerFeature("dataView",DataView),registerFeature("dataZoom",DataZoomFeature),registerFeature("restore",RestoreOption),use(install$l)}var TooltipModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="tooltip",$e.dependencies=["axisPointer"],$e.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}},$e}(ComponentModel);function shouldTooltipConfine(xe){var $e=xe.get("confine");return $e!=null?!!$e:xe.get("renderMode")==="richText"}function testStyle(xe){if(env.domSupported){for(var $e=document.documentElement.style,Ie=0,Fe=xe.length;Ie<Fe;Ie++)if(xe[Ie]in $e)return xe[Ie]}}var TRANSFORM_VENDOR=testStyle(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),TRANSITION_VENDOR=testStyle(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function toCSSVendorPrefix(xe,$e){if(!xe)return $e;$e=toCamelCase$1($e,!0);var Ie=xe.indexOf($e);return xe=Ie===-1?$e:"-"+xe.slice(0,Ie)+"-"+$e,xe.toLowerCase()}function getComputedStyle$2(xe,$e){var Ie=xe.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(xe);return Ie?Ie[$e]: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.transform3dSupported?"will-change:transform;":"");function mirrorPos(xe){return xe=xe==="left"?"right":xe==="right"?"left":xe==="top"?"bottom":"top",xe}function assembleArrow(xe,$e,Ie){if(!isString$2(Ie)||Ie==="inside")return"";var Fe=xe.get("backgroundColor"),Ue=xe.get("borderWidth");$e=convertToColorString($e);var qe=mirrorPos(Ie),At=Math.max(Math.round(Ue)*1.5,6),Dt="",Lt=CSS_TRANSFORM_VENDOR+":",jt;indexOf(["left","right"],qe)>-1?(Dt+="top:50%",Lt+="translateY(-50%) rotate("+(jt=qe==="left"?-225:-45)+"deg)"):(Dt+="left:50%",Lt+="translateX(-50%) rotate("+(jt=qe==="top"?225:45)+"deg)");var hn=jt*Math.PI/180,vn=At+Ue,bn=vn*Math.abs(Math.cos(hn))+vn*Math.abs(Math.sin(hn)),_n=Math.round(((bn-Math.SQRT2*Ue)/2+Math.SQRT2*Ue-(bn-vn)/2)*100)/100;Dt+=";"+qe+":-"+_n+"px";var wn=$e+" solid "+Ue+"px;",kn=["position:absolute;width:"+At+"px;height:"+At+"px;z-index:-1;",Dt+";"+Lt+";","border-bottom:"+wn,"border-right:"+wn,"background-color:"+Fe+";"];return'<div style="'+kn.join("")+'"></div>'}function assembleTransition(xe,$e){var Ie="cubic-bezier(0.23,1,0.32,1)",Fe=" "+xe/2+"s "+Ie,Ue="opacity"+Fe+",visibility"+Fe;return $e||(Fe=" "+xe+"s "+Ie,Ue+=env.transformSupported?","+CSS_TRANSFORM_VENDOR+Fe:",left"+Fe+",top"+Fe),CSS_TRANSITION_VENDOR+":"+Ue}function assembleTransform(xe,$e,Ie){var Fe=xe.toFixed(0)+"px",Ue=$e.toFixed(0)+"px";if(!env.transformSupported)return Ie?"top:"+Ue+";left:"+Fe+";":[["top",Ue],["left",Fe]];var qe=env.transform3dSupported,At="translate"+(qe?"3d":"")+"("+Fe+","+Ue+(qe?",0":"")+")";return Ie?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+At+";":[["top",0],["left",0],[TRANSFORM_VENDOR,At]]}function assembleFont(xe){var $e=[],Ie=xe.get("fontSize"),Fe=xe.getTextColor();Fe&&$e.push("color:"+Fe),$e.push("font:"+xe.getFont()),Ie&&$e.push("line-height:"+Math.round(Ie*3/2)+"px");var Ue=xe.get("textShadowColor"),qe=xe.get("textShadowBlur")||0,At=xe.get("textShadowOffsetX")||0,Dt=xe.get("textShadowOffsetY")||0;return Ue&&qe&&$e.push("text-shadow:"+At+"px "+Dt+"px "+qe+"px "+Ue),each$f(["decoration","align"],function(Lt){var jt=xe.get(Lt);jt&&$e.push("text-"+Lt+":"+jt)}),$e.join(";")}function assembleCssText(xe,$e,Ie){var Fe=[],Ue=xe.get("transitionDuration"),qe=xe.get("backgroundColor"),At=xe.get("shadowBlur"),Dt=xe.get("shadowColor"),Lt=xe.get("shadowOffsetX"),jt=xe.get("shadowOffsetY"),hn=xe.getModel("textStyle"),vn=getPaddingFromTooltipModel(xe,"html"),bn=Lt+"px "+jt+"px "+At+"px "+Dt;return Fe.push("box-shadow:"+bn),$e&&Ue&&Fe.push(assembleTransition(Ue,Ie)),qe&&Fe.push("background-color:"+qe),each$f(["width","color","radius"],function(_n){var wn="border-"+_n,kn=toCamelCase$1(wn),Cn=xe.get(kn);Cn!=null&&Fe.push(wn+":"+Cn+(_n==="color"?"":"px"))}),Fe.push(assembleFont(hn)),vn!=null&&Fe.push("padding:"+normalizeCssArray(vn).join("px ")+"px"),Fe.join(";")+";"}function makeStyleCoord$1(xe,$e,Ie,Fe,Ue){var qe=$e&&$e.painter;if(Ie){var At=qe&&qe.getViewportRoot();At&&transformLocalCoord(xe,At,Ie,Fe,Ue)}else{xe[0]=Fe,xe[1]=Ue;var Dt=qe&&qe.getViewportRootOffset();Dt&&(xe[0]+=Dt.offsetLeft,xe[1]+=Dt.offsetTop)}xe[2]=xe[0]/$e.getWidth(),xe[3]=xe[1]/$e.getHeight()}var TooltipHTMLContent=function(){function xe($e,Ie){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env.wxa)return null;var Fe=document.createElement("div");Fe.domBelongToZr=!0,this.el=Fe;var Ue=this._zr=$e.getZr(),qe=Ie.appendTo,At=qe&&(isString$2(qe)?document.querySelector(qe):isDom(qe)?qe:isFunction$2(qe)&&qe($e.getDom()));makeStyleCoord$1(this._styleCoord,Ue,At,$e.getWidth()/2,$e.getHeight()/2),(At||$e.getDom()).appendChild(Fe),this._api=$e,this._container=At;var Dt=this;Fe.onmouseenter=function(){Dt._enterable&&(clearTimeout(Dt._hideTimeout),Dt._show=!0),Dt._inContent=!0},Fe.onmousemove=function(Lt){if(Lt=Lt||window.event,!Dt._enterable){var jt=Ue.handler,hn=Ue.painter.getViewportRoot();normalizeEvent(hn,Lt,!0),jt.dispatch("mousemove",Lt)}},Fe.onmouseleave=function(){Dt._inContent=!1,Dt._enterable&&Dt._show&&Dt.hideLater(Dt._hideDelay)}}return xe.prototype.update=function($e){if(!this._container){var Ie=this._api.getDom(),Fe=getComputedStyle$2(Ie,"position"),Ue=Ie.style;Ue.position!=="absolute"&&Fe!=="absolute"&&(Ue.position="relative")}var qe=$e.get("alwaysShowContent");qe&&this._moveIfResized(),this._alwaysShowContent=qe,this.el.className=$e.get("className")||""},xe.prototype.show=function($e,Ie){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var Fe=this.el,Ue=Fe.style,qe=this._styleCoord;Fe.innerHTML?Ue.cssText=gCssText+assembleCssText($e,!this._firstShow,this._longHide)+assembleTransform(qe[0],qe[1],!0)+("border-color:"+convertToColorString(Ie)+";")+($e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):Ue.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},xe.prototype.setContent=function($e,Ie,Fe,Ue,qe){var At=this.el;if($e==null){At.innerHTML="";return}var Dt="";if(isString$2(qe)&&Fe.get("trigger")==="item"&&!shouldTooltipConfine(Fe)&&(Dt=assembleArrow(Fe,Ue,qe)),isString$2($e))At.innerHTML=$e+Dt;else if($e){At.innerHTML="",isArray$2($e)||($e=[$e]);for(var Lt=0;Lt<$e.length;Lt++)isDom($e[Lt])&&$e[Lt].parentNode!==At&&At.appendChild($e[Lt]);if(Dt&&At.childNodes.length){var jt=document.createElement("div");jt.innerHTML=Dt,At.appendChild(jt)}}},xe.prototype.setEnterable=function($e){this._enterable=$e},xe.prototype.getSize=function(){var $e=this.el;return[$e.offsetWidth,$e.offsetHeight]},xe.prototype.moveTo=function($e,Ie){var Fe=this._styleCoord;if(makeStyleCoord$1(Fe,this._zr,this._container,$e,Ie),Fe[0]!=null&&Fe[1]!=null){var Ue=this.el.style,qe=assembleTransform(Fe[0],Fe[1]);each$f(qe,function(At){Ue[At[0]]=At[1]})}},xe.prototype._moveIfResized=function(){var $e=this._styleCoord[2],Ie=this._styleCoord[3];this.moveTo($e*this._zr.getWidth(),Ie*this._zr.getHeight())},xe.prototype.hide=function(){var $e=this,Ie=this.el.style;Ie.visibility="hidden",Ie.opacity="0",env.transform3dSupported&&(Ie.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return $e._longHide=!0},500)},xe.prototype.hideLater=function($e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&($e?(this._hideDelay=$e,this._show=!1,this._hideTimeout=setTimeout(bind$2(this.hide,this),$e)):this.hide())},xe.prototype.isShow=function(){return this._show},xe.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var $e=this.el.parentNode;$e&&$e.removeChild(this.el),this.el=this._container=null},xe}(),TooltipRichContent=function(){function xe($e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=$e.getZr(),makeStyleCoord(this._styleCoord,this._zr,$e.getWidth()/2,$e.getHeight()/2)}return xe.prototype.update=function($e){var Ie=$e.get("alwaysShowContent");Ie&&this._moveIfResized(),this._alwaysShowContent=Ie},xe.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},xe.prototype.setContent=function($e,Ie,Fe,Ue,qe){var At=this;isObject$4($e)&&throwError$1(""),this.el&&this._zr.remove(this.el);var Dt=Fe.getModel("textStyle");this.el=new ZRText({style:{rich:Ie.richTextStyles,text:$e,lineHeight:22,borderWidth:1,borderColor:Ue,textShadowColor:Dt.get("textShadowColor"),fill:Fe.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(Fe,"richText"),verticalAlign:"top",align:"left"},z:Fe.get("z")}),each$f(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(jt){At.el.style[jt]=Fe.get(jt)}),each$f(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(jt){At.el.style[jt]=Dt.get(jt)||0}),this._zr.add(this.el);var Lt=this;this.el.on("mouseover",function(){Lt._enterable&&(clearTimeout(Lt._hideTimeout),Lt._show=!0),Lt._inContent=!0}),this.el.on("mouseout",function(){Lt._enterable&&Lt._show&&Lt.hideLater(Lt._hideDelay),Lt._inContent=!1})},xe.prototype.setEnterable=function($e){this._enterable=$e},xe.prototype.getSize=function(){var $e=this.el,Ie=this.el.getBoundingRect(),Fe=calcShadowOuterSize($e.style);return[Ie.width+Fe.left+Fe.right,Ie.height+Fe.top+Fe.bottom]},xe.prototype.moveTo=function($e,Ie){var Fe=this.el;if(Fe){var Ue=this._styleCoord;makeStyleCoord(Ue,this._zr,$e,Ie),$e=Ue[0],Ie=Ue[1];var qe=Fe.style,At=mathMaxWith0(qe.borderWidth||0),Dt=calcShadowOuterSize(qe);Fe.x=$e+At+Dt.left,Fe.y=Ie+At+Dt.top,Fe.markRedraw()}},xe.prototype._moveIfResized=function(){var $e=this._styleCoord[2],Ie=this._styleCoord[3];this.moveTo($e*this._zr.getWidth(),Ie*this._zr.getHeight())},xe.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},xe.prototype.hideLater=function($e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&($e?(this._hideDelay=$e,this._show=!1,this._hideTimeout=setTimeout(bind$2(this.hide,this),$e)):this.hide())},xe.prototype.isShow=function(){return this._show},xe.prototype.dispose=function(){this._zr.remove(this.el)},xe}();function mathMaxWith0(xe){return Math.max(0,xe)}function calcShadowOuterSize(xe){var $e=mathMaxWith0(xe.shadowBlur||0),Ie=mathMaxWith0(xe.shadowOffsetX||0),Fe=mathMaxWith0(xe.shadowOffsetY||0);return{left:mathMaxWith0($e-Ie),right:mathMaxWith0($e+Ie),top:mathMaxWith0($e-Fe),bottom:mathMaxWith0($e+Fe)}}function makeStyleCoord(xe,$e,Ie,Fe){xe[0]=Ie,xe[1]=Fe,xe[2]=xe[0]/$e.getWidth(),xe[3]=xe[1]/$e.getHeight()}var proxyRect=new Rect$2({shape:{x:-1,y:-1,width:2,height:2}}),TooltipView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){if(!(env.node||!Fe.getDom())){var Ue=Ie.getComponent("tooltip"),qe=this._renderMode=getTooltipRenderMode(Ue.get("renderMode"));this._tooltipContent=qe==="richText"?new TooltipRichContent(Fe):new TooltipHTMLContent(Fe,{appendTo:Ue.get("appendToBody",!0)?"body":Ue.get("appendTo",!0)})}},$e.prototype.render=function(Ie,Fe,Ue){if(!(env.node||!Ue.getDom())){this.group.removeAll(),this._tooltipModel=Ie,this._ecModel=Fe,this._api=Ue;var qe=this._tooltipContent;qe.update(Ie),qe.setEnterable(Ie.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&Ie.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear$1(this,"_updatePosition")}},$e.prototype._initGlobalListener=function(){var Ie=this._tooltipModel,Fe=Ie.get("triggerOn");register("itemTooltip",this._api,bind$2(function(Ue,qe,At){Fe!=="none"&&(Fe.indexOf(Ue)>=0?this._tryShow(qe,At):Ue==="leave"&&this._hide(At))},this))},$e.prototype._keepShow=function(){var Ie=this._tooltipModel,Fe=this._ecModel,Ue=this._api,qe=Ie.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&qe!=="none"&&qe!=="click"){var At=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!Ue.isDisposed()&&At.manuallyShowTip(Ie,Fe,Ue,{x:At._lastX,y:At._lastY,dataByCoordSys:At._lastDataByCoordSys})})}},$e.prototype.manuallyShowTip=function(Ie,Fe,Ue,qe){if(!(qe.from===this.uid||env.node||!Ue.getDom())){var At=makeDispatchAction(qe,Ue);this._ticket="";var Dt=qe.dataByCoordSys,Lt=findComponentReference(qe,Fe,Ue);if(Lt){var jt=Lt.el.getBoundingRect().clone();jt.applyTransform(Lt.el.transform),this._tryShow({offsetX:jt.x+jt.width/2,offsetY:jt.y+jt.height/2,target:Lt.el,position:qe.position,positionDefault:"bottom"},At)}else if(qe.tooltip&&qe.x!=null&&qe.y!=null){var hn=proxyRect;hn.x=qe.x,hn.y=qe.y,hn.update(),getECData(hn).tooltipConfig={name:null,option:qe.tooltip},this._tryShow({offsetX:qe.x,offsetY:qe.y,target:hn},At)}else if(Dt)this._tryShow({offsetX:qe.x,offsetY:qe.y,position:qe.position,dataByCoordSys:Dt,tooltipOption:qe.tooltipOption},At);else if(qe.seriesIndex!=null){if(this._manuallyAxisShowTip(Ie,Fe,Ue,qe))return;var vn=findPointFromSeries(qe,Fe),bn=vn.point[0],_n=vn.point[1];bn!=null&&_n!=null&&this._tryShow({offsetX:bn,offsetY:_n,target:vn.el,position:qe.position,positionDefault:"bottom"},At)}else qe.x!=null&&qe.y!=null&&(Ue.dispatchAction({type:"updateAxisPointer",x:qe.x,y:qe.y}),this._tryShow({offsetX:qe.x,offsetY:qe.y,position:qe.position,target:Ue.getZr().findHover(qe.x,qe.y).target},At))}},$e.prototype.manuallyHideTip=function(Ie,Fe,Ue,qe){var At=this._tooltipContent;this._tooltipModel&&At.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,qe.from!==this.uid&&this._hide(makeDispatchAction(qe,Ue))},$e.prototype._manuallyAxisShowTip=function(Ie,Fe,Ue,qe){var At=qe.seriesIndex,Dt=qe.dataIndex,Lt=Fe.getComponent("axisPointer").coordSysAxesInfo;if(!(At==null||Dt==null||Lt==null)){var jt=Fe.getSeriesByIndex(At);if(jt){var hn=jt.getData(),vn=buildTooltipModel([hn.getItemModel(Dt),jt,(jt.coordinateSystem||{}).model],this._tooltipModel);if(vn.get("trigger")==="axis")return Ue.dispatchAction({type:"updateAxisPointer",seriesIndex:At,dataIndex:Dt,position:qe.position}),!0}}},$e.prototype._tryShow=function(Ie,Fe){var Ue=Ie.target,qe=this._tooltipModel;if(qe){this._lastX=Ie.offsetX,this._lastY=Ie.offsetY;var At=Ie.dataByCoordSys;if(At&&At.length)this._showAxisTooltip(At,Ie);else if(Ue){var Dt=getECData(Ue);if(Dt.ssrType==="legend")return;this._lastDataByCoordSys=null;var Lt,jt;findEventDispatcher(Ue,function(hn){if(getECData(hn).dataIndex!=null)return Lt=hn,!0;if(getECData(hn).tooltipConfig!=null)return jt=hn,!0},!0),Lt?this._showSeriesItemTooltip(Ie,Lt,Fe):jt?this._showComponentItemTooltip(Ie,jt,Fe):this._hide(Fe)}else this._lastDataByCoordSys=null,this._hide(Fe)}},$e.prototype._showOrMove=function(Ie,Fe){var Ue=Ie.get("showDelay");Fe=bind$2(Fe,this),clearTimeout(this._showTimout),Ue>0?this._showTimout=setTimeout(Fe,Ue):Fe()},$e.prototype._showAxisTooltip=function(Ie,Fe){var Ue=this._ecModel,qe=this._tooltipModel,At=[Fe.offsetX,Fe.offsetY],Dt=buildTooltipModel([Fe.tooltipOption],qe),Lt=this._renderMode,jt=[],hn=createTooltipMarkup("section",{blocks:[],noHeader:!0}),vn=[],bn=new TooltipMarkupStyleCreator;each$f(Ie,function(xn){each$f(xn.dataByAxis,function(En){var Tn=Ue.getComponent(En.axisDim+"Axis",En.axisIndex),An=En.value;if(!(!Tn||An==null)){var $n=getValueLabel(An,Tn.axis,Ue,En.seriesDataIndices,En.valueLabelOpt),Pn=createTooltipMarkup("section",{header:$n,noHeader:!trim$2($n),sortBlocks:!0,blocks:[]});hn.blocks.push(Pn),each$f(En.seriesDataIndices,function(Nn){var Mn=Ue.getSeriesByIndex(Nn.seriesIndex),In=Nn.dataIndexInside,On=Mn.getDataParams(In);if(!(On.dataIndex<0)){On.axisDim=En.axisDim,On.axisIndex=En.axisIndex,On.axisType=En.axisType,On.axisId=En.axisId,On.axisValue=getAxisRawValue(Tn.axis,{value:An}),On.axisValueLabel=$n,On.marker=bn.makeTooltipMarker("item",convertToColorString(On.color),Lt);var Rn=normalizeTooltipFormatResult(Mn.formatTooltip(In,!0,null)),Bn=Rn.frag;if(Bn){var Vn=buildTooltipModel([Mn],qe).get("valueFormatter");Pn.blocks.push(Vn?extend$1({valueFormatter:Vn},Bn):Bn)}Rn.text&&vn.push(Rn.text),jt.push(On)}})}})}),hn.blocks.reverse(),vn.reverse();var _n=Fe.position,wn=Dt.get("order"),kn=buildTooltipMarkup(hn,bn,Lt,wn,Ue.get("useUTC"),Dt.get("textStyle"));kn&&vn.unshift(kn);var Cn=Lt==="richText"?`

`:"<br/>",Sn=vn.join(Cn);this._showOrMove(Dt,function(){this._updateContentNotChangedOnAxis(Ie,jt)?this._updatePosition(Dt,_n,At[0],At[1],this._tooltipContent,jt):this._showTooltipContent(Dt,Sn,jt,Math.random()+"",At[0],At[1],_n,null,bn)})},$e.prototype._showSeriesItemTooltip=function(Ie,Fe,Ue){var qe=this._ecModel,At=getECData(Fe),Dt=At.seriesIndex,Lt=qe.getSeriesByIndex(Dt),jt=At.dataModel||Lt,hn=At.dataIndex,vn=At.dataType,bn=jt.getData(vn),_n=this._renderMode,wn=Ie.positionDefault,kn=buildTooltipModel([bn.getItemModel(hn),jt,Lt&&(Lt.coordinateSystem||{}).model],this._tooltipModel,wn?{position:wn}:null),Cn=kn.get("trigger");if(!(Cn!=null&&Cn!=="item")){var Sn=jt.getDataParams(hn,vn),xn=new TooltipMarkupStyleCreator;Sn.marker=xn.makeTooltipMarker("item",convertToColorString(Sn.color),_n);var En=normalizeTooltipFormatResult(jt.formatTooltip(hn,!1,vn)),Tn=kn.get("order"),An=kn.get("valueFormatter"),$n=En.frag,Pn=$n?buildTooltipMarkup(An?extend$1({valueFormatter:An},$n):$n,xn,_n,Tn,qe.get("useUTC"),kn.get("textStyle")):En.text,Nn="item_"+jt.name+"_"+hn;this._showOrMove(kn,function(){this._showTooltipContent(kn,Pn,Sn,Nn,Ie.offsetX,Ie.offsetY,Ie.position,Ie.target,xn)}),Ue({type:"showTip",dataIndexInside:hn,dataIndex:bn.getRawIndex(hn),seriesIndex:Dt,from:this.uid})}},$e.prototype._showComponentItemTooltip=function(Ie,Fe,Ue){var qe=getECData(Fe),At=qe.tooltipConfig,Dt=At.option||{};if(isString$2(Dt)){var Lt=Dt;Dt={content:Lt,formatter:Lt}}var jt=[Dt],hn=this._ecModel.getComponent(qe.componentMainType,qe.componentIndex);hn&&jt.push(hn),jt.push({formatter:Dt.content});var vn=Ie.positionDefault,bn=buildTooltipModel(jt,this._tooltipModel,vn?{position:vn}:null),_n=bn.get("content"),wn=Math.random()+"",kn=new TooltipMarkupStyleCreator;this._showOrMove(bn,function(){var Cn=clone$4(bn.get("formatterParams")||{});this._showTooltipContent(bn,_n,Cn,wn,Ie.offsetX,Ie.offsetY,Ie.position,Fe,kn)}),Ue({type:"showTip",from:this.uid})},$e.prototype._showTooltipContent=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){if(this._ticket="",!(!Ie.get("showContent")||!Ie.get("show"))){var vn=this._tooltipContent;vn.setEnterable(Ie.get("enterable"));var bn=Ie.get("formatter");Lt=Lt||Ie.get("position");var _n=Fe,wn=this._getNearestPoint([At,Dt],Ue,Ie.get("trigger"),Ie.get("borderColor")),kn=wn.color;if(bn)if(isString$2(bn)){var Cn=Ie.ecModel.get("useUTC"),Sn=isArray$2(Ue)?Ue[0]:Ue,xn=Sn&&Sn.axisType&&Sn.axisType.indexOf("time")>=0;_n=bn,xn&&(_n=format$1(Sn.axisValue,_n,Cn)),_n=formatTpl(_n,Ue,!0)}else if(isFunction$2(bn)){var En=bind$2(function(Tn,An){Tn===this._ticket&&(vn.setContent(An,hn,Ie,kn,Lt),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt))},this);this._ticket=qe,_n=bn(Ue,qe,En)}else _n=bn;vn.setContent(_n,hn,Ie,kn,Lt),vn.show(Ie,kn),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt)}},$e.prototype._getNearestPoint=function(Ie,Fe,Ue,qe){if(Ue==="axis"||isArray$2(Fe))return{color:qe||(this._renderMode==="html"?"#fff":"none")};if(!isArray$2(Fe))return{color:qe||Fe.color||Fe.borderColor}},$e.prototype._updatePosition=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._api.getWidth(),hn=this._api.getHeight();Fe=Fe||Ie.get("position");var vn=At.getSize(),bn=Ie.get("align"),_n=Ie.get("verticalAlign"),wn=Lt&&Lt.getBoundingRect().clone();if(Lt&&wn.applyTransform(Lt.transform),isFunction$2(Fe)&&(Fe=Fe([Ue,qe],Dt,At.el,wn,{viewSize:[jt,hn],contentSize:vn.slice()})),isArray$2(Fe))Ue=parsePercent(Fe[0],jt),qe=parsePercent(Fe[1],hn);else if(isObject$4(Fe)){var kn=Fe;kn.width=vn[0],kn.height=vn[1];var Cn=getLayoutRect(kn,{width:jt,height:hn});Ue=Cn.x,qe=Cn.y,bn=null,_n=null}else if(isString$2(Fe)&&Lt){var Sn=calcTooltipPosition(Fe,wn,vn,Ie.get("borderWidth"));Ue=Sn[0],qe=Sn[1]}else{var Sn=refixTooltipPosition(Ue,qe,At,jt,hn,bn?null:20,_n?null:20);Ue=Sn[0],qe=Sn[1]}if(bn&&(Ue-=isCenterAlign(bn)?vn[0]/2:bn==="right"?vn[0]:0),_n&&(qe-=isCenterAlign(_n)?vn[1]/2:_n==="bottom"?vn[1]:0),shouldTooltipConfine(Ie)){var Sn=confineTooltipPosition(Ue,qe,At,jt,hn);Ue=Sn[0],qe=Sn[1]}At.moveTo(Ue,qe)},$e.prototype._updateContentNotChangedOnAxis=function(Ie,Fe){var Ue=this._lastDataByCoordSys,qe=this._cbParamsList,At=!!Ue&&Ue.length===Ie.length;return At&&each$f(Ue,function(Dt,Lt){var jt=Dt.dataByAxis||[],hn=Ie[Lt]||{},vn=hn.dataByAxis||[];At=At&&jt.length===vn.length,At&&each$f(jt,function(bn,_n){var wn=vn[_n]||{},kn=bn.seriesDataIndices||[],Cn=wn.seriesDataIndices||[];At=At&&bn.value===wn.value&&bn.axisType===wn.axisType&&bn.axisId===wn.axisId&&kn.length===Cn.length,At&&each$f(kn,function(Sn,xn){var En=Cn[xn];At=At&&Sn.seriesIndex===En.seriesIndex&&Sn.dataIndex===En.dataIndex}),qe&&each$f(bn.seriesDataIndices,function(Sn){var xn=Sn.seriesIndex,En=Fe[xn],Tn=qe[xn];En&&Tn&&Tn.data!==En.data&&(At=!1)})})}),this._lastDataByCoordSys=Ie,this._cbParamsList=Fe,!!At},$e.prototype._hide=function(Ie){this._lastDataByCoordSys=null,Ie({type:"hideTip",from:this.uid})},$e.prototype.dispose=function(Ie,Fe){env.node||!Fe.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",Fe))},$e.type="tooltip",$e}(ComponentView);function buildTooltipModel(xe,$e,Ie){var Fe=$e.ecModel,Ue;Ie?(Ue=new Model(Ie,Fe,Fe),Ue=new Model($e.option,Ue,Fe)):Ue=$e;for(var qe=xe.length-1;qe>=0;qe--){var At=xe[qe];At&&(At instanceof Model&&(At=At.get("tooltip",!0)),isString$2(At)&&(At={formatter:At}),At&&(Ue=new Model(At,Ue,Fe)))}return Ue}function makeDispatchAction(xe,$e){return xe.dispatchAction||bind$2($e.dispatchAction,$e)}function refixTooltipPosition(xe,$e,Ie,Fe,Ue,qe,At){var Dt=Ie.getSize(),Lt=Dt[0],jt=Dt[1];return qe!=null&&(xe+Lt+qe+2>Fe?xe-=Lt+qe:xe+=qe),At!=null&&($e+jt+At>Ue?$e-=jt+At:$e+=At),[xe,$e]}function confineTooltipPosition(xe,$e,Ie,Fe,Ue){var qe=Ie.getSize(),At=qe[0],Dt=qe[1];return xe=Math.min(xe+At,Fe)-At,$e=Math.min($e+Dt,Ue)-Dt,xe=Math.max(xe,0),$e=Math.max($e,0),[xe,$e]}function calcTooltipPosition(xe,$e,Ie,Fe){var Ue=Ie[0],qe=Ie[1],At=Math.ceil(Math.SQRT2*Fe)+8,Dt=0,Lt=0,jt=$e.width,hn=$e.height;switch(xe){case"inside":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn/2-qe/2;break;case"top":Dt=$e.x+jt/2-Ue/2,Lt=$e.y-qe-At;break;case"bottom":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn+At;break;case"left":Dt=$e.x-Ue-At,Lt=$e.y+hn/2-qe/2;break;case"right":Dt=$e.x+jt+At,Lt=$e.y+hn/2-qe/2}return[Dt,Lt]}function isCenterAlign(xe){return xe==="center"||xe==="middle"}function findComponentReference(xe,$e,Ie){var Fe=preParseFinder(xe).queryOptionMap,Ue=Fe.keys()[0];if(!(!Ue||Ue==="series")){var qe=queryReferringComponents($e,Ue,Fe.get(Ue),{useDefault:!1,enableAll:!1,enableNone:!1}),At=qe.models[0];if(At){var Dt=Ie.getViewOfComponentModel(At),Lt;if(Dt.group.traverse(function(jt){var hn=getECData(jt).tooltipConfig;if(hn&&hn.name===xe.name)return Lt=jt,!0}),Lt)return{componentMainType:Ue,componentIndex:At.componentIndex,el:Lt}}}}function install$j(xe){use(install$r),xe.registerComponentModel(TooltipModel),xe.registerComponentView(TooltipView),xe.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop$2),xe.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop$2)}var DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(xe,$e){var Ie=normalizeToArray(xe?xe.brush:[]);if(Ie.length){var Fe=[];each$f(Ie,function(Lt){var jt=Lt.hasOwnProperty("toolbox")?Lt.toolbox:[];jt instanceof Array&&(Fe=Fe.concat(jt))});var Ue=xe&&xe.toolbox;isArray$2(Ue)&&(Ue=Ue[0]),Ue||(Ue={feature:{}},xe.toolbox=[Ue]);var qe=Ue.feature||(Ue.feature={}),At=qe.brush||(qe.brush={}),Dt=At.type||(At.type=[]);Dt.push.apply(Dt,Fe),removeDuplicate(Dt),$e&&!Dt.length&&Dt.push.apply(Dt,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(xe){var $e={};each$f(xe,function(Ie){$e[Ie]=1}),xe.length=0,each$f($e,function(Ie,Fe){xe.push(Fe)})}var each$4=each$f;function hasKeys(xe){if(xe){for(var $e in xe)if(xe.hasOwnProperty($e))return!0}}function createVisualMappings(xe,$e,Ie){var Fe={};return each$4($e,function(qe){var At=Fe[qe]=Ue();each$4(xe[qe],function(Dt,Lt){if(VisualMapping.isValidType(Lt)){var jt={type:Lt,visual:Dt};Ie&&Ie(jt,qe),At[Lt]=new VisualMapping(jt),Lt==="opacity"&&(jt=clone$4(jt),jt.type="colorAlpha",At.__hidden.__alphaForOpacity=new VisualMapping(jt))}})}),Fe;function Ue(){var qe=function(){};qe.prototype.__hidden=qe.prototype;var At=new qe;return At}}function replaceVisualOption(xe,$e,Ie){var Fe;each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])&&(Fe=!0)}),Fe&&each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])?xe[Ue]=clone$4($e[Ue]):delete xe[Ue]})}function applyVisual(xe,$e,Ie,Fe,Ue,qe){var At={};each$f(xe,function(vn){var bn=VisualMapping.prepareVisualTypes($e[vn]);At[vn]=bn});var Dt;function Lt(vn){return getItemVisualFromData(Ie,Dt,vn)}function jt(vn,bn){setItemVisualFromData(Ie,Dt,vn,bn)}Ie.each(hn);function hn(vn,bn){Dt=vn;var _n=Ie.getRawDataItem(Dt);if(!(_n&&_n.visualMap===!1))for(var wn=Fe.call(Ue,vn),kn=$e[wn],Cn=At[wn],Sn=0,xn=Cn.length;Sn<xn;Sn++){var En=Cn[Sn];kn[En]&&kn[En].applyVisual(vn,Lt,jt)}}}function incrementalApplyVisual(xe,$e,Ie,Fe){var Ue={};return each$f(xe,function(qe){var At=VisualMapping.prepareVisualTypes($e[qe]);Ue[qe]=At}),{progress:function(At,Dt){var Lt;Fe!=null&&(Lt=Dt.getDimensionIndex(Fe));function jt(An){return getItemVisualFromData(Dt,vn,An)}function hn(An,$n){setItemVisualFromData(Dt,vn,An,$n)}for(var vn,bn=Dt.getStore();(vn=At.next())!=null;){var _n=Dt.getRawDataItem(vn);if(!(_n&&_n.visualMap===!1))for(var wn=Fe!=null?bn.get(Lt,vn):vn,kn=Ie(wn),Cn=$e[kn],Sn=Ue[kn],xn=0,En=Sn.length;xn<En;xn++){var Tn=Sn[xn];Cn[Tn]&&Cn[Tn].applyVisual(wn,jt,hn)}}}}}function makeBrushCommonSelectorForSeries(xe){var $e=xe.brushType,Ie={point:function(Fe){return selector[$e].point(Fe,Ie,xe)},rect:function(Fe){return selector[$e].rect(Fe,Ie,xe)}};return Ie}var selector={lineX:getLineSelectors(0),lineY:getLineSelectors(1),rect:{point:function(xe,$e,Ie){return xe&&Ie.boundingRect.contain(xe[0],xe[1])},rect:function(xe,$e,Ie){return xe&&Ie.boundingRect.intersect(xe)}},polygon:{point:function(xe,$e,Ie){return xe&&Ie.boundingRect.contain(xe[0],xe[1])&&contain(Ie.range,xe[0],xe[1])},rect:function(xe,$e,Ie){var Fe=Ie.range;if(!xe||Fe.length<=1)return!1;var Ue=xe.x,qe=xe.y,At=xe.width,Dt=xe.height,Lt=Fe[0];if(contain(Fe,Ue,qe)||contain(Fe,Ue+At,qe)||contain(Fe,Ue,qe+Dt)||contain(Fe,Ue+At,qe+Dt)||BoundingRect.create(xe).contain(Lt[0],Lt[1])||linePolygonIntersect(Ue,qe,Ue+At,qe,Fe)||linePolygonIntersect(Ue,qe,Ue,qe+Dt,Fe)||linePolygonIntersect(Ue+At,qe,Ue+At,qe+Dt,Fe)||linePolygonIntersect(Ue,qe+Dt,Ue+At,qe+Dt,Fe))return!0}}};function getLineSelectors(xe){var $e=["x","y"],Ie=["width","height"];return{point:function(Fe,Ue,qe){if(Fe){var At=qe.range,Dt=Fe[xe];return inLineRange(Dt,At)}},rect:function(Fe,Ue,qe){if(Fe){var At=qe.range,Dt=[Fe[$e[xe]],Fe[$e[xe]]+Fe[Ie[xe]]];return Dt[1]<Dt[0]&&Dt.reverse(),inLineRange(Dt[0],At)||inLineRange(Dt[1],At)||inLineRange(At[0],Dt)||inLineRange(At[1],Dt)}}}}function inLineRange(xe,$e){return $e[0]<=xe&&xe<=$e[1]}var STATE_LIST=["inBrush","outOfBrush"],DISPATCH_METHOD="__ecBrushSelect",DISPATCH_FLAG="__ecInBrushSelectEvent";function layoutCovers(xe){xe.eachComponent({mainType:"brush"},function($e){var Ie=$e.brushTargetManager=new BrushTargetManager($e.option,xe);Ie.setInputRanges($e.areas,xe)})}function brushVisual(xe,$e,Ie){var Fe=[],Ue,qe;xe.eachComponent({mainType:"brush"},function(At){Ie&&Ie.type==="takeGlobalCursor"&&At.setBrushOption(Ie.key==="brush"?Ie.brushOption:{brushType:!1})}),layoutCovers(xe),xe.eachComponent({mainType:"brush"},function(At,Dt){var Lt={brushId:At.id,brushIndex:Dt,brushName:At.name,areas:clone$4(At.areas),selected:[]};Fe.push(Lt);var jt=At.option,hn=jt.brushLink,vn=[],bn=[],_n=[],wn=!1;Dt||(Ue=jt.throttleType,qe=jt.throttleDelay);var kn=map$1(At.areas,function(An){var $n=boundingRectBuilders[An.brushType],Pn=defaults$1({boundingRect:$n?$n(An):void 0},An);return Pn.selectors=makeBrushCommonSelectorForSeries(Pn),Pn}),Cn=createVisualMappings(At.option,STATE_LIST,function(An){An.mappingMethod="fixed"});isArray$2(hn)&&each$f(hn,function(An){vn[An]=1});function Sn(An){return hn==="all"||!!vn[An]}function xn(An){return!!An.length}xe.eachSeries(function(An,$n){var Pn=_n[$n]=[];An.subType==="parallel"?En(An,$n):Tn(An,$n,Pn)});function En(An,$n){var Pn=An.coordinateSystem;wn=wn||Pn.hasAxisBrushed(),Sn($n)&&Pn.eachActiveState(An.getData(),function(Nn,Mn){Nn==="active"&&(bn[Mn]=1)})}function Tn(An,$n,Pn){if(!(!An.brushSelector||brushModelNotControll(At,$n))&&(each$f(kn,function(Mn){At.brushTargetManager.controlSeries(Mn,An,xe)&&Pn.push(Mn),wn=wn||xn(Pn)}),Sn($n)&&xn(Pn))){var Nn=An.getData();Nn.each(function(Mn){checkInRange(An,Pn,Nn,Mn)&&(bn[Mn]=1)})}}xe.eachSeries(function(An,$n){var Pn={seriesId:An.id,seriesIndex:$n,seriesName:An.name,dataIndex:[]};Lt.selected.push(Pn);var Nn=_n[$n],Mn=An.getData(),In=Sn($n)?function(On){return bn[On]?(Pn.dataIndex.push(Mn.getRawIndex(On)),"inBrush"):"outOfBrush"}:function(On){return checkInRange(An,Nn,Mn,On)?(Pn.dataIndex.push(Mn.getRawIndex(On)),"inBrush"):"outOfBrush"};(Sn($n)?wn:xn(Nn))&&applyVisual(STATE_LIST,Cn,Mn,In)})}),dispatchAction$1($e,Ue,qe,Fe,Ie)}function dispatchAction$1(xe,$e,Ie,Fe,Ue){if(Ue){var qe=xe.getZr();if(!qe[DISPATCH_FLAG]){qe[DISPATCH_METHOD]||(qe[DISPATCH_METHOD]=doDispatch);var At=createOrUpdate(qe,DISPATCH_METHOD,Ie,$e);At(xe,Fe)}}}function doDispatch(xe,$e){if(!xe.isDisposed()){var Ie=xe.getZr();Ie[DISPATCH_FLAG]=!0,xe.dispatchAction({type:"brushSelect",batch:$e}),Ie[DISPATCH_FLAG]=!1}}function checkInRange(xe,$e,Ie,Fe){for(var Ue=0,qe=$e.length;Ue<qe;Ue++){var At=$e[Ue];if(xe.brushSelector(Fe,Ie,At.selectors,At))return!0}}function brushModelNotControll(xe,$e){var Ie=xe.option.seriesIndex;return Ie!=null&&Ie!=="all"&&(isArray$2(Ie)?indexOf(Ie,$e)<0:$e!==Ie)}var boundingRectBuilders={rect:function(xe){return getBoundingRectFromMinMax(xe.range)},polygon:function(xe){for(var $e,Ie=xe.range,Fe=0,Ue=Ie.length;Fe<Ue;Fe++){$e=$e||[[1/0,-1/0],[1/0,-1/0]];var qe=Ie[Fe];qe[0]<$e[0][0]&&($e[0][0]=qe[0]),qe[0]>$e[0][1]&&($e[0][1]=qe[0]),qe[1]<$e[1][0]&&($e[1][0]=qe[1]),qe[1]>$e[1][1]&&($e[1][1]=qe[1])}return $e&&getBoundingRectFromMinMax($e)}};function getBoundingRectFromMinMax(xe){return new BoundingRect(xe[0][0],xe[1][0],xe[0][1]-xe[0][0],xe[1][1]-xe[1][0])}var BrushView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.ecModel=Ie,this.api=Fe,this.model,(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$2(this._onBrush,this)).mount()},$e.prototype.render=function(Ie,Fe,Ue,qe){this.model=Ie,this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateTransform=function(Ie,Fe,Ue,qe){layoutCovers(Fe),this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateVisual=function(Ie,Fe,Ue,qe){this.updateTransform(Ie,Fe,Ue,qe)},$e.prototype.updateView=function(Ie,Fe,Ue,qe){this._updateController(Ie,Fe,Ue,qe)},$e.prototype._updateController=function(Ie,Fe,Ue,qe){(!qe||qe.$from!==Ie.id)&&this._brushController.setPanels(Ie.brushTargetManager.makePanelOpts(Ue)).enableBrush(Ie.brushOption).updateCovers(Ie.areas.slice())},$e.prototype.dispose=function(){this._brushController.dispose()},$e.prototype._onBrush=function(Ie){var Fe=this.model.id,Ue=this.model.brushTargetManager.setOutputRanges(Ie.areas,this.ecModel);(!Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:Fe,areas:clone$4(Ue),$from:Fe}),Ie.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:Fe,areas:clone$4(Ue),$from:Fe})},$e.type="brush",$e}(ComponentView),DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.areas=[],Ie.brushOption={},Ie}return $e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,["inBrush","outOfBrush"]);var qe=Ue.inBrush=Ue.inBrush||{};Ue.outOfBrush=Ue.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},qe.hasOwnProperty("liftZ")||(qe.liftZ=5)},$e.prototype.setAreas=function(Ie){Ie&&(this.areas=map$1(Ie,function(Fe){return generateBrushOption(this.option,Fe)},this))},$e.prototype.setBrushOption=function(Ie){this.brushOption=generateBrushOption(this.option,Ie),this.brushType=this.brushOption.brushType},$e.type="brush",$e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],$e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},$e}(ComponentModel);function generateBrushOption(xe,$e){return merge$1({brushType:xe.brushType,brushMode:xe.brushMode,transformable:xe.transformable,brushStyle:new Model(xe.brushStyle).getItemStyle(),removeOnClick:xe.removeOnClick,z:xe.z},$e,!0)}var ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue){var qe,At,Dt;Fe.eachComponent({mainType:"brush"},function(Lt){qe=Lt.brushType,At=Lt.brushOption.brushMode||"single",Dt=Dt||!!Lt.areas.length}),this._brushType=qe,this._brushMode=At,each$f(Ie.get("type",!0),function(Lt){Ie.setIconStatus(Lt,(Lt==="keep"?At==="multiple":Lt==="clear"?Dt:Lt===qe)?"emphasis":"normal")})},$e.prototype.updateView=function(Ie,Fe,Ue){this.render(Ie,Fe,Ue)},$e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon",!0),Ue={};return each$f(Ie.get("type",!0),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this._brushType,At=this._brushMode;Ue==="clear"?(Fe.dispatchAction({type:"axisAreaSelect",intervals:[]}),Fe.dispatchAction({type:"brush",command:"clear",areas:[]})):Fe.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:Ue==="keep"?qe:qe===Ue?!1:Ue,brushMode:Ue==="keep"?At==="multiple"?"single":"multiple":At}})},$e.getDefaultOption=function(Ie){var Fe={show:!0,type:ICON_TYPES.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:Ie.getLocaleModel().get(["toolbox","brush","title"])};return Fe},$e}(ToolboxFeature);function install$i(xe){xe.registerComponentView(BrushView),xe.registerComponentModel(BrushModel),xe.registerPreprocessor(brushPreprocessor),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,brushVisual),xe.registerAction({type:"brush",event:"brush",update:"updateVisual"},function($e,Ie){Ie.eachComponent({mainType:"brush",query:$e},function(Fe){Fe.setAreas($e.areas)})}),xe.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},noop$2),xe.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop$2),registerFeature("brush",BrushFeature)}var TitleModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode={type:"box",ignoreSize:!0},Ie}return $e.type="title",$e.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"}},$e}(ComponentModel),TitleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(this.group.removeAll(),!!Ie.get("show")){var qe=this.group,At=Ie.getModel("textStyle"),Dt=Ie.getModel("subtextStyle"),Lt=Ie.get("textAlign"),jt=retrieve2(Ie.get("textBaseline"),Ie.get("textVerticalAlign")),hn=new ZRText({style:createTextStyle(At,{text:Ie.get("text"),fill:At.getTextColor()},{disableBox:!0}),z2:10}),vn=hn.getBoundingRect(),bn=Ie.get("subtext"),_n=new ZRText({style:createTextStyle(Dt,{text:bn,fill:Dt.getTextColor(),y:vn.height+Ie.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),wn=Ie.get("link"),kn=Ie.get("sublink"),Cn=Ie.get("triggerEvent",!0);hn.silent=!wn&&!Cn,_n.silent=!kn&&!Cn,wn&&hn.on("click",function(){windowOpen(wn,"_"+Ie.get("target"))}),kn&&_n.on("click",function(){windowOpen(kn,"_"+Ie.get("subtarget"))}),getECData(hn).eventData=getECData(_n).eventData=Cn?{componentType:"title",componentIndex:Ie.componentIndex}:null,qe.add(hn),bn&&qe.add(_n);var Sn=qe.getBoundingRect(),xn=Ie.getBoxLayoutParams();xn.width=Sn.width,xn.height=Sn.height;var En=getLayoutRect(xn,{width:Ue.getWidth(),height:Ue.getHeight()},Ie.get("padding"));Lt||(Lt=Ie.get("left")||Ie.get("right"),Lt==="middle"&&(Lt="center"),Lt==="right"?En.x+=En.width:Lt==="center"&&(En.x+=En.width/2)),jt||(jt=Ie.get("top")||Ie.get("bottom"),jt==="center"&&(jt="middle"),jt==="bottom"?En.y+=En.height:jt==="middle"&&(En.y+=En.height/2),jt=jt||"top"),qe.x=En.x,qe.y=En.y,qe.markRedraw();var Tn={align:Lt,verticalAlign:jt};hn.setStyle(Tn),_n.setStyle(Tn),Sn=qe.getBoundingRect();var An=En.margin,$n=Ie.getItemStyle(["color","opacity"]);$n.fill=Ie.get("backgroundColor");var Pn=new Rect$2({shape:{x:Sn.x-An[3],y:Sn.y-An[0],width:Sn.width+An[1]+An[3],height:Sn.height+An[0]+An[2],r:Ie.get("borderRadius")},style:$n,subPixelOptimize:!0,silent:!0});qe.add(Pn)}},$e.type="title",$e}(ComponentView);function install$h(xe){xe.registerComponentModel(TitleModel),xe.registerComponentView(TitleView)}var TimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode="box",Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue),this._initData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this._initData()},$e.prototype.setCurrentIndex=function(Ie){Ie==null&&(Ie=this.option.currentIndex);var Fe=this._data.count();this.option.loop?Ie=(Ie%Fe+Fe)%Fe:(Ie>=Fe&&(Ie=Fe-1),Ie<0&&(Ie=0)),this.option.currentIndex=Ie},$e.prototype.getCurrentIndex=function(){return this.option.currentIndex},$e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},$e.prototype.setPlayState=function(Ie){this.option.autoPlay=!!Ie},$e.prototype.getPlayState=function(){return!!this.option.autoPlay},$e.prototype._initData=function(){var Ie=this.option,Fe=Ie.data||[],Ue=Ie.axisType,qe=this._names=[],At;Ue==="category"?(At=[],each$f(Fe,function(jt,hn){var vn=convertOptionIdName(getDataItemValue(jt),""),bn;isObject$4(jt)?(bn=clone$4(jt),bn.value=hn):bn=hn,At.push(bn),qe.push(vn)})):At=Fe;var Dt={category:"ordinal",time:"time",value:"number"}[Ue]||"number",Lt=this._data=new SeriesData([{name:"value",type:Dt}],this);Lt.initData(At,qe)},$e.prototype.getData=function(){return this._data},$e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},$e.type="timeline",$e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},$e}(ComponentModel),SliderTimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline.slider",$e.defaultOption=inheritDefaultOption(TimelineModel.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),$e}(TimelineModel);mixin(SliderTimelineModel,DataFormatMixin.prototype);var TimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline",$e}(ComponentView),TimelineAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this,Ie,Fe,Ue)||this;return At.type=qe||"value",At}return $e.prototype.getLabelModel=function(){return this.model.getModel("label")},$e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},$e}(Axis),PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe},$e.prototype.render=function(Ie,Fe,Ue){if(this.model=Ie,this.api=Ue,this.ecModel=Fe,this.group.removeAll(),Ie.get("show",!0)){var qe=this._layout(Ie,Ue),At=this._createGroup("_mainGroup"),Dt=this._createGroup("_labelGroup"),Lt=this._axis=this._createAxis(qe,Ie);Ie.formatTooltip=function(jt){var hn=Lt.scale.getLabel({value:jt});return createTooltipMarkup("nameValue",{noName:!0,value:hn})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],function(jt){this["_render"+jt](qe,At,Lt,Ie)},this),this._renderAxisLabel(qe,Dt,Lt,Ie),this._position(qe,Ie)}this._doPlayStop(),this._updateTicksStatus()},$e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},$e.prototype.dispose=function(){this._clearTimer()},$e.prototype._layout=function(Ie,Fe){var Ue=Ie.get(["label","position"]),qe=Ie.get("orient"),At=getViewRect(Ie,Fe),Dt;Ue==null||Ue==="auto"?Dt=qe==="horizontal"?At.y+At.height/2<Fe.getHeight()/2?"-":"+":At.x+At.width/2<Fe.getWidth()/2?"+":"-":isString$2(Ue)?Dt={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[qe][Ue]:Dt=Ue;var Lt={horizontal:"center",vertical:Dt>=0||Dt==="+"?"left":"right"},jt={horizontal:Dt>=0||Dt==="+"?"top":"bottom",vertical:"middle"},hn={horizontal:0,vertical:PI/2},vn=qe==="vertical"?At.height:At.width,bn=Ie.getModel("controlStyle"),_n=bn.get("show",!0),wn=_n?bn.get("itemSize"):0,kn=_n?bn.get("itemGap"):0,Cn=wn+kn,Sn=Ie.get(["label","rotate"])||0;Sn=Sn*PI/180;var xn,En,Tn,An=bn.get("position",!0),$n=_n&&bn.get("showPlayBtn",!0),Pn=_n&&bn.get("showPrevBtn",!0),Nn=_n&&bn.get("showNextBtn",!0),Mn=0,In=vn;An==="left"||An==="bottom"?($n&&(xn=[0,0],Mn+=Cn),Pn&&(En=[Mn,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn)):($n&&(xn=[In-wn,0],In-=Cn),Pn&&(En=[0,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn));var On=[Mn,In];return Ie.get("inverse")&&On.reverse(),{viewRect:At,mainLength:vn,orient:qe,rotation:hn[qe],labelRotation:Sn,labelPosOpt:Dt,labelAlign:Ie.get(["label","align"])||Lt[qe],labelBaseline:Ie.get(["label","verticalAlign"])||Ie.get(["label","baseline"])||jt[qe],playPosition:xn,prevBtnPosition:En,nextBtnPosition:Tn,axisExtent:On,controlSize:wn,controlGap:kn}},$e.prototype._position=function(Ie,Fe){var Ue=this._mainGroup,qe=this._labelGroup,At=Ie.viewRect;if(Ie.orient==="vertical"){var Dt=create$1(),Lt=At.x,jt=At.y+At.height;translate$1(Dt,Dt,[-Lt,-jt]),rotate(Dt,Dt,-PI/2),translate$1(Dt,Dt,[Lt,jt]),At=At.clone(),At.applyTransform(Dt)}var hn=xn(At),vn=xn(Ue.getBoundingRect()),bn=xn(qe.getBoundingRect()),_n=[Ue.x,Ue.y],wn=[qe.x,qe.y];wn[0]=_n[0]=hn[0][0];var kn=Ie.labelPosOpt;if(kn==null||isString$2(kn)){var Cn=kn==="+"?0:1;En(_n,vn,hn,1,Cn),En(wn,bn,hn,1,1-Cn)}else{var Cn=kn>=0?0:1;En(_n,vn,hn,1,Cn),wn[1]=_n[1]+kn}Ue.setPosition(_n),qe.setPosition(wn),Ue.rotation=qe.rotation=Ie.rotation,Sn(Ue),Sn(qe);function Sn(Tn){Tn.originX=hn[0][0]-Tn.x,Tn.originY=hn[1][0]-Tn.y}function xn(Tn){return[[Tn.x,Tn.x+Tn.width],[Tn.y,Tn.y+Tn.height]]}function En(Tn,An,$n,Pn,Nn){Tn[Pn]+=$n[Pn][Nn]-An[Pn][Nn]}},$e.prototype._createAxis=function(Ie,Fe){var Ue=Fe.getData(),qe=Fe.get("axisType"),At=createScaleByModel(Fe,qe);At.getTicks=function(){return Ue.mapArray(["value"],function(jt){return{value:jt}})};var Dt=Ue.getDataExtent("value");At.setExtent(Dt[0],Dt[1]),At.calcNiceTicks();var Lt=new TimelineAxis("value",At,Ie.axisExtent,qe);return Lt.model=Fe,Lt},$e.prototype._createGroup=function(Ie){var Fe=this[Ie]=new Group$3;return this.group.add(Fe),Fe},$e.prototype._renderAxisLine=function(Ie,Fe,Ue,qe){var At=Ue.getExtent();if(qe.get(["lineStyle","show"])){var Dt=new Line$1({shape:{x1:At[0],y1:0,x2:At[1],y2:0},style:extend$1({lineCap:"round"},qe.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});Fe.add(Dt);var Lt=this._progressLine=new Line$1({shape:{x1:At[0],x2:this._currentPointer?this._currentPointer.x:At[0],y1:0,y2:0},style:defaults$1({lineCap:"round",lineWidth:Dt.style.lineWidth},qe.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});Fe.add(Lt)}},$e.prototype._renderAxisTick=function(Ie,Fe,Ue,qe){var At=this,Dt=qe.getData(),Lt=Ue.scale.getTicks();this._tickSymbols=[],each$f(Lt,function(jt){var hn=Ue.dataToCoord(jt.value),vn=Dt.getItemModel(jt.value),bn=vn.getModel("itemStyle"),_n=vn.getModel(["emphasis","itemStyle"]),wn=vn.getModel(["progress","itemStyle"]),kn={x:hn,y:0,onclick:bind$2(At._changeTimeline,At,jt.value)},Cn=giveSymbol(vn,bn,Fe,kn);Cn.ensureState("emphasis").style=_n.getItemStyle(),Cn.ensureState("progress").style=wn.getItemStyle(),enableHoverEmphasis(Cn);var Sn=getECData(Cn);vn.get("tooltip")?(Sn.dataIndex=jt.value,Sn.dataModel=qe):Sn.dataIndex=Sn.dataModel=null,At._tickSymbols.push(Cn)})},$e.prototype._renderAxisLabel=function(Ie,Fe,Ue,qe){var At=this,Dt=Ue.getLabelModel();if(Dt.get("show")){var Lt=qe.getData(),jt=Ue.getViewLabels();this._tickLabels=[],each$f(jt,function(hn){var vn=hn.tickValue,bn=Lt.getItemModel(vn),_n=bn.getModel("label"),wn=bn.getModel(["emphasis","label"]),kn=bn.getModel(["progress","label"]),Cn=Ue.dataToCoord(hn.tickValue),Sn=new ZRText({x:Cn,y:0,rotation:Ie.labelRotation-Ie.rotation,onclick:bind$2(At._changeTimeline,At,vn),silent:!1,style:createTextStyle(_n,{text:hn.formattedLabel,align:Ie.labelAlign,verticalAlign:Ie.labelBaseline})});Sn.ensureState("emphasis").style=createTextStyle(wn),Sn.ensureState("progress").style=createTextStyle(kn),Fe.add(Sn),enableHoverEmphasis(Sn),labelDataIndexStore(Sn).dataIndex=vn,At._tickLabels.push(Sn)})}},$e.prototype._renderControl=function(Ie,Fe,Ue,qe){var At=Ie.controlSize,Dt=Ie.rotation,Lt=qe.getModel("controlStyle").getItemStyle(),jt=qe.getModel(["emphasis","controlStyle"]).getItemStyle(),hn=qe.getPlayState(),vn=qe.get("inverse",!0);bn(Ie.nextBtnPosition,"next",bind$2(this._changeTimeline,this,vn?"-":"+")),bn(Ie.prevBtnPosition,"prev",bind$2(this._changeTimeline,this,vn?"+":"-")),bn(Ie.playPosition,hn?"stop":"play",bind$2(this._handlePlayClick,this,!hn),!0);function bn(_n,wn,kn,Cn){if(_n){var Sn=parsePercent$1(retrieve2(qe.get(["controlStyle",wn+"BtnSize"]),At),At),xn=[0,-Sn/2,Sn,Sn],En=makeControlIcon(qe,wn+"Icon",xn,{x:_n[0],y:_n[1],originX:At/2,originY:0,rotation:Cn?-Dt:0,rectHover:!0,style:Lt,onclick:kn});En.ensureState("emphasis").style=jt,Fe.add(En),enableHoverEmphasis(En)}}},$e.prototype._renderCurrentPointer=function(Ie,Fe,Ue,qe){var At=qe.getData(),Dt=qe.getCurrentIndex(),Lt=At.getItemModel(Dt).getModel("checkpointStyle"),jt=this,hn={onCreate:function(vn){vn.draggable=!0,vn.drift=bind$2(jt._handlePointerDrag,jt),vn.ondragend=bind$2(jt._handlePointerDragend,jt),pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe,!0)},onUpdate:function(vn){pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe)}};this._currentPointer=giveSymbol(Lt,Lt,this._mainGroup,{},this._currentPointer,hn)},$e.prototype._handlePlayClick=function(Ie){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:Ie,from:this.uid})},$e.prototype._handlePointerDrag=function(Ie,Fe,Ue){this._clearTimer(),this._pointerChangeTimeline([Ue.offsetX,Ue.offsetY])},$e.prototype._handlePointerDragend=function(Ie){this._pointerChangeTimeline([Ie.offsetX,Ie.offsetY],!0)},$e.prototype._pointerChangeTimeline=function(Ie,Fe){var Ue=this._toAxisCoord(Ie)[0],qe=this._axis,At=asc$2(qe.getExtent().slice());Ue>At[1]&&(Ue=At[1]),Ue<At[0]&&(Ue=At[0]),this._currentPointer.x=Ue,this._currentPointer.markRedraw();var Dt=this._progressLine;Dt&&(Dt.shape.x2=Ue,Dt.dirty());var Lt=this._findNearestTick(Ue),jt=this.model;(Fe||Lt!==jt.getCurrentIndex()&&jt.get("realtime"))&&this._changeTimeline(Lt)},$e.prototype._doPlayStop=function(){var Ie=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var Fe=Ie.model;Ie._changeTimeline(Fe.getCurrentIndex()+(Fe.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},$e.prototype._toAxisCoord=function(Ie){var Fe=this._mainGroup.getLocalTransform();return applyTransform(Ie,Fe,!0)},$e.prototype._findNearestTick=function(Ie){var Fe=this.model.getData(),Ue=1/0,qe,At=this._axis;return Fe.each(["value"],function(Dt,Lt){var jt=At.dataToCoord(Dt),hn=Math.abs(jt-Ie);hn<Ue&&(Ue=hn,qe=Lt)}),qe},$e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},$e.prototype._changeTimeline=function(Ie){var Fe=this.model.getCurrentIndex();Ie==="+"?Ie=Fe+1:Ie==="-"&&(Ie=Fe-1),this.api.dispatchAction({type:"timelineChange",currentIndex:Ie,from:this.uid})},$e.prototype._updateTicksStatus=function(){var Ie=this.model.getCurrentIndex(),Fe=this._tickSymbols,Ue=this._tickLabels;if(Fe)for(var qe=0;qe<Fe.length;qe++)Fe&&Fe[qe]&&Fe[qe].toggleState("progress",qe<Ie);if(Ue)for(var qe=0;qe<Ue.length;qe++)Ue&&Ue[qe]&&Ue[qe].toggleState("progress",labelDataIndexStore(Ue[qe]).dataIndex<=Ie)},$e.type="timeline.slider",$e}(TimelineView);function createScaleByModel(xe,$e){if($e=$e||xe.get("type"),$e)switch($e){case"category":return new OrdinalScale({ordinalMeta:xe.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale({locale:xe.ecModel.getLocaleModel(),useUTC:xe.ecModel.get("useUTC")});default:return new IntervalScale}}function getViewRect(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()},xe.get("padding"))}function makeControlIcon(xe,$e,Ie,Fe){var Ue=Fe.style,qe=createIcon(xe.get(["controlStyle",$e]),Fe||{},new BoundingRect(Ie[0],Ie[1],Ie[2],Ie[3]));return Ue&&qe.setStyle(Ue),qe}function giveSymbol(xe,$e,Ie,Fe,Ue,qe){var At=$e.get("color");if(Ue)Ue.setColor(At),Ie.add(Ue),qe&&qe.onUpdate(Ue);else{var Dt=xe.get("symbol");Ue=createSymbol$1(Dt,-1,-1,2,2,At),Ue.setStyle("strokeNoScale",!0),Ie.add(Ue),qe&&qe.onCreate(Ue)}var Lt=$e.getItemStyle(["color"]);Ue.setStyle(Lt),Fe=merge$1({rectHover:!0,z2:100},Fe,!0);var jt=normalizeSymbolSize(xe.get("symbolSize"));Fe.scaleX=jt[0]/2,Fe.scaleY=jt[1]/2;var hn=normalizeSymbolOffset(xe.get("symbolOffset"),jt);hn&&(Fe.x=(Fe.x||0)+hn[0],Fe.y=(Fe.y||0)+hn[1]);var vn=xe.get("symbolRotate");return Fe.rotation=(vn||0)*Math.PI/180||0,Ue.attr(Fe),Ue.updateTransform(),Ue}function pointerMoveTo(xe,$e,Ie,Fe,Ue,qe){if(!xe.dragging){var At=Ue.getModel("checkpointStyle"),Dt=Fe.dataToCoord(Ue.getData().get("value",Ie));if(qe||!At.get("animation",!0))xe.attr({x:Dt,y:0}),$e&&$e.attr({shape:{x2:Dt}});else{var Lt={duration:At.get("animationDuration",!0),easing:At.get("animationEasing",!0)};xe.stopAnimation(null,!0),xe.animateTo({x:Dt,y:0},Lt),$e&&$e.animateTo({shape:{x2:Dt}},Lt)}}}function installTimelineAction(xe){xe.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function($e,Ie,Fe){var Ue=Ie.getComponent("timeline");return Ue&&$e.currentIndex!=null&&(Ue.setCurrentIndex($e.currentIndex),!Ue.get("loop",!0)&&Ue.isIndexMax()&&Ue.getPlayState()&&(Ue.setPlayState(!1),Fe.dispatchAction({type:"timelinePlayChange",playState:!1,from:$e.from}))),Ie.resetOption("timeline",{replaceMerge:Ue.get("replaceMerge",!0)}),defaults$1({currentIndex:Ue.option.currentIndex},$e)}),xe.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function($e,Ie){var Fe=Ie.getComponent("timeline");Fe&&$e.playState!=null&&Fe.setPlayState($e.playState)})}function timelinePreprocessor(xe){var $e=xe&&xe.timeline;isArray$2($e)||($e=$e?[$e]:[]),each$f($e,function(Ie){Ie&&compatibleEC2(Ie)})}function compatibleEC2(xe){var $e=xe.type,Ie={number:"value",time:"time"};if(Ie[$e]&&(xe.axisType=Ie[$e],delete xe.type),transferItem(xe),has$1(xe,"controlPosition")){var Fe=xe.controlStyle||(xe.controlStyle={});has$1(Fe,"position")||(Fe.position=xe.controlPosition),Fe.position==="none"&&!has$1(Fe,"show")&&(Fe.show=!1,delete Fe.position),delete xe.controlPosition}each$f(xe.data||[],function(Ue){isObject$4(Ue)&&!isArray$2(Ue)&&(!has$1(Ue,"value")&&has$1(Ue,"name")&&(Ue.value=Ue.name),transferItem(Ue))})}function transferItem(xe){var $e=xe.itemStyle||(xe.itemStyle={}),Ie=$e.emphasis||($e.emphasis={}),Fe=xe.label||xe.label||{},Ue=Fe.normal||(Fe.normal={}),qe={normal:1,emphasis:1};each$f(Fe,function(At,Dt){!qe[Dt]&&!has$1(Ue,Dt)&&(Ue[Dt]=At)}),Ie.label&&!has$1(Fe,"emphasis")&&(Fe.emphasis=Ie.label,delete Ie.label)}function has$1(xe,$e){return xe.hasOwnProperty($e)}function install$g(xe){xe.registerComponentModel(SliderTimelineModel),xe.registerComponentView(SliderTimelineView),xe.registerSubTypeDefaulter("timeline",function(){return"slider"}),installTimelineAction(xe),xe.registerPreprocessor(timelinePreprocessor)}function checkMarkerInSeries(xe,$e){if(!xe)return!1;for(var Ie=isArray$2(xe)?xe:[xe],Fe=0;Fe<Ie.length;Fe++)if(Ie[Fe]&&Ie[Fe][$e])return!0;return!1}function fillLabel(xe){defaultEmphasis(xe,"label",["show"])}var inner$5=makeInner(),MarkerModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.createdBySelf=!1,Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue),this._mergeOption(Ie,Ue,!1,!0)},$e.prototype.isAnimationEnabled=function(){if(env.node)return!1;var Ie=this.__hostSeries;return this.getShallow("animation")&&Ie&&Ie.isAnimationEnabled()},$e.prototype.mergeOption=function(Ie,Fe){this._mergeOption(Ie,Fe,!1,!1)},$e.prototype._mergeOption=function(Ie,Fe,Ue,qe){var At=this.mainType;Ue||Fe.eachSeries(function(Dt){var Lt=Dt.get(this.mainType,!0),jt=inner$5(Dt)[At];if(!Lt||!Lt.data){inner$5(Dt)[At]=null;return}jt?jt._mergeOption(Lt,Fe,!0):(qe&&fillLabel(Lt),each$f(Lt.data,function(hn){hn instanceof Array?(fillLabel(hn[0]),fillLabel(hn[1])):fillLabel(hn)}),jt=this.createMarkerModelFromSeries(Lt,this,Fe),extend$1(jt,{mainType:this.mainType,seriesIndex:Dt.seriesIndex,name:Dt.name,createdBySelf:!0}),jt.__hostSeries=Dt),inner$5(Dt)[At]=jt},this)},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=this.getRawValue(Ie),Dt=qe.getName(Ie);return createTooltipMarkup("section",{header:this.name,blocks:[createTooltipMarkup("nameValue",{name:Dt,value:At,noName:!Dt,noValue:At==null})]})},$e.prototype.getData=function(){return this._data},$e.prototype.setData=function(Ie){this._data=Ie},$e.getMarkerModelFromSeries=function(Ie,Fe){return inner$5(Ie)[Fe]},$e.type="marker",$e.dependencies=["series","grid","polar","geo"],$e}(ComponentModel);mixin(MarkerModel,DataFormatMixin.prototype);var MarkPointModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markPoint",$e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},$e}(MarkerModel);function hasXOrY(xe){return!(isNaN(parseFloat(xe.x))&&isNaN(parseFloat(xe.y)))}function hasXAndY(xe){return!isNaN(parseFloat(xe.x))&&!isNaN(parseFloat(xe.y))}function markerTypeCalculatorWithExtent(xe,$e,Ie,Fe,Ue,qe){var At=[],Dt=isDimensionStacked($e,Fe),Lt=Dt?$e.getCalculationInfo("stackResultDimension"):Fe,jt=numCalculate($e,Lt,xe),hn=$e.indicesOfNearest(Lt,jt)[0];At[Ue]=$e.get(Ie,hn),At[qe]=$e.get(Lt,hn);var vn=$e.get(Fe,hn),bn=getPrecision($e.get(Fe,hn));return bn=Math.min(bn,20),bn>=0&&(At[qe]=+At[qe].toFixed(bn)),[At,vn]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(xe,$e){if($e){var Ie=xe.getData(),Fe=xe.coordinateSystem,Ue=Fe&&Fe.dimensions;if(!hasXAndY($e)&&!isArray$2($e.coord)&&isArray$2(Ue)){var qe=getAxisInfo($e,Ie,Fe,xe);if($e=clone$4($e),$e.type&&markerTypeCalculator[$e.type]&&qe.baseAxis&&qe.valueAxis){var At=indexOf(Ue,qe.baseAxis.dim),Dt=indexOf(Ue,qe.valueAxis.dim),Lt=markerTypeCalculator[$e.type](Ie,qe.baseDataDim,qe.valueDataDim,At,Dt);$e.coord=Lt[0],$e.value=Lt[1]}else $e.coord=[$e.xAxis!=null?$e.xAxis:$e.radiusAxis,$e.yAxis!=null?$e.yAxis:$e.angleAxis]}if($e.coord==null||!isArray$2(Ue))$e.coord=[];else for(var jt=$e.coord,hn=0;hn<2;hn++)markerTypeCalculator[jt[hn]]&&(jt[hn]=numCalculate(Ie,Ie.mapDimension(Ue[hn]),jt[hn]));return $e}}function getAxisInfo(xe,$e,Ie,Fe){var Ue={};return xe.valueIndex!=null||xe.valueDim!=null?(Ue.valueDataDim=xe.valueIndex!=null?$e.getDimension(xe.valueIndex):xe.valueDim,Ue.valueAxis=Ie.getAxis(dataDimToCoordDim(Fe,Ue.valueDataDim)),Ue.baseAxis=Ie.getOtherAxis(Ue.valueAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim)):(Ue.baseAxis=Fe.getBaseAxis(),Ue.valueAxis=Ie.getOtherAxis(Ue.baseAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim),Ue.valueDataDim=$e.mapDimension(Ue.valueAxis.dim)),Ue}function dataDimToCoordDim(xe,$e){var Ie=xe.getData().getDimensionInfo($e);return Ie&&Ie.coordDim}function dataFilter(xe,$e){return xe&&xe.containData&&$e.coord&&!hasXOrY($e)?xe.containData($e.coord):!0}function zoneFilter(xe,$e,Ie){return xe&&xe.containZone&&$e.coord&&Ie.coord&&!hasXOrY($e)&&!hasXOrY(Ie)?xe.containZone($e.coord,Ie.coord):!0}function createMarkerDimValueGetter(xe,$e){return xe?function(Ie,Fe,Ue,qe){var At=qe<2?Ie.coord&&Ie.coord[qe]:Ie.value;return parseDataValue(At,$e[qe])}:function(Ie,Fe,Ue,qe){return parseDataValue(Ie.value,$e[qe])}}function numCalculate(xe,$e,Ie){if(Ie==="average"){var Fe=0,Ue=0;return xe.each($e,function(qe,At){isNaN(qe)||(Fe+=qe,Ue++)}),Fe/Ue}else return Ie==="median"?xe.getMedian($e):xe.getDataExtent($e)[Ie==="max"?1:0]}var inner$4=makeInner(),MarkerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){this.markerGroupMap=createHashMap()},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=this.markerGroupMap;At.each(function(Dt){inner$4(Dt).keep=!1}),Fe.eachSeries(function(Dt){var Lt=MarkerModel.getMarkerModelFromSeries(Dt,qe.type);Lt&&qe.renderSeries(Dt,Lt,Fe,Ue)}),At.each(function(Dt){!inner$4(Dt).keep&&qe.group.remove(Dt.group)})},$e.prototype.markKeep=function(Ie){inner$4(Ie).keep=!0},$e.prototype.toggleBlurSeries=function(Ie,Fe){var Ue=this;each$f(Ie,function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,Ue.type);if(At){var Dt=At.getData();Dt.eachItemGraphicEl(function(Lt){Lt&&(Fe?enterBlur(Lt):leaveBlur(Lt))})}})},$e.type="marker",$e}(ComponentView);function updateMarkerLayout(xe,$e,Ie){var Fe=$e.coordinateSystem;xe.each(function(Ue){var qe=xe.getItemModel(Ue),At,Dt=parsePercent(qe.get("x"),Ie.getWidth()),Lt=parsePercent(qe.get("y"),Ie.getHeight());if(!isNaN(Dt)&&!isNaN(Lt))At=[Dt,Lt];else if($e.getMarkerPosition)At=$e.getMarkerPosition(xe.getValues(xe.dimensions,Ue));else if(Fe){var jt=xe.get(Fe.dimensions[0],Ue),hn=xe.get(Fe.dimensions[1],Ue);At=Fe.dataToPoint([jt,hn])}isNaN(Dt)||(At[0]=Dt),isNaN(Lt)||(At[1]=Lt),xe.setItemLayout(Ue,At)})}var MarkPointView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markPoint");At&&(updateMarkerLayout(At.getData(),qe,Ue),this.markerGroupMap.get(qe.id).updateLayout())},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new SymbolDraw),vn=createData(At,Ie,Fe);Fe.setData(vn),updateMarkerLayout(Fe.getData(),Ie,qe),vn.each(function(bn){var _n=vn.getItemModel(bn),wn=_n.getShallow("symbol"),kn=_n.getShallow("symbolSize"),Cn=_n.getShallow("symbolRotate"),Sn=_n.getShallow("symbolOffset"),xn=_n.getShallow("symbolKeepAspect");if(isFunction$2(wn)||isFunction$2(kn)||isFunction$2(Cn)||isFunction$2(Sn)){var En=Fe.getRawValue(bn),Tn=Fe.getDataParams(bn);isFunction$2(wn)&&(wn=wn(En,Tn)),isFunction$2(kn)&&(kn=kn(En,Tn)),isFunction$2(Cn)&&(Cn=Cn(En,Tn)),isFunction$2(Sn)&&(Sn=Sn(En,Tn))}var An=_n.getModel("itemStyle").getItemStyle(),$n=getVisualFromData(Lt,"color");An.fill||(An.fill=$n),vn.setItemVisual(bn,{symbol:wn,symbolSize:kn,symbolRotate:Cn,symbolOffset:Sn,symbolKeepAspect:xn,style:An})}),hn.updateData(vn),this.group.add(hn.group),vn.eachItemGraphicEl(function(bn){bn.traverse(function(_n){getECData(_n).dataModel=Fe})}),this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markPoint",$e}(MarkerView);function createData(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(Dt){var Lt=$e.getData().getDimensionInfo($e.getData().mapDimension(Dt))||{};return extend$1(extend$1({},Lt),{name:Dt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=map$1(Ie.get("data"),curry$1(dataTransform,$e));xe&&(qe=filter(qe,curry$1(dataFilter,xe)));var At=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(qe,null,At),Ue}function install$f(xe){xe.registerComponentModel(MarkPointModel),xe.registerComponentView(MarkPointView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markPoint")&&($e.markPoint=$e.markPoint||{})})}var MarkLineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markLine",$e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},$e}(MarkerModel),inner$3=makeInner(),markLineTransform=function(xe,$e,Ie,Fe){var Ue=xe.getData(),qe;if(isArray$2(Fe))qe=Fe;else{var At=Fe.type;if(At==="min"||At==="max"||At==="average"||At==="median"||Fe.xAxis!=null||Fe.yAxis!=null){var Dt=void 0,Lt=void 0;if(Fe.yAxis!=null||Fe.xAxis!=null)Dt=$e.getAxis(Fe.yAxis!=null?"y":"x"),Lt=retrieve(Fe.yAxis,Fe.xAxis);else{var jt=getAxisInfo(Fe,Ue,$e,xe);Dt=jt.valueAxis;var hn=getStackedDimension(Ue,jt.valueDataDim);Lt=numCalculate(Ue,hn,At)}var vn=Dt.dim==="x"?0:1,bn=1-vn,_n=clone$4(Fe),wn={coord:[]};_n.type=null,_n.coord=[],_n.coord[bn]=-1/0,wn.coord[bn]=1/0;var kn=Ie.get("precision");kn>=0&&isNumber$2(Lt)&&(Lt=+Lt.toFixed(Math.min(kn,20))),_n.coord[vn]=wn.coord[vn]=Lt,qe=[_n,wn,{type:At,valueIndex:Fe.valueIndex,value:Lt}]}else qe=[]}var Cn=[dataTransform(xe,qe[0]),dataTransform(xe,qe[1]),extend$1({},qe[2])];return Cn[2].type=Cn[2].type||null,merge$1(Cn[2],Cn[0]),merge$1(Cn[2],Cn[1]),Cn};function isInfinity$1(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkLineHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe,qe=Fe.dimensions[xe];return isInfinity$1($e[Ue])&&isInfinity$1(Ie[Ue])&&$e[xe]===Ie[xe]&&Fe.getAxis(qe).containData($e[xe])}function markLineFilter(xe,$e){if(xe.type==="cartesian2d"){var Ie=$e[0].coord,Fe=$e[1].coord;if(Ie&&Fe&&(ifMarkLineHasOnlyDim(1,Ie,Fe,xe)||ifMarkLineHasOnlyDim(0,Ie,Fe,xe)))return!0}return dataFilter(xe,$e[0])&&dataFilter(xe,$e[1])}function updateSingleMarkerEndLayout(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get("x"),Ue.getWidth()),jt=parsePercent(At.get("y"),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition)Dt=Fe.getMarkerPosition(xe.getValues(xe.dimensions,$e));else{var hn=qe.dimensions,vn=xe.get(hn[0],$e),bn=xe.get(hn[1],$e);Dt=qe.dataToPoint([vn,bn])}if(isCoordinateSystemType(qe,"cartesian2d")){var _n=qe.getAxis("x"),wn=qe.getAxis("y"),hn=qe.dimensions;isInfinity$1(xe.get(hn[0],$e))?Dt[0]=_n.toGlobalCoord(_n.getExtent()[Ie?0:1]):isInfinity$1(xe.get(hn[1],$e))&&(Dt[1]=wn.toGlobalCoord(wn.getExtent()[Ie?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}xe.setItemLayout($e,Dt)}var MarkLineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markLine");if(At){var Dt=At.getData(),Lt=inner$3(At).from,jt=inner$3(At).to;Lt.each(function(hn){updateSingleMarkerEndLayout(Lt,hn,!0,qe,Ue),updateSingleMarkerEndLayout(jt,hn,!1,qe,Ue)}),Dt.each(function(hn){Dt.setItemLayout(hn,[Lt.getItemLayout(hn),jt.getItemLayout(hn)])}),this.markerGroupMap.get(qe.id).updateLayout()}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new LineDraw);this.group.add(hn.group);var vn=createList$2(At,Ie,Fe),bn=vn.from,_n=vn.to,wn=vn.line;inner$3(Fe).from=bn,inner$3(Fe).to=_n,Fe.setData(wn);var kn=Fe.get("symbol"),Cn=Fe.get("symbolSize"),Sn=Fe.get("symbolRotate"),xn=Fe.get("symbolOffset");isArray$2(kn)||(kn=[kn,kn]),isArray$2(Cn)||(Cn=[Cn,Cn]),isArray$2(Sn)||(Sn=[Sn,Sn]),isArray$2(xn)||(xn=[xn,xn]),vn.from.each(function(Tn){En(bn,Tn,!0),En(_n,Tn,!1)}),wn.each(function(Tn){var An=wn.getItemModel(Tn).getModel("lineStyle").getLineStyle();wn.setItemLayout(Tn,[bn.getItemLayout(Tn),_n.getItemLayout(Tn)]),An.stroke==null&&(An.stroke=bn.getItemVisual(Tn,"style").fill),wn.setItemVisual(Tn,{fromSymbolKeepAspect:bn.getItemVisual(Tn,"symbolKeepAspect"),fromSymbolOffset:bn.getItemVisual(Tn,"symbolOffset"),fromSymbolRotate:bn.getItemVisual(Tn,"symbolRotate"),fromSymbolSize:bn.getItemVisual(Tn,"symbolSize"),fromSymbol:bn.getItemVisual(Tn,"symbol"),toSymbolKeepAspect:_n.getItemVisual(Tn,"symbolKeepAspect"),toSymbolOffset:_n.getItemVisual(Tn,"symbolOffset"),toSymbolRotate:_n.getItemVisual(Tn,"symbolRotate"),toSymbolSize:_n.getItemVisual(Tn,"symbolSize"),toSymbol:_n.getItemVisual(Tn,"symbol"),style:An})}),hn.updateData(wn),vn.line.eachItemGraphicEl(function(Tn){getECData(Tn).dataModel=Fe,Tn.traverse(function(An){getECData(An).dataModel=Fe})});function En(Tn,An,$n){var Pn=Tn.getItemModel(An);updateSingleMarkerEndLayout(Tn,An,$n,Ie,qe);var Nn=Pn.getModel("itemStyle").getItemStyle();Nn.fill==null&&(Nn.fill=getVisualFromData(Lt,"color")),Tn.setItemVisual(An,{symbolKeepAspect:Pn.get("symbolKeepAspect"),symbolOffset:retrieve2(Pn.get("symbolOffset",!0),xn[$n?0:1]),symbolRotate:retrieve2(Pn.get("symbolRotate",!0),Sn[$n?0:1]),symbolSize:retrieve2(Pn.get("symbolSize"),Cn[$n?0:1]),symbol:retrieve2(Pn.get("symbol",!0),kn[$n?0:1]),style:Nn})}this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markLine",$e}(MarkerView);function createList$2(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(jt){var hn=$e.getData().getDimensionInfo($e.getData().mapDimension(jt))||{};return extend$1(extend$1({},hn),{name:jt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=new SeriesData(Fe,Ie),At=new SeriesData([],Ie),Dt=map$1(Ie.get("data"),curry$1(markLineTransform,$e,xe,Ie));xe&&(Dt=filter(Dt,curry$1(markLineFilter,xe)));var Lt=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(map$1(Dt,function(jt){return jt[0]}),null,Lt),qe.initData(map$1(Dt,function(jt){return jt[1]}),null,Lt),At.initData(map$1(Dt,function(jt){return jt[2]})),At.hasItemOption=!0,{from:Ue,to:qe,line:At}}function install$e(xe){xe.registerComponentModel(MarkLineModel),xe.registerComponentView(MarkLineView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markLine")&&($e.markLine=$e.markLine||{})})}var MarkAreaModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markArea",$e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},$e}(MarkerModel),inner$2=makeInner(),markAreaTransform=function(xe,$e,Ie,Fe){var Ue=Fe[0],qe=Fe[1];if(!(!Ue||!qe)){var At=dataTransform(xe,Ue),Dt=dataTransform(xe,qe),Lt=At.coord,jt=Dt.coord;Lt[0]=retrieve(Lt[0],-1/0),Lt[1]=retrieve(Lt[1],-1/0),jt[0]=retrieve(jt[0],1/0),jt[1]=retrieve(jt[1],1/0);var hn=mergeAll([{},At,Dt]);return hn.coord=[At.coord,Dt.coord],hn.x0=At.x,hn.y0=At.y,hn.x1=Dt.x,hn.y1=Dt.y,hn}};function isInfinity(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkAreaHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe;return isInfinity($e[Ue])&&isInfinity(Ie[Ue])}function markAreaFilter(xe,$e){var Ie=$e.coord[0],Fe=$e.coord[1],Ue={coord:Ie,x:$e.x0,y:$e.y0},qe={coord:Fe,x:$e.x1,y:$e.y1};return isCoordinateSystemType(xe,"cartesian2d")?Ie&&Fe&&(ifMarkAreaHasOnlyDim(1,Ie,Fe)||ifMarkAreaHasOnlyDim(0,Ie,Fe))?!0:zoneFilter(xe,Ue,qe):dataFilter(xe,Ue)||dataFilter(xe,qe)}function getSingleMarkerEndPoint(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get(Ie[0]),Ue.getWidth()),jt=parsePercent(At.get(Ie[1]),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition){var hn=xe.getValues(["x0","y0"],$e),vn=xe.getValues(["x1","y1"],$e),bn=qe.clampData(hn),_n=qe.clampData(vn),wn=[];Ie[0]==="x0"?wn[0]=bn[0]>_n[0]?vn[0]:hn[0]:wn[0]=bn[0]>_n[0]?hn[0]:vn[0],Ie[1]==="y0"?wn[1]=bn[1]>_n[1]?vn[1]:hn[1]:wn[1]=bn[1]>_n[1]?hn[1]:vn[1],Dt=Fe.getMarkerPosition(wn,Ie,!0)}else{var kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e),Sn=[kn,Cn];qe.clampData&&qe.clampData(Sn,Sn),Dt=qe.dataToPoint(Sn,!0)}if(isCoordinateSystemType(qe,"cartesian2d")){var xn=qe.getAxis("x"),En=qe.getAxis("y"),kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e);isInfinity(kn)?Dt[0]=xn.toGlobalCoord(xn.getExtent()[Ie[0]==="x0"?0:1]):isInfinity(Cn)&&(Dt[1]=En.toGlobalCoord(En.getExtent()[Ie[1]==="y0"?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}return Dt}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markArea");if(At){var Dt=At.getData();Dt.each(function(Lt){var jt=map$1(dimPermutations,function(vn){return getSingleMarkerEndPoint(Dt,Lt,vn,qe,Ue)});Dt.setItemLayout(Lt,jt);var hn=Dt.getItemGraphicEl(Lt);hn.setShape("points",jt)})}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,{group:new Group$3});this.group.add(hn.group),this.markKeep(hn);var vn=createList$1(At,Ie,Fe);Fe.setData(vn),vn.each(function(bn){var _n=map$1(dimPermutations,function(Nn){return getSingleMarkerEndPoint(vn,bn,Nn,Ie,qe)}),wn=At.getAxis("x").scale,kn=At.getAxis("y").scale,Cn=wn.getExtent(),Sn=kn.getExtent(),xn=[wn.parse(vn.get("x0",bn)),wn.parse(vn.get("x1",bn))],En=[kn.parse(vn.get("y0",bn)),kn.parse(vn.get("y1",bn))];asc$2(xn),asc$2(En);var Tn=!(Cn[0]>xn[1]||Cn[1]<xn[0]||Sn[0]>En[1]||Sn[1]<En[0]),An=!Tn;vn.setItemLayout(bn,{points:_n,allClipped:An});var $n=vn.getItemModel(bn).getModel("itemStyle").getItemStyle(),Pn=getVisualFromData(Lt,"color");$n.fill||($n.fill=Pn,isString$2($n.fill)&&($n.fill=modifyAlpha($n.fill,.4))),$n.stroke||($n.stroke=Pn),vn.setItemVisual(bn,"style",$n)}),vn.diff(inner$2(hn).data).add(function(bn){var _n=vn.getItemLayout(bn);if(!_n.allClipped){var wn=new Polygon({shape:{points:_n.points}});vn.setItemGraphicEl(bn,wn),hn.group.add(wn)}}).update(function(bn,_n){var wn=inner$2(hn).data.getItemGraphicEl(_n),kn=vn.getItemLayout(bn);kn.allClipped?wn&&hn.group.remove(wn):(wn?updateProps$1(wn,{shape:{points:kn.points}},Fe,bn):wn=new Polygon({shape:{points:kn.points}}),vn.setItemGraphicEl(bn,wn),hn.group.add(wn))}).remove(function(bn){var _n=inner$2(hn).data.getItemGraphicEl(bn);hn.group.remove(_n)}).execute(),vn.eachItemGraphicEl(function(bn,_n){var wn=vn.getItemModel(_n),kn=vn.getItemVisual(_n,"style");bn.useStyle(vn.getItemVisual(_n,"style")),setLabelStyle(bn,getLabelStatesModels(wn),{labelFetcher:Fe,labelDataIndex:_n,defaultText:vn.getName(_n)||"",inheritColor:isString$2(kn.fill)?modifyAlpha(kn.fill,1):"#000"}),setStatesStylesFromModel(bn,wn),toggleHoverEmphasis(bn,null,null,wn.get(["emphasis","disabled"])),getECData(bn).dataModel=Fe}),inner$2(hn).data=vn,hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markArea",$e}(MarkerView);function createList$1(xe,$e,Ie){var Fe,Ue,qe=["x0","y0","x1","y1"];if(xe){var At=map$1(xe&&xe.dimensions,function(jt){var hn=$e.getData(),vn=hn.getDimensionInfo(hn.mapDimension(jt))||{};return extend$1(extend$1({},vn),{name:jt,ordinalMeta:null})});Ue=map$1(qe,function(jt,hn){return{name:jt,type:At[hn%2].type}}),Fe=new SeriesData(Ue,Ie)}else Ue=[{name:"value",type:"float"}],Fe=new SeriesData(Ue,Ie);var Dt=map$1(Ie.get("data"),curry$1(markAreaTransform,$e,xe,Ie));xe&&(Dt=filter(Dt,curry$1(markAreaFilter,xe)));var Lt=xe?function(jt,hn,vn,bn){var _n=jt.coord[Math.floor(bn/2)][bn%2];return parseDataValue(_n,Ue[bn])}:function(jt,hn,vn,bn){return parseDataValue(jt.value,Ue[bn])};return Fe.initData(Dt,null,Lt),Fe.hasItemOption=!0,Fe}function install$d(xe){xe.registerComponentModel(MarkAreaModel),xe.registerComponentView(MarkAreaView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markArea")&&($e.markArea=$e.markArea||{})})}var getDefaultSelectorOptions=function(xe,$e){if($e==="all")return{type:"all",title:xe.getLocaleModel().get(["legend","selector","all"])};if($e==="inverse")return{type:"inverse",title:xe.getLocaleModel().get(["legend","selector","inverse"])}},LegendModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode={type:"box",ignoreSize:!0},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue),Ie.selected=Ie.selected||{},this._updateSelector(Ie)},$e.prototype.mergeOption=function(Ie,Fe){xe.prototype.mergeOption.call(this,Ie,Fe),this._updateSelector(Ie)},$e.prototype._updateSelector=function(Ie){var Fe=Ie.selector,Ue=this.ecModel;Fe===!0&&(Fe=Ie.selector=["all","inverse"]),isArray$2(Fe)&&each$f(Fe,function(qe,At){isString$2(qe)&&(qe={type:qe}),Fe[At]=merge$1(qe,getDefaultSelectorOptions(Ue,qe.type))})},$e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var Ie=this._data;if(Ie[0]&&this.get("selectedMode")==="single"){for(var Fe=!1,Ue=0;Ue<Ie.length;Ue++){var qe=Ie[Ue].get("name");if(this.isSelected(qe)){this.select(qe),Fe=!0;break}}!Fe&&this.select(Ie[0].get("name"))}},$e.prototype._updateData=function(Ie){var Fe=[],Ue=[];Ie.eachRawSeries(function(Lt){var jt=Lt.name;Ue.push(jt);var hn;if(Lt.legendVisualProvider){var vn=Lt.legendVisualProvider,bn=vn.getAllNames();Ie.isSeriesFiltered(Lt)||(Ue=Ue.concat(bn)),bn.length?Fe=Fe.concat(bn):hn=!0}else hn=!0;hn&&isNameSpecified(Lt)&&Fe.push(Lt.name)}),this._availableNames=Ue;var qe=this.get("data")||Fe,At=createHashMap(),Dt=map$1(qe,function(Lt){return(isString$2(Lt)||isNumber$2(Lt))&&(Lt={name:Lt}),At.get(Lt.name)?null:(At.set(Lt.name,!0),new Model(Lt,this,this.ecModel))},this);this._data=filter(Dt,function(Lt){return!!Lt})},$e.prototype.getData=function(){return this._data},$e.prototype.select=function(Ie){var Fe=this.option.selected,Ue=this.get("selectedMode");if(Ue==="single"){var qe=this._data;each$f(qe,function(At){Fe[At.get("name")]=!1})}Fe[Ie]=!0},$e.prototype.unSelect=function(Ie){this.get("selectedMode")!=="single"&&(this.option.selected[Ie]=!1)},$e.prototype.toggleSelected=function(Ie){var Fe=this.option.selected;Fe.hasOwnProperty(Ie)||(Fe[Ie]=!0),this[Fe[Ie]?"unSelect":"select"](Ie)},$e.prototype.allSelect=function(){var Ie=this._data,Fe=this.option.selected;each$f(Ie,function(Ue){Fe[Ue.get("name",!0)]=!0})},$e.prototype.inverseSelect=function(){var Ie=this._data,Fe=this.option.selected;each$f(Ie,function(Ue){var qe=Ue.get("name",!0);Fe.hasOwnProperty(qe)||(Fe[qe]=!0),Fe[qe]=!Fe[qe]})},$e.prototype.isSelected=function(Ie){var Fe=this.option.selected;return!(Fe.hasOwnProperty(Ie)&&!Fe[Ie])&&indexOf(this._availableNames,Ie)>=0},$e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},$e.type="legend.plain",$e.dependencies=["series"],$e.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}},$e}(ComponentModel),curry=curry$1,each$3=each$f,Group$1=Group$3,LegendView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.newlineDisabled=!1,Ie}return $e.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},$e.prototype.getContentGroup=function(){return this._contentGroup},$e.prototype.getSelectorGroup=function(){return this._selectorGroup},$e.prototype.render=function(Ie,Fe,Ue){var qe=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!Ie.get("show",!0)){var At=Ie.get("align"),Dt=Ie.get("orient");(!At||At==="auto")&&(At=Ie.get("left")==="right"&&Dt==="vertical"?"right":"left");var Lt=Ie.get("selector",!0),jt=Ie.get("selectorPosition",!0);Lt&&(!jt||jt==="auto")&&(jt=Dt==="horizontal"?"end":"start"),this.renderInner(At,Ie,Fe,Ue,Lt,Dt,jt);var hn=Ie.getBoxLayoutParams(),vn={width:Ue.getWidth(),height:Ue.getHeight()},bn=Ie.get("padding"),_n=getLayoutRect(hn,vn,bn),wn=this.layoutInner(Ie,At,_n,qe,Lt,jt),kn=getLayoutRect(defaults$1({width:wn.width,height:wn.height},hn),vn,bn);this.group.x=kn.x-wn.x,this.group.y=kn.y-wn.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(wn,Ie))}},$e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},$e.prototype.renderInner=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this.getContentGroup(),hn=createHashMap(),vn=Fe.get("selectedMode"),bn=[];Ue.eachRawSeries(function(_n){!_n.get("legendHoverLink")&&bn.push(_n.id)}),each$3(Fe.getData(),function(_n,wn){var kn=_n.get("name");if(!this.newlineDisabled&&(kn===""||kn===`
`)){var Cn=new Group$1;Cn.newline=!0,jt.add(Cn);return}var Sn=Ue.getSeriesByName(kn)[0];if(!hn.get(kn))if(Sn){var xn=Sn.getData(),En=xn.getVisual("legendLineStyle")||{},Tn=xn.getVisual("legendIcon"),An=xn.getVisual("style"),$n=this._createItem(Sn,kn,wn,_n,Fe,Ie,En,An,Tn,vn,qe);$n.on("click",curry(dispatchSelectAction,kn,null,qe,bn)).on("mouseover",curry(dispatchHighlightAction,Sn.name,null,qe,bn)).on("mouseout",curry(dispatchDownplayAction,Sn.name,null,qe,bn)),Ue.ssr&&$n.eachChild(function(Pn){var Nn=getECData(Pn);Nn.seriesIndex=Sn.seriesIndex,Nn.dataIndex=wn,Nn.ssrType="legend"}),hn.set(kn,!0)}else Ue.eachRawSeries(function(Pn){if(!hn.get(kn)&&Pn.legendVisualProvider){var Nn=Pn.legendVisualProvider;if(!Nn.containName(kn))return;var Mn=Nn.indexOfName(kn),In=Nn.getItemVisual(Mn,"style"),On=Nn.getItemVisual(Mn,"legendIcon"),Rn=parse(In.fill);Rn&&Rn[3]===0&&(Rn[3]=.2,In=extend$1(extend$1({},In),{fill:stringify(Rn,"rgba")}));var Bn=this._createItem(Pn,kn,wn,_n,Fe,Ie,{},In,On,vn,qe);Bn.on("click",curry(dispatchSelectAction,null,kn,qe,bn)).on("mouseover",curry(dispatchHighlightAction,null,kn,qe,bn)).on("mouseout",curry(dispatchDownplayAction,null,kn,qe,bn)),Ue.ssr&&Bn.eachChild(function(Vn){var Ln=getECData(Vn);Ln.seriesIndex=Pn.seriesIndex,Ln.dataIndex=wn,Ln.ssrType="legend"}),hn.set(kn,!0)}},this)},this),At&&this._createSelector(At,Fe,qe,Dt,Lt)},$e.prototype._createSelector=function(Ie,Fe,Ue,qe,At){var Dt=this.getSelectorGroup();each$3(Ie,function(jt){var hn=jt.type,vn=new ZRText({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){Ue.dispatchAction({type:hn==="all"?"legendAllSelect":"legendInverseSelect"})}});Dt.add(vn);var bn=Fe.getModel("selectorLabel"),_n=Fe.getModel(["emphasis","selectorLabel"]);setLabelStyle(vn,{normal:bn,emphasis:_n},{defaultText:jt.title}),enableHoverEmphasis(vn)})},$e.prototype._createItem=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn,bn){var _n=Ie.visualDrawType,wn=At.get("itemWidth"),kn=At.get("itemHeight"),Cn=At.isSelected(Fe),Sn=qe.get("symbolRotate"),xn=qe.get("symbolKeepAspect"),En=qe.get("icon");hn=En||hn||"roundRect";var Tn=getLegendStyle(hn,qe,Lt,jt,_n,Cn,bn),An=new Group$1,$n=qe.getModel("textStyle");if(isFunction$2(Ie.getLegendIcon)&&(!En||En==="inherit"))An.add(Ie.getLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Sn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}));else{var Pn=En==="inherit"&&Ie.getData().getVisual("symbol")?Sn==="inherit"?Ie.getData().getVisual("symbolRotate"):Sn:0;An.add(getDefaultLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Pn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}))}var Nn=Dt==="left"?wn+5:-5,Mn=Dt,In=At.get("formatter"),On=Fe;isString$2(In)&&In?On=In.replace("{name}",Fe??""):isFunction$2(In)&&(On=In(Fe));var Rn=Cn?$n.getTextColor():qe.get("inactiveColor");An.add(new ZRText({style:createTextStyle($n,{text:On,x:Nn,y:kn/2,fill:Rn,align:Mn,verticalAlign:"middle"},{inheritColor:Rn})}));var Bn=new Rect$2({shape:An.getBoundingRect(),style:{fill:"transparent"}}),Vn=qe.getModel("tooltip");return Vn.get("show")&&setTooltipConfig({el:Bn,componentModel:At,itemName:Fe,itemTooltipOption:Vn.option}),An.add(Bn),An.eachChild(function(Ln){Ln.silent=!0}),Bn.silent=!vn,this.getContentGroup().add(An),enableHoverEmphasis(An),An.__legendDataIndex=Ue,An},$e.prototype.layoutInner=function(Ie,Fe,Ue,qe,At,Dt){var Lt=this.getContentGroup(),jt=this.getSelectorGroup();box(Ie.get("orient"),Lt,Ie.get("itemGap"),Ue.width,Ue.height);var hn=Lt.getBoundingRect(),vn=[-hn.x,-hn.y];if(jt.markRedraw(),Lt.markRedraw(),At){box("horizontal",jt,Ie.get("selectorItemGap",!0));var bn=jt.getBoundingRect(),_n=[-bn.x,-bn.y],wn=Ie.get("selectorButtonGap",!0),kn=Ie.getOrient().index,Cn=kn===0?"width":"height",Sn=kn===0?"height":"width",xn=kn===0?"y":"x";Dt==="end"?_n[kn]+=hn[Cn]+wn:vn[kn]+=bn[Cn]+wn,_n[1-kn]+=hn[Sn]/2-bn[Sn]/2,jt.x=_n[0],jt.y=_n[1],Lt.x=vn[0],Lt.y=vn[1];var En={x:0,y:0};return En[Cn]=hn[Cn]+wn+bn[Cn],En[Sn]=Math.max(hn[Sn],bn[Sn]),En[xn]=Math.min(0,bn[xn]+_n[1-kn]),En}else return Lt.x=vn[0],Lt.y=vn[1],this.group.getBoundingRect()},$e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},$e.type="legend.plain",$e}(ComponentView);function getLegendStyle(xe,$e,Ie,Fe,Ue,qe,At){function Dt(Cn,Sn){Cn.lineWidth==="auto"&&(Cn.lineWidth=Sn.lineWidth>0?2:0),each$3(Cn,function(xn,En){Cn[En]==="inherit"&&(Cn[En]=Sn[En])})}var Lt=$e.getModel("itemStyle"),jt=Lt.getItemStyle(),hn=xe.lastIndexOf("empty",0)===0?"fill":"stroke",vn=Lt.getShallow("decal");jt.decal=!vn||vn==="inherit"?Fe.decal:createOrUpdatePatternFromDecal(vn,At),jt.fill==="inherit"&&(jt.fill=Fe[Ue]),jt.stroke==="inherit"&&(jt.stroke=Fe[hn]),jt.opacity==="inherit"&&(jt.opacity=(Ue==="fill"?Fe:Ie).opacity),Dt(jt,Fe);var bn=$e.getModel("lineStyle"),_n=bn.getLineStyle();if(Dt(_n,Ie),jt.fill==="auto"&&(jt.fill=Fe.fill),jt.stroke==="auto"&&(jt.stroke=Fe.fill),_n.stroke==="auto"&&(_n.stroke=Fe.fill),!qe){var wn=$e.get("inactiveBorderWidth"),kn=jt[hn];jt.lineWidth=wn==="auto"?Fe.lineWidth>0&&kn?2:0:jt.lineWidth,jt.fill=$e.get("inactiveColor"),jt.stroke=$e.get("inactiveBorderColor"),_n.stroke=bn.get("inactiveColor"),_n.lineWidth=bn.get("inactiveWidth")}return{itemStyle:jt,lineStyle:_n}}function getDefaultLegendIcon(xe){var $e=xe.icon||"roundRect",Ie=createSymbol$1($e,0,0,xe.itemWidth,xe.itemHeight,xe.itemStyle.fill,xe.symbolKeepAspect);return Ie.setStyle(xe.itemStyle),Ie.rotation=(xe.iconRotate||0)*Math.PI/180,Ie.setOrigin([xe.itemWidth/2,xe.itemHeight/2]),$e.indexOf("empty")>-1&&(Ie.style.stroke=Ie.style.fill,Ie.style.fill="#fff",Ie.style.lineWidth=2),Ie}function dispatchSelectAction(xe,$e,Ie,Fe){dispatchDownplayAction(xe,$e,Ie,Fe),Ie.dispatchAction({type:"legendToggleSelect",name:xe??$e}),dispatchHighlightAction(xe,$e,Ie,Fe)}function isUseHoverLayer(xe){for(var $e=xe.getZr().storage.getDisplayList(),Ie,Fe=0,Ue=$e.length;Fe<Ue&&!(Ie=$e[Fe].states.emphasis);)Fe++;return Ie&&Ie.hoverLayer}function dispatchHighlightAction(xe,$e,Ie,Fe){isUseHoverLayer(Ie)||Ie.dispatchAction({type:"highlight",seriesName:xe,name:$e,excludeSeriesId:Fe})}function dispatchDownplayAction(xe,$e,Ie,Fe){isUseHoverLayer(Ie)||Ie.dispatchAction({type:"downplay",seriesName:xe,name:$e,excludeSeriesId:Fe})}function legendFilter(xe){var $e=xe.findComponents({mainType:"legend"});$e&&$e.length&&xe.filterSeries(function(Ie){for(var Fe=0;Fe<$e.length;Fe++)if(!$e[Fe].isSelected(Ie.name))return!1;return!0})}function legendSelectActionHandler(xe,$e,Ie){var Fe={},Ue=xe==="toggleSelected",qe;return Ie.eachComponent("legend",function(At){Ue&&qe!=null?At[qe?"select":"unSelect"]($e.name):xe==="allSelect"||xe==="inverseSelect"?At[xe]():(At[xe]($e.name),qe=At.isSelected($e.name));var Dt=At.getData();each$f(Dt,function(Lt){var jt=Lt.get("name");if(!(jt===`
`||jt==="")){var hn=At.isSelected(jt);Fe.hasOwnProperty(jt)?Fe[jt]=Fe[jt]&&hn:Fe[jt]=hn}})}),xe==="allSelect"||xe==="inverseSelect"?{selected:Fe}:{name:$e.name,selected:Fe}}function installLegendAction(xe){xe.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),xe.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),xe.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),xe.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),xe.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$c(xe){xe.registerComponentModel(LegendModel),xe.registerComponentView(LegendView),xe.registerProcessor(xe.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),xe.registerSubTypeDefaulter("legend",function(){return"plain"}),installLegendAction(xe)}var ScrollableLegendModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.setScrollDataIndex=function(Ie){this.option.scrollDataIndex=Ie},$e.prototype.init=function(Ie,Fe,Ue){var qe=getLayoutParams(Ie);xe.prototype.init.call(this,Ie,Fe,Ue),mergeAndNormalizeLayoutParams(this,Ie,qe)},$e.prototype.mergeOption=function(Ie,Fe){xe.prototype.mergeOption.call(this,Ie,Fe),mergeAndNormalizeLayoutParams(this,this.option,Ie)},$e.type="legend.scroll",$e.defaultOption=inheritDefaultOption(LegendModel.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}),$e}(LegendModel);function mergeAndNormalizeLayoutParams(xe,$e,Ie){var Fe=xe.getOrient(),Ue=[1,1];Ue[Fe.index]=0,mergeLayoutParam($e,Ie,{type:"box",ignoreSize:!!Ue})}var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.newlineDisabled=!0,Ie._currentIndex=0,Ie}return $e.prototype.init=function(){xe.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},$e.prototype.resetInner=function(){xe.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},$e.prototype.renderInner=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this;xe.prototype.renderInner.call(this,Ie,Fe,Ue,qe,At,Dt,Lt);var hn=this._controllerGroup,vn=Fe.get("pageIconSize",!0),bn=isArray$2(vn)?vn:[vn,vn];wn("pagePrev",0);var _n=Fe.getModel("pageTextStyle");hn.add(new ZRText({name:"pageText",style:{text:"xx/xx",fill:_n.getTextColor(),font:_n.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),wn("pageNext",1);function wn(kn,Cn){var Sn=kn+"DataIndex",xn=createIcon(Fe.get("pageIcons",!0)[Fe.getOrient().name][Cn],{onclick:bind$2(jt._pageGo,jt,Sn,Fe,qe)},{x:-bn[0]/2,y:-bn[1]/2,width:bn[0],height:bn[1]});xn.name=kn,hn.add(xn)}},$e.prototype.layoutInner=function(Ie,Fe,Ue,qe,At,Dt){var Lt=this.getSelectorGroup(),jt=Ie.getOrient().index,hn=WH[jt],vn=XY[jt],bn=WH[1-jt],_n=XY[1-jt];At&&box("horizontal",Lt,Ie.get("selectorItemGap",!0));var wn=Ie.get("selectorButtonGap",!0),kn=Lt.getBoundingRect(),Cn=[-kn.x,-kn.y],Sn=clone$4(Ue);At&&(Sn[hn]=Ue[hn]-kn[hn]-wn);var xn=this._layoutContentAndController(Ie,qe,Sn,jt,hn,bn,_n,vn);if(At){if(Dt==="end")Cn[jt]+=xn[hn]+wn;else{var En=kn[hn]+wn;Cn[jt]-=En,xn[vn]-=En}xn[hn]+=kn[hn]+wn,Cn[1-jt]+=xn[_n]+xn[bn]/2-kn[bn]/2,xn[bn]=Math.max(xn[bn],kn[bn]),xn[_n]=Math.min(xn[_n],kn[_n]+Cn[1-jt]),Lt.x=Cn[0],Lt.y=Cn[1],Lt.markRedraw()}return xn},$e.prototype._layoutContentAndController=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=this.getContentGroup(),vn=this._containerGroup,bn=this._controllerGroup;box(Ie.get("orient"),hn,Ie.get("itemGap"),qe?Ue.width:null,qe?null:Ue.height),box("horizontal",bn,Ie.get("pageButtonItemGap",!0));var _n=hn.getBoundingRect(),wn=bn.getBoundingRect(),kn=this._showController=_n[At]>Ue[At],Cn=[-_n.x,-_n.y];Fe||(Cn[qe]=hn[jt]);var Sn=[0,0],xn=[-wn.x,-wn.y],En=retrieve2(Ie.get("pageButtonGap",!0),Ie.get("itemGap",!0));if(kn){var Tn=Ie.get("pageButtonPosition",!0);Tn==="end"?xn[qe]+=Ue[At]-wn[At]:Sn[qe]+=wn[At]+En}xn[1-qe]+=_n[Dt]/2-wn[Dt]/2,hn.setPosition(Cn),vn.setPosition(Sn),bn.setPosition(xn);var An={x:0,y:0};if(An[At]=kn?Ue[At]:_n[At],An[Dt]=Math.max(_n[Dt],wn[Dt]),An[Lt]=Math.min(0,wn[Lt]+xn[1-qe]),vn.__rectSize=Ue[At],kn){var $n={x:0,y:0};$n[At]=Math.max(Ue[At]-wn[At]-En,0),$n[Dt]=An[Dt],vn.setClipPath(new Rect$2({shape:$n})),vn.__rectSize=$n[At]}else bn.eachChild(function(Nn){Nn.attr({invisible:!0,silent:!0})});var Pn=this._getPageInfo(Ie);return Pn.pageIndex!=null&&updateProps$1(hn,{x:Pn.contentPosition[0],y:Pn.contentPosition[1]},kn?Ie:null),this._updatePageInfoView(Ie,Pn),An},$e.prototype._pageGo=function(Ie,Fe,Ue){var qe=this._getPageInfo(Fe)[Ie];qe!=null&&Ue.dispatchAction({type:"legendScroll",scrollDataIndex:qe,legendId:Fe.id})},$e.prototype._updatePageInfoView=function(Ie,Fe){var Ue=this._controllerGroup;each$f(["pagePrev","pageNext"],function(hn){var vn=hn+"DataIndex",bn=Fe[vn]!=null,_n=Ue.childOfName(hn);_n&&(_n.setStyle("fill",bn?Ie.get("pageIconColor",!0):Ie.get("pageIconInactiveColor",!0)),_n.cursor=bn?"pointer":"default")});var qe=Ue.childOfName("pageText"),At=Ie.get("pageFormatter"),Dt=Fe.pageIndex,Lt=Dt!=null?Dt+1:0,jt=Fe.pageCount;qe&&At&&qe.setStyle("text",isString$2(At)?At.replace("{current}",Lt==null?"":Lt+"").replace("{total}",jt==null?"":jt+""):At({current:Lt,total:jt}))},$e.prototype._getPageInfo=function(Ie){var Fe=Ie.get("scrollDataIndex",!0),Ue=this.getContentGroup(),qe=this._containerGroup.__rectSize,At=Ie.getOrient().index,Dt=WH[At],Lt=XY[At],jt=this._findTargetItemIndex(Fe),hn=Ue.children(),vn=hn[jt],bn=hn.length,_n=bn?1:0,wn={contentPosition:[Ue.x,Ue.y],pageCount:_n,pageIndex:_n-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!vn)return wn;var kn=Tn(vn);wn.contentPosition[At]=-kn.s;for(var Cn=jt+1,Sn=kn,xn=kn,En=null;Cn<=bn;++Cn)En=Tn(hn[Cn]),(!En&&xn.e>Sn.s+qe||En&&!An(En,Sn.s))&&(xn.i>Sn.i?Sn=xn:Sn=En,Sn&&(wn.pageNextDataIndex==null&&(wn.pageNextDataIndex=Sn.i),++wn.pageCount)),xn=En;for(var Cn=jt-1,Sn=kn,xn=kn,En=null;Cn>=-1;--Cn)En=Tn(hn[Cn]),(!En||!An(xn,En.s))&&Sn.i<xn.i&&(xn=Sn,wn.pagePrevDataIndex==null&&(wn.pagePrevDataIndex=Sn.i),++wn.pageCount,++wn.pageIndex),Sn=En;return wn;function Tn($n){if($n){var Pn=$n.getBoundingRect(),Nn=Pn[Lt]+$n[Lt];return{s:Nn,e:Nn+Pn[Dt],i:$n.__legendDataIndex}}}function An($n,Pn){return $n.e>=Pn&&$n.s<=Pn+qe}},$e.prototype._findTargetItemIndex=function(Ie){if(!this._showController)return 0;var Fe,Ue=this.getContentGroup(),qe;return Ue.eachChild(function(At,Dt){var Lt=At.__legendDataIndex;qe==null&&Lt!=null&&(qe=Dt),Lt===Ie&&(Fe=Dt)}),Fe??qe},$e.type="legend.scroll",$e}(LegendView);function installScrollableLegendAction(xe){xe.registerAction("legendScroll","legendscroll",function($e,Ie){var Fe=$e.scrollDataIndex;Fe!=null&&Ie.eachComponent({mainType:"legend",subType:"scroll",query:$e},function(Ue){Ue.setScrollDataIndex(Fe)})})}function install$b(xe){use(install$c),xe.registerComponentModel(ScrollableLegendModel),xe.registerComponentView(ScrollableLegendView),installScrollableLegendAction(xe)}function install$a(xe){use(install$c),use(install$b)}var InsideZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.inside",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),$e}(DataZoomModel),inner$1=makeInner();function setViewInfoToCoordSysRecord(xe,$e,Ie){inner$1(xe).coordSysRecordMap.each(function(Fe){var Ue=Fe.dataZoomInfoMap.get($e.uid);Ue&&(Ue.getRange=Ie)})}function disposeCoordSysRecordIfNeeded(xe,$e){for(var Ie=inner$1(xe).coordSysRecordMap,Fe=Ie.keys(),Ue=0;Ue<Fe.length;Ue++){var qe=Fe[Ue],At=Ie.get(qe),Dt=At.dataZoomInfoMap;if(Dt){var Lt=$e.uid,jt=Dt.get(Lt);jt&&(Dt.removeKey(Lt),Dt.keys().length||disposeCoordSysRecord(Ie,At))}}}function disposeCoordSysRecord(xe,$e){if($e){xe.removeKey($e.model.uid);var Ie=$e.controller;Ie&&Ie.dispose()}}function createCoordSysRecord(xe,$e){var Ie={model:$e,containsPoint:curry$1(containsPoint,$e),dispatchAction:curry$1(dispatchAction,xe),dataZoomInfoMap:null,controller:null},Fe=Ie.controller=new RoamController(xe.getZr());return each$f(["pan","zoom","scrollMove"],function(Ue){Fe.on(Ue,function(qe){var At=[];Ie.dataZoomInfoMap.each(function(Dt){if(qe.isAvailableBehavior(Dt.model.option)){var Lt=(Dt.getRange||{})[Ue],jt=Lt&&Lt(Dt.dzReferCoordSysInfo,Ie.model.mainType,Ie.controller,qe);!Dt.model.get("disabled",!0)&&jt&&At.push({dataZoomId:Dt.model.id,start:jt[0],end:jt[1]})}}),At.length&&Ie.dispatchAction(At)})}),Ie}function dispatchAction(xe,$e){xe.isDisposed()||xe.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:$e})}function containsPoint(xe,$e,Ie,Fe){return xe.coordinateSystem.containPoint([Ie,Fe])}function mergeControllerParams(xe){var $e,Ie="type_",Fe={type_true:2,type_move:1,type_false:0,type_undefined:-1},Ue=!0;return xe.each(function(qe){var At=qe.model,Dt=At.get("disabled",!0)?!1:At.get("zoomLock",!0)?"move":!0;Fe[Ie+Dt]>Fe[Ie+$e]&&($e=Dt),Ue=Ue&&At.get("preventDefaultMouseMove",!0)}),{controlType:$e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!Ue}}}function installDataZoomRoamProcessor(xe){xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,function($e,Ie){var Fe=inner$1(Ie),Ue=Fe.coordSysRecordMap||(Fe.coordSysRecordMap=createHashMap());Ue.each(function(qe){qe.dataZoomInfoMap=null}),$e.eachComponent({mainType:"dataZoom",subType:"inside"},function(qe){var At=collectReferCoordSysModelInfo(qe);each$f(At.infoList,function(Dt){var Lt=Dt.model.uid,jt=Ue.get(Lt)||Ue.set(Lt,createCoordSysRecord(Ie,Dt.model)),hn=jt.dataZoomInfoMap||(jt.dataZoomInfoMap=createHashMap());hn.set(qe.uid,{dzReferCoordSysInfo:Dt,model:qe,getRange:null})})}),Ue.each(function(qe){var At=qe.controller,Dt,Lt=qe.dataZoomInfoMap;if(Lt){var jt=Lt.keys()[0];jt!=null&&(Dt=Lt.get(jt))}if(!Dt){disposeCoordSysRecord(Ue,qe);return}var hn=mergeControllerParams(Lt);At.enable(hn.controlType,hn.opt),At.setPointerChecker(qe.containsPoint),createOrUpdate(qe,"dispatchAction",Dt.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataZoom.inside",Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(xe.prototype.render.apply(this,arguments),Ie.noTarget()){this._clear();return}this.range=Ie.getPercentRange(),setViewInfoToCoordSysRecord(Ue,Ie,{pan:bind$2(getRangeHandlers.pan,this),zoom:bind$2(getRangeHandlers.zoom,this),scrollMove:bind$2(getRangeHandlers.scrollMove,this)})},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},$e.type="dataZoom.inside",$e}(DataZoomView),getRangeHandlers={zoom:function(xe,$e,Ie,Fe){var Ue=this.range,qe=Ue.slice(),At=xe.axisModels[0];if(At){var Dt=getDirectionInfo[$e](null,[Fe.originX,Fe.originY],At,Ie,xe),Lt=(Dt.signal>0?Dt.pixelStart+Dt.pixelLength-Dt.pixel:Dt.pixel-Dt.pixelStart)/Dt.pixelLength*(qe[1]-qe[0])+qe[0],jt=Math.max(1/Fe.scale,0);qe[0]=(qe[0]-Lt)*jt+Lt,qe[1]=(qe[1]-Lt)*jt+Lt;var hn=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,qe,[0,100],0,hn.minSpan,hn.maxSpan),this.range=qe,Ue[0]!==qe[0]||Ue[1]!==qe[1])return qe}},pan:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([qe.oldX,qe.oldY],[qe.newX,qe.newY],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*At.pixel/At.pixelLength}),scrollMove:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([0,0],[qe.scrollDelta,qe.scrollDelta],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*qe.scrollDelta})};function makeMover(xe){return function($e,Ie,Fe,Ue){var qe=this.range,At=qe.slice(),Dt=$e.axisModels[0];if(Dt){var Lt=xe(At,Dt,$e,Ie,Fe,Ue);if(sliderMove(Lt,At,[0,100],"all"),this.range=At,qe[0]!==At[0]||qe[1]!==At[1])return At}}}var getDirectionInfo={grid:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem.getRect();return xe=xe||[0,0],qe.dim==="x"?(At.pixel=$e[0]-xe[0],At.pixelLength=Dt.width,At.pixelStart=Dt.x,At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=Dt.height,At.pixelStart=Dt.y,At.signal=qe.inverse?-1:1),At},polar:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem,Lt=Dt.getRadiusAxis().getExtent(),jt=Dt.getAngleAxis().getExtent();return xe=xe?Dt.pointToCoord(xe):[0,0],$e=Dt.pointToCoord($e),Ie.mainType==="radiusAxis"?(At.pixel=$e[0]-xe[0],At.pixelLength=Lt[1]-Lt[0],At.pixelStart=Lt[0],At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=jt[1]-jt[0],At.pixelStart=jt[0],At.signal=qe.inverse?-1:1),At},singleAxis:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At=Ue.model.coordinateSystem.getRect(),Dt={};return xe=xe||[0,0],qe.orient==="horizontal"?(Dt.pixel=$e[0]-xe[0],Dt.pixelLength=At.width,Dt.pixelStart=At.x,Dt.signal=qe.inverse?1:-1):(Dt.pixel=$e[1]-xe[1],Dt.pixelLength=At.height,Dt.pixelStart=At.y,Dt.signal=qe.inverse?-1:1),Dt}};function install$9(xe){installCommon$1(xe),xe.registerComponentModel(InsideZoomModel),xe.registerComponentView(InsideZoomView),installDataZoomRoamProcessor(xe)}var SliderZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.slider",$e.layoutMode="box",$e.defaultOption=inheritDefaultOption(DataZoomModel.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"}}}),$e}(DataZoomModel),Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._displayables={},Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe,this._onBrush=bind$2(this._onBrush,this),this._onBrushEnd=bind$2(this._onBrushEnd,this)},$e.prototype.render=function(Ie,Fe,Ue,qe){if(xe.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}(!qe||qe.type!=="dataZoom"||qe.from!==this.uid)&&this._buildView(),this._updateView()},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var Ie=this.api.getZr();Ie.off("mousemove",this._onBrush),Ie.off("mouseup",this._onBrushEnd)},$e.prototype._buildView=function(){var Ie=this.group;Ie.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var Fe=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),Ie.add(Fe),this._positionGroup()},$e.prototype._resetLocation=function(){var Ie=this.dataZoomModel,Fe=this.api,Ue=Ie.get("brushSelect"),qe=Ue?DEFAULT_MOVE_HANDLE_SIZE:0,At=this._findCoordRect(),Dt={width:Fe.getWidth(),height:Fe.getHeight()},Lt=this._orient===HORIZONTAL$1?{right:Dt.width-At.x-At.width,top:Dt.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-qe,width:At.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:At.y,width:DEFAULT_FILLER_SIZE,height:At.height},jt=getLayoutParams(Ie.option);each$f(["right","top","width","height"],function(vn){jt[vn]==="ph"&&(jt[vn]=Lt[vn])});var hn=getLayoutRect(jt,Dt);this._location={x:hn.x,y:hn.y},this._size=[hn.width,hn.height],this._orient===VERTICAL$1&&this._size.reverse()},$e.prototype._positionGroup=function(){var Ie=this.group,Fe=this._location,Ue=this._orient,qe=this.dataZoomModel.getFirstTargetAxisModel(),At=qe&&qe.get("inverse"),Dt=this._displayables.sliderGroup,Lt=(this._dataShadowInfo||{}).otherAxisInverse;Dt.attr(Ue===HORIZONTAL$1&&!At?{scaleY:Lt?1:-1,scaleX:1}:Ue===HORIZONTAL$1&&At?{scaleY:Lt?1:-1,scaleX:-1}:Ue===VERTICAL$1&&!At?{scaleY:Lt?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:Lt?-1:1,scaleX:-1,rotation:Math.PI/2});var jt=Ie.getBoundingRect([Dt]);Ie.x=Fe.x-jt.x,Ie.y=Fe.y-jt.y,Ie.markRedraw()},$e.prototype._getViewExtent=function(){return[0,this._size[0]]},$e.prototype._renderBackground=function(){var Ie=this.dataZoomModel,Fe=this._size,Ue=this._displayables.sliderGroup,qe=Ie.get("brushSelect");Ue.add(new Rect({silent:!0,shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:Ie.get("backgroundColor")},z2:-40}));var At=new Rect({shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:"transparent"},z2:0,onclick:bind$2(this._onClickPanel,this)}),Dt=this.api.getZr();qe?(At.on("mousedown",this._onBrushStart,this),At.cursor="crosshair",Dt.on("mousemove",this._onBrush),Dt.on("mouseup",this._onBrushEnd)):(Dt.off("mousemove",this._onBrush),Dt.off("mouseup",this._onBrushEnd)),Ue.add(At)},$e.prototype._renderDataShadow=function(){var Ie=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!Ie)return;var Fe=this._size,Ue=this._shadowSize||[],qe=Ie.series,At=qe.getRawData(),Dt=qe.getShadowDim&&qe.getShadowDim(),Lt=Dt&&At.getDimensionInfo(Dt)?qe.getShadowDim():Ie.otherDim;if(Lt==null)return;var jt=this._shadowPolygonPts,hn=this._shadowPolylinePts;if(At!==this._shadowData||Lt!==this._shadowDim||Fe[0]!==Ue[0]||Fe[1]!==Ue[1]){var vn=At.getDataExtent(Lt),bn=(vn[1]-vn[0])*.3;vn=[vn[0]-bn,vn[1]+bn];var _n=[0,Fe[1]],wn=[0,Fe[0]],kn=[[Fe[0],0],[0,0]],Cn=[],Sn=wn[1]/(At.count()-1),xn=0,En=Math.round(At.count()/Fe[0]),Tn;At.each([Lt],function(Mn,In){if(En>0&&In%En){xn+=Sn;return}var On=Mn==null||isNaN(Mn)||Mn==="",Rn=On?0:linearMap$2(Mn,vn,_n,!0);On&&!Tn&&In?(kn.push([kn[kn.length-1][0],0]),Cn.push([Cn[Cn.length-1][0],0])):!On&&Tn&&(kn.push([xn,0]),Cn.push([xn,0])),kn.push([xn,Rn]),Cn.push([xn,Rn]),xn+=Sn,Tn=On}),jt=this._shadowPolygonPts=kn,hn=this._shadowPolylinePts=Cn}this._shadowData=At,this._shadowDim=Lt,this._shadowSize=[Fe[0],Fe[1]];var An=this.dataZoomModel;function $n(Mn){var In=An.getModel(Mn?"selectedDataBackground":"dataBackground"),On=new Group$3,Rn=new Polygon({shape:{points:jt},segmentIgnoreThreshold:1,style:In.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Bn=new Polyline$1({shape:{points:hn},segmentIgnoreThreshold:1,style:In.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return On.add(Rn),On.add(Bn),On}for(var Pn=0;Pn<3;Pn++){var Nn=$n(Pn===1);this._displayables.sliderGroup.add(Nn),this._displayables.dataShadowSegs.push(Nn)}},$e.prototype._prepareDataShadowInfo=function(){var Ie=this.dataZoomModel,Fe=Ie.get("showDataShadow");if(Fe!==!1){var Ue,qe=this.ecModel;return Ie.eachTargetAxis(function(At,Dt){var Lt=Ie.getAxisProxy(At,Dt).getTargetSeriesModels();each$f(Lt,function(jt){if(!Ue&&!(Fe!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,jt.get("type"))<0)){var hn=qe.getComponent(getAxisMainType(At),Dt).axis,vn=getOtherDim(At),bn,_n=jt.coordinateSystem;vn!=null&&_n.getOtherAxis&&(bn=_n.getOtherAxis(hn).inverse),vn=jt.getData().mapDimension(vn),Ue={thisAxis:hn,series:jt,thisDim:At,otherDim:vn,otherAxisInverse:bn}}},this)},this),Ue}},$e.prototype._renderHandle=function(){var Ie=this.group,Fe=this._displayables,Ue=Fe.handles=[null,null],qe=Fe.handleLabels=[null,null],At=this._displayables.sliderGroup,Dt=this._size,Lt=this.dataZoomModel,jt=this.api,hn=Lt.get("borderRadius")||0,vn=Lt.get("brushSelect"),bn=Fe.filler=new Rect({silent:vn,style:{fill:Lt.get("fillerColor")},textConfig:{position:"inside"}});At.add(bn),At.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:Dt[0],height:Dt[1],r:hn},style:{stroke:Lt.get("dataBackgroundColor")||Lt.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(En){var Tn=Lt.get("handleIcon");!symbolBuildProxies[Tn]&&Tn.indexOf("path://")<0&&Tn.indexOf("image://")<0&&(Tn="path://"+Tn);var An=createSymbol$1(Tn,-1,0,2,2,null,!0);An.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$2(this._onDragMove,this,En),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1),z2:5});var $n=An.getBoundingRect(),Pn=Lt.get("handleSize");this._handleHeight=parsePercent(Pn,this._size[1]),this._handleWidth=$n.width/$n.height*this._handleHeight,An.setStyle(Lt.getModel("handleStyle").getItemStyle()),An.style.strokeNoScale=!0,An.rectHover=!0,An.ensureState("emphasis").style=Lt.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(An);var Nn=Lt.get("handleColor");Nn!=null&&(An.style.fill=Nn),At.add(Ue[En]=An);var Mn=Lt.getModel("textStyle");Ie.add(qe[En]=new ZRText({silent:!0,invisible:!0,style:createTextStyle(Mn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Mn.getTextColor(),font:Mn.getFont()}),z2:10}))},this);var _n=bn;if(vn){var wn=parsePercent(Lt.get("moveHandleSize"),Dt[1]),kn=Fe.moveHandle=new Rect$2({style:Lt.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:Dt[1]-.5,height:wn}}),Cn=wn*.8,Sn=Fe.moveHandleIcon=createSymbol$1(Lt.get("moveHandleIcon"),-Cn/2,-Cn/2,Cn,Cn,"#fff",!0);Sn.silent=!0,Sn.y=Dt[1]+wn/2-.5,kn.ensureState("emphasis").style=Lt.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var xn=Math.min(Dt[1]/2,Math.max(wn,10));_n=Fe.moveZone=new Rect$2({invisible:!0,shape:{y:Dt[1]-xn,height:wn+xn}}),_n.on("mouseover",function(){jt.enterEmphasis(kn)}).on("mouseout",function(){jt.leaveEmphasis(kn)}),At.add(kn),At.add(Sn),At.add(_n)}_n.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$2(this._onDragMove,this,"all"),ondragstart:bind$2(this._showDataInfo,this,!0),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1)})},$e.prototype._resetInterval=function(){var Ie=this._range=this.dataZoomModel.getPercentRange(),Fe=this._getViewExtent();this._handleEnds=[linearMap$2(Ie[0],[0,100],Fe,!0),linearMap$2(Ie[1],[0,100],Fe,!0)]},$e.prototype._updateInterval=function(Ie,Fe){var Ue=this.dataZoomModel,qe=this._handleEnds,At=this._getViewExtent(),Dt=Ue.findRepresentativeAxisProxy().getMinMaxSpan(),Lt=[0,100];sliderMove(Fe,qe,At,Ue.get("zoomLock")?"all":Ie,Dt.minSpan!=null?linearMap$2(Dt.minSpan,Lt,At,!0):null,Dt.maxSpan!=null?linearMap$2(Dt.maxSpan,Lt,At,!0):null);var jt=this._range,hn=this._range=asc$2([linearMap$2(qe[0],At,Lt,!0),linearMap$2(qe[1],At,Lt,!0)]);return!jt||jt[0]!==hn[0]||jt[1]!==hn[1]},$e.prototype._updateView=function(Ie){var Fe=this._displayables,Ue=this._handleEnds,qe=asc$2(Ue.slice()),At=this._size;each$f([0,1],function(_n){var wn=Fe.handles[_n],kn=this._handleHeight;wn.attr({scaleX:kn/2,scaleY:kn/2,x:Ue[_n]+(_n?-1:1),y:At[1]/2-kn/2})},this),Fe.filler.setShape({x:qe[0],y:0,width:qe[1]-qe[0],height:At[1]});var Dt={x:qe[0],width:qe[1]-qe[0]};Fe.moveHandle&&(Fe.moveHandle.setShape(Dt),Fe.moveZone.setShape(Dt),Fe.moveZone.getBoundingRect(),Fe.moveHandleIcon&&Fe.moveHandleIcon.attr("x",Dt.x+Dt.width/2));for(var Lt=Fe.dataShadowSegs,jt=[0,qe[0],qe[1],At[0]],hn=0;hn<Lt.length;hn++){var vn=Lt[hn],bn=vn.getClipPath();bn||(bn=new Rect$2,vn.setClipPath(bn)),bn.setShape({x:jt[hn],y:0,width:jt[hn+1]-jt[hn],height:At[1]})}this._updateDataInfo(Ie)},$e.prototype._updateDataInfo=function(Ie){var Fe=this.dataZoomModel,Ue=this._displayables,qe=Ue.handleLabels,At=this._orient,Dt=["",""];if(Fe.get("showDetail")){var Lt=Fe.findRepresentativeAxisProxy();if(Lt){var jt=Lt.getAxisModel().axis,hn=this._range,vn=Ie?Lt.calculateDataWindow({start:hn[0],end:hn[1]}).valueWindow:Lt.getDataValueWindow();Dt=[this._formatLabel(vn[0],jt),this._formatLabel(vn[1],jt)]}}var bn=asc$2(this._handleEnds.slice());_n.call(this,0),_n.call(this,1);function _n(wn){var kn=getTransform$1(Ue.handles[wn].parent,this.group),Cn=transformDirection(wn===0?"right":"left",kn),Sn=this._handleWidth/2+LABEL_GAP,xn=applyTransform([bn[wn]+(wn===0?-Sn:Sn),this._size[1]/2],kn);qe[wn].setStyle({x:xn[0],y:xn[1],verticalAlign:At===HORIZONTAL$1?"middle":Cn,align:At===HORIZONTAL$1?Cn:"center",text:Dt[wn]})}},$e.prototype._formatLabel=function(Ie,Fe){var Ue=this.dataZoomModel,qe=Ue.get("labelFormatter"),At=Ue.get("labelPrecision");(At==null||At==="auto")&&(At=Fe.getPixelPrecision());var Dt=Ie==null||isNaN(Ie)?"":Fe.type==="category"||Fe.type==="time"?Fe.scale.getLabel({value:Math.round(Ie)}):Ie.toFixed(Math.min(At,20));return isFunction$2(qe)?qe(Ie,Dt):isString$2(qe)?qe.replace("{value}",Dt):Dt},$e.prototype._showDataInfo=function(Ie){Ie=this._dragging||Ie;var Fe=this._displayables,Ue=Fe.handleLabels;Ue[0].attr("invisible",!Ie),Ue[1].attr("invisible",!Ie),Fe.moveHandle&&this.api[Ie?"enterEmphasis":"leaveEmphasis"](Fe.moveHandle,1)},$e.prototype._onDragMove=function(Ie,Fe,Ue,qe){this._dragging=!0,stop(qe.event);var At=this._displayables.sliderGroup.getLocalTransform(),Dt=applyTransform([Fe,Ue],At,!0),Lt=this._updateInterval(Ie,Dt[0]),jt=this.dataZoomModel.get("realtime");this._updateView(!jt),Lt&&jt&&this._dispatchZoomAction(!0)},$e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var Ie=this.dataZoomModel.get("realtime");!Ie&&this._dispatchZoomAction(!1)},$e.prototype._onClickPanel=function(Ie){var Fe=this._size,Ue=this._displayables.sliderGroup.transformCoordToLocal(Ie.offsetX,Ie.offsetY);if(!(Ue[0]<0||Ue[0]>Fe[0]||Ue[1]<0||Ue[1]>Fe[1])){var qe=this._handleEnds,At=(qe[0]+qe[1])/2,Dt=this._updateInterval("all",Ue[0]-At);this._updateView(),Dt&&this._dispatchZoomAction(!1)}},$e.prototype._onBrushStart=function(Ie){var Fe=Ie.offsetX,Ue=Ie.offsetY;this._brushStart=new Point(Fe,Ue),this._brushing=!0,this._brushStartTime=+new Date},$e.prototype._onBrushEnd=function(Ie){if(this._brushing){var Fe=this._displayables.brushRect;if(this._brushing=!1,!!Fe){Fe.attr("ignore",!0);var Ue=Fe.shape,qe=+new Date;if(!(qe-this._brushStartTime<200&&Math.abs(Ue.width)<5)){var At=this._getViewExtent(),Dt=[0,100];this._range=asc$2([linearMap$2(Ue.x,At,Dt,!0),linearMap$2(Ue.x+Ue.width,At,Dt,!0)]),this._handleEnds=[Ue.x,Ue.x+Ue.width],this._updateView(),this._dispatchZoomAction(!1)}}}},$e.prototype._onBrush=function(Ie){this._brushing&&(stop(Ie.event),this._updateBrushRect(Ie.offsetX,Ie.offsetY))},$e.prototype._updateBrushRect=function(Ie,Fe){var Ue=this._displayables,qe=this.dataZoomModel,At=Ue.brushRect;At||(At=Ue.brushRect=new Rect({silent:!0,style:qe.getModel("brushStyle").getItemStyle()}),Ue.sliderGroup.add(At)),At.attr("ignore",!1);var Dt=this._brushStart,Lt=this._displayables.sliderGroup,jt=Lt.transformCoordToLocal(Ie,Fe),hn=Lt.transformCoordToLocal(Dt.x,Dt.y),vn=this._size;jt[0]=Math.max(Math.min(vn[0],jt[0]),0),At.setShape({x:hn[0],y:0,width:jt[0]-hn[0],height:vn[1]})},$e.prototype._dispatchZoomAction=function(Ie){var Fe=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:Ie?REALTIME_ANIMATION_CONFIG:null,start:Fe[0],end:Fe[1]})},$e.prototype._findCoordRect=function(){var Ie,Fe=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!Ie&&Fe.length){var Ue=Fe[0].model.coordinateSystem;Ie=Ue.getRect&&Ue.getRect()}if(!Ie){var qe=this.api.getWidth(),At=this.api.getHeight();Ie={x:qe*.2,y:At*.2,width:qe*.6,height:At*.6}}return Ie},$e.type="dataZoom.slider",$e}(DataZoomView);function getOtherDim(xe){var $e={x:"y",y:"x",radius:"angle",angle:"radius"};return $e[xe]}function getCursor$1(xe){return xe==="vertical"?"ns-resize":"ew-resize"}function install$8(xe){xe.registerComponentModel(SliderZoomModel),xe.registerComponentView(SliderZoomView),installCommon$1(xe)}function install$7(xe){use(install$9),use(install$8)}var visualDefault={get:function(xe,$e,Ie){var Fe=clone$4((defaultOption[xe]||{})[$e]);return Ie&&isArray$2(Fe)?Fe[Fe.length-1]:Fe}},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]}},mapVisual=VisualMapping.mapVisual,eachVisual=VisualMapping.eachVisual,isArray$1=isArray$2,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.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 $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue)},$e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},$e.prototype.resetVisual=function(Ie){var Fe=this.stateList;Ie=bind$2(Ie,this),this.controllerVisuals=createVisualMappings(this.option.controller,Fe,Ie),this.targetVisuals=createVisualMappings(this.option.target,Fe,Ie)},$e.prototype.getItemSymbol=function(){return null},$e.prototype.getTargetSeriesIndices=function(){var Ie=this.option.seriesIndex,Fe=[];return Ie==null||Ie==="all"?this.ecModel.eachSeries(function(Ue,qe){Fe.push(qe)}):Fe=normalizeToArray(Ie),Fe},$e.prototype.eachTargetSeries=function(Ie,Fe){each$f(this.getTargetSeriesIndices(),function(Ue){var qe=this.ecModel.getSeriesByIndex(Ue);qe&&Ie.call(Fe,qe)},this)},$e.prototype.isTargetSeries=function(Ie){var Fe=!1;return this.eachTargetSeries(function(Ue){Ue===Ie&&(Fe=!0)}),Fe},$e.prototype.formatValueText=function(Ie,Fe,Ue){var qe=this.option,At=qe.precision,Dt=this.dataBound,Lt=qe.formatter,jt;Ue=Ue||["<",">"],isArray$2(Ie)&&(Ie=Ie.slice(),jt=!0);var hn=Fe?Ie:jt?[vn(Ie[0]),vn(Ie[1])]:vn(Ie);if(isString$2(Lt))return Lt.replace("{value}",jt?hn[0]:hn).replace("{value2}",jt?hn[1]:hn);if(isFunction$2(Lt))return jt?Lt(Ie[0],Ie[1]):Lt(Ie);if(jt)return Ie[0]===Dt[0]?Ue[0]+" "+hn[1]:Ie[1]===Dt[1]?Ue[1]+" "+hn[0]:hn[0]+" - "+hn[1];return hn;function vn(bn){return bn===Dt[0]?"min":bn===Dt[1]?"max":(+bn).toFixed(Math.min(At,20))}},$e.prototype.resetExtent=function(){var Ie=this.option,Fe=asc([Ie.min,Ie.max]);this._dataExtent=Fe},$e.prototype.getDataDimensionIndex=function(Ie){var Fe=this.option.dimension;if(Fe!=null)return Ie.getDimensionIndex(Fe);for(var Ue=Ie.dimensions,qe=Ue.length-1;qe>=0;qe--){var At=Ue[qe],Dt=Ie.getDimensionInfo(At);if(!Dt.isCalculationCoord)return Dt.storeDimIndex}},$e.prototype.getExtent=function(){return this._dataExtent.slice()},$e.prototype.completeVisualOption=function(){var Ie=this.ecModel,Fe=this.option,Ue={inRange:Fe.inRange,outOfRange:Fe.outOfRange},qe=Fe.target||(Fe.target={}),At=Fe.controller||(Fe.controller={});merge$1(qe,Ue),merge$1(At,Ue);var Dt=this.isCategory();Lt.call(this,qe),Lt.call(this,At),jt.call(this,qe,"inRange","outOfRange"),hn.call(this,At);function Lt(vn){isArray$1(Fe.color)&&!vn.inRange&&(vn.inRange={color:Fe.color.slice().reverse()}),vn.inRange=vn.inRange||{color:Ie.get("gradientColor")}}function jt(vn,bn,_n){var wn=vn[bn],kn=vn[_n];wn&&!kn&&(kn=vn[_n]={},each$2(wn,function(Cn,Sn){if(VisualMapping.isValidType(Sn)){var xn=visualDefault.get(Sn,"inactive",Dt);xn!=null&&(kn[Sn]=xn,Sn==="color"&&!kn.hasOwnProperty("opacity")&&!kn.hasOwnProperty("colorAlpha")&&(kn.opacity=[0,0]))}}))}function hn(vn){var bn=(vn.inRange||{}).symbol||(vn.outOfRange||{}).symbol,_n=(vn.inRange||{}).symbolSize||(vn.outOfRange||{}).symbolSize,wn=this.get("inactiveColor"),kn=this.getItemSymbol(),Cn=kn||"roundRect";each$2(this.stateList,function(Sn){var xn=this.itemSize,En=vn[Sn];En||(En=vn[Sn]={color:Dt?wn:[wn]}),En.symbol==null&&(En.symbol=bn&&clone$4(bn)||(Dt?Cn:[Cn])),En.symbolSize==null&&(En.symbolSize=_n&&clone$4(_n)||(Dt?xn[0]:[xn[0],xn[0]])),En.symbol=mapVisual(En.symbol,function($n){return $n==="none"?Cn:$n});var Tn=En.symbolSize;if(Tn!=null){var An=-1/0;eachVisual(Tn,function($n){$n>An&&(An=$n)}),En.symbolSize=mapVisual(Tn,function($n){return linearMap$1($n,[0,An],[0,xn[0]],!0)})}},this)}},$e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},$e.prototype.isCategory=function(){return!!this.option.categories},$e.prototype.setSelected=function(Ie){},$e.prototype.getSelected=function(){return null},$e.prototype.getValueState=function(Ie){return null},$e.prototype.getVisualMeta=function(Ie){return null},$e.type="visualMap",$e.dependencies=["series"],$e.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"}},$e}(ComponentModel),DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(Ue){Ue.mappingMethod="linear",Ue.dataExtent=this.getExtent()}),this._resetRange()},$e.prototype.resetItemSize=function(){xe.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])},$e.prototype._resetRange=function(){var Ie=this.getExtent(),Fe=this.option.range;!Fe||Fe.auto?(Ie.auto=1,this.option.range=Ie):isArray$2(Fe)&&(Fe[0]>Fe[1]&&Fe.reverse(),Fe[0]=Math.max(Fe[0],Ie[0]),Fe[1]=Math.min(Fe[1],Ie[1]))},$e.prototype.completeVisualOption=function(){xe.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(Ie){var Fe=this.option.controller[Ie].symbolSize;Fe&&Fe[0]!==Fe[1]&&(Fe[0]=Fe[1]/3)},this)},$e.prototype.setSelected=function(Ie){this.option.range=Ie.slice(),this._resetRange()},$e.prototype.getSelected=function(){var Ie=this.getExtent(),Fe=asc$2((this.get("range")||[]).slice());return Fe[0]>Ie[1]&&(Fe[0]=Ie[1]),Fe[1]>Ie[1]&&(Fe[1]=Ie[1]),Fe[0]<Ie[0]&&(Fe[0]=Ie[0]),Fe[1]<Ie[0]&&(Fe[1]=Ie[0]),Fe},$e.prototype.getValueState=function(Ie){var Fe=this.option.range,Ue=this.getExtent();return(Fe[0]<=Ue[0]||Fe[0]<=Ie)&&(Fe[1]>=Ue[1]||Ie<=Fe[1])?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[];return this.eachTargetSeries(function(Ue){var qe=[],At=Ue.getData();At.each(this.getDataDimensionIndex(At),function(Dt,Lt){Ie[0]<=Dt&&Dt<=Ie[1]&&qe.push(Lt)},this),Fe.push({seriesId:Ue.id,dataIndex:qe})},this),Fe},$e.prototype.getVisualMeta=function(Ie){var Fe=getColorStopValues(this,"outOfRange",this.getExtent()),Ue=getColorStopValues(this,"inRange",this.option.range.slice()),qe=[];function At(_n,wn){qe.push({value:_n,color:Ie(_n,wn)})}for(var Dt=0,Lt=0,jt=Ue.length,hn=Fe.length;Lt<hn&&(!Ue.length||Fe[Lt]<=Ue[0]);Lt++)Fe[Lt]<Ue[Dt]&&At(Fe[Lt],"outOfRange");for(var vn=1;Dt<jt;Dt++,vn=0)vn&&qe.length&&At(Ue[Dt],"outOfRange"),At(Ue[Dt],"inRange");for(var vn=1;Lt<hn;Lt++)(!Ue.length||Ue[Ue.length-1]<Fe[Lt])&&(vn&&(qe.length&&At(qe[qe.length-1].value,"outOfRange"),vn=0),At(Fe[Lt],"outOfRange"));var bn=qe.length;return{stops:qe,outerColors:[bn?qe[0].color:"transparent",bn?qe[bn-1].color:"transparent"]}},$e.type="visualMap.continuous",$e.defaultOption=inheritDefaultOption(VisualMapModel.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)"}}),$e}(VisualMapModel);function getColorStopValues(xe,$e,Ie){if(Ie[0]===Ie[1])return Ie.slice();for(var Fe=200,Ue=(Ie[1]-Ie[0])/Fe,qe=Ie[0],At=[],Dt=0;Dt<=Fe&&qe<Ie[1];Dt++)At.push(qe),qe+=Ue;return At.push(Ie[1]),At}var VisualMapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.autoPositionValues={left:1,right:1,top:1,bottom:1},Ie}return $e.prototype.init=function(Ie,Fe){this.ecModel=Ie,this.api=Fe},$e.prototype.render=function(Ie,Fe,Ue,qe){if(this.visualMapModel=Ie,Ie.get("show")===!1){this.group.removeAll();return}this.doRender(Ie,Fe,Ue,qe)},$e.prototype.renderBackground=function(Ie){var Fe=this.visualMapModel,Ue=normalizeCssArray(Fe.get("padding")||0),qe=Ie.getBoundingRect();Ie.add(new Rect$2({z2:-1,silent:!0,shape:{x:qe.x-Ue[3],y:qe.y-Ue[0],width:qe.width+Ue[3]+Ue[1],height:qe.height+Ue[0]+Ue[2]},style:{fill:Fe.get("backgroundColor"),stroke:Fe.get("borderColor"),lineWidth:Fe.get("borderWidth")}}))},$e.prototype.getControllerVisual=function(Ie,Fe,Ue){Ue=Ue||{};var qe=Ue.forceState,At=this.visualMapModel,Dt={};if(Fe==="color"){var Lt=At.get("contentColor");Dt.color=Lt}function jt(_n){return Dt[_n]}function hn(_n,wn){Dt[_n]=wn}var vn=At.controllerVisuals[qe||At.getValueState(Ie)],bn=VisualMapping.prepareVisualTypes(vn);return each$f(bn,function(_n){var wn=vn[_n];Ue.convertOpacityToAlpha&&_n==="opacity"&&(_n="colorAlpha",wn=vn.__alphaForOpacity),VisualMapping.dependsOn(_n,Fe)&&wn&&wn.applyVisual(Ie,jt,hn)}),Dt[Fe]},$e.prototype.positionGroup=function(Ie){var Fe=this.visualMapModel,Ue=this.api;positionElement(Ie,Fe.getBoxLayoutParams(),{width:Ue.getWidth(),height:Ue.getHeight()})},$e.prototype.doRender=function(Ie,Fe,Ue,qe){},$e.type="visualMap",$e}(ComponentView),paramsSet=[["left","right","width"],["top","bottom","height"]];function getItemAlign(xe,$e,Ie){var Fe=xe.option,Ue=Fe.align;if(Ue!=null&&Ue!=="auto")return Ue;for(var qe={width:$e.getWidth(),height:$e.getHeight()},At=Fe.orient==="horizontal"?1:0,Dt=paramsSet[At],Lt=[0,null,10],jt={},hn=0;hn<3;hn++)jt[paramsSet[1-At][hn]]=Lt[hn],jt[Dt[hn]]=hn===2?Ie[0]:Fe[Dt[hn]];var vn=[["x","width",3],["y","height",0]][At],bn=getLayoutRect(jt,qe,Fe.padding);return Dt[(bn.margin[vn[2]]||0)+bn[vn[0]]+bn[vn[1]]*.5<qe[vn[1]]*.5?0:1]}function makeHighDownBatch(xe,$e){return each$f(xe||[],function(Ie){Ie.dataIndex!=null&&(Ie.dataIndexInside=Ie.dataIndex,Ie.dataIndex=null),Ie.highlightKey="visualMap"+($e?$e.componentIndex:"")}),xe}var linearMap=linearMap$2,each$1=each$f,mathMin=Math.min,mathMax=Math.max,HOVER_LINK_SIZE=12,HOVER_LINK_OUT=6,ContinuousView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._shapes={},Ie._dataInterval=[],Ie._handleEnds=[],Ie._hoverLinkDataIndices=[],Ie}return $e.prototype.init=function(Ie,Fe){xe.prototype.init.call(this,Ie,Fe),this._hoverLinkFromSeriesMouseOver=bind$2(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=bind$2(this._hideIndicator,this)},$e.prototype.doRender=function(Ie,Fe,Ue,qe){(!qe||qe.type!=="selectDataRange"||qe.from!==this.uid)&&this._buildView()},$e.prototype._buildView=function(){this.group.removeAll();var Ie=this.visualMapModel,Fe=this.group;this._orient=Ie.get("orient"),this._useHandle=Ie.get("calculable"),this._resetInterval(),this._renderBar(Fe);var Ue=Ie.get("text");this._renderEndsText(Fe,Ue,0),this._renderEndsText(Fe,Ue,1),this._updateView(!0),this.renderBackground(Fe),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(Fe)},$e.prototype._renderEndsText=function(Ie,Fe,Ue){if(Fe){var qe=Fe[1-Ue];qe=qe!=null?qe+"":"";var At=this.visualMapModel,Dt=At.get("textGap"),Lt=At.itemSize,jt=this._shapes.mainGroup,hn=this._applyTransform([Lt[0]/2,Ue===0?-Dt:Lt[1]+Dt],jt),vn=this._applyTransform(Ue===0?"bottom":"top",jt),bn=this._orient,_n=this.visualMapModel.textStyleModel;this.group.add(new ZRText({style:createTextStyle(_n,{x:hn[0],y:hn[1],verticalAlign:bn==="horizontal"?"middle":vn,align:bn==="horizontal"?vn:"center",text:qe})}))}},$e.prototype._renderBar=function(Ie){var Fe=this.visualMapModel,Ue=this._shapes,qe=Fe.itemSize,At=this._orient,Dt=this._useHandle,Lt=getItemAlign(Fe,this.api,qe),jt=Ue.mainGroup=this._createBarGroup(Lt),hn=new Group$3;jt.add(hn),hn.add(Ue.outOfRange=createPolygon()),hn.add(Ue.inRange=createPolygon(null,Dt?getCursor(this._orient):null,bind$2(this._dragHandle,this,"all",!1),bind$2(this._dragHandle,this,"all",!0))),hn.setClipPath(new Rect$2({shape:{x:0,y:0,width:qe[0],height:qe[1],r:3}}));var vn=Fe.textStyleModel.getTextRect("国"),bn=mathMax(vn.width,vn.height);Dt&&(Ue.handleThumbs=[],Ue.handleLabels=[],Ue.handleLabelPoints=[],this._createHandle(Fe,jt,0,qe,bn,At),this._createHandle(Fe,jt,1,qe,bn,At)),this._createIndicator(Fe,jt,qe,bn,At),Ie.add(jt)},$e.prototype._createHandle=function(Ie,Fe,Ue,qe,At,Dt){var Lt=bind$2(this._dragHandle,this,Ue,!1),jt=bind$2(this._dragHandle,this,Ue,!0),hn=parsePercent$1(Ie.get("handleSize"),qe[0]),vn=createSymbol$1(Ie.get("handleIcon"),-hn/2,-hn/2,hn,hn,null,!0),bn=getCursor(this._orient);vn.attr({cursor:bn,draggable:!0,drift:Lt,ondragend:jt,onmousemove:function(Sn){stop(Sn.event)}}),vn.x=qe[0]/2,vn.useStyle(Ie.getModel("handleStyle").getItemStyle()),vn.setStyle({strokeNoScale:!0,strokeFirst:!0}),vn.style.lineWidth*=2,vn.ensureState("emphasis").style=Ie.getModel(["emphasis","handleStyle"]).getItemStyle(),setAsHighDownDispatcher(vn,!0),Fe.add(vn);var _n=this.visualMapModel.textStyleModel,wn=new ZRText({cursor:bn,draggable:!0,drift:Lt,onmousemove:function(Sn){stop(Sn.event)},ondragend:jt,style:createTextStyle(_n,{x:0,y:0,text:""})});wn.ensureState("blur").style={opacity:.1},wn.stateTransition={duration:200},this.group.add(wn);var kn=[hn,0],Cn=this._shapes;Cn.handleThumbs[Ue]=vn,Cn.handleLabelPoints[Ue]=kn,Cn.handleLabels[Ue]=wn},$e.prototype._createIndicator=function(Ie,Fe,Ue,qe,At){var Dt=parsePercent$1(Ie.get("indicatorSize"),Ue[0]),Lt=createSymbol$1(Ie.get("indicatorIcon"),-Dt/2,-Dt/2,Dt,Dt,null,!0);Lt.attr({cursor:"move",invisible:!0,silent:!0,x:Ue[0]/2});var jt=Ie.getModel("indicatorStyle").getItemStyle();if(Lt instanceof ZRImage){var hn=Lt.style;Lt.useStyle(extend$1({image:hn.image,x:hn.x,y:hn.y,width:hn.width,height:hn.height},jt))}else Lt.useStyle(jt);Fe.add(Lt);var vn=this.visualMapModel.textStyleModel,bn=new ZRText({silent:!0,invisible:!0,style:createTextStyle(vn,{x:0,y:0,text:""})});this.group.add(bn);var _n=[(At==="horizontal"?qe/2:HOVER_LINK_OUT)+Ue[0]/2,0],wn=this._shapes;wn.indicator=Lt,wn.indicatorLabel=bn,wn.indicatorLabelPoint=_n,this._firstShowIndicator=!0},$e.prototype._dragHandle=function(Ie,Fe,Ue,qe){if(this._useHandle){if(this._dragging=!Fe,!Fe){var At=this._applyTransform([Ue,qe],this._shapes.mainGroup,!0);this._updateInterval(Ie,At[1]),this._hideIndicator(),this._updateView()}Fe===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),Fe?!this._hovering&&this._clearHoverLinkToSeries():useHoverLinkOnHandle(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[Ie],!1)}},$e.prototype._resetInterval=function(){var Ie=this.visualMapModel,Fe=this._dataInterval=Ie.getSelected(),Ue=Ie.getExtent(),qe=[0,Ie.itemSize[1]];this._handleEnds=[linearMap(Fe[0],Ue,qe,!0),linearMap(Fe[1],Ue,qe,!0)]},$e.prototype._updateInterval=function(Ie,Fe){Fe=Fe||0;var Ue=this.visualMapModel,qe=this._handleEnds,At=[0,Ue.itemSize[1]];sliderMove(Fe,qe,At,Ie,0);var Dt=Ue.getExtent();this._dataInterval=[linearMap(qe[0],At,Dt,!0),linearMap(qe[1],At,Dt,!0)]},$e.prototype._updateView=function(Ie){var Fe=this.visualMapModel,Ue=Fe.getExtent(),qe=this._shapes,At=[0,Fe.itemSize[1]],Dt=Ie?At:this._handleEnds,Lt=this._createBarVisual(this._dataInterval,Ue,Dt,"inRange"),jt=this._createBarVisual(Ue,Ue,At,"outOfRange");qe.inRange.setStyle({fill:Lt.barColor}).setShape("points",Lt.barPoints),qe.outOfRange.setStyle({fill:jt.barColor}).setShape("points",jt.barPoints),this._updateHandle(Dt,Lt)},$e.prototype._createBarVisual=function(Ie,Fe,Ue,qe){var At={forceState:qe,convertOpacityToAlpha:!0},Dt=this._makeColorGradient(Ie,At),Lt=[this.getControllerVisual(Ie[0],"symbolSize",At),this.getControllerVisual(Ie[1],"symbolSize",At)],jt=this._createBarPoints(Ue,Lt);return{barColor:new LinearGradient(0,0,0,1,Dt),barPoints:jt,handlesColor:[Dt[0].color,Dt[Dt.length-1].color]}},$e.prototype._makeColorGradient=function(Ie,Fe){var Ue=100,qe=[],At=(Ie[1]-Ie[0])/Ue;qe.push({color:this.getControllerVisual(Ie[0],"color",Fe),offset:0});for(var Dt=1;Dt<Ue;Dt++){var Lt=Ie[0]+At*Dt;if(Lt>Ie[1])break;qe.push({color:this.getControllerVisual(Lt,"color",Fe),offset:Dt/Ue})}return qe.push({color:this.getControllerVisual(Ie[1],"color",Fe),offset:1}),qe},$e.prototype._createBarPoints=function(Ie,Fe){var Ue=this.visualMapModel.itemSize;return[[Ue[0]-Fe[0],Ie[0]],[Ue[0],Ie[0]],[Ue[0],Ie[1]],[Ue[0]-Fe[1],Ie[1]]]},$e.prototype._createBarGroup=function(Ie){var Fe=this._orient,Ue=this.visualMapModel.get("inverse");return new Group$3(Fe==="horizontal"&&!Ue?{scaleX:Ie==="bottom"?1:-1,rotation:Math.PI/2}:Fe==="horizontal"&&Ue?{scaleX:Ie==="bottom"?-1:1,rotation:-Math.PI/2}:Fe==="vertical"&&!Ue?{scaleX:Ie==="left"?1:-1,scaleY:-1}:{scaleX:Ie==="left"?1:-1})},$e.prototype._updateHandle=function(Ie,Fe){if(this._useHandle){var Ue=this._shapes,qe=this.visualMapModel,At=Ue.handleThumbs,Dt=Ue.handleLabels,Lt=qe.itemSize,jt=qe.getExtent();each$1([0,1],function(hn){var vn=At[hn];vn.setStyle("fill",Fe.handlesColor[hn]),vn.y=Ie[hn];var bn=linearMap(Ie[hn],[0,Lt[1]],jt,!0),_n=this.getControllerVisual(bn,"symbolSize");vn.scaleX=vn.scaleY=_n/Lt[0],vn.x=Lt[0]-_n/2;var wn=applyTransform(Ue.handleLabelPoints[hn],getTransform$1(vn,this.group));Dt[hn].setStyle({x:wn[0],y:wn[1],text:qe.formatValueText(this._dataInterval[hn]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",Ue.mainGroup):"center"})},this)}},$e.prototype._showIndicator=function(Ie,Fe,Ue,qe){var At=this.visualMapModel,Dt=At.getExtent(),Lt=At.itemSize,jt=[0,Lt[1]],hn=this._shapes,vn=hn.indicator;if(vn){vn.attr("invisible",!1);var bn={convertOpacityToAlpha:!0},_n=this.getControllerVisual(Ie,"color",bn),wn=this.getControllerVisual(Ie,"symbolSize"),kn=linearMap(Ie,Dt,jt,!0),Cn=Lt[0]-wn/2,Sn={x:vn.x,y:vn.y};vn.y=kn,vn.x=Cn;var xn=applyTransform(hn.indicatorLabelPoint,getTransform$1(vn,this.group)),En=hn.indicatorLabel;En.attr("invisible",!1);var Tn=this._applyTransform("left",hn.mainGroup),An=this._orient,$n=An==="horizontal";En.setStyle({text:(Ue||"")+At.formatValueText(Fe),verticalAlign:$n?Tn:"middle",align:$n?"center":Tn});var Pn={x:Cn,y:kn,style:{fill:_n}},Nn={style:{x:xn[0],y:xn[1]}};if(At.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Mn={duration:100,easing:"cubicInOut",additive:!0};vn.x=Sn.x,vn.y=Sn.y,vn.animateTo(Pn,Mn),En.animateTo(Nn,Mn)}else vn.attr(Pn),En.attr(Nn);this._firstShowIndicator=!1;var In=this._shapes.handleLabels;if(In)for(var On=0;On<In.length;On++)this.api.enterBlur(In[On])}},$e.prototype._enableHoverLinkToSeries=function(){var Ie=this;this._shapes.mainGroup.on("mousemove",function(Fe){if(Ie._hovering=!0,!Ie._dragging){var Ue=Ie.visualMapModel.itemSize,qe=Ie._applyTransform([Fe.offsetX,Fe.offsetY],Ie._shapes.mainGroup,!0,!0);qe[1]=mathMin(mathMax(0,qe[1]),Ue[1]),Ie._doHoverLinkToSeries(qe[1],0<=qe[0]&&qe[0]<=Ue[0])}}).on("mouseout",function(){Ie._hovering=!1,!Ie._dragging&&Ie._clearHoverLinkToSeries()})},$e.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()},$e.prototype._doHoverLinkToSeries=function(Ie,Fe){var Ue=this.visualMapModel,qe=Ue.itemSize;if(Ue.option.hoverLink){var At=[0,qe[1]],Dt=Ue.getExtent();Ie=mathMin(mathMax(At[0],Ie),At[1]);var Lt=getHalfHoverLinkSize(Ue,Dt,At),jt=[Ie-Lt,Ie+Lt],hn=linearMap(Ie,At,Dt,!0),vn=[linearMap(jt[0],At,Dt,!0),linearMap(jt[1],At,Dt,!0)];jt[0]<At[0]&&(vn[0]=-1/0),jt[1]>At[1]&&(vn[1]=1/0),Fe&&(vn[0]===-1/0?this._showIndicator(hn,vn[1],"< ",Lt):vn[1]===1/0?this._showIndicator(hn,vn[0],"> ",Lt):this._showIndicator(hn,hn,"≈ ",Lt));var bn=this._hoverLinkDataIndices,_n=[];(Fe||useHoverLinkOnHandle(Ue))&&(_n=this._hoverLinkDataIndices=Ue.findTargetDataIndices(vn));var wn=compressBatches(bn,_n);this._dispatchHighDown("downplay",makeHighDownBatch(wn[0],Ue)),this._dispatchHighDown("highlight",makeHighDownBatch(wn[1],Ue))}},$e.prototype._hoverLinkFromSeriesMouseOver=function(Ie){var Fe;if(findEventDispatcher(Ie.target,function(Lt){var jt=getECData(Lt);if(jt.dataIndex!=null)return Fe=jt,!0},!0),!!Fe){var Ue=this.ecModel.getSeriesByIndex(Fe.seriesIndex),qe=this.visualMapModel;if(qe.isTargetSeries(Ue)){var At=Ue.getData(Fe.dataType),Dt=At.getStore().get(qe.getDataDimensionIndex(At),Fe.dataIndex);isNaN(Dt)||this._showIndicator(Dt,Dt)}}},$e.prototype._hideIndicator=function(){var Ie=this._shapes;Ie.indicator&&Ie.indicator.attr("invisible",!0),Ie.indicatorLabel&&Ie.indicatorLabel.attr("invisible",!0);var Fe=this._shapes.handleLabels;if(Fe)for(var Ue=0;Ue<Fe.length;Ue++)this.api.leaveBlur(Fe[Ue])},$e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var Ie=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",makeHighDownBatch(Ie,this.visualMapModel)),Ie.length=0},$e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var Ie=this.api.getZr();Ie.off("mouseover",this._hoverLinkFromSeriesMouseOver),Ie.off("mouseout",this._hideIndicator)},$e.prototype._applyTransform=function(Ie,Fe,Ue,qe){var At=getTransform$1(Fe,qe?null:this.group);return isArray$2(Ie)?applyTransform(Ie,At,Ue):transformDirection(Ie,At,Ue)},$e.prototype._dispatchHighDown=function(Ie,Fe){Fe&&Fe.length&&this.api.dispatchAction({type:Ie,batch:Fe})},$e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},$e.type="visualMap.continuous",$e}(VisualMapView);function createPolygon(xe,$e,Ie,Fe){return new Polygon({shape:{points:xe},draggable:!!Ie,cursor:$e,drift:Ie,onmousemove:function(Ue){stop(Ue.event)},ondragend:Fe})}function getHalfHoverLinkSize(xe,$e,Ie){var Fe=HOVER_LINK_SIZE/2,Ue=xe.get("hoverLinkDataSize");return Ue&&(Fe=linearMap(Ue,$e,Ie,!0)/2),Fe}function useHoverLinkOnHandle(xe){var $e=xe.get("hoverLinkOnHandle");return!!($e??xe.get("realtime"))}function getCursor(xe){return xe==="vertical"?"ns-resize":"ew-resize"}var visualMapActionInfo={type:"selectDataRange",event:"dataRangeSelected",update:"update"},visualMapActionHander=function(xe,$e){$e.eachComponent({mainType:"visualMap",query:xe},function(Ie){Ie.setSelected(xe.selected)})},visualMapEncodingHandlers=[{createOnAllSeries:!0,reset:function(xe,$e){var Ie=[];return $e.eachComponent("visualMap",function(Fe){var Ue=xe.pipelineContext;!Fe.isTargetSeries(xe)||Ue&&Ue.large||Ie.push(incrementalApplyVisual(Fe.stateList,Fe.targetVisuals,bind$2(Fe.getValueState,Fe),Fe.getDataDimensionIndex(xe.getData())))}),Ie}},{createOnAllSeries:!0,reset:function(xe,$e){var Ie=xe.getData(),Fe=[];$e.eachComponent("visualMap",function(Ue){if(Ue.isTargetSeries(xe)){var qe=Ue.getVisualMeta(bind$2(getColorVisual,null,xe,Ue))||{stops:[],outerColors:[]},At=Ue.getDataDimensionIndex(Ie);At>=0&&(qe.dimension=At,Fe.push(qe))}}),xe.getData().setVisual("visualMeta",Fe)}}];function getColorVisual(xe,$e,Ie,Fe){for(var Ue=$e.targetVisuals[Fe],qe=VisualMapping.prepareVisualTypes(Ue),At={color:getVisualFromData(xe.getData(),"color")},Dt=0,Lt=qe.length;Dt<Lt;Dt++){var jt=qe[Dt],hn=Ue[jt==="opacity"?"__alphaForOpacity":jt];hn&&hn.applyVisual(Ie,vn,bn)}return At.color;function vn(_n){return At[_n]}function bn(_n,wn){At[_n]=wn}}var each=each$f;function visualMapPreprocessor(xe){var $e=xe&&xe.visualMap;isArray$2($e)||($e=$e?[$e]:[]),each($e,function(Ie){if(Ie){has(Ie,"splitList")&&!has(Ie,"pieces")&&(Ie.pieces=Ie.splitList,delete Ie.splitList);var Fe=Ie.pieces;Fe&&isArray$2(Fe)&&each(Fe,function(Ue){isObject$4(Ue)&&(has(Ue,"start")&&!has(Ue,"min")&&(Ue.min=Ue.start),has(Ue,"end")&&!has(Ue,"max")&&(Ue.max=Ue.end))})}})}function has(xe,$e){return xe&&xe.hasOwnProperty&&xe.hasOwnProperty($e)}var installed=!1;function installCommon(xe){installed||(installed=!0,xe.registerSubTypeDefaulter("visualMap",function($e){return!$e.categories&&(!($e.pieces?$e.pieces.length>0:$e.splitNumber>0)||$e.calculable)?"continuous":"piecewise"}),xe.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function($e){xe.registerVisual(xe.PRIORITY.VISUAL.COMPONENT,$e)}),xe.registerPreprocessor(visualMapPreprocessor))}function install$6(xe){xe.registerComponentModel(ContinuousModel),xe.registerComponentView(ContinuousView),installCommon(xe)}var PiecewiseModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._pieceList=[],Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.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,Fe);var qe=this.option.categories;this.resetVisual(function(At,Dt){Ue==="categories"?(At.mappingMethod="category",At.categories=clone$4(qe)):(At.dataExtent=this.getExtent(),At.mappingMethod="piecewise",At.pieceList=map$1(this._pieceList,function(Lt){return Lt=clone$4(Lt),Dt!=="inRange"&&(Lt.visual=null),Lt}))})},$e.prototype.completeVisualOption=function(){var Ie=this.option,Fe={},Ue=VisualMapping.listVisualTypes(),qe=this.isCategory();each$f(Ie.pieces,function(Dt){each$f(Ue,function(Lt){Dt.hasOwnProperty(Lt)&&(Fe[Lt]=1)})}),each$f(Fe,function(Dt,Lt){var jt=!1;each$f(this.stateList,function(hn){jt=jt||At(Ie,hn,Lt)||At(Ie.target,hn,Lt)},this),!jt&&each$f(this.stateList,function(hn){(Ie[hn]||(Ie[hn]={}))[Lt]=visualDefault.get(Lt,hn==="inRange"?"active":"inactive",qe)})},this);function At(Dt,Lt,jt){return Dt&&Dt[Lt]&&Dt[Lt].hasOwnProperty(jt)}xe.prototype.completeVisualOption.apply(this,arguments)},$e.prototype._resetSelected=function(Ie,Fe){var Ue=this.option,qe=this._pieceList,At=(Fe?Ue:Ie).selected||{};if(Ue.selected=At,each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At.hasOwnProperty(hn)||(At[hn]=!0)},this),Ue.selectedMode==="single"){var Dt=!1;each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At[hn]&&(Dt?At[hn]=!1:Dt=!0)},this)}},$e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},$e.prototype.getSelectedMapKey=function(Ie){return this._mode==="categories"?Ie.value+"":Ie.index+""},$e.prototype.getPieceList=function(){return this._pieceList},$e.prototype._determineMode=function(){var Ie=this.option;return Ie.pieces&&Ie.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},$e.prototype.setSelected=function(Ie){this.option.selected=clone$4(Ie)},$e.prototype.getValueState=function(Ie){var Fe=VisualMapping.findPieceIndex(Ie,this._pieceList);return Fe!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[Fe])]?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[],Ue=this._pieceList;return this.eachTargetSeries(function(qe){var At=[],Dt=qe.getData();Dt.each(this.getDataDimensionIndex(Dt),function(Lt,jt){var hn=VisualMapping.findPieceIndex(Lt,Ue);hn===Ie&&At.push(jt)},this),Fe.push({seriesId:qe.id,dataIndex:At})},this),Fe},$e.prototype.getRepresentValue=function(Ie){var Fe;if(this.isCategory())Fe=Ie.value;else if(Ie.value!=null)Fe=Ie.value;else{var Ue=Ie.interval||[];Fe=Ue[0]===-1/0&&Ue[1]===1/0?0:(Ue[0]+Ue[1])/2}return Fe},$e.prototype.getVisualMeta=function(Ie){if(this.isCategory())return;var Fe=[],Ue=["",""],qe=this;function At(hn,vn){var bn=qe.getRepresentValue({interval:hn});vn||(vn=qe.getValueState(bn));var _n=Ie(bn,vn);hn[0]===-1/0?Ue[0]=_n:hn[1]===1/0?Ue[1]=_n:Fe.push({value:hn[0],color:_n},{value:hn[1],color:_n})}var Dt=this._pieceList.slice();if(!Dt.length)Dt.push({interval:[-1/0,1/0]});else{var Lt=Dt[0].interval[0];Lt!==-1/0&&Dt.unshift({interval:[-1/0,Lt]}),Lt=Dt[Dt.length-1].interval[1],Lt!==1/0&&Dt.push({interval:[Lt,1/0]})}var jt=-1/0;return each$f(Dt,function(hn){var vn=hn.interval;vn&&(vn[0]>jt&&At([jt,vn[0]],"outOfRange"),At(vn.slice()),jt=vn[1])},this),{stops:Fe,outerColors:Ue}},$e.type="visualMap.piecewise",$e.defaultOption=inheritDefaultOption(VisualMapModel.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}),$e}(VisualMapModel),resetMethods={splitNumber:function(xe){var $e=this.option,Ie=Math.min($e.precision,20),Fe=this.getExtent(),Ue=$e.splitNumber;Ue=Math.max(parseInt(Ue,10),1),$e.splitNumber=Ue;for(var qe=(Fe[1]-Fe[0])/Ue;+qe.toFixed(Ie)!==qe&&Ie<5;)Ie++;$e.precision=Ie,qe=+qe.toFixed(Ie),$e.minOpen&&xe.push({interval:[-1/0,Fe[0]],close:[0,0]});for(var At=0,Dt=Fe[0];At<Ue;Dt+=qe,At++){var Lt=At===Ue-1?Fe[1]:Dt+qe;xe.push({interval:[Dt,Lt],close:[1,1]})}$e.maxOpen&&xe.push({interval:[Fe[1],1/0],close:[0,0]}),reformIntervals(xe),each$f(xe,function(jt,hn){jt.index=hn,jt.text=this.formatValueText(jt.interval)},this)},categories:function(xe){var $e=this.option;each$f($e.categories,function(Ie){xe.push({text:this.formatValueText(Ie,!0),value:Ie})},this),normalizeReverse($e,xe)},pieces:function(xe){var $e=this.option;each$f($e.pieces,function(Ie,Fe){isObject$4(Ie)||(Ie={value:Ie});var Ue={text:"",index:Fe};if(Ie.label!=null&&(Ue.text=Ie.label),Ie.hasOwnProperty("value")){var qe=Ue.value=Ie.value;Ue.interval=[qe,qe],Ue.close=[1,1]}else{for(var At=Ue.interval=[],Dt=Ue.close=[0,0],Lt=[1,0,1],jt=[-1/0,1/0],hn=[],vn=0;vn<2;vn++){for(var bn=[["gte","gt","min"],["lte","lt","max"]][vn],_n=0;_n<3&&At[vn]==null;_n++)At[vn]=Ie[bn[_n]],Dt[vn]=Lt[_n],hn[vn]=_n===2;At[vn]==null&&(At[vn]=jt[vn])}hn[0]&&At[1]===1/0&&(Dt[0]=0),hn[1]&&At[0]===-1/0&&(Dt[1]=0),At[0]===At[1]&&Dt[0]&&Dt[1]&&(Ue.value=At[0])}Ue.visual=VisualMapping.retrieveVisuals(Ie),xe.push(Ue)},this),normalizeReverse($e,xe),reformIntervals(xe),each$f(xe,function(Ie){var Fe=Ie.close,Ue=[["<","≤"][Fe[1]],[">","≥"][Fe[0]]];Ie.text=Ie.text||this.formatValueText(Ie.value!=null?Ie.value:Ie.interval,!1,Ue)},this)}};function normalizeReverse(xe,$e){var Ie=xe.inverse;(xe.orient==="vertical"?!Ie:Ie)&&$e.reverse()}var PiecewiseVisualMapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.doRender=function(){var Ie=this.group;Ie.removeAll();var Fe=this.visualMapModel,Ue=Fe.get("textGap"),qe=Fe.textStyleModel,At=qe.getFont(),Dt=qe.getTextColor(),Lt=this._getItemAlign(),jt=Fe.itemSize,hn=this._getViewData(),vn=hn.endsText,bn=retrieve(Fe.get("showLabel",!0),!vn);vn&&this._renderEndsText(Ie,vn[0],jt,bn,Lt),each$f(hn.viewPieceList,function(_n){var wn=_n.piece,kn=new Group$3;kn.onclick=bind$2(this._onItemClick,this,wn),this._enableHoverLink(kn,_n.indexInModelPieceList);var Cn=Fe.getRepresentValue(wn);if(this._createItemSymbol(kn,Cn,[0,0,jt[0],jt[1]]),bn){var Sn=this.visualMapModel.getValueState(Cn);kn.add(new ZRText({style:{x:Lt==="right"?-Ue:jt[0]+Ue,y:jt[1]/2,text:wn.text,verticalAlign:"middle",align:Lt,font:At,fill:Dt,opacity:Sn==="outOfRange"?.5:1}}))}Ie.add(kn)},this),vn&&this._renderEndsText(Ie,vn[1],jt,bn,Lt),box(Fe.get("orient"),Ie,Fe.get("itemGap")),this.renderBackground(Ie),this.positionGroup(Ie)},$e.prototype._enableHoverLink=function(Ie,Fe){var Ue=this;Ie.on("mouseover",function(){return qe("highlight")}).on("mouseout",function(){return qe("downplay")});var qe=function(At){var Dt=Ue.visualMapModel;Dt.option.hoverLink&&Ue.api.dispatchAction({type:At,batch:makeHighDownBatch(Dt.findTargetDataIndices(Fe),Dt)})}},$e.prototype._getItemAlign=function(){var Ie=this.visualMapModel,Fe=Ie.option;if(Fe.orient==="vertical")return getItemAlign(Ie,this.api,Ie.itemSize);var Ue=Fe.align;return(!Ue||Ue==="auto")&&(Ue="left"),Ue},$e.prototype._renderEndsText=function(Ie,Fe,Ue,qe,At){if(Fe){var Dt=new Group$3,Lt=this.visualMapModel.textStyleModel;Dt.add(new ZRText({style:createTextStyle(Lt,{x:qe?At==="right"?Ue[0]:0:Ue[0]/2,y:Ue[1]/2,verticalAlign:"middle",align:qe?At:"center",text:Fe})})),Ie.add(Dt)}},$e.prototype._getViewData=function(){var Ie=this.visualMapModel,Fe=map$1(Ie.getPieceList(),function(Dt,Lt){return{piece:Dt,indexInModelPieceList:Lt}}),Ue=Ie.get("text"),qe=Ie.get("orient"),At=Ie.get("inverse");return(qe==="horizontal"?At:!At)?Fe.reverse():Ue&&(Ue=Ue.slice().reverse()),{viewPieceList:Fe,endsText:Ue}},$e.prototype._createItemSymbol=function(Ie,Fe,Ue){Ie.add(createSymbol$1(this.getControllerVisual(Fe,"symbol"),Ue[0],Ue[1],Ue[2],Ue[3],this.getControllerVisual(Fe,"color")))},$e.prototype._onItemClick=function(Ie){var Fe=this.visualMapModel,Ue=Fe.option,qe=Ue.selectedMode;if(qe){var At=clone$4(Ue.selected),Dt=Fe.getSelectedMapKey(Ie);qe==="single"||qe===!0?(At[Dt]=!0,each$f(At,function(Lt,jt){At[jt]=jt===Dt})):At[Dt]=!At[Dt],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:At})}},$e.type="visualMap.piecewise",$e}(VisualMapView);function install$5(xe){xe.registerComponentModel(PiecewiseModel),xe.registerComponentView(PiecewiseVisualMapView),installCommon(xe)}function install$4(xe){use(install$6),use(install$5)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(xe,$e){var Ie=xe.getModel("aria");if(!Ie.get("enabled"))return;var Fe=clone$4(DEFAULT_OPTION);merge$1(Fe.label,xe.getLocaleModel().get("aria"),!1),merge$1(Ie.option,Fe,!1),Ue(),qe();function Ue(){var jt=Ie.getModel("decal"),hn=jt.get("show");if(hn){var vn=createHashMap();xe.eachSeries(function(bn){if(!bn.isColorBySeries()){var _n=vn.get(bn.type);_n||(_n={},vn.set(bn.type,_n)),inner(bn).scope=_n}}),xe.eachRawSeries(function(bn){if(xe.isSeriesFiltered(bn))return;if(isFunction$2(bn.enableAriaDecal)){bn.enableAriaDecal();return}var _n=bn.getData();if(bn.isColorBySeries()){var xn=getDecalFromPalette(bn.ecModel,bn.name,decalPaletteScope,xe.getSeriesCount()),En=_n.getVisual("decal");_n.setVisual("decal",Tn(En,xn))}else{var wn=bn.getRawData(),kn={},Cn=inner(bn).scope;_n.each(function(An){var $n=_n.getRawIndex(An);kn[$n]=An});var Sn=wn.count();wn.each(function(An){var $n=kn[An],Pn=wn.getName(An)||An+"",Nn=getDecalFromPalette(bn.ecModel,Pn,Cn,Sn),Mn=_n.getItemVisual($n,"decal");_n.setItemVisual($n,"decal",Tn(Mn,Nn))})}function Tn(An,$n){var Pn=An?extend$1(extend$1({},$n),An):$n;return Pn.dirty=!0,Pn}})}}function qe(){var jt=xe.getLocaleModel().get("aria"),hn=Ie.getModel("label");if(hn.option=defaults$1(hn.option,jt),!!hn.get("enabled")){var vn=$e.getZr().dom;if(hn.get("description")){vn.setAttribute("aria-label",hn.get("description"));return}var bn=xe.getSeriesCount(),_n=hn.get(["data","maxCount"])||10,wn=hn.get(["series","maxCount"])||10,kn=Math.min(bn,wn),Cn;if(!(bn<1)){var Sn=Dt();if(Sn){var xn=hn.get(["general","withTitle"]);Cn=At(xn,{title:Sn})}else Cn=hn.get(["general","withoutTitle"]);var En=[],Tn=bn>1?hn.get(["series","multiple","prefix"]):hn.get(["series","single","prefix"]);Cn+=At(Tn,{seriesCount:bn}),xe.eachSeries(function(Nn,Mn){if(Mn<kn){var In=void 0,On=Nn.get("name"),Rn=On?"withName":"withoutName";In=bn>1?hn.get(["series","multiple",Rn]):hn.get(["series","single",Rn]),In=At(In,{seriesId:Nn.seriesIndex,seriesName:Nn.get("name"),seriesType:Lt(Nn.subType)});var Bn=Nn.getData();if(Bn.count()>_n){var Vn=hn.get(["data","partialData"]);In+=At(Vn,{displayCnt:_n})}else In+=hn.get(["data","allData"]);for(var Ln=hn.get(["data","separator","middle"]),Dn=hn.get(["data","separator","end"]),Hn=[],Fn=0;Fn<Bn.count();Fn++)if(Fn<_n){var zn=Bn.getName(Fn),jn=Bn.getValues(Fn),Gn=hn.get(["data",zn?"withName":"withoutName"]);Hn.push(At(Gn,{name:zn,value:jn.join(Ln)}))}In+=Hn.join(Ln)+Dn,En.push(In)}});var An=hn.getModel(["series","multiple","separator"]),$n=An.get("middle"),Pn=An.get("end");Cn+=En.join($n)+Pn,vn.setAttribute("aria-label",Cn)}}}function At(jt,hn){if(!isString$2(jt))return jt;var vn=jt;return each$f(hn,function(bn,_n){vn=vn.replace(new RegExp("\\{\\s*"+_n+"\\s*\\}","g"),bn)}),vn}function Dt(){var jt=xe.get("title");return jt&&jt.length&&(jt=jt[0]),jt&&jt.text}function Lt(jt){var hn=xe.getLocaleModel().get(["series","typeNames"]);return hn[jt]||hn.chart}}function ariaPreprocessor(xe){if(!(!xe||!xe.aria)){var $e=xe.aria;$e.show!=null&&($e.enabled=$e.show),$e.label=$e.label||{},each$f(["description","general","series","data"],function(Ie){$e[Ie]!=null&&($e.label[Ie]=$e[Ie])})}}function install$3(xe){xe.registerPreprocessor(ariaPreprocessor),xe.registerVisual(xe.PRIORITY.VISUAL.ARIA,ariaVisual)}var RELATIONAL_EXPRESSION_OP_ALIAS_MAP={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function xe($e){var Ie=this._condVal=isString$2($e)?new RegExp($e):isRegExp$1($e)?$e:null;if(Ie==null){var Fe="";throwError$1(Fe)}}return xe.prototype.evaluate=function($e){var Ie=typeof $e;return isString$2(Ie)?this._condVal.test($e):isNumber$2(Ie)?this._condVal.test($e+""):!1},xe}(),ConstConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return this.value},xe}(),AndConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if(!$e[Ie].evaluate())return!1;return!0},xe}(),OrConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if($e[Ie].evaluate())return!0;return!1},xe}(),NotConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return!this.child.evaluate()},xe}(),RelationalConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=!!this.valueParser,Ie=this.getValue,Fe=Ie(this.valueGetterParam),Ue=$e?this.valueParser(Fe):null,qe=0;qe<this.subCondList.length;qe++)if(!this.subCondList[qe].evaluate($e?Ue:Fe))return!1;return!0},xe}();function parseOption(xe,$e){if(xe===!0||xe===!1){var Ie=new ConstConditionInternal;return Ie.value=xe,Ie}var Fe="";return isObjectNotArray(xe)||throwError$1(Fe),xe.and?parseAndOrOption("and",xe,$e):xe.or?parseAndOrOption("or",xe,$e):xe.not?parseNotOption(xe,$e):parseRelationalOption(xe,$e)}function parseAndOrOption(xe,$e,Ie){var Fe=$e[xe],Ue="";isArray$2(Fe)||throwError$1(Ue),Fe.length||throwError$1(Ue);var qe=xe==="and"?new AndConditionInternal:new OrConditionInternal;return qe.children=map$1(Fe,function(At){return parseOption(At,Ie)}),qe.children.length||throwError$1(Ue),qe}function parseNotOption(xe,$e){var Ie=xe.not,Fe="";isObjectNotArray(Ie)||throwError$1(Fe);var Ue=new NotConditionInternal;return Ue.child=parseOption(Ie,$e),Ue.child||throwError$1(Fe),Ue}function parseRelationalOption(xe,$e){for(var Ie="",Fe=$e.prepareGetValue(xe),Ue=[],qe=keys(xe),At=xe.parser,Dt=At?getRawValueParser(At):null,Lt=0;Lt<qe.length;Lt++){var jt=qe[Lt];if(!(jt==="parser"||$e.valueGetterAttrMap.get(jt))){var hn=hasOwn(RELATIONAL_EXPRESSION_OP_ALIAS_MAP,jt)?RELATIONAL_EXPRESSION_OP_ALIAS_MAP[jt]:jt,vn=xe[jt],bn=Dt?Dt(vn):vn,_n=createFilterComparator(hn,bn)||hn==="reg"&&new RegExpEvaluator(bn);_n||throwError$1(Ie),Ue.push(_n)}}Ue.length||throwError$1(Ie);var wn=new RelationalConditionInternal;return wn.valueGetterParam=Fe,wn.valueParser=Dt,wn.getValue=$e.getValue,wn.subCondList=Ue,wn}function isObjectNotArray(xe){return isObject$4(xe)&&!isArrayLike(xe)}var ConditionalExpressionParsed=function(){function xe($e,Ie){this._cond=parseOption($e,Ie)}return xe.prototype.evaluate=function(){return this._cond.evaluate()},xe}();function parseConditionalExpression(xe,$e){return new ConditionalExpressionParsed(xe,$e)}var filterTransform={type:"echarts:filter",transform:function(xe){for(var $e=xe.upstream,Ie,Fe=parseConditionalExpression(xe.config,{valueGetterAttrMap:createHashMap({dimension:!0}),prepareGetValue:function(Dt){var Lt="",jt=Dt.dimension;hasOwn(Dt,"dimension")||throwError$1(Lt);var hn=$e.getDimensionInfo(jt);return hn||throwError$1(Lt),{dimIdx:hn.index}},getValue:function(Dt){return $e.retrieveValueFromItem(Ie,Dt.dimIdx)}}),Ue=[],qe=0,At=$e.count();qe<At;qe++)Ie=$e.getRawDataItem(qe),Fe.evaluate()&&Ue.push(Ie);return{data:Ue}}},sortTransform={type:"echarts:sort",transform:function(xe){var $e=xe.upstream,Ie=xe.config,Fe="",Ue=normalizeToArray(Ie);Ue.length||throwError$1(Fe);var qe=[];each$f(Ue,function(hn){var vn=hn.dimension,bn=hn.order,_n=hn.parser,wn=hn.incomparable;if(vn==null&&throwError$1(Fe),bn!=="asc"&&bn!=="desc"&&throwError$1(Fe),wn&&wn!=="min"&&wn!=="max"){var kn="";throwError$1(kn)}if(bn!=="asc"&&bn!=="desc"){var Cn="";throwError$1(Cn)}var Sn=$e.getDimensionInfo(vn);Sn||throwError$1(Fe);var xn=_n?getRawValueParser(_n):null;_n&&!xn&&throwError$1(Fe),qe.push({dimIdx:Sn.index,parser:xn,comparator:new SortOrderComparator(bn,wn)})});var At=$e.sourceFormat;At!==SOURCE_FORMAT_ARRAY_ROWS&&At!==SOURCE_FORMAT_OBJECT_ROWS&&throwError$1(Fe);for(var Dt=[],Lt=0,jt=$e.count();Lt<jt;Lt++)Dt.push($e.getRawDataItem(Lt));return Dt.sort(function(hn,vn){for(var bn=0;bn<qe.length;bn++){var _n=qe[bn],wn=$e.retrieveValueFromItem(hn,_n.dimIdx),kn=$e.retrieveValueFromItem(vn,_n.dimIdx);_n.parser&&(wn=_n.parser(wn),kn=_n.parser(kn));var Cn=_n.comparator.evaluate(wn,kn);if(Cn!==0)return Cn}return 0}),{data:Dt}}};function install$2(xe){xe.registerTransform(filterTransform),xe.registerTransform(sortTransform)}var DatasetModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataset",Ie}return $e.prototype.init=function(Ie,Fe,Ue){xe.prototype.init.call(this,Ie,Fe,Ue),this._sourceManager=new SourceManager(this),disableTransformOptionMerge(this)},$e.prototype.mergeOption=function(Ie,Fe){xe.prototype.mergeOption.call(this,Ie,Fe),disableTransformOptionMerge(this)},$e.prototype.optionUpdated=function(){this._sourceManager.dirty()},$e.prototype.getSourceManager=function(){return this._sourceManager},$e.type="dataset",$e.defaultOption={seriesLayoutBy:SERIES_LAYOUT_BY_COLUMN},$e}(ComponentModel),DatasetView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataset",Ie}return $e.type="dataset",$e}(ComponentView);function install$1(xe){xe.registerComponentModel(DatasetModel),xe.registerComponentView(DatasetView)}var CMD=PathProxy.CMD;function aroundEqual(xe,$e){return Math.abs(xe-$e)<1e-5}function pathToBezierCurves(xe){var $e=xe.data,Ie=xe.len(),Fe=[],Ue,qe=0,At=0,Dt=0,Lt=0;function jt(Bn,Vn){Ue&&Ue.length>2&&Fe.push(Ue),Ue=[Bn,Vn]}function hn(Bn,Vn,Ln,Dn){aroundEqual(Bn,Ln)&&aroundEqual(Vn,Dn)||Ue.push(Bn,Vn,Ln,Dn,Ln,Dn)}function vn(Bn,Vn,Ln,Dn,Hn,Fn){var zn=Math.abs(Vn-Bn),jn=Math.tan(zn/4)*4/3,Gn=Vn<Bn?-1:1,Wn=Math.cos(Bn),Xn=Math.sin(Bn),er=Math.cos(Vn),rr=Math.sin(Vn),Jn=Wn*Hn+Ln,qn=Xn*Fn+Dn,Yn=er*Hn+Ln,ar=rr*Fn+Dn,tr=Hn*jn*Gn,or=Fn*jn*Gn;Ue.push(Jn-tr*Xn,qn+or*Wn,Yn+tr*rr,ar-or*er,Yn,ar)}for(var bn,_n,wn,kn,Cn=0;Cn<Ie;){var Sn=$e[Cn++],xn=Cn===1;switch(xn&&(qe=$e[Cn],At=$e[Cn+1],Dt=qe,Lt=At,(Sn===CMD.L||Sn===CMD.C||Sn===CMD.Q)&&(Ue=[Dt,Lt])),Sn){case CMD.M:qe=Dt=$e[Cn++],At=Lt=$e[Cn++],jt(Dt,Lt);break;case CMD.L:bn=$e[Cn++],_n=$e[Cn++],hn(qe,At,bn,_n),qe=bn,At=_n;break;case CMD.C:Ue.push($e[Cn++],$e[Cn++],$e[Cn++],$e[Cn++],qe=$e[Cn++],At=$e[Cn++]);break;case CMD.Q:bn=$e[Cn++],_n=$e[Cn++],wn=$e[Cn++],kn=$e[Cn++],Ue.push(qe+2/3*(bn-qe),At+2/3*(_n-At),wn+2/3*(bn-wn),kn+2/3*(_n-kn),wn,kn),qe=wn,At=kn;break;case CMD.A:var En=$e[Cn++],Tn=$e[Cn++],An=$e[Cn++],$n=$e[Cn++],Pn=$e[Cn++],Nn=$e[Cn++]+Pn;Cn+=1;var Mn=!$e[Cn++];bn=Math.cos(Pn)*An+En,_n=Math.sin(Pn)*$n+Tn,xn?(Dt=bn,Lt=_n,jt(Dt,Lt)):hn(qe,At,bn,_n),qe=Math.cos(Nn)*An+En,At=Math.sin(Nn)*$n+Tn;for(var In=(Mn?-1:1)*Math.PI/2,On=Pn;Mn?On>Nn:On<Nn;On+=In){var Rn=Mn?Math.max(On+In,Nn):Math.min(On+In,Nn);vn(On,Rn,En,Tn,An,$n)}break;case CMD.R:Dt=qe=$e[Cn++],Lt=At=$e[Cn++],bn=Dt+$e[Cn++],_n=Lt+$e[Cn++],jt(bn,Lt),hn(bn,Lt,bn,_n),hn(bn,_n,Dt,_n),hn(Dt,_n,Dt,Lt),hn(Dt,Lt,bn,Lt);break;case CMD.Z:Ue&&hn(qe,At,Dt,Lt),qe=Dt,At=Lt;break}}return Ue&&Ue.length>2&&Fe.push(Ue),Fe}function adpativeBezier(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(aroundEqual(xe,Ie)&&aroundEqual($e,Fe)&&aroundEqual(Ue,At)&&aroundEqual(qe,Dt)){Lt.push(At,Dt);return}var hn=2/jt,vn=hn*hn,bn=At-xe,_n=Dt-$e,wn=Math.sqrt(bn*bn+_n*_n);bn/=wn,_n/=wn;var kn=Ie-xe,Cn=Fe-$e,Sn=Ue-At,xn=qe-Dt,En=kn*kn+Cn*Cn,Tn=Sn*Sn+xn*xn;if(En<vn&&Tn<vn){Lt.push(At,Dt);return}var An=bn*kn+_n*Cn,$n=-bn*Sn-_n*xn,Pn=En-An*An,Nn=Tn-$n*$n;if(Pn<vn&&An>=0&&Nn<vn&&$n>=0){Lt.push(At,Dt);return}var Mn=[],In=[];cubicSubdivide(xe,Ie,Ue,At,.5,Mn),cubicSubdivide($e,Fe,qe,Dt,.5,In),adpativeBezier(Mn[0],In[0],Mn[1],In[1],Mn[2],In[2],Mn[3],In[3],Lt,jt),adpativeBezier(Mn[4],In[4],Mn[5],In[5],Mn[6],In[6],Mn[7],In[7],Lt,jt)}function pathToPolygons(xe,$e){var Ie=pathToBezierCurves(xe),Fe=[];$e=$e||1;for(var Ue=0;Ue<Ie.length;Ue++){var qe=Ie[Ue],At=[],Dt=qe[0],Lt=qe[1];At.push(Dt,Lt);for(var jt=2;jt<qe.length;){var hn=qe[jt++],vn=qe[jt++],bn=qe[jt++],_n=qe[jt++],wn=qe[jt++],kn=qe[jt++];adpativeBezier(Dt,Lt,hn,vn,bn,_n,wn,kn,At,$e),Dt=wn,Lt=kn}Fe.push(At)}return Fe}function getDividingGrids(xe,$e,Ie){var Fe=xe[$e],Ue=xe[1-$e],qe=Math.abs(Fe/Ue),At=Math.ceil(Math.sqrt(qe*Ie)),Dt=Math.floor(Ie/At);Dt===0&&(Dt=1,At=Ie);for(var Lt=[],jt=0;jt<At;jt++)Lt.push(Dt);var hn=At*Dt,vn=Ie-hn;if(vn>0)for(var jt=0;jt<vn;jt++)Lt[jt%At]+=1;return Lt}function divideSector(xe,$e,Ie){for(var Fe=xe.r0,Ue=xe.r,qe=xe.startAngle,At=xe.endAngle,Dt=Math.abs(At-qe),Lt=Dt*Ue,jt=Ue-Fe,hn=Lt>Math.abs(jt),vn=getDividingGrids([Lt,jt],hn?0:1,$e),bn=(hn?Dt:jt)/vn.length,_n=0;_n<vn.length;_n++)for(var wn=(hn?jt:Dt)/vn[_n],kn=0;kn<vn[_n];kn++){var Cn={};hn?(Cn.startAngle=qe+bn*_n,Cn.endAngle=qe+bn*(_n+1),Cn.r0=Fe+wn*kn,Cn.r=Fe+wn*(kn+1)):(Cn.startAngle=qe+wn*kn,Cn.endAngle=qe+wn*(kn+1),Cn.r0=Fe+bn*_n,Cn.r=Fe+bn*(_n+1)),Cn.clockwise=xe.clockwise,Cn.cx=xe.cx,Cn.cy=xe.cy,Ie.push(Cn)}}function divideRect(xe,$e,Ie){for(var Fe=xe.width,Ue=xe.height,qe=Fe>Ue,At=getDividingGrids([Fe,Ue],qe?0:1,$e),Dt=qe?"width":"height",Lt=qe?"height":"width",jt=qe?"x":"y",hn=qe?"y":"x",vn=xe[Dt]/At.length,bn=0;bn<At.length;bn++)for(var _n=xe[Lt]/At[bn],wn=0;wn<At[bn];wn++){var kn={};kn[jt]=bn*vn,kn[hn]=wn*_n,kn[Dt]=vn,kn[Lt]=_n,kn.x+=xe.x,kn.y+=xe.y,Ie.push(kn)}}function crossProduct2d(xe,$e,Ie,Fe){return xe*Fe-Ie*$e}function lineLineIntersect(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=Ie-xe,jt=Fe-$e,hn=At-Ue,vn=Dt-qe,bn=crossProduct2d(hn,vn,Lt,jt);if(Math.abs(bn)<1e-6)return null;var _n=xe-Ue,wn=$e-qe,kn=crossProduct2d(_n,wn,hn,vn)/bn;return kn<0||kn>1?null:new Point(kn*Lt+xe,kn*jt+$e)}function projPtOnLine(xe,$e,Ie){var Fe=new Point;Point.sub(Fe,Ie,$e),Fe.normalize();var Ue=new Point;Point.sub(Ue,xe,$e);var qe=Ue.dot(Fe);return qe}function addToPoly(xe,$e){var Ie=xe[xe.length-1];Ie&&Ie[0]===$e[0]&&Ie[1]===$e[1]||xe.push($e)}function splitPolygonByLine(xe,$e,Ie){for(var Fe=xe.length,Ue=[],qe=0;qe<Fe;qe++){var At=xe[qe],Dt=xe[(qe+1)%Fe],Lt=lineLineIntersect(At[0],At[1],Dt[0],Dt[1],$e.x,$e.y,Ie.x,Ie.y);Lt&&Ue.push({projPt:projPtOnLine(Lt,$e,Ie),pt:Lt,idx:qe})}if(Ue.length<2)return[{points:xe},{points:xe}];Ue.sort(function(Cn,Sn){return Cn.projPt-Sn.projPt});var jt=Ue[0],hn=Ue[Ue.length-1];if(hn.idx<jt.idx){var vn=jt;jt=hn,hn=vn}for(var bn=[jt.pt.x,jt.pt.y],_n=[hn.pt.x,hn.pt.y],wn=[bn],kn=[_n],qe=jt.idx+1;qe<=hn.idx;qe++)addToPoly(wn,xe[qe].slice());addToPoly(wn,_n),addToPoly(wn,bn);for(var qe=hn.idx+1;qe<=jt.idx+Fe;qe++)addToPoly(kn,xe[qe%Fe].slice());return addToPoly(kn,bn),addToPoly(kn,_n),[{points:wn},{points:kn}]}function binaryDividePolygon(xe){var $e=xe.points,Ie=[],Fe=[];fromPoints($e,Ie,Fe);var Ue=new BoundingRect(Ie[0],Ie[1],Fe[0]-Ie[0],Fe[1]-Ie[1]),qe=Ue.width,At=Ue.height,Dt=Ue.x,Lt=Ue.y,jt=new Point,hn=new Point;return qe>At?(jt.x=hn.x=Dt+qe/2,jt.y=Lt,hn.y=Lt+At):(jt.y=hn.y=Lt+At/2,jt.x=Dt,hn.x=Dt+qe),splitPolygonByLine($e,jt,hn)}function binaryDivideRecursive(xe,$e,Ie,Fe){if(Ie===1)Fe.push($e);else{var Ue=Math.floor(Ie/2),qe=xe($e);binaryDivideRecursive(xe,qe[0],Ue,Fe),binaryDivideRecursive(xe,qe[1],Ie-Ue,Fe)}return Fe}function clone(xe,$e){for(var Ie=[],Fe=0;Fe<$e;Fe++)Ie.push(clonePath(xe));return Ie}function copyPathProps(xe,$e){$e.setStyle(xe.style),$e.z=xe.z,$e.z2=xe.z2,$e.zlevel=xe.zlevel}function polygonConvert(xe){for(var $e=[],Ie=0;Ie<xe.length;)$e.push([xe[Ie++],xe[Ie++]]);return $e}function split(xe,$e){var Ie=[],Fe=xe.shape,Ue;switch(xe.type){case"rect":divideRect(Fe,$e,Ie),Ue=Rect$2;break;case"sector":divideSector(Fe,$e,Ie),Ue=Sector;break;case"circle":divideSector({r0:0,r:Fe.r,startAngle:0,endAngle:Math.PI*2,cx:Fe.cx,cy:Fe.cy},$e,Ie),Ue=Sector;break;default:var qe=xe.getComputedTransform(),At=qe?Math.sqrt(Math.max(qe[0]*qe[0]+qe[1]*qe[1],qe[2]*qe[2]+qe[3]*qe[3])):1,Dt=map$1(pathToPolygons(xe.getUpdatedPathProxy(),At),function(Sn){return polygonConvert(Sn)}),Lt=Dt.length;if(Lt===0)binaryDivideRecursive(binaryDividePolygon,{points:Dt[0]},$e,Ie);else if(Lt===$e)for(var jt=0;jt<Lt;jt++)Ie.push({points:Dt[jt]});else{var hn=0,vn=map$1(Dt,function(Sn){var xn=[],En=[];fromPoints(Sn,xn,En);var Tn=(En[1]-xn[1])*(En[0]-xn[0]);return hn+=Tn,{poly:Sn,area:Tn}});vn.sort(function(Sn,xn){return xn.area-Sn.area});for(var bn=$e,jt=0;jt<Lt;jt++){var _n=vn[jt];if(bn<=0)break;var wn=jt===Lt-1?bn:Math.ceil(_n.area/hn*$e);wn<0||(binaryDivideRecursive(binaryDividePolygon,{points:_n.poly},wn,Ie),bn-=wn)}}Ue=Polygon;break}if(!Ue)return clone(xe,$e);for(var kn=[],jt=0;jt<Ie.length;jt++){var Cn=new Ue;Cn.setShape(Ie[jt]),copyPathProps(xe,Cn),kn.push(Cn)}return kn}function alignSubpath(xe,$e){var Ie=xe.length,Fe=$e.length;if(Ie===Fe)return[xe,$e];for(var Ue=[],qe=[],At=Ie<Fe?xe:$e,Dt=Math.min(Ie,Fe),Lt=Math.abs(Fe-Ie)/6,jt=(Dt-2)/6,hn=Math.ceil(Lt/jt)+1,vn=[At[0],At[1]],bn=Lt,_n=2;_n<Dt;){var wn=At[_n-2],kn=At[_n-1],Cn=At[_n++],Sn=At[_n++],xn=At[_n++],En=At[_n++],Tn=At[_n++],An=At[_n++];if(bn<=0){vn.push(Cn,Sn,xn,En,Tn,An);continue}for(var $n=Math.min(bn,hn-1)+1,Pn=1;Pn<=$n;Pn++){var Nn=Pn/$n;cubicSubdivide(wn,Cn,xn,Tn,Nn,Ue),cubicSubdivide(kn,Sn,En,An,Nn,qe),wn=Ue[3],kn=qe[3],vn.push(Ue[1],qe[1],Ue[2],qe[2],wn,kn),Cn=Ue[5],Sn=qe[5],xn=Ue[6],En=qe[6]}bn-=$n-1}return At===xe?[vn,$e]:[xe,vn]}function createSubpath(xe,$e){for(var Ie=xe.length,Fe=xe[Ie-2],Ue=xe[Ie-1],qe=[],At=0;At<$e.length;)qe[At++]=Fe,qe[At++]=Ue;return qe}function alignBezierCurves(xe,$e){for(var Ie,Fe,Ue,qe=[],At=[],Dt=0;Dt<Math.max(xe.length,$e.length);Dt++){var Lt=xe[Dt],jt=$e[Dt],hn=void 0,vn=void 0;Lt?jt?(Ie=alignSubpath(Lt,jt),hn=Ie[0],vn=Ie[1],Fe=hn,Ue=vn):(vn=createSubpath(Ue||Lt,Lt),hn=Lt):(hn=createSubpath(Fe||jt,jt),vn=jt),qe.push(hn),At.push(vn)}return[qe,At]}function centroid(xe){for(var $e=0,Ie=0,Fe=0,Ue=xe.length,qe=0,At=Ue-2;qe<Ue;At=qe,qe+=2){var Dt=xe[At],Lt=xe[At+1],jt=xe[qe],hn=xe[qe+1],vn=Dt*hn-jt*Lt;$e+=vn,Ie+=(Dt+jt)*vn,Fe+=(Lt+hn)*vn}return $e===0?[xe[0]||0,xe[1]||0]:[Ie/$e/3,Fe/$e/3,$e]}function findBestRingOffset(xe,$e,Ie,Fe){for(var Ue=(xe.length-2)/6,qe=1/0,At=0,Dt=xe.length,Lt=Dt-2,jt=0;jt<Ue;jt++){for(var hn=jt*6,vn=0,bn=0;bn<Dt;bn+=2){var _n=bn===0?hn:(hn+bn-2)%Lt+2,wn=xe[_n]-Ie[0],kn=xe[_n+1]-Ie[1],Cn=$e[bn]-Fe[0],Sn=$e[bn+1]-Fe[1],xn=Cn-wn,En=Sn-kn;vn+=xn*xn+En*En}vn<qe&&(qe=vn,At=jt)}return At}function reverse(xe){for(var $e=[],Ie=xe.length,Fe=0;Fe<Ie;Fe+=2)$e[Fe]=xe[Ie-Fe-2],$e[Fe+1]=xe[Ie-Fe-1];return $e}function findBestMorphingRotation(xe,$e,Ie,Fe){for(var Ue=[],qe,At=0;At<xe.length;At++){var Dt=xe[At],Lt=$e[At],jt=centroid(Dt),hn=centroid(Lt);qe==null&&(qe=jt[2]<0!=hn[2]<0);var vn=[],bn=[],_n=0,wn=1/0,kn=[],Cn=Dt.length;qe&&(Dt=reverse(Dt));for(var Sn=findBestRingOffset(Dt,Lt,jt,hn)*6,xn=Cn-2,En=0;En<xn;En+=2){var Tn=(Sn+En)%xn+2;vn[En+2]=Dt[Tn]-jt[0],vn[En+3]=Dt[Tn+1]-jt[1]}vn[0]=Dt[Sn]-jt[0],vn[1]=Dt[Sn+1]-jt[1];for(var An=Fe/Ie,$n=-Fe/2;$n<=Fe/2;$n+=An){for(var Pn=Math.sin($n),Nn=Math.cos($n),Mn=0,En=0;En<Dt.length;En+=2){var In=vn[En],On=vn[En+1],Rn=Lt[En]-hn[0],Bn=Lt[En+1]-hn[1],Vn=Rn*Nn-Bn*Pn,Ln=Rn*Pn+Bn*Nn;kn[En]=Vn,kn[En+1]=Ln;var Dn=Vn-In,Hn=Ln-On;Mn+=Dn*Dn+Hn*Hn}if(Mn<wn){wn=Mn,_n=$n;for(var Fn=0;Fn<kn.length;Fn++)bn[Fn]=kn[Fn]}}Ue.push({from:vn,to:bn,fromCp:jt,toCp:hn,rotation:-_n})}return Ue}function isCombineMorphing(xe){return xe.__isCombineMorphing}var SAVED_METHOD_PREFIX="__mOriginal_";function saveAndModifyMethod(xe,$e,Ie){var Fe=SAVED_METHOD_PREFIX+$e,Ue=xe[Fe]||xe[$e];xe[Fe]||(xe[Fe]=xe[$e]);var qe=Ie.replace,At=Ie.after,Dt=Ie.before;xe[$e]=function(){var Lt=arguments,jt;return Dt&&Dt.apply(this,Lt),qe?jt=qe.apply(this,Lt):jt=Ue.apply(this,Lt),At&&At.apply(this,Lt),jt}}function restoreMethod(xe,$e){var Ie=SAVED_METHOD_PREFIX+$e;xe[Ie]&&(xe[$e]=xe[Ie],xe[Ie]=null)}function applyTransformOnBeziers(xe,$e){for(var Ie=0;Ie<xe.length;Ie++)for(var Fe=xe[Ie],Ue=0;Ue<Fe.length;){var qe=Fe[Ue],At=Fe[Ue+1];Fe[Ue++]=$e[0]*qe+$e[2]*At+$e[4],Fe[Ue++]=$e[1]*qe+$e[3]*At+$e[5]}}function prepareMorphPath(xe,$e){var Ie=xe.getUpdatedPathProxy(),Fe=$e.getUpdatedPathProxy(),Ue=alignBezierCurves(pathToBezierCurves(Ie),pathToBezierCurves(Fe)),qe=Ue[0],At=Ue[1],Dt=xe.getComputedTransform(),Lt=$e.getComputedTransform();function jt(){this.transform=null}Dt&&applyTransformOnBeziers(qe,Dt),Lt&&applyTransformOnBeziers(At,Lt),saveAndModifyMethod($e,"updateTransform",{replace:jt}),$e.transform=null;var hn=findBestMorphingRotation(qe,At,10,Math.PI),vn=[];saveAndModifyMethod($e,"buildPath",{replace:function(bn){for(var _n=$e.__morphT,wn=1-_n,kn=[],Cn=0;Cn<hn.length;Cn++){var Sn=hn[Cn],xn=Sn.from,En=Sn.to,Tn=Sn.rotation*_n,An=Sn.fromCp,$n=Sn.toCp,Pn=Math.sin(Tn),Nn=Math.cos(Tn);lerp$1(kn,An,$n,_n);for(var Mn=0;Mn<xn.length;Mn+=2){var In=xn[Mn],On=xn[Mn+1],Rn=En[Mn],Bn=En[Mn+1],Vn=In*wn+Rn*_n,Ln=On*wn+Bn*_n;vn[Mn]=Vn*Nn-Ln*Pn+kn[0],vn[Mn+1]=Vn*Pn+Ln*Nn+kn[1]}var Dn=vn[0],Hn=vn[1];bn.moveTo(Dn,Hn);for(var Mn=2;Mn<xn.length;){var Rn=vn[Mn++],Bn=vn[Mn++],Fn=vn[Mn++],zn=vn[Mn++],jn=vn[Mn++],Gn=vn[Mn++];Dn===Rn&&Hn===Bn&&Fn===jn&&zn===Gn?bn.lineTo(jn,Gn):bn.bezierCurveTo(Rn,Bn,Fn,zn,jn,Gn),Dn=jn,Hn=Gn}}}})}function morphPath(xe,$e,Ie){if(!xe||!$e)return $e;var Fe=Ie.done,Ue=Ie.during;prepareMorphPath(xe,$e),$e.__morphT=0;function qe(){restoreMethod($e,"buildPath"),restoreMethod($e,"updateTransform"),$e.__morphT=-1,$e.createPathProxy(),$e.dirtyShape()}return $e.animateTo({__morphT:1},defaults$1({during:function(At){$e.dirtyShape(),Ue&&Ue(At)},done:function(){qe(),Fe&&Fe()}},Ie)),$e}function hilbert(xe,$e,Ie,Fe,Ue,qe){var At=16;xe=Ue===Ie?0:Math.round(32767*(xe-Ie)/(Ue-Ie)),$e=qe===Fe?0:Math.round(32767*($e-Fe)/(qe-Fe));for(var Dt=0,Lt,jt=(1<<At)/2;jt>0;jt/=2){var hn=0,vn=0;(xe&jt)>0&&(hn=1),($e&jt)>0&&(vn=1),Dt+=jt*jt*(3*hn^vn),vn===0&&(hn===1&&(xe=jt-1-xe,$e=jt-1-$e),Lt=xe,xe=$e,$e=Lt)}return Dt}function sortPaths(xe){var $e=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=map$1(xe,function(Dt){var Lt=Dt.getBoundingRect(),jt=Dt.getComputedTransform(),hn=Lt.x+Lt.width/2+(jt?jt[4]:0),vn=Lt.y+Lt.height/2+(jt?jt[5]:0);return $e=Math.min(hn,$e),Ie=Math.min(vn,Ie),Fe=Math.max(hn,Fe),Ue=Math.max(vn,Ue),[hn,vn]}),At=map$1(qe,function(Dt,Lt){return{cp:Dt,z:hilbert(Dt[0],Dt[1],$e,Ie,Fe,Ue),path:xe[Lt]}});return At.sort(function(Dt,Lt){return Dt.z-Lt.z}).map(function(Dt){return Dt.path})}function defaultDividePath(xe){return split(xe.path,xe.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(xe,$e,Ie){var Fe=[];function Ue(An){for(var $n=0;$n<An.length;$n++){var Pn=An[$n];isCombineMorphing(Pn)?Ue(Pn.childrenRef()):Pn instanceof Path&&Fe.push(Pn)}}Ue(xe);var qe=Fe.length;if(!qe)return createEmptyReturn();var At=Ie.dividePath||defaultDividePath,Dt=At({path:$e,count:qe});if(Dt.length!==qe)return console.error("Invalid morphing: unmatched splitted path"),createEmptyReturn();Fe=sortPaths(Fe),Dt=sortPaths(Dt);for(var Lt=Ie.done,jt=Ie.during,hn=Ie.individualDelay,vn=new Transformable,bn=0;bn<qe;bn++){var _n=Fe[bn],wn=Dt[bn];wn.parent=$e,wn.copyTransform(vn),hn||prepareMorphPath(_n,wn)}$e.__isCombineMorphing=!0,$e.childrenRef=function(){return Dt};function kn(An){for(var $n=0;$n<Dt.length;$n++)Dt[$n].addSelfToZr(An)}saveAndModifyMethod($e,"addSelfToZr",{after:function(An){kn(An)}}),saveAndModifyMethod($e,"removeSelfFromZr",{after:function(An){for(var $n=0;$n<Dt.length;$n++)Dt[$n].removeSelfFromZr(An)}});function Cn(){$e.__isCombineMorphing=!1,$e.__morphT=-1,$e.childrenRef=null,restoreMethod($e,"addSelfToZr"),restoreMethod($e,"removeSelfFromZr")}var Sn=Dt.length;if(hn)for(var xn=Sn,En=function(){xn--,xn===0&&(Cn(),Lt&&Lt())},bn=0;bn<Sn;bn++){var Tn=hn?defaults$1({delay:(Ie.delay||0)+hn(bn,Sn,Fe[bn],Dt[bn]),done:En},Ie):Ie;morphPath(Fe[bn],Dt[bn],Tn)}else $e.__morphT=0,$e.animateTo({__morphT:1},defaults$1({during:function(An){for(var $n=0;$n<Sn;$n++){var Pn=Dt[$n];Pn.__morphT=$e.__morphT,Pn.dirtyShape()}jt&&jt(An)},done:function(){Cn();for(var An=0;An<xe.length;An++)restoreMethod(xe[An],"updateTransform");Lt&&Lt()}},Ie));return $e.__zr&&kn($e.__zr),{fromIndividuals:Fe,toIndividuals:Dt,count:Sn}}function separateMorph(xe,$e,Ie){var Fe=$e.length,Ue=[],qe=Ie.dividePath||defaultDividePath;function At(_n){for(var wn=0;wn<_n.length;wn++){var kn=_n[wn];isCombineMorphing(kn)?At(kn.childrenRef()):kn instanceof Path&&Ue.push(kn)}}if(isCombineMorphing(xe)){At(xe.childrenRef());var Dt=Ue.length;if(Dt<Fe)for(var Lt=0,jt=Dt;jt<Fe;jt++)Ue.push(clonePath(Ue[Lt++%Dt]));Ue.length=Fe}else{Ue=qe({path:xe,count:Fe});for(var hn=xe.getComputedTransform(),jt=0;jt<Ue.length;jt++)Ue[jt].setLocalTransform(hn);if(Ue.length!==Fe)return console.error("Invalid morphing: unmatched splitted path"),createEmptyReturn()}Ue=sortPaths(Ue),$e=sortPaths($e);for(var vn=Ie.individualDelay,jt=0;jt<Fe;jt++){var bn=vn?defaults$1({delay:(Ie.delay||0)+vn(jt,Fe,Ue[jt],$e[jt])},Ie):Ie;morphPath(Ue[jt],$e[jt],bn)}return{fromIndividuals:Ue,toIndividuals:$e,count:$e.length}}function isMultiple(xe){return isArray$2(xe[0])}function prepareMorphBatches(xe,$e){for(var Ie=[],Fe=xe.length,Ue=0;Ue<Fe;Ue++)Ie.push({one:xe[Ue],many:[]});for(var Ue=0;Ue<$e.length;Ue++){var qe=$e[Ue].length,At=void 0;for(At=0;At<qe;At++)Ie[At%Fe].many.push($e[Ue][At])}for(var Dt=0,Ue=Fe-1;Ue>=0;Ue--)if(!Ie[Ue].many.length){var Lt=Ie[Dt].many;if(Lt.length<=1)if(Dt)Dt=0;else return Ie;var qe=Lt.length,jt=Math.ceil(qe/2);Ie[Ue].many=Lt.slice(jt,qe),Ie[Dt].many=Lt.slice(0,jt),Dt++}return Ie}var pathDividers={clone:function(xe){for(var $e=[],Ie=1-Math.pow(1-xe.path.style.opacity,1/xe.count),Fe=0;Fe<xe.count;Fe++){var Ue=clonePath(xe.path);Ue.setStyle("opacity",Ie),$e.push(Ue)}return $e},split:null};function applyMorphAnimation(xe,$e,Ie,Fe,Ue,qe){if(!xe.length||!$e.length)return;var At=getAnimationConfig("update",Fe,Ue);if(!(At&&At.duration>0))return;var Dt=Fe.getModel("universalTransition").get("delay"),Lt=Object.assign({setToFinal:!0},At),jt,hn;isMultiple(xe)&&(jt=xe,hn=$e),isMultiple($e)&&(jt=$e,hn=xe);function vn(Sn,xn,En,Tn,An){var $n=Sn.many,Pn=Sn.one;if($n.length===1&&!An){var Nn=xn?$n[0]:Pn,Mn=xn?Pn:$n[0];if(isCombineMorphing(Nn))vn({many:[Nn],one:Mn},!0,En,Tn,!0);else{var In=Dt?defaults$1({delay:Dt(En,Tn)},Lt):Lt;morphPath(Nn,Mn,In),qe(Nn,Mn,Nn,Mn,In)}}else for(var On=defaults$1({dividePath:pathDividers[Ie],individualDelay:Dt&&function(Hn,Fn,zn,jn){return Dt(Hn+En,Tn)}},Lt),Rn=xn?combineMorph($n,Pn,On):separateMorph(Pn,$n,On),Bn=Rn.fromIndividuals,Vn=Rn.toIndividuals,Ln=Bn.length,Dn=0;Dn<Ln;Dn++){var In=Dt?defaults$1({delay:Dt(Dn,Ln)},Lt):Lt;qe(Bn[Dn],Vn[Dn],xn?$n[Dn]:Sn.one,xn?Sn.one:$n[Dn],In)}}for(var bn=jt?jt===xe:xe.length>$e.length,_n=jt?prepareMorphBatches(hn,jt):prepareMorphBatches(bn?$e:xe,[bn?xe:$e]),wn=0,kn=0;kn<_n.length;kn++)wn+=_n[kn].many.length;for(var Cn=0,kn=0;kn<_n.length;kn++)vn(_n[kn],bn,Cn,wn),Cn+=_n[kn].many.length}function getPathList(xe){if(!xe)return[];if(isArray$2(xe)){for(var $e=[],Ie=0;Ie<xe.length;Ie++)$e.push(getPathList(xe[Ie]));return $e}var Fe=[];return xe.traverse(function(Ue){Ue instanceof Path&&!Ue.disableMorphing&&!Ue.invisible&&!Ue.ignore&&Fe.push(Ue)}),Fe}var DATA_COUNT_THRESHOLD=1e4,TRANSITION_NONE=0,TRANSITION_P2C=1,TRANSITION_C2P=2,getUniversalTransitionGlobalStore=makeInner();function getDimension(xe,$e){for(var Ie=xe.dimensions,Fe=0;Fe<Ie.length;Fe++){var Ue=xe.getDimensionInfo(Ie[Fe]);if(Ue&&Ue.otherDims[$e]===0)return Ie[Fe]}}function getValueByDimension(xe,$e,Ie){var Fe=xe.getDimensionInfo(Ie),Ue=Fe&&Fe.ordinalMeta;if(Fe){var qe=xe.get(Fe.name,$e);return Ue&&Ue.categories[qe]||qe+""}}function getGroupId(xe,$e,Ie,Fe){var Ue=Fe?"itemChildGroupId":"itemGroupId",qe=getDimension(xe,Ue);if(qe){var At=getValueByDimension(xe,$e,qe);return At}var Dt=xe.getRawDataItem($e),Lt=Fe?"childGroupId":"groupId";if(Dt&&Dt[Lt])return Dt[Lt]+"";if(!Fe)return Ie||xe.getId($e)}function flattenDataDiffItems(xe){var $e=[];return each$f(xe,function(Ie){var Fe=Ie.data,Ue=Ie.dataGroupId;if(!(Fe.count()>DATA_COUNT_THRESHOLD))for(var qe=Fe.getIndices(),At=0;At<qe.length;At++)$e.push({data:Fe,groupId:getGroupId(Fe,At,Ue,!1),childGroupId:getGroupId(Fe,At,Ue,!0),divide:Ie.divide,dataIndex:At})}),$e}function fadeInElement(xe,$e,Ie){xe.traverse(function(Fe){Fe instanceof Path&&initProps(Fe,{style:{opacity:0}},$e,{dataIndex:Ie,isFrom:!0})})}function removeEl(xe){if(xe.parent){var $e=xe.getComputedTransform();xe.setLocalTransform($e),xe.parent.remove(xe)}}function stopAnimation(xe){xe.stopAnimation(),xe.isGroup&&xe.traverse(function($e){$e.stopAnimation()})}function animateElementStyles(xe,$e,Ie){var Fe=getAnimationConfig("update",Ie,$e);Fe&&xe.traverse(function(Ue){if(Ue instanceof Displayable){var qe=getOldStyle(Ue);qe&&Ue.animateFrom({style:qe},Fe)}})}function isAllIdSame(xe,$e){var Ie=xe.length;if(Ie!==$e.length)return!1;for(var Fe=0;Fe<Ie;Fe++){var Ue=xe[Fe],qe=$e[Fe];if(Ue.data.getId(Ue.dataIndex)!==qe.data.getId(qe.dataIndex))return!1}return!0}function transitionBetween(xe,$e,Ie){var Fe=flattenDataDiffItems(xe),Ue=flattenDataDiffItems($e);function qe(En,Tn,An,$n,Pn){(An||En)&&Tn.animateFrom({style:An&&An!==En?extend$1(extend$1({},An.style),En.style):En.style},Pn)}var At=!1,Dt=TRANSITION_NONE,Lt=createHashMap(),jt=createHashMap();Fe.forEach(function(En){En.groupId&&Lt.set(En.groupId,!0),En.childGroupId&&jt.set(En.childGroupId,!0)});for(var hn=0;hn<Ue.length;hn++){var vn=Ue[hn].groupId;if(jt.get(vn)){Dt=TRANSITION_P2C;break}var bn=Ue[hn].childGroupId;if(bn&&Lt.get(bn)){Dt=TRANSITION_C2P;break}}function _n(En,Tn){return function(An){var $n=An.data,Pn=An.dataIndex;return Tn?$n.getId(Pn):En?Dt===TRANSITION_P2C?An.childGroupId:An.groupId:Dt===TRANSITION_C2P?An.childGroupId:An.groupId}}var wn=isAllIdSame(Fe,Ue),kn={};if(!wn)for(var hn=0;hn<Ue.length;hn++){var Cn=Ue[hn],Sn=Cn.data.getItemGraphicEl(Cn.dataIndex);Sn&&(kn[Sn.id]=!0)}function xn(En,Tn){var An=Fe[Tn],$n=Ue[En],Pn=$n.data.hostModel,Nn=An.data.getItemGraphicEl(An.dataIndex),Mn=$n.data.getItemGraphicEl($n.dataIndex);if(Nn===Mn){Mn&&animateElementStyles(Mn,$n.dataIndex,Pn);return}Nn&&kn[Nn.id]||Mn&&(stopAnimation(Mn),Nn?(stopAnimation(Nn),removeEl(Nn),At=!0,applyMorphAnimation(getPathList(Nn),getPathList(Mn),$n.divide,Pn,En,qe)):fadeInElement(Mn,Pn,En))}new DataDiffer(Fe,Ue,_n(!0,wn),_n(!1,wn),null,"multiple").update(xn).updateManyToOne(function(En,Tn){var An=Ue[En],$n=An.data,Pn=$n.hostModel,Nn=$n.getItemGraphicEl(An.dataIndex),Mn=filter(map$1(Tn,function(In){return Fe[In].data.getItemGraphicEl(Fe[In].dataIndex)}),function(In){return In&&In!==Nn&&!kn[In.id]});Nn&&(stopAnimation(Nn),Mn.length?(each$f(Mn,function(In){stopAnimation(In),removeEl(In)}),At=!0,applyMorphAnimation(getPathList(Mn),getPathList(Nn),An.divide,Pn,En,qe)):fadeInElement(Nn,Pn,An.dataIndex))}).updateOneToMany(function(En,Tn){var An=Fe[Tn],$n=An.data.getItemGraphicEl(An.dataIndex);if(!($n&&kn[$n.id])){var Pn=filter(map$1(En,function(Mn){return Ue[Mn].data.getItemGraphicEl(Ue[Mn].dataIndex)}),function(Mn){return Mn&&Mn!==$n}),Nn=Ue[En[0]].data.hostModel;Pn.length&&(each$f(Pn,function(Mn){return stopAnimation(Mn)}),$n?(stopAnimation($n),removeEl($n),At=!0,applyMorphAnimation(getPathList($n),getPathList(Pn),An.divide,Nn,En[0],qe)):each$f(Pn,function(Mn){return fadeInElement(Mn,Nn,En[0])}))}}).updateManyToMany(function(En,Tn){new DataDiffer(Tn,En,function(An){return Fe[An].data.getId(Fe[An].dataIndex)},function(An){return Ue[An].data.getId(Ue[An].dataIndex)}).update(function(An,$n){xn(En[An],Tn[$n])}).execute()}).execute(),At&&each$f($e,function(En){var Tn=En.data,An=Tn.hostModel,$n=An&&Ie.getViewOfSeriesModel(An),Pn=getAnimationConfig("update",An,0);$n&&An.isAnimationEnabled()&&Pn&&Pn.duration>0&&$n.group.traverse(function(Nn){Nn instanceof Path&&!Nn.animators.length&&Nn.animateFrom({style:{opacity:0}},Pn)})})}function getSeriesTransitionKey(xe){var $e=xe.getModel("universalTransition").get("seriesKey");return $e||xe.id}function convertArraySeriesKeyToString(xe){return isArray$2(xe)?xe.sort().join(","):xe}function getDivideShapeFromData(xe){if(xe.hostModel)return xe.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(xe,$e){var Ie=createHashMap(),Fe=createHashMap(),Ue=createHashMap();return each$f(xe.oldSeries,function(qe,At){var Dt=xe.oldDataGroupIds[At],Lt=xe.oldData[At],jt=getSeriesTransitionKey(qe),hn=convertArraySeriesKeyToString(jt);Fe.set(hn,{dataGroupId:Dt,data:Lt}),isArray$2(jt)&&each$f(jt,function(vn){Ue.set(vn,{key:hn,dataGroupId:Dt,data:Lt})})}),each$f($e.updatedSeries,function(qe){if(qe.isUniversalTransitionEnabled()&&qe.isAnimationEnabled()){var At=qe.get("dataGroupId"),Dt=qe.getData(),Lt=getSeriesTransitionKey(qe),jt=convertArraySeriesKeyToString(Lt),hn=Fe.get(jt);if(hn)Ie.set(jt,{oldSeries:[{dataGroupId:hn.dataGroupId,divide:getDivideShapeFromData(hn.data),data:hn.data}],newSeries:[{dataGroupId:At,divide:getDivideShapeFromData(Dt),data:Dt}]});else if(isArray$2(Lt)){var vn=[];each$f(Lt,function(wn){var kn=Fe.get(wn);kn.data&&vn.push({dataGroupId:kn.dataGroupId,divide:getDivideShapeFromData(kn.data),data:kn.data})}),vn.length&&Ie.set(jt,{oldSeries:vn,newSeries:[{dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)}]})}else{var bn=Ue.get(Lt);if(bn){var _n=Ie.get(bn.key);_n||(_n={oldSeries:[{dataGroupId:bn.dataGroupId,data:bn.data,divide:getDivideShapeFromData(bn.data)}],newSeries:[]},Ie.set(bn.key,_n)),_n.newSeries.push({dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)})}}}}),Ie}function querySeries(xe,$e){for(var Ie=0;Ie<xe.length;Ie++){var Fe=$e.seriesIndex!=null&&$e.seriesIndex===xe[Ie].seriesIndex||$e.seriesId!=null&&$e.seriesId===xe[Ie].id;if(Fe)return Ie}}function transitionSeriesFromOpt(xe,$e,Ie,Fe){var Ue=[],qe=[];each$f(normalizeToArray(xe.from),function(At){var Dt=querySeries($e.oldSeries,At);Dt>=0&&Ue.push({dataGroupId:$e.oldDataGroupIds[Dt],data:$e.oldData[Dt],divide:getDivideShapeFromData($e.oldData[Dt]),groupIdDim:At.dimension})}),each$f(normalizeToArray(xe.to),function(At){var Dt=querySeries(Ie.updatedSeries,At);if(Dt>=0){var Lt=Ie.updatedSeries[Dt].getData();qe.push({dataGroupId:$e.oldDataGroupIds[Dt],data:Lt,divide:getDivideShapeFromData(Lt),groupIdDim:At.dimension})}}),Ue.length>0&&qe.length>0&&transitionBetween(Ue,qe,Fe)}function installUniversalTransition(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){each$f(normalizeToArray(Fe.seriesTransition),function(Ue){each$f(normalizeToArray(Ue.to),function(qe){for(var At=Fe.updatedSeries,Dt=0;Dt<At.length;Dt++)(qe.seriesIndex!=null&&qe.seriesIndex===At[Dt].seriesIndex||qe.seriesId!=null&&qe.seriesId===At[Dt].id)&&(At[Dt][SERIES_UNIVERSAL_TRANSITION_PROP]=!0)})})}),xe.registerUpdateLifecycle("series:transition",function($e,Ie,Fe){var Ue=getUniversalTransitionGlobalStore(Ie);if(Ue.oldSeries&&Fe.updatedSeries&&Fe.optionChanged){var qe=Fe.seriesTransition;if(qe)each$f(normalizeToArray(qe),function(_n){transitionSeriesFromOpt(_n,Ue,Fe,Ie)});else{var At=findTransitionSeriesBatches(Ue,Fe);each$f(At.keys(),function(_n){var wn=At.get(_n);transitionBetween(wn.oldSeries,wn.newSeries,Ie)})}each$f(Fe.updatedSeries,function(_n){_n[SERIES_UNIVERSAL_TRANSITION_PROP]&&(_n[SERIES_UNIVERSAL_TRANSITION_PROP]=!1)})}for(var Dt=$e.getSeries(),Lt=Ue.oldSeries=[],jt=Ue.oldDataGroupIds=[],hn=Ue.oldData=[],vn=0;vn<Dt.length;vn++){var bn=Dt[vn].getData();bn.count()<DATA_COUNT_THRESHOLD&&(Lt.push(Dt[vn]),jt.push(Dt[vn].get("dataGroupId")),hn.push(bn))}})}use([install$S]);use([install$T]);use([install$R,install$Q,install$P,install$N,install$L,install$J,install$I,install$H,install$G,install$F,install$E,install$C,install$B,install$A,install$z,install$y,install$x,install$w,install$v,install$u,install$t,install$s]);use(install$q);use(install$p);use(install$K);use(install$o);use(install$D);use(install$n);use(install$m);use(install$k);use(install$j);use(install$r);use(install$i);use(install$h);use(install$g);use(install$f);use(install$e);use(install$d);use(install$a);use(install$7);use(install$9);use(install$8);use(install$4);use(install$6);use(install$5);use(install$3);use(install$2);use(install$1);use(installUniversalTransition);use(installLabelLayout);var MapShim=function(){if(typeof Map<"u")return Map;function xe($e,Ie){var Fe=-1;return $e.some(function(Ue,qe){return Ue[0]===Ie?(Fe=qe,!0):!1}),Fe}return function(){function $e(){this.__entries__=[]}return Object.defineProperty($e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),$e.prototype.get=function(Ie){var Fe=xe(this.__entries__,Ie),Ue=this.__entries__[Fe];return Ue&&Ue[1]},$e.prototype.set=function(Ie,Fe){var Ue=xe(this.__entries__,Ie);~Ue?this.__entries__[Ue][1]=Fe:this.__entries__.push([Ie,Fe])},$e.prototype.delete=function(Ie){var Fe=this.__entries__,Ue=xe(Fe,Ie);~Ue&&Fe.splice(Ue,1)},$e.prototype.has=function(Ie){return!!~xe(this.__entries__,Ie)},$e.prototype.clear=function(){this.__entries__.splice(0)},$e.prototype.forEach=function(Ie,Fe){Fe===void 0&&(Fe=null);for(var Ue=0,qe=this.__entries__;Ue<qe.length;Ue++){var At=qe[Ue];Ie.call(Fe,At[1],At[0])}},$e}()}(),isBrowser=typeof window<"u"&&typeof document<"u"&&window.document===document,global$1=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),requestAnimationFrame$1=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(global$1):function(xe){return setTimeout(function(){return xe(Date.now())},1e3/60)}}(),trailingTimeout=2;function throttle$1(xe,$e){var Ie=!1,Fe=!1,Ue=0;function qe(){Ie&&(Ie=!1,xe()),Fe&&Dt()}function At(){requestAnimationFrame$1(qe)}function Dt(){var Lt=Date.now();if(Ie){if(Lt-Ue<trailingTimeout)return;Fe=!0}else Ie=!0,Fe=!1,setTimeout(At,$e);Ue=Lt}return Dt}var REFRESH_DELAY=20,transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported=typeof MutationObserver<"u",ResizeObserverController=function(){function xe(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=throttle$1(this.refresh.bind(this),REFRESH_DELAY)}return xe.prototype.addObserver=function($e){~this.observers_.indexOf($e)||this.observers_.push($e),this.connected_||this.connect_()},xe.prototype.removeObserver=function($e){var Ie=this.observers_,Fe=Ie.indexOf($e);~Fe&&Ie.splice(Fe,1),!Ie.length&&this.connected_&&this.disconnect_()},xe.prototype.refresh=function(){var $e=this.updateObservers_();$e&&this.refresh()},xe.prototype.updateObservers_=function(){var $e=this.observers_.filter(function(Ie){return Ie.gatherActive(),Ie.hasActive()});return $e.forEach(function(Ie){return Ie.broadcastActive()}),$e.length>0},xe.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},xe.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},xe.prototype.onTransitionEnd_=function($e){var Ie=$e.propertyName,Fe=Ie===void 0?"":Ie,Ue=transitionKeys.some(function(qe){return!!~Fe.indexOf(qe)});Ue&&this.refresh()},xe.getInstance=function(){return this.instance_||(this.instance_=new xe),this.instance_},xe.instance_=null,xe}(),defineConfigurable=function(xe,$e){for(var Ie=0,Fe=Object.keys($e);Ie<Fe.length;Ie++){var Ue=Fe[Ie];Object.defineProperty(xe,Ue,{value:$e[Ue],enumerable:!1,writable:!1,configurable:!0})}return xe},getWindowOf=function(xe){var $e=xe&&xe.ownerDocument&&xe.ownerDocument.defaultView;return $e||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat(xe){return parseFloat(xe)||0}function getBordersSize(xe){for(var $e=[],Ie=1;Ie<arguments.length;Ie++)$e[Ie-1]=arguments[Ie];return $e.reduce(function(Fe,Ue){var qe=xe["border-"+Ue+"-width"];return Fe+toFloat(qe)},0)}function getPaddings(xe){for(var $e=["top","right","bottom","left"],Ie={},Fe=0,Ue=$e;Fe<Ue.length;Fe++){var qe=Ue[Fe],At=xe["padding-"+qe];Ie[qe]=toFloat(At)}return Ie}function getSVGContentRect(xe){var $e=xe.getBBox();return createRectInit(0,0,$e.width,$e.height)}function getHTMLElementContentRect(xe){var $e=xe.clientWidth,Ie=xe.clientHeight;if(!$e&&!Ie)return emptyRect;var Fe=getWindowOf(xe).getComputedStyle(xe),Ue=getPaddings(Fe),qe=Ue.left+Ue.right,At=Ue.top+Ue.bottom,Dt=toFloat(Fe.width),Lt=toFloat(Fe.height);if(Fe.boxSizing==="border-box"&&(Math.round(Dt+qe)!==$e&&(Dt-=getBordersSize(Fe,"left","right")+qe),Math.round(Lt+At)!==Ie&&(Lt-=getBordersSize(Fe,"top","bottom")+At)),!isDocumentElement(xe)){var jt=Math.round(Dt+qe)-$e,hn=Math.round(Lt+At)-Ie;Math.abs(jt)!==1&&(Dt-=jt),Math.abs(hn)!==1&&(Lt-=hn)}return createRectInit(Ue.left,Ue.top,Dt,Lt)}var isSVGGraphicsElement=function(){return typeof SVGGraphicsElement<"u"?function(xe){return xe instanceof getWindowOf(xe).SVGGraphicsElement}:function(xe){return xe instanceof getWindowOf(xe).SVGElement&&typeof xe.getBBox=="function"}}();function isDocumentElement(xe){return xe===getWindowOf(xe).document.documentElement}function getContentRect(xe){return isBrowser?isSVGGraphicsElement(xe)?getSVGContentRect(xe):getHTMLElementContentRect(xe):emptyRect}function createReadOnlyRect(xe){var $e=xe.x,Ie=xe.y,Fe=xe.width,Ue=xe.height,qe=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,At=Object.create(qe.prototype);return defineConfigurable(At,{x:$e,y:Ie,width:Fe,height:Ue,top:Ie,right:$e+Fe,bottom:Ue+Ie,left:$e}),At}function createRectInit(xe,$e,Ie,Fe){return{x:xe,y:$e,width:Ie,height:Fe}}var ResizeObservation=function(){function xe($e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=$e}return xe.prototype.isActive=function(){var $e=getContentRect(this.target);return this.contentRect_=$e,$e.width!==this.broadcastWidth||$e.height!==this.broadcastHeight},xe.prototype.broadcastRect=function(){var $e=this.contentRect_;return this.broadcastWidth=$e.width,this.broadcastHeight=$e.height,$e},xe}(),ResizeObserverEntry$1=function(){function xe($e,Ie){var Fe=createReadOnlyRect(Ie);defineConfigurable(this,{target:$e,contentRect:Fe})}return xe}(),ResizeObserverSPI=function(){function xe($e,Ie,Fe){if(this.activeObservations_=[],this.observations_=new MapShim,typeof $e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=$e,this.controller_=Ie,this.callbackCtx_=Fe}return xe.prototype.observe=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)||(Ie.set($e,new ResizeObservation($e)),this.controller_.addObserver(this),this.controller_.refresh())}},xe.prototype.unobserve=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)&&(Ie.delete($e),Ie.size||this.controller_.removeObserver(this))}},xe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},xe.prototype.gatherActive=function(){var $e=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&$e.activeObservations_.push(Ie)})},xe.prototype.broadcastActive=function(){if(this.hasActive()){var $e=this.callbackCtx_,Ie=this.activeObservations_.map(function(Fe){return new ResizeObserverEntry$1(Fe.target,Fe.broadcastRect())});this.callback_.call($e,Ie,$e),this.clearActive()}},xe.prototype.clearActive=function(){this.activeObservations_.splice(0)},xe.prototype.hasActive=function(){return this.activeObservations_.length>0},xe}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$1=function(){function xe($e){if(!(this instanceof xe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=ResizeObserverController.getInstance(),Fe=new ResizeObserverSPI($e,Ie,this);observers.set(this,Fe)}return xe}();["observe","unobserve","disconnect"].forEach(function(xe){ResizeObserver$1.prototype[xe]=function(){var $e;return($e=observers.get(this))[xe].apply($e,arguments)}});var index=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$1}();const _withScopeId=xe=>(pushScopeId("data-v-b113cb86"),xe=xe(),popScopeId(),xe),_hoisted_1$19={style:{padding:"15px"}},_hoisted_2$K={class:"justify-between flex"},_hoisted_3$m=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日新增用户数量",-1)),_hoisted_4$c={class:"flex justify-between"},_hoisted_5$8=_withScopeId(()=>createBaseVNode("span",null,"总计用户数量：",-1)),_hoisted_6$5={class:"flex justify-between"},_hoisted_7$3=_withScopeId(()=>createBaseVNode("span",{class:"font-bold"},"今日对话",-1)),_hoisted_8$3={class:"flex justify-between"},_hoisted_9$2=_withScopeId(()=>createBaseVNode("span",null,"总计对话",-1)),_hoisted_10$1={class:"flex justify-between"},_hoisted_11$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日绘画数量",-1)),_hoisted_12$1={class:"flex justify-between"},_hoisted_13$1=_withScopeId(()=>createBaseVNode("span",null,"总计绘画数量：",-1)),_hoisted_14$1={class:"justify-between flex"},_hoisted_15$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日订单数量",-1)),_hoisted_16$1={class:"flex justify-between"},_hoisted_17$1=_withScopeId(()=>createBaseVNode("span",null,"总计订单数量：",-1)),_hoisted_18$1={class:"align-center flex justify-between"},_hoisted_19$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"对话信息统计",-1)),_hoisted_20$1=_withScopeId(()=>createBaseVNode("div",{id:"chat"},null,-1)),_hoisted_21$1={class:"align-center flex justify-between"},_hoisted_22$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"网站访客统计",-1)),_hoisted_23$1=_withScopeId(()=>createBaseVNode("div",{id:"baidu"},null,-1)),_sfc_main$2s=defineComponent({__name:"index",setup(xe){const $e=useSettingsStore(),Ie=computed(()=>$e.settings.app.colorScheme),Fe=ref({userCount:0,newUserCount:0,chatCount:0,newChatCount:0,drawCount:0,newDrawCount:0,orderCount:0,newOrderCount:0});let Ue,qe,At;const Dt=ref(30),Lt=ref(30),jt={title:{text:"对话统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{top:"30px",data:[{name:"对话数量",icon:"rect",itemWidth:10,itemHeight:5},{name:"绘画数量",icon:"rect"}]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}}],series:[{name:"对话数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"rgba(17, 76, 255, 0.2)"},emphasis:{focus:"series"},data:[]},{name:"绘画数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"#00d7ff33"},emphasis:{focus:"series"},data:[]}]},hn={title:{text:"访问量统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis"},legend:{data:["pv","uv","ip"]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}},series:[{name:"pv",type:"bar",smooth:!0,areaStyle:{color:"rgba(17, 76, 255, 0.2)"},data:[]},{name:"uv",type:"bar",smooth:!0,areaStyle:{color:"#00d7ff33"},data:[]},{name:"ip",smooth:!0,areaStyle:{color:"rgba(0, 215, 255, 0.2)"},type:"bar",data:[]}]},vn=[{label:7,value:"最近七天"},{label:15,value:"最近半月"},{label:30,value:"最近一月"},{label:90,value:"最近三月"}];async function bn(){const Cn=await apiDashboard.getBaseInfo();console.log(Cn.data),Fe.value=Cn.data}async function _n(){const Cn=await apiDashboard.getBaiduVisit({days:Lt.value}),{data:Sn}=Cn;hn.xAxis.data=Sn.items[0].map(En=>En[0]),hn.series.forEach((En,Tn)=>{En.data=Sn.items[1].map(An=>An[Tn])});const xn=document.getElementById("baidu");qe=init$1(xn),qe.setOption(hn)}async function wn(){const Cn=await apiDashboard.getChatStatistic({days:Dt.value}),{date:Sn,chat:xn,draw:En}=Cn.data;jt.xAxis[0].data=Sn,jt.series[0].data=xn,jt.series[1].data=En;const Tn=document.getElementById("chat");Ue=init$1(Tn),Ue.setOption(jt)}watch(Ie,()=>{kn()});function kn(){const Sn=$e.settings.app.colorScheme==="dark"?["#ffffff1a"]:["#0000001a"];jt.yAxis[0].splitLine.lineStyle.color=Sn,jt.xAxis[0].splitLine.lineStyle.color=Sn,Ue.setOption(jt),hn.yAxis.splitLine.lineStyle.color=Sn,hn.xAxis.splitLine.lineStyle.color=Sn,qe.setOption(hn)}return onMounted(async()=>{await bn(),await Promise.all([wn(),_n()]),kn()}),onMounted(()=>{At=new index(()=>{Ue&&Ue.resize(),qe&&qe.resize()});const Cn=document.getElementById("chat");Cn&&(At==null||At.observe(Cn));const Sn=document.getElementById("baidu");Sn&&(At==null||At.observe(Sn))}),onBeforeMount(()=>{At&&At.disconnect()}),(Cn,Sn)=>{const xn=resolveComponent("el-card"),En=resolveComponent("el-col"),Tn=resolveComponent("el-row"),An=resolveComponent("Histogram"),$n=resolveComponent("el-icon"),Pn=resolveComponent("el-radio-button"),Nn=resolveComponent("el-radio-group");return openBlock(),createElementBlock("div",_hoisted_1$19,[createVNode$1(Tn,{gutter:10},{default:withCtx(()=>[createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>{var Mn;return[createBaseVNode("div",_hoisted_2$K,[_hoisted_3$m,createBaseVNode("b",null,toDisplayString((Mn=unref(Fe))==null?void 0:Mn.newUserCount),1)])]}),default:withCtx(()=>[createBaseVNode("div",_hoisted_4$c,[_hoisted_5$8,createBaseVNode("span",null,toDisplayString(unref(Fe).userCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_6$5,[_hoisted_7$3,createBaseVNode("b",null,toDisplayString(unref(Fe).newChatCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8$3,[_hoisted_9$2,createBaseVNode("span",null,toDisplayString(unref(Fe).chatCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_10$1,[_hoisted_11$1,createBaseVNode("b",null,toDisplayString(unref(Fe).newDrawCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_12$1,[_hoisted_13$1,createBaseVNode("span",null,toDisplayString(unref(Fe).drawCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_14$1,[_hoisted_15$1,createBaseVNode("b",null,toDisplayString(unref(Fe).newOrderCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_16$1,[_hoisted_17$1,createBaseVNode("span",null,toDisplayString(unref(Fe).orderCount),1)])]),_:1})]),_:1})]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_18$1,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_19$1]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Dt),"onUpdate:modelValue":Sn[0]||(Sn[0]=Mn=>isRef(Dt)?Dt.value=Mn:null),onChange:wn},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_20$1]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_21$1,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_22$1]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Lt),"onUpdate:modelValue":Sn[1]||(Sn[1]=Mn=>isRef(Lt)?Lt.value=Mn:null),onChange:_n},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_23$1]),_:1})])}}}),block0={},_export_sfc$1=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};typeof block0=="function"&&block0(_sfc_main$2s);const Home=_export_sfc$1(_sfc_main$2s,[["__scopeId","data-v-b113cb86"]]),__pages_import_0__=()=>__vitePreload(()=>import("./wechat-CC1D2I9W.js"),__vite__mapDeps([0,1,2]),import.meta.url),__pages_import_1__=()=>__vitePreload(()=>import("./userAgreement-CRX63ZgH.js"),__vite__mapDeps([3,1,2,4,5]),import.meta.url),__pages_import_2__=()=>__vitePreload(()=>import("./register-s9FErNB-.js"),__vite__mapDeps([6,1,2,7]),import.meta.url),__pages_import_3__=()=>__vitePreload(()=>import("./phone-BdMZVeeU.js"),__vite__mapDeps([8,1,2]),import.meta.url),__pages_import_4__=()=>__vitePreload(()=>import("./index-DMib4jzv.js"),__vite__mapDeps([9,10,1,11,12]),import.meta.url),__pages_import_5__=()=>__vitePreload(()=>import("./email-B1yejiIN.js"),__vite__mapDeps([13,1,2]),import.meta.url),__pages_import_6__=()=>__vitePreload(()=>import("./accountLog-j3jh3-tg.js"),__vite__mapDeps([14,10,1,11,12]),import.meta.url),__pages_import_7__=()=>__vitePreload(()=>import("./welcomePageSettings-CtUX5kGT.js"),__vite__mapDeps([15,1,2]),import.meta.url),__pages_import_8__=()=>__vitePreload(()=>import("./notice-CN8MQARu.js"),__vite__mapDeps([16,1,2,4,5]),import.meta.url),__pages_import_9__=()=>__vitePreload(()=>import("./baseConfiguration-U_8lhRbY.js"),__vite__mapDeps([17,1,2]),import.meta.url),__pages_import_10__=()=>__vitePreload(()=>import("./baiduStatistics-C5Ie8mqw.js"),__vite__mapDeps([18,1,2]),import.meta.url),__pages_import_11__=()=>__vitePreload(()=>import("./tencent-DrFpx0Hg.js"),__vite__mapDeps([19,1,2]),import.meta.url),__pages_import_12__=()=>__vitePreload(()=>import("./localStorage-cKgrnDbg.js"),__vite__mapDeps([20,1,2]),import.meta.url),__pages_import_13__=()=>__vitePreload(()=>import("./chevereto-DL3R-p1F.js"),__vite__mapDeps([21,1,2]),import.meta.url),__pages_import_14__=()=>__vitePreload(()=>import("./ali-0_edqUL6.js"),__vite__mapDeps([22,1,2]),import.meta.url),__pages_import_15__=()=>__vitePreload(()=>import("./violation-DSvmBVfk.js"),__vite__mapDeps([23,10,1,24,12,25,11,26]),import.meta.url),__pages_import_16__=()=>__vitePreload(()=>import("./identityVerification-BGG7YaLd.js"),__vite__mapDeps([27,1,2]),import.meta.url),__pages_import_17__=()=>__vitePreload(()=>import("./custom-B5IO_plt.js"),__vite__mapDeps([28,10,1,24,11]),import.meta.url),__pages_import_18__=()=>__vitePreload(()=>import("./baiduSensitive-C9aAS061.js"),__vite__mapDeps([29,1,2]),import.meta.url),__pages_import_19__=()=>__vitePreload(()=>import("./autpReply-iL0HgZca.js"),__vite__mapDeps([30,10,1,11]),import.meta.url),__pages_import_20__=()=>__vitePreload(()=>import("./setting-B_yMB92n.js"),__vite__mapDeps([31,10,32]),import.meta.url),__pages_import_21__=()=>__vitePreload(()=>import("./edit.password-C_LVx17b.js"),__vite__mapDeps([33,10,1,34,35]),import.meta.url),__pages_import_22__=()=>__vitePreload(()=>import("./wechat-B6iz3vsw.js"),__vite__mapDeps([36,1,2]),import.meta.url),__pages_import_23__=()=>__vitePreload(()=>import("./mpay-BhEzThlj.js"),__vite__mapDeps([37,1,2]),import.meta.url),__pages_import_24__=()=>__vitePreload(()=>import("./ltzf-Cl69CY0O.js"),__vite__mapDeps([38,1,2]),import.meta.url),__pages_import_25__=()=>__vitePreload(()=>import("./hupijiao-CgScmBfT.js"),__vite__mapDeps([39,1,2]),import.meta.url),__pages_import_26__=()=>__vitePreload(()=>import("./epay-BFYo5Oti.js"),__vite__mapDeps([40,1,2]),import.meta.url),__pages_import_27__=()=>__vitePreload(()=>import("./points-dFU6hxKv.js"),__vite__mapDeps([41,1,2]),import.meta.url),__pages_import_28__=()=>__vitePreload(()=>import("./package-B84yLosq.js"),__vite__mapDeps([42,10,1,43,11,12]),import.meta.url),__pages_import_29__=()=>__vitePreload(()=>import("./crami-C4rWwE2o.js"),__vite__mapDeps([44,10,1,43,11,12]),import.meta.url),__pages_import_30__=()=>__vitePreload(()=>import("./index-Bc9vnwpI.js"),__vite__mapDeps([45,10,1,11,12,46]),import.meta.url),__pages_import_31__=()=>__vitePreload(()=>import("./key-U1-UhTyN.js"),__vite__mapDeps([47,10,1,12,11]),import.meta.url),__pages_import_32__=()=>__vitePreload(()=>import("./interface-BdTcay3S.js"),__vite__mapDeps([48,1,2]),import.meta.url),__pages_import_33__=()=>__vitePreload(()=>import("./draw-VSxgmQtr.js"),__vite__mapDeps([49,10,1,50,11,12,51]),import.meta.url),__pages_import_34__=()=>__vitePreload(()=>import("./chat-BWcQBZPb.js"),__vite__mapDeps([52,10,1,50,12,25,26]),import.meta.url),__pages_import_35__=()=>__vitePreload(()=>import("./visible-ZdW2endy.js"),__vite__mapDeps([53,1,2]),import.meta.url),__pages_import_36__=()=>__vitePreload(()=>import("./plugin-QW7T5kxH.js"),__vite__mapDeps([54,10,1,11]),import.meta.url),__pages_import_37__=()=>__vitePreload(()=>import("./classify-D6OriOt0.js"),__vite__mapDeps([55,10,1,56,12,11]),import.meta.url),__pages_import_38__=()=>__vitePreload(()=>import("./application-Bvco68p6.js"),__vite__mapDeps([57,10,1,56,12,11]),import.meta.url),__pages_import_39__=()=>__vitePreload(()=>import("./github-redirect-BqXHRsY-.js"),[],import.meta.url),__pages_import_40__=()=>__vitePreload(()=>import("./reload-ByHYPX1Q.js"),[],import.meta.url),__pages_import_41__=()=>__vitePreload(()=>import("./login-BG_4YoSX.js"),[],import.meta.url),__pages_import_43__=()=>__vitePreload(()=>import("./_...all_-C9XwyC6X.js"),[],import.meta.url),routes$a=[{name:"users-wechat",path:"/users/wechat",component:__pages_import_0__,props:!0,meta:{title:"微信设置"}},{name:"users-userAgreement",path:"/users/useragreement",component:__pages_import_1__,props:!0,meta:{title:"用户协议"}},{name:"users-register",path:"/users/register",component:__pages_import_2__,props:!0,meta:{title:"访问配置"}},{name:"users-phone",path:"/users/phone",component:__pages_import_3__,props:!0,meta:{title:"手机验证码配置"}},{name:"users",path:"/users",component:__pages_import_4__,props:!0,meta:{title:"用户管理"}},{name:"users-email",path:"/users/email",component:__pages_import_5__,props:!0,meta:{title:"邮件设置"}},{name:"users-accountLog",path:"/users/accountlog",component:__pages_import_6__,props:!0,meta:{title:"账户变更记录"}},{name:"system-welcomePageSettings",path:"/system/welcomepagesettings",component:__pages_import_7__,props:!0,meta:{title:"欢迎页设置"}},{name:"system-notice",path:"/system/notice",component:__pages_import_8__,props:!0,meta:{title:"公告设置"}},{name:"system-baseConfiguration",path:"/system/baseconfiguration",component:__pages_import_9__,props:!0,meta:{title:"基础配置"}},{name:"system-baiduStatistics",path:"/system/baidustatistics",component:__pages_import_10__,props:!0,meta:{title:"百度统计"}},{name:"storage-tencent",path:"/storage/tencent",component:__pages_import_11__,props:!0,meta:{title:"腾讯云cos设置"}},{name:"storage-localStorage",path:"/storage/localstorage",component:__pages_import_12__,props:!0,meta:{title:"本地存储配置"}},{name:"storage-chevereto",path:"/storage/chevereto",component:__pages_import_13__,props:!0,meta:{title:"Chevereto图床设置"}},{name:"storage-ali",path:"/storage/ali",component:__pages_import_14__,props:!0,meta:{title:"阿里云oss设置"}},{name:"sensitive-violation",path:"/sensitive/violation",component:__pages_import_15__,props:!0,meta:{title:"违规记录"}},{name:"sensitive-identityVerification",path:"/sensitive/identityverification",component:__pages_import_16__,props:!0,meta:{title:"风控设置"}},{name:"sensitive-custom",path:"/sensitive/custom",component:__pages_import_17__,props:!0,meta:{title:"敏感词预设"}},{name:"sensitive-baiduSensitive",path:"/sensitive/baidusensitive",component:__pages_import_18__,props:!0,meta:{title:"百度云敏感词设置"}},{name:"sensitive-autpReply",path:"/sensitive/autpreply",component:__pages_import_19__,props:!0,meta:{title:"自定义回复预设"}},{name:"personalSetting",path:"/personal/setting",component:__pages_import_20__,props:!0,meta:{title:"个人设置",cache:"personal-edit.password"}},{name:"personalEditPassword",path:"/personal/edit.password",component:__pages_import_21__,props:!0,meta:{title:"修改密码"}},{name:"pay-wechat",path:"/pay/wechat",component:__pages_import_22__,props:!0,meta:{title:"官方微信支付设置"}},{name:"pay-mpay",path:"/pay/mpay",component:__pages_import_23__,props:!0,meta:{title:"码支付设置"}},{name:"pay-ltzf",path:"/pay/ltzf",component:__pages_import_24__,props:!0,meta:{title:"蓝兔支付设置"}},{name:"pay-hupijiao",path:"/pay/hupijiao",component:__pages_import_25__,props:!0,meta:{title:"虎皮椒支付设置"}},{name:"pay-epay",path:"/pay/epay",component:__pages_import_26__,props:!0,meta:{title:"易支付设置"}},{name:"package-points",path:"/package/points",component:__pages_import_27__,props:!0,meta:{title:"积分显示"}},{name:"package-package",path:"/package/package",component:__pages_import_28__,props:!0,meta:{title:"卡券管理"}},{name:"package-crami",path:"/package/crami",component:__pages_import_29__,props:!0,meta:{title:"卡密管理"}},{name:"order",path:"/order",component:__pages_import_30__,props:!0,meta:{title:"对话管理"}},{name:"models-key",path:"/models/key",component:__pages_import_31__,props:!0,meta:{title:"模型列表"}},{name:"models-interface",path:"/models/interface",component:__pages_import_32__,props:!0,meta:{title:"接口请求设置"}},{name:"chat-draw",path:"/chat/draw",component:__pages_import_33__,props:!0,meta:{title:"绘画管理"}},{name:"chat-chat",path:"/chat/chat",component:__pages_import_34__,props:!0,meta:{title:"对话管理"}},{name:"app-visible",path:"/app/visible",component:__pages_import_35__,props:!0,meta:{title:"基础设置"}},{name:"app-plugin",path:"/app/plugin",component:__pages_import_36__,props:!0,meta:{title:"插件管理"}},{name:"app-classify",path:"/app/classify",component:__pages_import_37__,props:!0,meta:{title:"App分类管理"}},{name:"app-application",path:"/app/application",component:__pages_import_38__,props:!0,meta:{title:"应用管理"}},{name:"ai-github-redirect",path:"/ai/github-redirect",component:__pages_import_39__,props:!0},{name:"reload",path:"/reload",component:__pages_import_40__,props:!0},{name:"login",path:"/login",component:__pages_import_41__,props:!0,meta:{title:"登录",constant:!0,layout:!1}},{name:"home",path:"/",component:Home,props:!0,meta:{title:"主页"}},{name:"notFound",path:"/:all(.*)*",component:__pages_import_43__,props:!0,meta:{title:"找不到页面",constant:!0,layout:!1}}];function setupLayouts(xe){const $e={};Object.entries(Object.assign({"/src/layouts/components/AppSetting/index.vue":()=>__vitePreload(()=>import("./index-FnTzkwYe.js"),__vite__mapDeps([58,59,60,61,62,63,64,65,66]),import.meta.url),"/src/layouts/components/BackTop/index.vue":()=>__vitePreload(()=>import("./index-C_igUakG.js"),__vite__mapDeps([67,68]),import.meta.url),"/src/layouts/components/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-CeCYhShg.js"),__vite__mapDeps([69,70]),import.meta.url),"/src/layouts/components/Breadcrumb/item.vue":()=>__vitePreload(()=>import("./item-aUfNz2FD.js"),__vite__mapDeps([71,72]),import.meta.url),"/src/layouts/components/Copyright/index.vue":()=>__vitePreload(()=>import("./index-BEgl-D5h.js"),__vite__mapDeps([73,74]),import.meta.url),"/src/layouts/components/Header/index.vue":()=>__vitePreload(()=>import("./index-BhavOP4W.js"),__vite__mapDeps([75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86]),import.meta.url),"/src/layouts/components/HotkeysIntro/index.vue":()=>__vitePreload(()=>import("./index-BBYMB4fF.js"),__vite__mapDeps([87,88,89,83]),import.meta.url),"/src/layouts/components/Logo/index.vue":()=>__vitePreload(()=>import("./index-BsqAgi1e.js"),__vite__mapDeps([90,76]),import.meta.url),"/src/layouts/components/MainSidebar/index.vue":()=>__vitePreload(()=>import("./index-Bb_mj7fg.js"),__vite__mapDeps([91,76,85,92]),import.meta.url),"/src/layouts/components/Menu/index.vue":()=>__vitePreload(()=>import("./index-do-psu6b.js"),__vite__mapDeps([93,94,95,96,63]),import.meta.url),"/src/layouts/components/Menu/item.vue":()=>__vitePreload(()=>import("./item-BGs210ro.js"),__vite__mapDeps([97,96,63]),import.meta.url),"/src/layouts/components/Menu/sub.vue":()=>__vitePreload(()=>import("./sub-C9kpzA5T.js"),__vite__mapDeps([98,95,96,63]),import.meta.url),"/src/layouts/components/Search/index.vue":()=>__vitePreload(()=>import("./index-B8Qbctk3.js"),__vite__mapDeps([99,100,83,69,70,72]),import.meta.url),"/src/layouts/components/SubSidebar/index.vue":()=>__vitePreload(()=>import("./index-CFd9RQbU.js"),__vite__mapDeps([101,65,76,94,95,96,63,102]),import.meta.url),"/src/layouts/components/Topbar/Tabbar/index.vue":()=>__vitePreload(()=>import("./index-DYuViJCA.js"),__vite__mapDeps([103,65,34,104]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-D5jQENXK.js"),__vite__mapDeps([105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue":()=>__vitePreload(()=>import("./index-B26rXOmA.js"),__vite__mapDeps([107,79,80,64,62]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Fullscreen/index.vue":()=>__vitePreload(()=>import("./index-D2-DvelZ.js"),__vite__mapDeps([108,81,65]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/NavSearch/index.vue":()=>__vitePreload(()=>import("./index-CyBqC5az.js"),__vite__mapDeps([109,82,83]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/PageReload/index.vue":()=>__vitePreload(()=>import("./index-JmaFc6Op.js"),__vite__mapDeps([110,84,34]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/index.vue":()=>__vitePreload(()=>import("./index-DilPWwlM.js"),__vite__mapDeps([111,112,105,69,70,72,106,77,78,79,80,64,62,81,65,82,83,84,34,113]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/leftSide.vue":()=>__vitePreload(()=>import("./leftSide-oWmuAIUP.js"),__vite__mapDeps([114,112,105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/rightSide.vue":()=>__vitePreload(()=>import("./rightSide-DTvA-_sw.js"),__vite__mapDeps([115,77,78,79,80,64,62,81,65,82,83,84,34]),import.meta.url),"/src/layouts/components/Topbar/index.vue":()=>__vitePreload(()=>import("./index-apzNn83J.js"),__vite__mapDeps([116,103,65,34,104,111,112,105,69,70,72,106,77,78,79,80,64,62,81,82,83,84,113,117]),import.meta.url),"/src/layouts/components/views/link.vue":()=>__vitePreload(()=>import("./link-BkZGdTQk.js"),__vite__mapDeps([118,10,63,65,119]),import.meta.url),"/src/layouts/index.vue":()=>__vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url),"/src/layouts/ui-kit/HButton.vue":()=>__vitePreload(()=>import("./HButton-DhTo_DmN.js"),[],import.meta.url),"/src/layouts/ui-kit/HCheckList.vue":()=>__vitePreload(()=>import("./HCheckList-C7zKn3lK.js"),__vite__mapDeps([122,60]),import.meta.url),"/src/layouts/ui-kit/HDialog.vue":()=>__vitePreload(()=>import("./HDialog-CPr-tzAo.js"),__vite__mapDeps([123,89]),import.meta.url),"/src/layouts/ui-kit/HDropdown.vue":()=>__vitePreload(()=>import("./HDropdown-BjwO9ikd.js"),[],import.meta.url),"/src/layouts/ui-kit/HDropdownMenu.vue":()=>__vitePreload(()=>import("./HDropdownMenu-r0U9_oai.js"),__vite__mapDeps([124,78]),import.meta.url),"/src/layouts/ui-kit/HInput.vue":()=>__vitePreload(()=>import("./HInput-B34qGhNq.js"),__vite__mapDeps([125,59]),import.meta.url),"/src/layouts/ui-kit/HKbd.vue":()=>__vitePreload(()=>import("./HKbd-By3ZrrUU.js"),[],import.meta.url),"/src/layouts/ui-kit/HSelect.vue":()=>__vitePreload(()=>import("./HSelect-CYtELVq1.js"),[],import.meta.url),"/src/layouts/ui-kit/HSlideover.vue":()=>__vitePreload(()=>import("./HSlideover-DVKjWjLO.js"),[],import.meta.url),"/src/layouts/ui-kit/HTabList.vue":()=>__vitePreload(()=>import("./HTabList-DFOAZowX.js"),__vite__mapDeps([126,64,62]),import.meta.url),"/src/layouts/ui-kit/HToggle.vue":()=>__vitePreload(()=>import("./HToggle-5Qxg2Ct6.js"),__vite__mapDeps([127,61,62]),import.meta.url),"/src/layouts/ui-kit/HTooltip.vue":()=>__vitePreload(()=>import("./HTooltip-D8zlh0ym.js"),__vite__mapDeps([128,63]),import.meta.url)})).forEach(([Ue,qe])=>{let At=Ue.replace("/src/layouts/","").replace(".vue","");$e[At]=qe});function Fe(Ue,qe=!0){return Ue.map(At=>{var Dt,Lt,jt,hn,vn;return((Dt=At.children)==null?void 0:Dt.length)>0&&(At.children=Fe(At.children,!1)),qe&&((Lt=At.meta)==null?void 0:Lt.layout)!==!1?{path:At.path,component:$e[((jt=At.meta)==null?void 0:jt.layout)||"index"],children:At.path==="/"?[At]:[{...At,path:""}],meta:{isLayout:!0}}:(hn=At.meta)!=null&&hn.layout?{path:At.path,component:$e[(vn=At.meta)==null?void 0:vn.layout],children:[{...At,path:""}],meta:{isLayout:!0}}:At})}return Fe(xe)}function Layout$8(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$9={path:"/app",component:Layout$8,redirect:"/app/classify",name:"AppMenu",meta:{title:"插件应用",icon:"tdesign:app"},children:[{path:"visible",name:"VisibleMenu",component:()=>__vitePreload(()=>import("./visible-ZdW2endy.js"),__vite__mapDeps([53,1,2]),import.meta.url),meta:{title:"基础设置",icon:"tdesign:setting"}},{path:"pluginmenu",name:"PluginMenu",component:()=>__vitePreload(()=>import("./plugin-QW7T5kxH.js"),__vite__mapDeps([54,10,1,11]),import.meta.url),meta:{title:"插件列表",icon:"mingcute:plugin-2-line"}},{path:"classify",name:"AppMenuClassify",component:()=>__vitePreload(()=>import("./classify-D6OriOt0.js"),__vite__mapDeps([55,10,1,56,12,11]),import.meta.url),meta:{title:"分类列表",icon:"ph:list-fill"}},{path:"application",name:"Application",component:()=>__vitePreload(()=>import("./application-Bvco68p6.js"),__vite__mapDeps([57,10,1,56,12,11]),import.meta.url),meta:{title:"应用列表",icon:"clarity:vmw-app-line"}}]};function Layout$7(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$8={path:"/chat",component:Layout$7,redirect:"/chat/chat",name:"chatMenu",meta:{title:"数据管理",icon:"majesticons:data-line"},children:[{path:"dashboard",name:"dashboardMenu",component:()=>__vitePreload(()=>import("./index-DMib4jzv.js"),__vite__mapDeps([9,10,1,11,12]),import.meta.url),meta:{title:"用户信息",icon:"fa6-solid:list-ul"}},{path:"list",name:"chatMenuList",component:()=>__vitePreload(()=>import("./chat-BWcQBZPb.js"),__vite__mapDeps([52,10,1,50,12,25,26]),import.meta.url),meta:{title:"对话记录",icon:"material-symbols-light:chat-outline"}},{path:"draw",name:"drawMenuList",component:()=>__vitePreload(()=>import("./draw-VSxgmQtr.js"),__vite__mapDeps([49,10,1,50,11,12,51]),import.meta.url),meta:{title:"绘画记录",icon:"material-symbols:draw-outline"}},{path:"auto-reply",name:"ReplyMenuList",component:()=>__vitePreload(()=>import("./autpReply-iL0HgZca.js"),__vite__mapDeps([30,10,1,11]),import.meta.url),meta:{title:"内容预设",icon:"ic:outline-question-answer"}}]};function Layout$6(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$7={path:"/ai",component:Layout$6,redirect:"/ai/chat-key-list",name:"AiMenu",meta:{title:"模型管理",icon:"hugeicons:ai-book"},children:[{path:"model",name:"AiMenuInterface",component:()=>__vitePreload(()=>import("./interface-BdTcay3S.js"),__vite__mapDeps([48,1,2]),import.meta.url),meta:{title:"全局配置",icon:"tabler:box-model"}},{path:"keys",name:"AiMenuKeys",component:()=>__vitePreload(()=>import("./key-U1-UhTyN.js"),__vite__mapDeps([47,10,1,12,11]),import.meta.url),meta:{title:"模型设置",icon:"ph:open-ai-logo-light"}}]};function Layout$5(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$6={path:"/package",component:Layout$5,redirect:"/package/list",name:"packageMenu",meta:{title:"套餐管理",icon:"icon-park-outline:buy"},children:[{path:"order-list",name:"OrderMenuList",component:()=>__vitePreload(()=>import("./index-Bc9vnwpI.js"),__vite__mapDeps([45,10,1,11,12,46]),import.meta.url),meta:{title:"订单列表",icon:"lets-icons:order"}},{path:"account-log",name:"AccountLogMenu",component:()=>__vitePreload(()=>import("./accountLog-j3jh3-tg.js"),__vite__mapDeps([14,10,1,11,12]),import.meta.url),meta:{title:"账户明细",icon:"carbon:account"}},{path:"list",name:"packageMenuList",component:()=>__vitePreload(()=>import("./package-B84yLosq.js"),__vite__mapDeps([42,10,1,43,11,12]),import.meta.url),meta:{title:"套餐设置",icon:"icon-park-outline:commodity"}},{path:"crami",name:"cramiMenuList",component:()=>__vitePreload(()=>import("./crami-C4rWwE2o.js"),__vite__mapDeps([44,10,1,43,11,12]),import.meta.url),meta:{title:"卡密管理",icon:"solar:passport-broken"}}]};function Layout$4(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$5={path:"/pay",component:Layout$4,redirect:"/pay/hupijiao",name:"PayMenu",meta:{title:"支付管理",icon:"mingcute:card-pay-line"},children:[{path:"wechat",name:"WechatConfig",component:()=>__vitePreload(()=>import("./wechat-B6iz3vsw.js"),__vite__mapDeps([36,1,2]),import.meta.url),meta:{title:"微信支付",icon:"ic:baseline-wechat"}},{path:"epay",name:"EpayConfig",component:()=>__vitePreload(()=>import("./epay-BFYo5Oti.js"),__vite__mapDeps([40,1,2]),import.meta.url),meta:{title:"易支付",icon:"uiw:pay"}},{path:"mpay",name:"MpayConfig",component:()=>__vitePreload(()=>import("./mpay-BhEzThlj.js"),__vite__mapDeps([37,1,2]),import.meta.url),meta:{title:"码支付",icon:"ant-design:pay-circle-outlined"}},{path:"hupi",name:"HupioConfig",component:()=>__vitePreload(()=>import("./hupijiao-CgScmBfT.js"),__vite__mapDeps([39,1,2]),import.meta.url),meta:{title:"虎皮椒支付",icon:"token:pay"}},{path:"ltzf",name:"LtzfConfig",component:()=>__vitePreload(()=>import("./ltzf-Cl69CY0O.js"),__vite__mapDeps([38,1,2]),import.meta.url),meta:{title:"蓝兔支付",icon:"ph:rabbit"}}]},routes$4={path:"/github",component:()=>__vitePreload(()=>import("./github-redirect-BqXHRsY-.js"),[],import.meta.url),name:"ProjectAddressMenu",meta:{title:"开源地址",icon:"mdi:github"}};function Layout$3(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$3={path:"/secure",component:Layout$3,redirect:"/secure/sensitive-baidu",name:"SecureMenu",meta:{title:"风控管理",icon:"ri:secure-payment-line"},children:[{path:"identity-verification",name:"IdentityVerification",component:()=>__vitePreload(()=>import("./identityVerification-BGG7YaLd.js"),__vite__mapDeps([27,1,2]),import.meta.url),meta:{title:"风控安全配置",icon:"hugeicons:identification"}},{path:"sensitive-violation",name:"SensitiveViolationLog",component:()=>__vitePreload(()=>import("./violation-DSvmBVfk.js"),__vite__mapDeps([23,10,1,24,12,25,11,26]),import.meta.url),meta:{title:"违规检测记录",icon:"tabler:ban"}},{path:"sensitive-baidu",name:"SensitiveBaiduyun",component:()=>__vitePreload(()=>import("./baiduSensitive-C9aAS061.js"),__vite__mapDeps([29,1,2]),import.meta.url),meta:{title:"百度云敏感词",icon:"ri:baidu-line"}},{path:"sensitive-custom",name:"SensitiveCuston",component:()=>__vitePreload(()=>import("./custom-B5IO_plt.js"),__vite__mapDeps([28,10,1,24,11]),import.meta.url),meta:{title:"自定义敏感词",icon:"carbon:word-cloud"}}]};function Layout$2(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$2={path:"/storage",component:Layout$2,redirect:"/storage/config",name:"StorageMenu",meta:{title:"存储配置",icon:"mingcute:storage-line"},children:[{path:"localStorage",name:"LocalStorage",component:()=>__vitePreload(()=>import("./localStorage-cKgrnDbg.js"),__vite__mapDeps([20,1,2]),import.meta.url),meta:{title:"本地存储",icon:"icon-park-outline:cloud-storage"}},{path:"tencent",name:"StorageTencent",component:()=>__vitePreload(()=>import("./tencent-DrFpx0Hg.js"),__vite__mapDeps([19,1,2]),import.meta.url),meta:{title:"腾讯云COS",icon:"teenyicons:cost-estimate-outline"}},{path:"ali",name:"StorageAli",component:()=>__vitePreload(()=>import("./ali-0_edqUL6.js"),__vite__mapDeps([22,1,2]),import.meta.url),meta:{title:"阿里云OSS",icon:"material-symbols:home-storage-outline"}},{path:"chevereto",name:"StorageChevereto",component:()=>__vitePreload(()=>import("./chevereto-DL3R-p1F.js"),__vite__mapDeps([21,1,2]),import.meta.url),meta:{title:"chevereto图床",icon:"material-symbols:image-outline"}}]};function Layout$1(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$1={path:"/system",component:Layout$1,redirect:"/system/base",name:"systemMenu",meta:{title:"系统管理",icon:"tdesign:system-2"},children:[{path:"base-configuration",name:"ClientBaseConfig",component:()=>__vitePreload(()=>import("./baseConfiguration-U_8lhRbY.js"),__vite__mapDeps([17,1,2]),import.meta.url),meta:{title:"基础配置",icon:"uil:setting"}},{path:"points",name:"PointsDisplay",component:()=>__vitePreload(()=>import("./points-dFU6hxKv.js"),__vite__mapDeps([41,1,2]),import.meta.url),meta:{title:"显示设置",icon:"mdi:show-outline"}},{path:"notice",name:"systemMenuNotice",component:()=>__vitePreload(()=>import("./notice-CN8MQARu.js"),__vite__mapDeps([16,1,2,4,5]),import.meta.url),meta:{title:"公告设置",icon:"mdi:notice-board"}},{path:"welcome",name:"systemMenuWelcome",component:()=>__vitePreload(()=>import("./welcomePageSettings-CtUX5kGT.js"),__vite__mapDeps([15,1,2]),import.meta.url),meta:{title:"欢迎页设置",icon:"mdi:human-welcome"}},{path:"baidu",name:"systemMenuBase",component:()=>__vitePreload(()=>import("./baiduStatistics-C5Ie8mqw.js"),__vite__mapDeps([18,1,2]),import.meta.url),meta:{title:"统计设置",icon:"wpf:statistics"}}]};function Layout(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes={path:"/user",component:Layout,redirect:"/user/dashboard",name:"userMenu",meta:{title:"访问管理",icon:"mdi:user-outline"},children:[{path:"register",name:"systemMenuRegister",component:()=>__vitePreload(()=>import("./register-s9FErNB-.js"),__vite__mapDeps([6,1,2,7]),import.meta.url),meta:{title:"访问配置",icon:"hugeicons:access"}},{path:"useragreement",name:"userAgreement",component:()=>__vitePreload(()=>import("./userAgreement-CRX63ZgH.js"),__vite__mapDeps([3,1,2,4,5]),import.meta.url),meta:{title:"用户协议配置",icon:"hugeicons:access"}},{path:"email",name:"systemMenuEmail",component:()=>__vitePreload(()=>import("./email-B1yejiIN.js"),__vite__mapDeps([13,1,2]),import.meta.url),meta:{title:"邮件登录配置",icon:"material-symbols:mail-outline"}},{path:"wechat",name:"systemMenuWechat",component:()=>__vitePreload(()=>import("./wechat-CC1D2I9W.js"),__vite__mapDeps([0,1,2]),import.meta.url),meta:{title:"微信登录配置",icon:"la:weixin"}},{path:"ali-phone",name:"AliPhoneMenu",component:()=>__vitePreload(()=>import("./phone-BdMZVeeU.js"),__vite__mapDeps([8,1,2]),import.meta.url),meta:{title:"短信登录配置",icon:"tabler:message"}}]},constantRoutes=[{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./login-BG_4YoSX.js"),[],import.meta.url),meta:{title:"登录"}},{path:"/:all(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./_...all_-C9XwyC6X.js"),[],import.meta.url),meta:{title:"找不到页面"}}],systemRoutes=[{path:"/",component:()=>__vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url),meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1},children:[{path:"",name:"home",component:Home,meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1}},{path:"reload",name:"reload",component:()=>__vitePreload(()=>import("./reload-ByHYPX1Q.js"),[],import.meta.url),meta:{title:"重新加载",breadcrumb:!1}},{path:"setting",name:"personalSetting",component:()=>__vitePreload(()=>import("./setting-B_yMB92n.js"),__vite__mapDeps([31,10,32]),import.meta.url),meta:{title:"个人设置",cache:"personalEditPassword"}},{path:"edit/password",name:"personalEditPassword",component:()=>__vitePreload(()=>import("./edit.password-C_LVx17b.js"),__vite__mapDeps([33,10,1,34,35]),import.meta.url),meta:{title:"修改密码"}}]}],asyncRoutes=[{children:[routes$1,routes,routes$7,routes$8,routes$9,routes$3,routes$2,routes$6,routes$5,routes$4]}],constantRoutesByFilesystem=routes$a.filter(xe=>{var $e,Ie;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)===!0}),asyncRoutesByFilesystem=setupLayouts(routes$a.filter(xe=>{var $e,Ie,Fe;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)!==!0&&((Fe=xe.meta)==null?void 0:Fe.layout)!==!1}));function validateProjectAddressMenu(xe){if(!xe.find(Ue=>{var qe;return(qe=Ue.children)==null?void 0:qe.includes(routes$4)}))return!1;const Ie=routes$4.path,Fe=routes$4.component;return!(!Ie||typeof Ie!="string"||!Fe||typeof Fe!="function")}if(!validateProjectAddressMenu(asyncRoutes))throw document.body.innerHTML="<h1></h1>",new Error("");const useRouteStore=defineStore("route",()=>{const xe=useSettingsStore(),$e=ref(!1),Ie=ref([]),Fe=ref([]),Ue=ref([]);function qe(Cn){var Sn,xn,En,Tn;return Cn.children&&(Cn.children=At(Cn.children,[{path:Cn.path,title:(Sn=Cn.meta)==null?void 0:Sn.title,icon:(xn=Cn.meta)==null?void 0:xn.icon,hide:!((En=Cn.meta)!=null&&En.breadcrumb)&&((Tn=Cn.meta)==null?void 0:Tn.breadcrumb)===!1}],Cn.path)),Cn}function At(Cn,Sn=[],xn=""){const En=[];return Cn.forEach(Tn=>{var An,$n,Pn,Nn,Mn,In,On,Rn;if(Tn.children){const Bn=resolveRoutePath(xn,Tn.path),Vn=cloneDeep(Sn);Vn.push({path:Bn,title:(An=Tn.meta)==null?void 0:An.title,icon:($n=Tn.meta)==null?void 0:$n.icon,hide:!((Pn=Tn.meta)!=null&&Pn.breadcrumb)&&((Nn=Tn.meta)==null?void 0:Nn.breadcrumb)===!1});const Ln=cloneDeep(Tn);Ln.path=Bn,Ln.meta||(Ln.meta={}),Ln.meta.breadcrumbNeste=Vn,delete Ln.children,En.push(Ln),At(Tn.children,Vn,Bn).forEach(Hn=>{En.some(Fn=>Fn.path===Hn.path)?En.forEach((Fn,zn)=>{Fn.path===Hn.path&&(En[zn]=Hn)}):En.push(Hn)})}else{const Bn=cloneDeep(Tn);Bn.path=resolveRoutePath(xn,Bn.path);const Vn=cloneDeep(Sn);Vn.push({path:Bn.path,title:(Mn=Bn.meta)==null?void 0:Mn.title,icon:(In=Bn.meta)==null?void 0:In.icon,hide:!((On=Bn.meta)!=null&&On.breadcrumb)&&((Rn=Bn.meta)==null?void 0:Rn.breadcrumb)===!1}),Bn.meta||(Bn.meta={}),Bn.meta.breadcrumbNeste=Vn,En.push(Bn)}}),En}const Dt=computed(()=>{const Cn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Ie.value&&(Ie.value.forEach(Sn=>{const xn=cloneDeep(Sn.children);xn.map(En=>{var Tn,An;return En.meta||(En.meta={}),En.meta.auth=((Tn=Sn.meta)==null?void 0:Tn.auth)??((An=En.meta)==null?void 0:An.auth),En}),Cn.push(...xn)}),Cn.forEach(Sn=>qe(Sn))):Cn.push(...cloneDeep(Fe.value)),Cn}),Lt=computed(()=>{const Cn=[...systemRoutes];return Cn.forEach(Sn=>qe(Sn)),Cn});let jt=!1;function hn(Cn){return Cn.forEach(Sn=>{Sn.children=vn(Sn.children)}),jt&&console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性'),Cn}function vn(Cn){return Cn&&Cn.forEach(Sn=>{var xn;typeof((xn=Sn.meta)==null?void 0:xn.sidebar)=="boolean"&&(jt=!0,Sn.meta.menu=Sn.meta.sidebar,delete Sn.meta.sidebar),Sn.children&&vn(Sn.children)}),Cn}function bn(Cn){Ie.value=hn(cloneDeep(Cn)),$e.value=!0}function _n(Cn){Fe.value=cloneDeep(Cn),$e.value=!0}function wn(Cn){Ue.value=Cn}function kn(){$e.value=!1,Ie.value=[],Fe.value=[],Ue.value.forEach(Cn=>{Cn()}),Ue.value=[]}return{isGenerate:$e,routesRaw:Ie,currentRemoveRoutes:Ue,flatRoutes:Dt,flatSystemRoutes:Lt,generateRoutesAtFront:bn,generateRoutesAtFilesystem:_n,setCurrentRemoveRoutes:wn,removeRoutes:kn}}),useMenuStore=defineStore("menu",()=>{const xe=useSettingsStore(),$e=useUserStore$1(),Ie=useRouteStore(),Fe=ref([]),Ue=ref(0);function qe(Sn){const xn=[];return Sn.forEach(En=>{var Tn,An,$n;if(xe.settings.menu.menuMode==="single")xn.length===0&&xn.push({meta:{},children:[]}),xn[0].children.push(...At(En.children));else{const Pn={meta:{title:(Tn=En==null?void 0:En.meta)==null?void 0:Tn.title,icon:(An=En==null?void 0:En.meta)==null?void 0:An.icon,auth:($n=En==null?void 0:En.meta)==null?void 0:$n.auth},children:[]};Pn.children=At(En.children),xn.push(Pn)}}),xn}function At(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var $n,Pn,Nn,Mn,In,On;const An={path:resolveRoutePath(xn,Tn.path),meta:{title:($n=Tn==null?void 0:Tn.meta)==null?void 0:$n.title,icon:(Pn=Tn==null?void 0:Tn.meta)==null?void 0:Pn.icon,defaultOpened:(Nn=Tn==null?void 0:Tn.meta)==null?void 0:Nn.defaultOpened,auth:(Mn=Tn==null?void 0:Tn.meta)==null?void 0:Mn.auth,menu:(In=Tn==null?void 0:Tn.meta)==null?void 0:In.menu,link:(On=Tn==null?void 0:Tn.meta)==null?void 0:On.link}};Tn.children&&(An.children=At(Tn.children,An.path)),En.push(An)}),En}const Dt=computed(()=>{let Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Sn=qe(Ie.routesRaw):Sn=Fe.value,xe.settings.app.enablePermission&&(Sn=wn(Sn,$e.permissions)),Sn}),Lt=computed(()=>Dt.value.length>0?Dt.value.length>1?Dt.value[Ue.value].children:Dt.value[0].children:[]),jt=computed(()=>Lt.value.length>0?hn(Lt.value[0]):xe.settings.home.fullPath);function hn(Sn,xn=""){let En="";if(Sn.children){const Tn=Sn.children.find(An=>{var $n;return(($n=An.meta)==null?void 0:$n.menu)!==!1});Tn?En=hn(Tn,resolveRoutePath(xn,Sn.path)):En=hn(Sn.children[0],resolveRoutePath(xn,Sn.path))}else En=resolveRoutePath(xn,Sn.path);return En}const vn=computed(()=>{const Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"&&Dt.value.forEach(xn=>{Sn.push(...bn(xn.children))}),Sn});function bn(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var An;if((An=Tn.meta)!=null&&An.defaultOpened&&Tn.children){En.push(resolveRoutePath(xn,Tn.path));const $n=bn(Tn.children,resolveRoutePath(xn,Tn.path));$n.length>0&&En.push(...$n)}}),En}function _n(Sn,xn){var Tn;let En=!1;return(Tn=xn.meta)!=null&&Tn.auth?En=Sn.some(An=>{var $n,Pn;return typeof(($n=xn.meta)==null?void 0:$n.auth)=="string"?xn.meta.auth!==""?xn.meta.auth===An:!0:typeof((Pn=xn.meta)==null?void 0:Pn.auth)=="object"?xn.meta.auth.length>0?xn.meta.auth.includes(An):!0:!1}):En=!0,En}function wn(Sn,xn){const En=[];return Sn.forEach(Tn=>{if(_n(xn,Tn)){const An=cloneDeep(Tn);An.children&&An.children.length>0?(An.children=wn(An.children,xn),An.children.length>0&&En.push(An)):(delete An.children,En.push(An))}}),En}async function kn(){Fe.value=menu.filter(Sn=>Sn.children.length!==0)}function Cn(Sn){if(typeof Sn=="number")Ue.value=Sn;else{const xn=Dt.value.findIndex(En=>En.children.some(Tn=>Sn.indexOf(`${Tn.path}/`)===0||Sn===Tn.path));xn>=0&&(Ue.value=xn)}}return{actived:Ue,allMenus:Dt,sidebarMenus:Lt,sidebarMenusFirstDeepestPath:jt,defaultOpenedPaths:vn,generateMenusAtFront:kn,setActived:Cn}}),{isLoading}=useNProgress(),router=createRouter({history:createWebHashHistory(""),routes:useSettingsStore(pinia).settings.app.routeBaseOn==="filesystem"?constantRoutesByFilesystem:constantRoutes});router.beforeEach(async(xe,$e,Ie)=>{const Fe=useSettingsStore(),Ue=useUserStore$1(),qe=useRouteStore(),At=useMenuStore();if(Fe.settings.app.enableProgress&&(isLoading.value=!0),Ue.isLogin)if(qe.isGenerate)Fe.settings.menu.menuMode!=="single"&&At.setActived(xe.path),xe.name==="login"?Ie({path:Fe.settings.home.fullPath,replace:!0}):!Fe.settings.home.enable&&xe.fullPath===Fe.settings.home.fullPath&&At.sidebarMenus.length>0?Ie({path:At.sidebarMenusFirstDeepestPath,replace:!0}):Ie();else{switch(Fe.settings.app.enablePermission&&await Ue.getPermissions(),Fe.settings.app.routeBaseOn){case"frontend":qe.generateRoutesAtFront(asyncRoutes);break;case"filesystem":switch(qe.generateRoutesAtFilesystem(asyncRoutesByFilesystem),Fe.settings.menu.baseOn){case"frontend":At.generateMenusAtFront();break}break}const Dt=[];qe.flatRoutes.forEach(Lt=>{/^(?:https?:|mailto:|tel:)/.test(Lt.path)||Dt.push(router.addRoute(Lt))}),Fe.settings.app.routeBaseOn!=="filesystem"&&qe.flatSystemRoutes.forEach(Lt=>{Dt.push(router.addRoute(Lt))}),qe.setCurrentRemoveRoutes(Dt),Ie({path:xe.path,query:xe.query,replace:!0})}else xe.name!=="login"?Ie({name:"login",query:{redirect:xe.fullPath!==Fe.settings.home.fullPath?xe.fullPath:void 0}}):Ie()});router.afterEach((xe,$e)=>{var Ue,qe,At,Dt,Lt,jt;const Ie=useSettingsStore(),Fe=useKeepAliveStore();if(Ie.settings.app.enableProgress&&(isLoading.value=!1),Ie.settings.app.routeBaseOn!=="filesystem"?Ie.setTitle(((qe=(Ue=xe.meta.breadcrumbNeste)==null?void 0:Ue.at(-1))==null?void 0:qe.title)??xe.meta.title):Ie.setTitle(xe.meta.title),xe.meta.cache){const hn=(Dt=(At=xe.matched.at(-1))==null?void 0:At.components)==null?void 0:Dt.default.name;hn?Fe.add(hn):console.warn("[Fantastic-admin] 该页面组件未设置组件名，会导致缓存失效，请检查")}if($e.meta.cache){const hn=(jt=(Lt=$e.matched.at(-1))==null?void 0:Lt.components)==null?void 0:jt.default.name;if(hn){switch(typeof $e.meta.cache){case"string":$e.meta.cache!==xe.name&&Fe.remove(hn);break;case"object":$e.meta.cache.includes(xe.name)||Fe.remove(hn);break}if($e.meta.noCache)switch(typeof $e.meta.noCache){case"string":$e.meta.noCache===xe.name&&Fe.remove(hn);break;case"object":$e.meta.noCache.includes(xe.name)&&Fe.remove(hn);break}xe.name==="reload"&&Fe.remove(hn)}}document.documentElement.scrollTop=0});function bind(xe,$e){return function(){return xe.apply($e,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(xe=>$e=>{const Ie=toString.call($e);return xe[Ie]||(xe[Ie]=Ie.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=xe=>(xe=xe.toLowerCase(),$e=>kindOf($e)===xe),typeOfTest=xe=>$e=>typeof $e===xe,{isArray}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer(xe){return xe!==null&&!isUndefined$1(xe)&&xe.constructor!==null&&!isUndefined$1(xe.constructor)&&isFunction$1(xe.constructor.isBuffer)&&xe.constructor.isBuffer(xe)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(xe){let $e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?$e=ArrayBuffer.isView(xe):$e=xe&&xe.buffer&&isArrayBuffer(xe.buffer),$e}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject=xe=>xe!==null&&typeof xe=="object",isBoolean$1=xe=>xe===!0||xe===!1,isPlainObject=xe=>{if(kindOf(xe)!=="object")return!1;const $e=getPrototypeOf(xe);return($e===null||$e===Object.prototype||Object.getPrototypeOf($e)===null)&&!(Symbol.toStringTag in xe)&&!(Symbol.iterator in xe)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=xe=>isObject(xe)&&isFunction$1(xe.pipe),isFormData=xe=>{let $e;return xe&&(typeof FormData=="function"&&xe instanceof FormData||isFunction$1(xe.append)&&(($e=kindOf(xe))==="formdata"||$e==="object"&&isFunction$1(xe.toString)&&xe.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=xe=>xe.trim?xe.trim():xe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(xe,$e,{allOwnKeys:Ie=!1}={}){if(xe===null||typeof xe>"u")return;let Fe,Ue;if(typeof xe!="object"&&(xe=[xe]),isArray(xe))for(Fe=0,Ue=xe.length;Fe<Ue;Fe++)$e.call(null,xe[Fe],Fe,xe);else{const qe=Ie?Object.getOwnPropertyNames(xe):Object.keys(xe),At=qe.length;let Dt;for(Fe=0;Fe<At;Fe++)Dt=qe[Fe],$e.call(null,xe[Dt],Dt,xe)}}function findKey(xe,$e){$e=$e.toLowerCase();const Ie=Object.keys(xe);let Fe=Ie.length,Ue;for(;Fe-- >0;)if(Ue=Ie[Fe],$e===Ue.toLowerCase())return Ue;return null}const _global$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=xe=>!isUndefined$1(xe)&&xe!==_global$1;function merge(){const{caseless:xe}=isContextDefined(this)&&this||{},$e={},Ie=(Fe,Ue)=>{const qe=xe&&findKey($e,Ue)||Ue;isPlainObject($e[qe])&&isPlainObject(Fe)?$e[qe]=merge($e[qe],Fe):isPlainObject(Fe)?$e[qe]=merge({},Fe):isArray(Fe)?$e[qe]=Fe.slice():$e[qe]=Fe};for(let Fe=0,Ue=arguments.length;Fe<Ue;Fe++)arguments[Fe]&&forEach(arguments[Fe],Ie);return $e}const extend=(xe,$e,Ie,{allOwnKeys:Fe}={})=>(forEach($e,(Ue,qe)=>{Ie&&isFunction$1(Ue)?xe[qe]=bind(Ue,Ie):xe[qe]=Ue},{allOwnKeys:Fe}),xe),stripBOM=xe=>(xe.charCodeAt(0)===65279&&(xe=xe.slice(1)),xe),inherits=(xe,$e,Ie,Fe)=>{xe.prototype=Object.create($e.prototype,Fe),xe.prototype.constructor=xe,Object.defineProperty(xe,"super",{value:$e.prototype}),Ie&&Object.assign(xe.prototype,Ie)},toFlatObject=(xe,$e,Ie,Fe)=>{let Ue,qe,At;const Dt={};if($e=$e||{},xe==null)return $e;do{for(Ue=Object.getOwnPropertyNames(xe),qe=Ue.length;qe-- >0;)At=Ue[qe],(!Fe||Fe(At,xe,$e))&&!Dt[At]&&($e[At]=xe[At],Dt[At]=!0);xe=Ie!==!1&&getPrototypeOf(xe)}while(xe&&(!Ie||Ie(xe,$e))&&xe!==Object.prototype);return $e},endsWith=(xe,$e,Ie)=>{xe=String(xe),(Ie===void 0||Ie>xe.length)&&(Ie=xe.length),Ie-=$e.length;const Fe=xe.indexOf($e,Ie);return Fe!==-1&&Fe===Ie},toArray=xe=>{if(!xe)return null;if(isArray(xe))return xe;let $e=xe.length;if(!isNumber$1($e))return null;const Ie=new Array($e);for(;$e-- >0;)Ie[$e]=xe[$e];return Ie},isTypedArray=(xe=>$e=>xe&&$e instanceof xe)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(xe,$e)=>{const Fe=(xe&&xe[Symbol.iterator]).call(xe);let Ue;for(;(Ue=Fe.next())&&!Ue.done;){const qe=Ue.value;$e.call(xe,qe[0],qe[1])}},matchAll=(xe,$e)=>{let Ie;const Fe=[];for(;(Ie=xe.exec($e))!==null;)Fe.push(Ie);return Fe},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=xe=>xe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Ie,Fe,Ue){return Fe.toUpperCase()+Ue}),hasOwnProperty=(({hasOwnProperty:xe})=>($e,Ie)=>xe.call($e,Ie))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(xe,$e)=>{const Ie=Object.getOwnPropertyDescriptors(xe),Fe={};forEach(Ie,(Ue,qe)=>{let At;(At=$e(Ue,qe,xe))!==!1&&(Fe[qe]=At||Ue)}),Object.defineProperties(xe,Fe)},freezeMethods=xe=>{reduceDescriptors(xe,($e,Ie)=>{if(isFunction$1(xe)&&["arguments","caller","callee"].indexOf(Ie)!==-1)return!1;const Fe=xe[Ie];if(isFunction$1(Fe)){if($e.enumerable=!1,"writable"in $e){$e.writable=!1;return}$e.set||($e.set=()=>{throw Error("Can not rewrite read-only method '"+Ie+"'")})}})},toObjectSet=(xe,$e)=>{const Ie={},Fe=Ue=>{Ue.forEach(qe=>{Ie[qe]=!0})};return isArray(xe)?Fe(xe):Fe(String(xe).split($e)),Ie},noop$1=()=>{},toFiniteNumber=(xe,$e)=>xe!=null&&Number.isFinite(xe=+xe)?xe:$e,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(xe=16,$e=ALPHABET.ALPHA_DIGIT)=>{let Ie="";const{length:Fe}=$e;for(;xe--;)Ie+=$e[Math.random()*Fe|0];return Ie};function isSpecCompliantForm(xe){return!!(xe&&isFunction$1(xe.append)&&xe[Symbol.toStringTag]==="FormData"&&xe[Symbol.iterator])}const toJSONObject=xe=>{const $e=new Array(10),Ie=(Fe,Ue)=>{if(isObject(Fe)){if($e.indexOf(Fe)>=0)return;if(!("toJSON"in Fe)){$e[Ue]=Fe;const qe=isArray(Fe)?[]:{};return forEach(Fe,(At,Dt)=>{const Lt=Ie(At,Ue+1);!isUndefined$1(Lt)&&(qe[Dt]=Lt)}),$e[Ue]=void 0,qe}}return Fe};return Ie(xe,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=xe=>xe&&(isObject(xe)||isFunction$1(xe))&&isFunction$1(xe.then)&&isFunction$1(xe.catch),utils$1={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined:isUndefined$1,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$1,toFiniteNumber,findKey,global:_global$1,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(xe,$e,Ie,Fe,Ue){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=xe,this.name="AxiosError",$e&&(this.code=$e),Ie&&(this.config=Ie),Fe&&(this.request=Fe),Ue&&(this.response=Ue)}utils$1.inherits(AxiosError,Error,{toJSON:function xe(){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$1.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(xe=>{descriptors[xe]={value:xe}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(xe,$e,Ie,Fe,Ue,qe)=>{const At=Object.create(prototype$1);return utils$1.toFlatObject(xe,At,function(Lt){return Lt!==Error.prototype},Dt=>Dt!=="isAxiosError"),AxiosError.call(At,xe.message,$e,Ie,Fe,Ue),At.cause=xe,At.name=xe.name,qe&&Object.assign(At,qe),At};const httpAdapter=null;function isVisitable(xe){return utils$1.isPlainObject(xe)||utils$1.isArray(xe)}function removeBrackets(xe){return utils$1.endsWith(xe,"[]")?xe.slice(0,-2):xe}function renderKey(xe,$e,Ie){return xe?xe.concat($e).map(function(Ue,qe){return Ue=removeBrackets(Ue),!Ie&&qe?"["+Ue+"]":Ue}).join(Ie?".":""):$e}function isFlatArray(xe){return utils$1.isArray(xe)&&!xe.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function xe($e){return/^is[A-Z]/.test($e)});function toFormData(xe,$e,Ie){if(!utils$1.isObject(xe))throw new TypeError("target must be an object");$e=$e||new FormData,Ie=utils$1.toFlatObject(Ie,{metaTokens:!0,dots:!1,indexes:!1},!1,function(kn,Cn){return!utils$1.isUndefined(Cn[kn])});const Fe=Ie.metaTokens,Ue=Ie.visitor||hn,qe=Ie.dots,At=Ie.indexes,Lt=(Ie.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm($e);if(!utils$1.isFunction(Ue))throw new TypeError("visitor must be a function");function jt(wn){if(wn===null)return"";if(utils$1.isDate(wn))return wn.toISOString();if(!Lt&&utils$1.isBlob(wn))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(wn)||utils$1.isTypedArray(wn)?Lt&&typeof Blob=="function"?new Blob([wn]):Buffer.from(wn):wn}function hn(wn,kn,Cn){let Sn=wn;if(wn&&!Cn&&typeof wn=="object"){if(utils$1.endsWith(kn,"{}"))kn=Fe?kn:kn.slice(0,-2),wn=JSON.stringify(wn);else if(utils$1.isArray(wn)&&isFlatArray(wn)||(utils$1.isFileList(wn)||utils$1.endsWith(kn,"[]"))&&(Sn=utils$1.toArray(wn)))return kn=removeBrackets(kn),Sn.forEach(function(En,Tn){!(utils$1.isUndefined(En)||En===null)&&$e.append(At===!0?renderKey([kn],Tn,qe):At===null?kn:kn+"[]",jt(En))}),!1}return isVisitable(wn)?!0:($e.append(renderKey(Cn,kn,qe),jt(wn)),!1)}const vn=[],bn=Object.assign(predicates,{defaultVisitor:hn,convertValue:jt,isVisitable});function _n(wn,kn){if(!utils$1.isUndefined(wn)){if(vn.indexOf(wn)!==-1)throw Error("Circular reference detected in "+kn.join("."));vn.push(wn),utils$1.forEach(wn,function(Sn,xn){(!(utils$1.isUndefined(Sn)||Sn===null)&&Ue.call($e,Sn,utils$1.isString(xn)?xn.trim():xn,kn,bn))===!0&&_n(Sn,kn?kn.concat(xn):[xn])}),vn.pop()}}if(!utils$1.isObject(xe))throw new TypeError("data must be an object");return _n(xe),$e}function encode$1(xe){const $e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(xe).replace(/[!'()~]|%20|%00/g,function(Fe){return $e[Fe]})}function AxiosURLSearchParams(xe,$e){this._pairs=[],xe&&toFormData(xe,this,$e)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function xe($e,Ie){this._pairs.push([$e,Ie])};prototype.toString=function xe($e){const Ie=$e?function(Fe){return $e.call(this,Fe,encode$1)}:encode$1;return this._pairs.map(function(Ue){return Ie(Ue[0])+"="+Ie(Ue[1])},"").join("&")};function encode(xe){return encodeURIComponent(xe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(xe,$e,Ie){if(!$e)return xe;const Fe=Ie&&Ie.encode||encode,Ue=Ie&&Ie.serialize;let qe;if(Ue?qe=Ue($e,Ie):qe=utils$1.isURLSearchParams($e)?$e.toString():new AxiosURLSearchParams($e,Ie).toString(Fe),qe){const At=xe.indexOf("#");At!==-1&&(xe=xe.slice(0,At)),xe+=(xe.indexOf("?")===-1?"?":"&")+qe}return xe}class InterceptorManager{constructor(){this.handlers=[]}use($e,Ie,Fe){return this.handlers.push({fulfilled:$e,rejected:Ie,synchronous:Fe?Fe.synchronous:!1,runWhen:Fe?Fe.runWhen:null}),this.handlers.length-1}eject($e){this.handlers[$e]&&(this.handlers[$e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach($e){utils$1.forEach(this.handlers,function(Fe){Fe!==null&&$e(Fe)})}}const 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,platform$2={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",hasStandardBrowserEnv=(xe=>hasBrowserEnv&&["ReactNative","NativeScript","NS"].indexOf(xe)<0)(typeof navigator<"u"&&navigator.product),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,origin},Symbol.toStringTag,{value:"Module"})),platform$1={...utils,...platform$2};function toURLEncodedForm(xe,$e){return toFormData(xe,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(Ie,Fe,Ue,qe){return platform$1.isNode&&utils$1.isBuffer(Ie)?(this.append(Fe,Ie.toString("base64")),!1):qe.defaultVisitor.apply(this,arguments)}},$e))}function parsePropPath(xe){return utils$1.matchAll(/\w+|\[(\w*)]/g,xe).map($e=>$e[0]==="[]"?"":$e[1]||$e[0])}function arrayToObject(xe){const $e={},Ie=Object.keys(xe);let Fe;const Ue=Ie.length;let qe;for(Fe=0;Fe<Ue;Fe++)qe=Ie[Fe],$e[qe]=xe[qe];return $e}function formDataToJSON(xe){function $e(Ie,Fe,Ue,qe){let At=Ie[qe++];if(At==="__proto__")return!0;const Dt=Number.isFinite(+At),Lt=qe>=Ie.length;return At=!At&&utils$1.isArray(Ue)?Ue.length:At,Lt?(utils$1.hasOwnProp(Ue,At)?Ue[At]=[Ue[At],Fe]:Ue[At]=Fe,!Dt):((!Ue[At]||!utils$1.isObject(Ue[At]))&&(Ue[At]=[]),$e(Ie,Fe,Ue[At],qe)&&utils$1.isArray(Ue[At])&&(Ue[At]=arrayToObject(Ue[At])),!Dt)}if(utils$1.isFormData(xe)&&utils$1.isFunction(xe.entries)){const Ie={};return utils$1.forEachEntry(xe,(Fe,Ue)=>{$e(parsePropPath(Fe),Ue,Ie,0)}),Ie}return null}function stringifySafely(xe,$e,Ie){if(utils$1.isString(xe))try{return($e||JSON.parse)(xe),utils$1.trim(xe)}catch(Fe){if(Fe.name!=="SyntaxError")throw Fe}return(Ie||JSON.stringify)(xe)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function xe($e,Ie){const Fe=Ie.getContentType()||"",Ue=Fe.indexOf("application/json")>-1,qe=utils$1.isObject($e);if(qe&&utils$1.isHTMLForm($e)&&($e=new FormData($e)),utils$1.isFormData($e))return Ue?JSON.stringify(formDataToJSON($e)):$e;if(utils$1.isArrayBuffer($e)||utils$1.isBuffer($e)||utils$1.isStream($e)||utils$1.isFile($e)||utils$1.isBlob($e)||utils$1.isReadableStream($e))return $e;if(utils$1.isArrayBufferView($e))return $e.buffer;if(utils$1.isURLSearchParams($e))return Ie.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),$e.toString();let Dt;if(qe){if(Fe.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm($e,this.formSerializer).toString();if((Dt=utils$1.isFileList($e))||Fe.indexOf("multipart/form-data")>-1){const Lt=this.env&&this.env.FormData;return toFormData(Dt?{"files[]":$e}:$e,Lt&&new Lt,this.formSerializer)}}return qe||Ue?(Ie.setContentType("application/json",!1),stringifySafely($e)):$e}],transformResponse:[function xe($e){const Ie=this.transitional||defaults.transitional,Fe=Ie&&Ie.forcedJSONParsing,Ue=this.responseType==="json";if(utils$1.isResponse($e)||utils$1.isReadableStream($e))return $e;if($e&&utils$1.isString($e)&&(Fe&&!this.responseType||Ue)){const At=!(Ie&&Ie.silentJSONParsing)&&Ue;try{return JSON.parse($e)}catch(Dt){if(At)throw Dt.name==="SyntaxError"?AxiosError.from(Dt,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):Dt}}return $e}],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 xe($e){return $e>=200&&$e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],xe=>{defaults.headers[xe]={}});const ignoreDuplicateOf=utils$1.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=xe=>{const $e={};let Ie,Fe,Ue;return xe&&xe.split(`
`).forEach(function(At){Ue=At.indexOf(":"),Ie=At.substring(0,Ue).trim().toLowerCase(),Fe=At.substring(Ue+1).trim(),!(!Ie||$e[Ie]&&ignoreDuplicateOf[Ie])&&(Ie==="set-cookie"?$e[Ie]?$e[Ie].push(Fe):$e[Ie]=[Fe]:$e[Ie]=$e[Ie]?$e[Ie]+", "+Fe:Fe)}),$e},$internals=Symbol("internals");function normalizeHeader(xe){return xe&&String(xe).trim().toLowerCase()}function normalizeValue(xe){return xe===!1||xe==null?xe:utils$1.isArray(xe)?xe.map(normalizeValue):String(xe)}function parseTokens(xe){const $e=Object.create(null),Ie=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Fe;for(;Fe=Ie.exec(xe);)$e[Fe[1]]=Fe[2];return $e}const isValidHeaderName=xe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(xe.trim());function matchHeaderValue(xe,$e,Ie,Fe,Ue){if(utils$1.isFunction(Fe))return Fe.call(this,$e,Ie);if(Ue&&($e=Ie),!!utils$1.isString($e)){if(utils$1.isString(Fe))return $e.indexOf(Fe)!==-1;if(utils$1.isRegExp(Fe))return Fe.test($e)}}function formatHeader(xe){return xe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,($e,Ie,Fe)=>Ie.toUpperCase()+Fe)}function buildAccessors(xe,$e){const Ie=utils$1.toCamelCase(" "+$e);["get","set","has"].forEach(Fe=>{Object.defineProperty(xe,Fe+Ie,{value:function(Ue,qe,At){return this[Fe].call(this,$e,Ue,qe,At)},configurable:!0})})}class AxiosHeaders{constructor($e){$e&&this.set($e)}set($e,Ie,Fe){const Ue=this;function qe(Dt,Lt,jt){const hn=normalizeHeader(Lt);if(!hn)throw new Error("header name must be a non-empty string");const vn=utils$1.findKey(Ue,hn);(!vn||Ue[vn]===void 0||jt===!0||jt===void 0&&Ue[vn]!==!1)&&(Ue[vn||Lt]=normalizeValue(Dt))}const At=(Dt,Lt)=>utils$1.forEach(Dt,(jt,hn)=>qe(jt,hn,Lt));if(utils$1.isPlainObject($e)||$e instanceof this.constructor)At($e,Ie);else if(utils$1.isString($e)&&($e=$e.trim())&&!isValidHeaderName($e))At(parseHeaders($e),Ie);else if(utils$1.isHeaders($e))for(const[Dt,Lt]of $e.entries())qe(Lt,Dt,Fe);else $e!=null&&qe(Ie,$e,Fe);return this}get($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);if(Fe){const Ue=this[Fe];if(!Ie)return Ue;if(Ie===!0)return parseTokens(Ue);if(utils$1.isFunction(Ie))return Ie.call(this,Ue,Fe);if(utils$1.isRegExp(Ie))return Ie.exec(Ue);throw new TypeError("parser must be boolean|regexp|function")}}}has($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);return!!(Fe&&this[Fe]!==void 0&&(!Ie||matchHeaderValue(this,this[Fe],Fe,Ie)))}return!1}delete($e,Ie){const Fe=this;let Ue=!1;function qe(At){if(At=normalizeHeader(At),At){const Dt=utils$1.findKey(Fe,At);Dt&&(!Ie||matchHeaderValue(Fe,Fe[Dt],Dt,Ie))&&(delete Fe[Dt],Ue=!0)}}return utils$1.isArray($e)?$e.forEach(qe):qe($e),Ue}clear($e){const Ie=Object.keys(this);let Fe=Ie.length,Ue=!1;for(;Fe--;){const qe=Ie[Fe];(!$e||matchHeaderValue(this,this[qe],qe,$e,!0))&&(delete this[qe],Ue=!0)}return Ue}normalize($e){const Ie=this,Fe={};return utils$1.forEach(this,(Ue,qe)=>{const At=utils$1.findKey(Fe,qe);if(At){Ie[At]=normalizeValue(Ue),delete Ie[qe];return}const Dt=$e?formatHeader(qe):String(qe).trim();Dt!==qe&&delete Ie[qe],Ie[Dt]=normalizeValue(Ue),Fe[Dt]=!0}),this}concat(...$e){return this.constructor.concat(this,...$e)}toJSON($e){const Ie=Object.create(null);return utils$1.forEach(this,(Fe,Ue)=>{Fe!=null&&Fe!==!1&&(Ie[Ue]=$e&&utils$1.isArray(Fe)?Fe.join(", "):Fe)}),Ie}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$e,Ie])=>$e+": "+Ie).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($e){return $e instanceof this?$e:new this($e)}static concat($e,...Ie){const Fe=new this($e);return Ie.forEach(Ue=>Fe.set(Ue)),Fe}static accessor($e){const Fe=(this[$internals]=this[$internals]={accessors:{}}).accessors,Ue=this.prototype;function qe(At){const Dt=normalizeHeader(At);Fe[Dt]||(buildAccessors(Ue,At),Fe[Dt]=!0)}return utils$1.isArray($e)?$e.forEach(qe):qe($e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:xe},$e)=>{let Ie=$e[0].toUpperCase()+$e.slice(1);return{get:()=>xe,set(Fe){this[Ie]=Fe}}});utils$1.freezeMethods(AxiosHeaders);function transformData(xe,$e){const Ie=this||defaults,Fe=$e||Ie,Ue=AxiosHeaders.from(Fe.headers);let qe=Fe.data;return utils$1.forEach(xe,function(Dt){qe=Dt.call(Ie,qe,Ue.normalize(),$e?$e.status:void 0)}),Ue.normalize(),qe}function isCancel(xe){return!!(xe&&xe.__CANCEL__)}function CanceledError(xe,$e,Ie){AxiosError.call(this,xe??"canceled",AxiosError.ERR_CANCELED,$e,Ie),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(xe,$e,Ie){const Fe=Ie.config.validateStatus;!Ie.status||!Fe||Fe(Ie.status)?xe(Ie):$e(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))}function parseProtocol(xe){const $e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(xe);return $e&&$e[1]||""}function speedometer(xe,$e){xe=xe||10;const Ie=new Array(xe),Fe=new Array(xe);let Ue=0,qe=0,At;return $e=$e!==void 0?$e:1e3,function(Lt){const jt=Date.now(),hn=Fe[qe];At||(At=jt),Ie[Ue]=Lt,Fe[Ue]=jt;let vn=qe,bn=0;for(;vn!==Ue;)bn+=Ie[vn++],vn=vn%xe;if(Ue=(Ue+1)%xe,Ue===qe&&(qe=(qe+1)%xe),jt-At<$e)return;const _n=hn&&jt-hn;return _n?Math.round(bn*1e3/_n):void 0}}function throttle(xe,$e){let Ie=0;const Fe=1e3/$e;let Ue=null;return function(){const At=this===!0,Dt=Date.now();if(At||Dt-Ie>Fe)return Ue&&(clearTimeout(Ue),Ue=null),Ie=Dt,xe.apply(null,arguments);Ue||(Ue=setTimeout(()=>(Ue=null,Ie=Date.now(),xe.apply(null,arguments)),Fe-(Dt-Ie)))}}const progressEventReducer=(xe,$e,Ie=3)=>{let Fe=0;const Ue=speedometer(50,250);return throttle(qe=>{const At=qe.loaded,Dt=qe.lengthComputable?qe.total:void 0,Lt=At-Fe,jt=Ue(Lt),hn=At<=Dt;Fe=At;const vn={loaded:At,total:Dt,progress:Dt?At/Dt:void 0,bytes:Lt,rate:jt||void 0,estimated:jt&&Dt&&hn?(Dt-At)/jt:void 0,event:qe,lengthComputable:Dt!=null};vn[$e?"download":"upload"]=!0,xe(vn)},Ie)},isURLSameOrigin=platform$1.hasStandardBrowserEnv?function xe(){const $e=/(msie|trident)/i.test(navigator.userAgent),Ie=document.createElement("a");let Fe;function Ue(qe){let At=qe;return $e&&(Ie.setAttribute("href",At),At=Ie.href),Ie.setAttribute("href",At),{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 Fe=Ue(window.location.href),function(At){const Dt=utils$1.isString(At)?Ue(At):At;return Dt.protocol===Fe.protocol&&Dt.host===Fe.host}}():function xe(){return function(){return!0}}(),cookies=platform$1.hasStandardBrowserEnv?{write(xe,$e,Ie,Fe,Ue,qe){const At=[xe+"="+encodeURIComponent($e)];utils$1.isNumber(Ie)&&At.push("expires="+new Date(Ie).toGMTString()),utils$1.isString(Fe)&&At.push("path="+Fe),utils$1.isString(Ue)&&At.push("domain="+Ue),qe===!0&&At.push("secure"),document.cookie=At.join("; ")},read(xe){const $e=document.cookie.match(new RegExp("(^|;\\s*)("+xe+")=([^;]*)"));return $e?decodeURIComponent($e[3]):null},remove(xe){this.write(xe,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(xe){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(xe)}function combineURLs(xe,$e){return $e?xe.replace(/\/?\/$/,"")+"/"+$e.replace(/^\/+/,""):xe}function buildFullPath(xe,$e){return xe&&!isAbsoluteURL($e)?combineURLs(xe,$e):$e}const headersToObject=xe=>xe instanceof AxiosHeaders?{...xe}:xe;function mergeConfig$1(xe,$e){$e=$e||{};const Ie={};function Fe(jt,hn,vn){return utils$1.isPlainObject(jt)&&utils$1.isPlainObject(hn)?utils$1.merge.call({caseless:vn},jt,hn):utils$1.isPlainObject(hn)?utils$1.merge({},hn):utils$1.isArray(hn)?hn.slice():hn}function Ue(jt,hn,vn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt,vn)}else return Fe(jt,hn,vn)}function qe(jt,hn){if(!utils$1.isUndefined(hn))return Fe(void 0,hn)}function At(jt,hn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt)}else return Fe(void 0,hn)}function Dt(jt,hn,vn){if(vn in $e)return Fe(jt,hn);if(vn in xe)return Fe(void 0,jt)}const Lt={url:qe,method:qe,data:qe,baseURL:At,transformRequest:At,transformResponse:At,paramsSerializer:At,timeout:At,timeoutMessage:At,withCredentials:At,withXSRFToken:At,adapter:At,responseType:At,xsrfCookieName:At,xsrfHeaderName:At,onUploadProgress:At,onDownloadProgress:At,decompress:At,maxContentLength:At,maxBodyLength:At,beforeRedirect:At,transport:At,httpAgent:At,httpsAgent:At,cancelToken:At,socketPath:At,responseEncoding:At,validateStatus:Dt,headers:(jt,hn)=>Ue(headersToObject(jt),headersToObject(hn),!0)};return utils$1.forEach(Object.keys(Object.assign({},xe,$e)),function(hn){const vn=Lt[hn]||Ue,bn=vn(xe[hn],$e[hn],hn);utils$1.isUndefined(bn)&&vn!==Dt||(Ie[hn]=bn)}),Ie}const resolveConfig=xe=>{const $e=mergeConfig$1({},xe);let{data:Ie,withXSRFToken:Fe,xsrfHeaderName:Ue,xsrfCookieName:qe,headers:At,auth:Dt}=$e;$e.headers=At=AxiosHeaders.from(At),$e.url=buildURL(buildFullPath($e.baseURL,$e.url),xe.params,xe.paramsSerializer),Dt&&At.set("Authorization","Basic "+btoa((Dt.username||"")+":"+(Dt.password?unescape(encodeURIComponent(Dt.password)):"")));let Lt;if(utils$1.isFormData(Ie)){if(platform$1.hasStandardBrowserEnv||platform$1.hasStandardBrowserWebWorkerEnv)At.setContentType(void 0);else if((Lt=At.getContentType())!==!1){const[jt,...hn]=Lt?Lt.split(";").map(vn=>vn.trim()).filter(Boolean):[];At.setContentType([jt||"multipart/form-data",...hn].join("; "))}}if(platform$1.hasStandardBrowserEnv&&(Fe&&utils$1.isFunction(Fe)&&(Fe=Fe($e)),Fe||Fe!==!1&&isURLSameOrigin($e.url))){const jt=Ue&&qe&&cookies.read(qe);jt&&At.set(Ue,jt)}return $e},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(xe){return new Promise(function(Ie,Fe){const Ue=resolveConfig(xe);let qe=Ue.data;const At=AxiosHeaders.from(Ue.headers).normalize();let{responseType:Dt}=Ue,Lt;function jt(){Ue.cancelToken&&Ue.cancelToken.unsubscribe(Lt),Ue.signal&&Ue.signal.removeEventListener("abort",Lt)}let hn=new XMLHttpRequest;hn.open(Ue.method.toUpperCase(),Ue.url,!0),hn.timeout=Ue.timeout;function vn(){if(!hn)return;const _n=AxiosHeaders.from("getAllResponseHeaders"in hn&&hn.getAllResponseHeaders()),kn={data:!Dt||Dt==="text"||Dt==="json"?hn.responseText:hn.response,status:hn.status,statusText:hn.statusText,headers:_n,config:xe,request:hn};settle(function(Sn){Ie(Sn),jt()},function(Sn){Fe(Sn),jt()},kn),hn=null}"onloadend"in hn?hn.onloadend=vn:hn.onreadystatechange=function(){!hn||hn.readyState!==4||hn.status===0&&!(hn.responseURL&&hn.responseURL.indexOf("file:")===0)||setTimeout(vn)},hn.onabort=function(){hn&&(Fe(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ue,hn)),hn=null)},hn.onerror=function(){Fe(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ue,hn)),hn=null},hn.ontimeout=function(){let wn=Ue.timeout?"timeout of "+Ue.timeout+"ms exceeded":"timeout exceeded";const kn=Ue.transitional||transitionalDefaults;Ue.timeoutErrorMessage&&(wn=Ue.timeoutErrorMessage),Fe(new AxiosError(wn,kn.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ue,hn)),hn=null},qe===void 0&&At.setContentType(null),"setRequestHeader"in hn&&utils$1.forEach(At.toJSON(),function(wn,kn){hn.setRequestHeader(kn,wn)}),utils$1.isUndefined(Ue.withCredentials)||(hn.withCredentials=!!Ue.withCredentials),Dt&&Dt!=="json"&&(hn.responseType=Ue.responseType),typeof Ue.onDownloadProgress=="function"&&hn.addEventListener("progress",progressEventReducer(Ue.onDownloadProgress,!0)),typeof Ue.onUploadProgress=="function"&&hn.upload&&hn.upload.addEventListener("progress",progressEventReducer(Ue.onUploadProgress)),(Ue.cancelToken||Ue.signal)&&(Lt=_n=>{hn&&(Fe(!_n||_n.type?new CanceledError(null,xe,hn):_n),hn.abort(),hn=null)},Ue.cancelToken&&Ue.cancelToken.subscribe(Lt),Ue.signal&&(Ue.signal.aborted?Lt():Ue.signal.addEventListener("abort",Lt)));const bn=parseProtocol(Ue.url);if(bn&&platform$1.protocols.indexOf(bn)===-1){Fe(new AxiosError("Unsupported protocol "+bn+":",AxiosError.ERR_BAD_REQUEST,xe));return}hn.send(qe||null)})},composeSignals=(xe,$e)=>{let Ie=new AbortController,Fe;const Ue=function(Lt){if(!Fe){Fe=!0,At();const jt=Lt instanceof Error?Lt:this.reason;Ie.abort(jt instanceof AxiosError?jt:new CanceledError(jt instanceof Error?jt.message:jt))}};let qe=$e&&setTimeout(()=>{Ue(new AxiosError(`timeout ${$e} of ms exceeded`,AxiosError.ETIMEDOUT))},$e);const At=()=>{xe&&(qe&&clearTimeout(qe),qe=null,xe.forEach(Lt=>{Lt&&(Lt.removeEventListener?Lt.removeEventListener("abort",Ue):Lt.unsubscribe(Ue))}),xe=null)};xe.forEach(Lt=>Lt&&Lt.addEventListener&&Lt.addEventListener("abort",Ue));const{signal:Dt}=Ie;return Dt.unsubscribe=At,[Dt,()=>{qe&&clearTimeout(qe),qe=null}]},streamChunk=function*(xe,$e){let Ie=xe.byteLength;if(!$e||Ie<$e){yield xe;return}let Fe=0,Ue;for(;Fe<Ie;)Ue=Fe+$e,yield xe.slice(Fe,Ue),Fe=Ue},readBytes=async function*(xe,$e,Ie){for await(const Fe of xe)yield*streamChunk(ArrayBuffer.isView(Fe)?Fe:await Ie(String(Fe)),$e)},trackStream=(xe,$e,Ie,Fe,Ue)=>{const qe=readBytes(xe,$e,Ue);let At=0;return new ReadableStream({type:"bytes",async pull(Dt){const{done:Lt,value:jt}=await qe.next();if(Lt){Dt.close(),Fe();return}let hn=jt.byteLength;Ie&&Ie(At+=hn),Dt.enqueue(new Uint8Array(jt))},cancel(Dt){return Fe(Dt),qe.return()}},{highWaterMark:2})},fetchProgressDecorator=(xe,$e)=>{const Ie=xe!=null;return Fe=>setTimeout(()=>$e({lengthComputable:Ie,total:xe,loaded:Fe}))},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(xe=>$e=>xe.encode($e))(new TextEncoder):async xe=>new Uint8Array(await new Response(xe).arrayBuffer())),supportsRequestStream=isReadableStreamSupported&&(()=>{let xe=!1;const $e=new Request(platform$1.origin,{body:new ReadableStream,method:"POST",get duplex(){return xe=!0,"half"}}).headers.has("Content-Type");return xe&&!$e})(),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&!!(()=>{try{return utils$1.isReadableStream(new Response("").body)}catch{}})(),resolvers={stream:supportsResponseStream&&(xe=>xe.body)};isFetchSupported&&(xe=>{["text","arrayBuffer","blob","formData","stream"].forEach($e=>{!resolvers[$e]&&(resolvers[$e]=utils$1.isFunction(xe[$e])?Ie=>Ie[$e]():(Ie,Fe)=>{throw new AxiosError(`Response type '${$e}' is not supported`,AxiosError.ERR_NOT_SUPPORT,Fe)})})})(new Response);const getBodyLength=async xe=>{if(xe==null)return 0;if(utils$1.isBlob(xe))return xe.size;if(utils$1.isSpecCompliantForm(xe))return(await new Request(xe).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(xe))return xe.byteLength;if(utils$1.isURLSearchParams(xe)&&(xe=xe+""),utils$1.isString(xe))return(await encodeText(xe)).byteLength},resolveBodyLength=async(xe,$e)=>{const Ie=utils$1.toFiniteNumber(xe.getContentLength());return Ie??getBodyLength($e)},fetchAdapter=isFetchSupported&&(async xe=>{let{url:$e,method:Ie,data:Fe,signal:Ue,cancelToken:qe,timeout:At,onDownloadProgress:Dt,onUploadProgress:Lt,responseType:jt,headers:hn,withCredentials:vn="same-origin",fetchOptions:bn}=resolveConfig(xe);jt=jt?(jt+"").toLowerCase():"text";let[_n,wn]=Ue||qe||At?composeSignals([Ue,qe],At):[],kn,Cn;const Sn=()=>{!kn&&setTimeout(()=>{_n&&_n.unsubscribe()}),kn=!0};let xn;try{if(Lt&&supportsRequestStream&&Ie!=="get"&&Ie!=="head"&&(xn=await resolveBodyLength(hn,Fe))!==0){let $n=new Request($e,{method:"POST",body:Fe,duplex:"half"}),Pn;utils$1.isFormData(Fe)&&(Pn=$n.headers.get("content-type"))&&hn.setContentType(Pn),$n.body&&(Fe=trackStream($n.body,DEFAULT_CHUNK_SIZE,fetchProgressDecorator(xn,progressEventReducer(Lt)),null,encodeText))}utils$1.isString(vn)||(vn=vn?"cors":"omit"),Cn=new Request($e,{...bn,signal:_n,method:Ie.toUpperCase(),headers:hn.normalize().toJSON(),body:Fe,duplex:"half",withCredentials:vn});let En=await fetch(Cn);const Tn=supportsResponseStream&&(jt==="stream"||jt==="response");if(supportsResponseStream&&(Dt||Tn)){const $n={};["status","statusText","headers"].forEach(Nn=>{$n[Nn]=En[Nn]});const Pn=utils$1.toFiniteNumber(En.headers.get("content-length"));En=new Response(trackStream(En.body,DEFAULT_CHUNK_SIZE,Dt&&fetchProgressDecorator(Pn,progressEventReducer(Dt,!0)),Tn&&Sn,encodeText),$n)}jt=jt||"text";let An=await resolvers[utils$1.findKey(resolvers,jt)||"text"](En,xe);return!Tn&&Sn(),wn&&wn(),await new Promise(($n,Pn)=>{settle($n,Pn,{data:An,headers:AxiosHeaders.from(En.headers),status:En.status,statusText:En.statusText,config:xe,request:Cn})})}catch(En){throw Sn(),En&&En.name==="TypeError"&&/fetch/i.test(En.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,xe,Cn),{cause:En.cause||En}):AxiosError.from(En,En&&En.code,xe,Cn)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(xe,$e)=>{if(xe){try{Object.defineProperty(xe,"name",{value:$e})}catch{}Object.defineProperty(xe,"adapterName",{value:$e})}});const renderReason=xe=>`- ${xe}`,isResolvedHandle=xe=>utils$1.isFunction(xe)||xe===null||xe===!1,adapters={getAdapter:xe=>{xe=utils$1.isArray(xe)?xe:[xe];const{length:$e}=xe;let Ie,Fe;const Ue={};for(let qe=0;qe<$e;qe++){Ie=xe[qe];let At;if(Fe=Ie,!isResolvedHandle(Ie)&&(Fe=knownAdapters[(At=String(Ie)).toLowerCase()],Fe===void 0))throw new AxiosError(`Unknown adapter '${At}'`);if(Fe)break;Ue[At||"#"+qe]=Fe}if(!Fe){const qe=Object.entries(Ue).map(([Dt,Lt])=>`adapter ${Dt} `+(Lt===!1?"is not supported by the environment":"is not available in the build"));let At=$e?qe.length>1?`since :
`+qe.map(renderReason).join(`
`):" "+renderReason(qe[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+At,"ERR_NOT_SUPPORT")}return Fe},adapters:knownAdapters};function throwIfCancellationRequested(xe){if(xe.cancelToken&&xe.cancelToken.throwIfRequested(),xe.signal&&xe.signal.aborted)throw new CanceledError(null,xe)}function dispatchRequest(xe){return throwIfCancellationRequested(xe),xe.headers=AxiosHeaders.from(xe.headers),xe.data=transformData.call(xe,xe.transformRequest),["post","put","patch"].indexOf(xe.method)!==-1&&xe.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(xe.adapter||defaults.adapter)(xe).then(function(Fe){return throwIfCancellationRequested(xe),Fe.data=transformData.call(xe,xe.transformResponse,Fe),Fe.headers=AxiosHeaders.from(Fe.headers),Fe},function(Fe){return isCancel(Fe)||(throwIfCancellationRequested(xe),Fe&&Fe.response&&(Fe.response.data=transformData.call(xe,xe.transformResponse,Fe.response),Fe.response.headers=AxiosHeaders.from(Fe.response.headers))),Promise.reject(Fe)})}const VERSION="1.7.2",validators$2={};["object","boolean","number","function","string","symbol"].forEach((xe,$e)=>{validators$2[xe]=function(Fe){return typeof Fe===xe||"a"+($e<1?"n ":" ")+xe}});const deprecatedWarnings={};validators$2.transitional=function xe($e,Ie,Fe){function Ue(qe,At){return"[Axios v"+VERSION+"] Transitional option '"+qe+"'"+At+(Fe?". "+Fe:"")}return(qe,At,Dt)=>{if($e===!1)throw new AxiosError(Ue(At," has been removed"+(Ie?" in "+Ie:"")),AxiosError.ERR_DEPRECATED);return Ie&&!deprecatedWarnings[At]&&(deprecatedWarnings[At]=!0,console.warn(Ue(At," has been deprecated since v"+Ie+" and will be removed in the near future"))),$e?$e(qe,At,Dt):!0}};function assertOptions(xe,$e,Ie){if(typeof xe!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const Fe=Object.keys(xe);let Ue=Fe.length;for(;Ue-- >0;){const qe=Fe[Ue],At=$e[qe];if(At){const Dt=xe[qe],Lt=Dt===void 0||At(Dt,qe,xe);if(Lt!==!0)throw new AxiosError("option "+qe+" must be "+Lt,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(Ie!==!0)throw new AxiosError("Unknown option "+qe,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$2},validators$1=validator.validators;class Axios{constructor($e){this.defaults=$e,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request($e,Ie){try{return await this._request($e,Ie)}catch(Fe){if(Fe instanceof Error){let Ue;Error.captureStackTrace?Error.captureStackTrace(Ue={}):Ue=new Error;const qe=Ue.stack?Ue.stack.replace(/^.+\n/,""):"";try{Fe.stack?qe&&!String(Fe.stack).endsWith(qe.replace(/^.+\n.+\n/,""))&&(Fe.stack+=`
`+qe):Fe.stack=qe}catch{}}throw Fe}}_request($e,Ie){typeof $e=="string"?(Ie=Ie||{},Ie.url=$e):Ie=$e||{},Ie=mergeConfig$1(this.defaults,Ie);const{transitional:Fe,paramsSerializer:Ue,headers:qe}=Ie;Fe!==void 0&&validator.assertOptions(Fe,{silentJSONParsing:validators$1.transitional(validators$1.boolean),forcedJSONParsing:validators$1.transitional(validators$1.boolean),clarifyTimeoutError:validators$1.transitional(validators$1.boolean)},!1),Ue!=null&&(utils$1.isFunction(Ue)?Ie.paramsSerializer={serialize:Ue}:validator.assertOptions(Ue,{encode:validators$1.function,serialize:validators$1.function},!0)),Ie.method=(Ie.method||this.defaults.method||"get").toLowerCase();let At=qe&&utils$1.merge(qe.common,qe[Ie.method]);qe&&utils$1.forEach(["delete","get","head","post","put","patch","common"],wn=>{delete qe[wn]}),Ie.headers=AxiosHeaders.concat(At,qe);const Dt=[];let Lt=!0;this.interceptors.request.forEach(function(kn){typeof kn.runWhen=="function"&&kn.runWhen(Ie)===!1||(Lt=Lt&&kn.synchronous,Dt.unshift(kn.fulfilled,kn.rejected))});const jt=[];this.interceptors.response.forEach(function(kn){jt.push(kn.fulfilled,kn.rejected)});let hn,vn=0,bn;if(!Lt){const wn=[dispatchRequest.bind(this),void 0];for(wn.unshift.apply(wn,Dt),wn.push.apply(wn,jt),bn=wn.length,hn=Promise.resolve(Ie);vn<bn;)hn=hn.then(wn[vn++],wn[vn++]);return hn}bn=Dt.length;let _n=Ie;for(vn=0;vn<bn;){const wn=Dt[vn++],kn=Dt[vn++];try{_n=wn(_n)}catch(Cn){kn.call(this,Cn);break}}try{hn=dispatchRequest.call(this,_n)}catch(wn){return Promise.reject(wn)}for(vn=0,bn=jt.length;vn<bn;)hn=hn.then(jt[vn++],jt[vn++]);return hn}getUri($e){$e=mergeConfig$1(this.defaults,$e);const Ie=buildFullPath($e.baseURL,$e.url);return buildURL(Ie,$e.params,$e.paramsSerializer)}}utils$1.forEach(["delete","get","head","options"],function xe($e){Axios.prototype[$e]=function(Ie,Fe){return this.request(mergeConfig$1(Fe||{},{method:$e,url:Ie,data:(Fe||{}).data}))}});utils$1.forEach(["post","put","patch"],function xe($e){function Ie(Fe){return function(qe,At,Dt){return this.request(mergeConfig$1(Dt||{},{method:$e,headers:Fe?{"Content-Type":"multipart/form-data"}:{},url:qe,data:At}))}}Axios.prototype[$e]=Ie(),Axios.prototype[$e+"Form"]=Ie(!0)});class CancelToken{constructor($e){if(typeof $e!="function")throw new TypeError("executor must be a function.");let Ie;this.promise=new Promise(function(qe){Ie=qe});const Fe=this;this.promise.then(Ue=>{if(!Fe._listeners)return;let qe=Fe._listeners.length;for(;qe-- >0;)Fe._listeners[qe](Ue);Fe._listeners=null}),this.promise.then=Ue=>{let qe;const At=new Promise(Dt=>{Fe.subscribe(Dt),qe=Dt}).then(Ue);return At.cancel=function(){Fe.unsubscribe(qe)},At},$e(function(qe,At,Dt){Fe.reason||(Fe.reason=new CanceledError(qe,At,Dt),Ie(Fe.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($e){if(this.reason){$e(this.reason);return}this._listeners?this._listeners.push($e):this._listeners=[$e]}unsubscribe($e){if(!this._listeners)return;const Ie=this._listeners.indexOf($e);Ie!==-1&&this._listeners.splice(Ie,1)}static source(){let $e;return{token:new CancelToken(function(Ue){$e=Ue}),cancel:$e}}}function spread(xe){return function(Ie){return xe.apply(null,Ie)}}function isAxiosError(xe){return utils$1.isObject(xe)&&xe.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(([xe,$e])=>{HttpStatusCode[$e]=xe});function createInstance$1(xe){const $e=new Axios(xe),Ie=bind(Axios.prototype.request,$e);return utils$1.extend(Ie,Axios.prototype,$e,{allOwnKeys:!0}),utils$1.extend(Ie,$e,null,{allOwnKeys:!0}),Ie.create=function(Ue){return createInstance$1(mergeConfig$1(xe,Ue))},Ie}const axios=createInstance$1(defaults);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function xe($e){return Promise.all($e)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig$1;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=xe=>formDataToJSON(utils$1.isHTMLForm(xe)?new FormData(xe):xe);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const 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=xe=>getComputedStyle(xe).position==="fixed"?!1:xe.offsetParent!==null,obtainAllFocusableElements$1=xe=>Array.from(xe.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter($e=>isFocusable($e)&&isVisible($e)),isFocusable=xe=>{if(xe.tabIndex>0||xe.tabIndex===0&&xe.getAttribute("tabIndex")!==null)return!0;if(xe.disabled)return!1;switch(xe.nodeName){case"A":return!!xe.href&&xe.rel!=="ignore";case"INPUT":return!(xe.type==="hidden"||xe.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(xe,$e,...Ie){let Fe;$e.includes("mouse")||$e.includes("click")?Fe="MouseEvents":$e.includes("key")?Fe="KeyboardEvent":Fe="HTMLEvents";const Ue=document.createEvent(Fe);return Ue.initEvent($e,...Ie),xe.dispatchEvent(Ue),xe},isLeaf=xe=>!xe.getAttribute("aria-owns"),getSibling=(xe,$e,Ie)=>{const{parentNode:Fe}=xe;if(!Fe)return null;const Ue=Fe.querySelectorAll(Ie),qe=Array.prototype.indexOf.call(Ue,xe);return Ue[qe+$e]||null},focusNode=xe=>{xe&&(xe.focus(),!isLeaf(xe)&&xe.click())},composeEventHandlers=(xe,$e,{checkForDefaultPrevented:Ie=!0}={})=>Ue=>{const qe=xe==null?void 0:xe(Ue);if(Ie===!1||!qe)return $e==null?void 0:$e(Ue)},whenMouse=xe=>$e=>$e.pointerType==="mouse"?xe($e):void 0;var __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=(xe,$e,Ie)=>$e in xe?__defProp$9(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues$9=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);if(__getOwnPropSymbols$b)for(var Ie of __getOwnPropSymbols$b($e))__propIsEnum$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);return xe},__spreadProps$6=(xe,$e)=>__defProps$6(xe,__getOwnPropDescs$6($e));function computedEager(xe,$e){var Ie;const Fe=shallowRef();return watchEffect(()=>{Fe.value=xe()},__spreadProps$6(__spreadValues$9({},$e),{flush:(Ie=void 0)!=null?Ie:"sync"})),readonly(Fe)}var _a;const isClient=typeof window<"u",isDef=xe=>typeof xe<"u",isFunction=xe=>typeof xe=="function",isString=xe=>typeof xe=="string",noop=()=>{},isIOS=isClient&&((_a=window==null?void 0:window.navigator)==null?void 0:_a.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(xe){return typeof xe=="function"?xe():unref(xe)}function createFilterWrapper(xe,$e){function Ie(...Fe){return new Promise((Ue,qe)=>{Promise.resolve(xe(()=>$e.apply(this,Fe),{fn:$e,thisArg:this,args:Fe})).then(Ue).catch(qe)})}return Ie}function debounceFilter(xe,$e={}){let Ie,Fe,Ue=noop;const qe=Dt=>{clearTimeout(Dt),Ue(),Ue=noop};return Dt=>{const Lt=resolveUnref(xe),jt=resolveUnref($e.maxWait);return Ie&&qe(Ie),Lt<=0||jt!==void 0&&jt<=0?(Fe&&(qe(Fe),Fe=null),Promise.resolve(Dt())):new Promise((hn,vn)=>{Ue=$e.rejectOnCancel?vn:hn,jt&&!Fe&&(Fe=setTimeout(()=>{Ie&&qe(Ie),Fe=null,hn(Dt())},jt)),Ie=setTimeout(()=>{Fe&&qe(Fe),Fe=null,hn(Dt())},Lt)})}}function throttleFilter(xe,$e=!0,Ie=!0,Fe=!1){let Ue=0,qe,At=!0,Dt=noop,Lt;const jt=()=>{qe&&(clearTimeout(qe),qe=void 0,Dt(),Dt=noop)};return vn=>{const bn=resolveUnref(xe),_n=Date.now()-Ue,wn=()=>Lt=vn();return jt(),bn<=0?(Ue=Date.now(),wn()):(_n>bn&&(Ie||!At)?(Ue=Date.now(),wn()):$e&&(Lt=new Promise((kn,Cn)=>{Dt=Fe?Cn:kn,qe=setTimeout(()=>{Ue=Date.now(),At=!0,kn(wn()),jt()},Math.max(0,bn-_n))})),!Ie&&!qe&&(qe=setTimeout(()=>At=!0,bn)),At=!1,Lt)}}function identity(xe){return xe}function computedWithControl(xe,$e){let Ie,Fe,Ue;const qe=ref(!0),At=()=>{qe.value=!0,Ue()};watch(xe,At,{flush:"sync"});const Dt=isFunction($e)?$e:$e.get,Lt=isFunction($e)?void 0:$e.set,jt=customRef((hn,vn)=>(Fe=hn,Ue=vn,{get(){return qe.value&&(Ie=Dt(),qe.value=!1),Fe(),Ie},set(bn){Lt==null||Lt(bn)}}));return Object.isExtensible(jt)&&(jt.trigger=At),jt}function tryOnScopeDispose(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function useDebounceFn(xe,$e=200,Ie={}){return createFilterWrapper(debounceFilter($e,Ie),xe)}function refDebounced(xe,$e=200,Ie={}){const Fe=ref(xe.value),Ue=useDebounceFn(()=>{Fe.value=xe.value},$e,Ie);return watch(xe,()=>Ue()),Fe}function useThrottleFn(xe,$e=200,Ie=!1,Fe=!0,Ue=!1){return createFilterWrapper(throttleFilter($e,Ie,Fe,Ue),xe)}function tryOnMounted(xe,$e=!0){getCurrentInstance()?onMounted(xe):$e?xe():nextTick(xe)}function useTimeoutFn(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},resolveUnref($e))}return Fe&&(Ue.value=!0,isClient&&Lt()),tryOnScopeDispose(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function unrefElement(xe){var $e;const Ie=resolveUnref(xe);return($e=Ie==null?void 0:Ie.$el)!=null?$e:Ie}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...xe){let $e,Ie,Fe,Ue;if(isString(xe[0])||Array.isArray(xe[0])?([Ie,Fe,Ue]=xe,$e=defaultWindow):[$e,Ie,Fe,Ue]=xe,!$e)return noop;Array.isArray(Ie)||(Ie=[Ie]),Array.isArray(Fe)||(Fe=[Fe]);const qe=[],At=()=>{qe.forEach(hn=>hn()),qe.length=0},Dt=(hn,vn,bn,_n)=>(hn.addEventListener(vn,bn,_n),()=>hn.removeEventListener(vn,bn,_n)),Lt=watch(()=>[unrefElement($e),resolveUnref(Ue)],([hn,vn])=>{At(),hn&&qe.push(...Ie.flatMap(bn=>Fe.map(_n=>Dt(hn,bn,_n,vn))))},{immediate:!0,flush:"post"}),jt=()=>{Lt(),At()};return tryOnScopeDispose(jt),jt}let _iOSWorkaround=!1;function onClickOutside(xe,$e,Ie={}){const{window:Fe=defaultWindow,ignore:Ue=[],capture:qe=!0,detectIframe:At=!1}=Ie;if(!Fe)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(Fe.document.body.children).forEach(bn=>bn.addEventListener("click",noop)));let Dt=!0;const Lt=bn=>Ue.some(_n=>{if(typeof _n=="string")return Array.from(Fe.document.querySelectorAll(_n)).some(wn=>wn===bn.target||bn.composedPath().includes(wn));{const wn=unrefElement(_n);return wn&&(bn.target===wn||bn.composedPath().includes(wn))}}),hn=[useEventListener(Fe,"click",bn=>{const _n=unrefElement(xe);if(!(!_n||_n===bn.target||bn.composedPath().includes(_n))){if(bn.detail===0&&(Dt=!Lt(bn)),!Dt){Dt=!0;return}$e(bn)}},{passive:!0,capture:qe}),useEventListener(Fe,"pointerdown",bn=>{const _n=unrefElement(xe);_n&&(Dt=!bn.composedPath().includes(_n)&&!Lt(bn))},{passive:!0}),At&&useEventListener(Fe,"blur",bn=>{var _n;const wn=unrefElement(xe);((_n=Fe.document.activeElement)==null?void 0:_n.tagName)==="IFRAME"&&!(wn!=null&&wn.contains(Fe.document.activeElement))&&$e(bn)})].filter(Boolean);return()=>hn.forEach(bn=>bn())}function useActiveElement(xe={}){var $e;const{window:Ie=defaultWindow}=xe,Fe=($e=xe.document)!=null?$e:Ie==null?void 0:Ie.document,Ue=computedWithControl(()=>null,()=>Fe==null?void 0:Fe.activeElement);return Ie&&(useEventListener(Ie,"blur",qe=>{qe.relatedTarget===null&&Ue.trigger()},!0),useEventListener(Ie,"focus",Ue.trigger,!0)),Ue}function useSupported(xe,$e=!1){const Ie=ref(),Fe=()=>Ie.value=!!xe();return Fe(),tryOnMounted(Fe,$e),Ie}function cloneFnJSON(xe){return JSON.parse(JSON.stringify(xe))}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global[globalKey]=_global[globalKey]||{};function useCssVar(xe,$e,{window:Ie=defaultWindow,initialValue:Fe=""}={}){const Ue=ref(Fe),qe=computed(()=>{var At;return unrefElement($e)||((At=Ie==null?void 0:Ie.document)==null?void 0:At.documentElement)});return watch([qe,()=>resolveUnref(xe)],([At,Dt])=>{var Lt;if(At&&Ie){const jt=(Lt=Ie.getComputedStyle(At).getPropertyValue(Dt))==null?void 0:Lt.trim();Ue.value=jt||Fe}},{immediate:!0}),watch(Ue,At=>{var Dt;(Dt=qe.value)!=null&&Dt.style&&qe.value.style.setProperty(resolveUnref(xe),At)}),Ue}function useDocumentVisibility({document:xe=defaultDocument}={}){if(!xe)return ref("visible");const $e=ref(xe.visibilityState);return useEventListener(xe,"visibilitychange",()=>{$e.value=xe.visibilityState}),$e}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$g.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$g)for(var Fe of __getOwnPropSymbols$g(xe))$e.indexOf(Fe)<0&&__propIsEnum$g.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useResizeObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$2(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"ResizeObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new ResizeObserver($e),At.observe(vn,qe))},{immediate:!0,flush:"post"}),hn=()=>{Lt(),jt()};return tryOnScopeDispose(hn),{isSupported:Dt,stop:hn}}function useElementBounding(xe,$e={}){const{reset:Ie=!0,windowResize:Fe=!0,windowScroll:Ue=!0,immediate:qe=!0}=$e,At=ref(0),Dt=ref(0),Lt=ref(0),jt=ref(0),hn=ref(0),vn=ref(0),bn=ref(0),_n=ref(0);function wn(){const kn=unrefElement(xe);if(!kn){Ie&&(At.value=0,Dt.value=0,Lt.value=0,jt.value=0,hn.value=0,vn.value=0,bn.value=0,_n.value=0);return}const Cn=kn.getBoundingClientRect();At.value=Cn.height,Dt.value=Cn.bottom,Lt.value=Cn.left,jt.value=Cn.right,hn.value=Cn.top,vn.value=Cn.width,bn.value=Cn.x,_n.value=Cn.y}return useResizeObserver(xe,wn),watch(()=>unrefElement(xe),kn=>!kn&&wn()),Ue&&useEventListener("scroll",wn,{capture:!0,passive:!0}),Fe&&useEventListener("resize",wn,{passive:!0}),tryOnMounted(()=>{qe&&wn()}),{height:At,bottom:Dt,left:Lt,right:jt,top:hn,width:vn,x:bn,y:_n,update:wn}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$8.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$8)for(var Fe of __getOwnPropSymbols$8(xe))$e.indexOf(Fe)<0&&__propIsEnum$8.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useMutationObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$1(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"MutationObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new MutationObserver($e),At.observe(vn,qe))},{immediate:!0}),hn=()=>{Lt(),jt()};return tryOnScopeDispose(hn),{isSupported:Dt,stop:hn}}var SwipeDirection;(function(xe){xe.UP="UP",xe.RIGHT="RIGHT",xe.DOWN="DOWN",xe.LEFT="LEFT",xe.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(xe,$e,Ie)=>$e in xe?__defProp(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);if(__getOwnPropSymbols)for(var Ie of __getOwnPropSymbols($e))__propIsEnum.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);return xe};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},_TransitionPresets);function useVModel(xe,$e,Ie,Fe={}){var Ue,qe,At;const{clone:Dt=!1,passive:Lt=!1,eventName:jt,deep:hn=!1,defaultValue:vn}=Fe,bn=getCurrentInstance(),_n=Ie||(bn==null?void 0:bn.emit)||((Ue=bn==null?void 0:bn.$emit)==null?void 0:Ue.bind(bn))||((At=(qe=bn==null?void 0:bn.proxy)==null?void 0:qe.$emit)==null?void 0:At.bind(bn==null?void 0:bn.proxy));let wn=jt;$e||($e="modelValue"),wn=jt||wn||`update:${$e.toString()}`;const kn=Sn=>Dt?isFunction(Dt)?Dt(Sn):cloneFnJSON(Sn):Sn,Cn=()=>isDef(xe[$e])?kn(xe[$e]):vn;if(Lt){const Sn=Cn(),xn=ref(Sn);return watch(()=>xe[$e],En=>xn.value=kn(En)),watch(xn,En=>{(En!==xe[$e]||hn)&&_n(wn,En)},{deep:hn}),xn}else return computed({get(){return Cn()},set(Sn){_n(wn,Sn)}})}function useWindowFocus({window:xe=defaultWindow}={}){if(!xe)return ref(!1);const $e=ref(xe.document.hasFocus());return useEventListener(xe,"blur",()=>{$e.value=!1}),useEventListener(xe,"focus",()=>{$e.value=!0}),$e}function useWindowSize(xe={}){const{window:$e=defaultWindow,initialWidth:Ie=1/0,initialHeight:Fe=1/0,listenOrientation:Ue=!0,includeScrollbar:qe=!0}=xe,At=ref(Ie),Dt=ref(Fe),Lt=()=>{$e&&(qe?(At.value=$e.innerWidth,Dt.value=$e.innerHeight):(At.value=$e.document.documentElement.clientWidth,Dt.value=$e.document.documentElement.clientHeight))};return Lt(),tryOnMounted(Lt),useEventListener("resize",Lt,{passive:!0}),Ue&&useEventListener("orientationchange",Lt,{passive:!0}),{width:At,height:Dt}}const isFirefox=()=>isClient&&/firefox/i.test(window.navigator.userAgent),isInContainer=(xe,$e)=>{if(!isClient||!xe||!$e)return!1;const Ie=xe.getBoundingClientRect();let Fe;return $e instanceof Element?Fe=$e.getBoundingClientRect():Fe={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},Ie.top<Fe.bottom&&Ie.bottom>Fe.top&&Ie.right>Fe.left&&Ie.left<Fe.right},getOffsetTop=xe=>{let $e=0,Ie=xe;for(;Ie;)$e+=Ie.offsetTop,Ie=Ie.offsetParent;return $e},getOffsetTopDistance=(xe,$e)=>Math.abs(getOffsetTop(xe)-getOffsetTop($e)),getClientXY=xe=>{let $e,Ie;return xe.type==="touchend"?(Ie=xe.changedTouches[0].clientY,$e=xe.changedTouches[0].clientX):xe.type.startsWith("touch")?(Ie=xe.touches[0].clientY,$e=xe.touches[0].clientX):(Ie=xe.clientY,$e=xe.clientX),{clientX:$e,clientY:Ie}};function easeInOutCubic(xe,$e,Ie,Fe){const Ue=Ie-$e;return xe/=Fe/2,xe<1?Ue/2*xe*xe*xe+$e:Ue/2*((xe-=2)*xe*xe+2)+$e}const isUndefined=xe=>xe===void 0,isBoolean=xe=>typeof xe=="boolean",isNumber=xe=>typeof xe=="number",isEmpty=xe=>!xe&&xe!==0||isArray$6(xe)&&xe.length===0||isObject$8(xe)&&!Object.keys(xe).length,isElement$1=xe=>typeof Element>"u"?!1:xe instanceof Element,isPropAbsent=xe=>isNil(xe),isStringNumber=xe=>isString$4(xe)?!Number.isNaN(Number(xe)):!1,isWindow=xe=>xe===window,rAF=xe=>isClient?window.requestAnimationFrame(xe):setTimeout(xe,16),cAF=xe=>isClient?window.cancelAnimationFrame(xe):clearTimeout(xe),escapeStringRegexp=(xe="")=>xe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=xe=>capitalize$1(xe),keysOf=xe=>Object.keys(xe),entriesOf=xe=>Object.entries(xe),getProp=(xe,$e,Ie)=>({get value(){return get$1(xe,$e,Ie)},set value(Fe){set$2(xe,$e,Fe)}});class ElementPlusError extends Error{constructor($e){super($e),this.name="ElementPlusError"}}function throwError(xe,$e){throw new ElementPlusError(`[${xe}] ${$e}`)}function debugWarn(xe,$e){}const classNameToArray=(xe="")=>xe.split(" ").filter($e=>!!$e.trim()),hasClass=(xe,$e)=>{if(!xe||!$e)return!1;if($e.includes(" "))throw new Error("className should not contain space.");return xe.classList.contains($e)},addClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.add(...classNameToArray($e))},removeClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.remove(...classNameToArray($e))},getStyle=(xe,$e)=>{var Ie;if(!isClient||!xe||!$e)return"";let Fe=camelize($e);Fe==="float"&&(Fe="cssFloat");try{const Ue=xe.style[Fe];if(Ue)return Ue;const qe=(Ie=document.defaultView)==null?void 0:Ie.getComputedStyle(xe,"");return qe?qe[Fe]:""}catch{return xe.style[Fe]}};function addUnit(xe,$e="px"){if(!xe)return"";if(isNumber(xe)||isStringNumber(xe))return`${xe}${$e}`;if(isString$4(xe))return xe}const isScroll=(xe,$e)=>{if(!isClient)return!1;const Ie={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String($e)],Fe=getStyle(xe,Ie);return["scroll","auto","overlay"].some(Ue=>Fe.includes(Ue))},getScrollContainer=(xe,$e)=>{if(!isClient)return;let Ie=xe;for(;Ie;){if([window,document,document.documentElement].includes(Ie))return window;if(isScroll(Ie,$e))return Ie;Ie=Ie.parentNode}return Ie};let scrollBarWidth;const getScrollBarWidth=xe=>{var $e;if(!isClient)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const Ie=document.createElement("div");Ie.className=`${xe}-scrollbar__wrap`,Ie.style.visibility="hidden",Ie.style.width="100px",Ie.style.position="absolute",Ie.style.top="-9999px",document.body.appendChild(Ie);const Fe=Ie.offsetWidth;Ie.style.overflow="scroll";const Ue=document.createElement("div");Ue.style.width="100%",Ie.appendChild(Ue);const qe=Ue.offsetWidth;return($e=Ie.parentNode)==null||$e.removeChild(Ie),scrollBarWidth=Fe-qe,scrollBarWidth};function scrollIntoView(xe,$e){if(!isClient)return;if(!$e){xe.scrollTop=0;return}const Ie=[];let Fe=$e.offsetParent;for(;Fe!==null&&xe!==Fe&&xe.contains(Fe);)Ie.push(Fe),Fe=Fe.offsetParent;const Ue=$e.offsetTop+Ie.reduce((Lt,jt)=>Lt+jt.offsetTop,0),qe=Ue+$e.offsetHeight,At=xe.scrollTop,Dt=At+xe.clientHeight;Ue<At?xe.scrollTop=Ue:qe>Dt&&(xe.scrollTop=qe-xe.clientHeight)}function animateScrollTo(xe,$e,Ie,Fe,Ue){const qe=Date.now();let At;const Dt=()=>{const jt=Date.now()-qe,hn=easeInOutCubic(jt>Fe?Fe:jt,$e,Ie,Fe);isWindow(xe)?xe.scrollTo(window.pageXOffset,hn):xe.scrollTop=hn,jt<Fe?At=rAF(Dt):typeof Ue=="function"&&Ue()};return Dt(),()=>{At&&cAF(At)}}const getScrollElement=(xe,$e)=>isWindow($e)?xe.ownerDocument.documentElement:$e,getScrollTop=xe=>isWindow(xe)?window.scrollY:xe.scrollTop,getElement=xe=>{if(!isClient||xe==="")return null;if(isString$4(xe))try{return document.querySelector(xe)}catch{return null}return xe};/*! Element Plus Icons Vue v2.3.1 */var arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),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.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),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"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.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"}),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"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.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"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.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 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.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"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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.118M512 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.412M512 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 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 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 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[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 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const epPropKey="__epPropKey",definePropType=xe=>xe,isEpProp=xe=>isObject$8(xe)&&!!xe[epPropKey],buildProp=(xe,$e)=>{if(!isObject$8(xe)||isEpProp(xe))return xe;const{values:Ie,required:Fe,default:Ue,type:qe,validator:At}=xe,Lt={type:qe,required:!!Fe,validator:Ie||At?jt=>{let hn=!1,vn=[];if(Ie&&(vn=Array.from(Ie),hasOwn$1(xe,"default")&&vn.push(Ue),hn||(hn=vn.includes(jt))),At&&(hn||(hn=At(jt))),!hn&&vn.length>0){const bn=[...new Set(vn)].map(_n=>JSON.stringify(_n)).join(", ");warn$2(`Invalid prop: validation failed${$e?` for prop "${$e}"`:""}. Expected one of [${bn}], got value ${JSON.stringify(jt)}.`)}return hn}:void 0,[epPropKey]:!0};return hasOwn$1(xe,"default")&&(Lt.default=Ue),Lt},buildProps=xe=>fromPairs(Object.entries(xe).map(([$e,Ie])=>[$e,buildProp(Ie,$e)])),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=(xe,$e)=>{if(xe.install=Ie=>{for(const Fe of[xe,...Object.values($e??{})])Ie.component(Fe.name,Fe)},$e)for(const[Ie,Fe]of Object.entries($e))xe[Ie]=Fe;return xe},withInstallFunction=(xe,$e)=>(xe.install=Ie=>{xe._context=Ie._context,Ie.config.globalProperties[$e]=xe},xe),withInstallDirective=(xe,$e)=>(xe.install=Ie=>{Ie.directive($e,xe)},xe),withNoopInstall=xe=>(xe.install=NOOP,xe),composeRefs=(...xe)=>$e=>{xe.forEach(Ie=>{isFunction$5(Ie)?Ie($e):Ie.value=$e})},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","years","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"],isValidComponentSize=xe=>["",...componentSizes].includes(xe);var PatchFlags=(xe=>(xe[xe.TEXT=1]="TEXT",xe[xe.CLASS=2]="CLASS",xe[xe.STYLE=4]="STYLE",xe[xe.PROPS=8]="PROPS",xe[xe.FULL_PROPS=16]="FULL_PROPS",xe[xe.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",xe[xe.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",xe[xe.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",xe[xe.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",xe[xe.NEED_PATCH=512]="NEED_PATCH",xe[xe.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",xe[xe.HOISTED=-1]="HOISTED",xe[xe.BAIL=-2]="BAIL",xe))(PatchFlags||{});function isFragment(xe){return isVNode(xe)&&xe.type===Fragment}function isComment(xe){return isVNode(xe)&&xe.type===Comment$1}function isValidElementNode(xe){return isVNode(xe)&&!isFragment(xe)&&!isComment(xe)}const getNormalizedProps=xe=>{if(!isVNode(xe))return{};const $e=xe.props||{},Ie=(isVNode(xe.type)?xe.type.props:void 0)||{},Fe={};return Object.keys(Ie).forEach(Ue=>{hasOwn$1(Ie[Ue],"default")&&(Fe[Ue]=Ie[Ue].default)}),Object.keys($e).forEach(Ue=>{Fe[camelize(Ue)]=$e[Ue]}),Fe},ensureOnlyChild=xe=>{if(!isArray$6(xe)||xe.length>1)throw new Error("expect to receive a single Vue element child");return xe[0]},flattedChildren=xe=>{const $e=isArray$6(xe)?xe:[xe],Ie=[];return $e.forEach(Fe=>{var Ue;isArray$6(Fe)?Ie.push(...flattedChildren(Fe)):isVNode(Fe)&&isArray$6(Fe.children)?Ie.push(...flattedChildren(Fe.children)):(Ie.push(Fe),isVNode(Fe)&&((Ue=Fe.component)!=null&&Ue.subTree)&&Ie.push(...flattedChildren(Fe.component.subTree)))}),Ie},unique=xe=>[...new Set(xe)],castArray=xe=>!xe&&xe!==0?[]:Array.isArray(xe)?xe:[xe],isKorean=xe=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(xe),mutable=xe=>xe;function throttleByRaf(xe){let $e=0;const Ie=(...Fe)=>{$e&&cAF($e),$e=rAF(()=>{xe(...Fe),$e=0})};return Ie.cancel=()=>{cAF($e),$e=0},Ie}const DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(xe={})=>{const{excludeListeners:$e=!1,excludeKeys:Ie}=xe,Fe=computed(()=>((Ie==null?void 0:Ie.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),Ue=getCurrentInstance();return computed(Ue?()=>{var qe;return fromPairs(Object.entries((qe=Ue.proxy)==null?void 0:qe.$attrs).filter(([At])=>!Fe.value.includes(At)&&!($e&&LISTENER_PREFIX.test(At))))}:()=>({}))},useDeprecated=({from:xe,replacement:$e,scope:Ie,version:Fe,ref:Ue,type:qe="API"},At)=>{watch(()=>unref(At),Dt=>{},{immediate:!0})},useDraggable=(xe,$e,Ie,Fe)=>{let Ue={offsetX:0,offsetY:0};const qe=Lt=>{const jt=Lt.clientX,hn=Lt.clientY,{offsetX:vn,offsetY:bn}=Ue,_n=xe.value.getBoundingClientRect(),wn=_n.left,kn=_n.top,Cn=_n.width,Sn=_n.height,xn=document.documentElement.clientWidth,En=document.documentElement.clientHeight,Tn=-wn+vn,An=-kn+bn,$n=xn-wn-Cn+vn,Pn=En-kn-Sn+bn,Nn=In=>{let On=vn+In.clientX-jt,Rn=bn+In.clientY-hn;Fe!=null&&Fe.value||(On=Math.min(Math.max(On,Tn),$n),Rn=Math.min(Math.max(Rn,An),Pn)),Ue={offsetX:On,offsetY:Rn},xe.value&&(xe.value.style.transform=`translate(${addUnit(On)}, ${addUnit(Rn)})`)},Mn=()=>{document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)},At=()=>{$e.value&&xe.value&&$e.value.addEventListener("mousedown",qe)},Dt=()=>{$e.value&&xe.value&&$e.value.removeEventListener("mousedown",qe)};onMounted(()=>{watchEffect(()=>{Ie.value?At():Dt()})}),onBeforeUnmount(()=>{Dt()})};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},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"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=xe=>($e,Ie)=>translate($e,Ie,unref(xe)),translate=(xe,$e,Ie)=>get$1(Ie,xe,xe).replace(/\{(\w+)\}/g,(Fe,Ue)=>{var qe;return`${(qe=$e==null?void 0:$e[Ue])!=null?qe:`{${Ue}}`}`}),buildLocaleContext=xe=>{const $e=computed(()=>unref(xe).name),Ie=isRef(xe)?xe:ref(xe);return{lang:$e,locale:Ie,t:buildTranslator(xe)}},localeContextKey=Symbol("localeContextKey"),useLocale=xe=>{const $e=xe||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>$e.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(xe,$e,Ie,Fe,Ue)=>{let qe=`${xe}-${$e}`;return Ie&&(qe+=`-${Ie}`),Fe&&(qe+=`__${Fe}`),Ue&&(qe+=`--${Ue}`),qe},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=xe=>{const $e=xe||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref($e)||defaultNamespace)},useNamespace=(xe,$e)=>{const Ie=useGetDerivedNamespace($e);return{namespace:Ie,b:(kn="")=>_bem(Ie.value,xe,kn,"",""),e:kn=>kn?_bem(Ie.value,xe,"",kn,""):"",m:kn=>kn?_bem(Ie.value,xe,"","",kn):"",be:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,Cn,""):"",em:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,"",kn,Cn):"",bm:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,"",Cn):"",bem:(kn,Cn,Sn)=>kn&&Cn&&Sn?_bem(Ie.value,xe,kn,Cn,Sn):"",is:(kn,...Cn)=>{const Sn=Cn.length>=1?Cn[0]:!0;return kn&&Sn?`${statePrefix}${kn}`:""},cssVar:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${Sn}`]=kn[Sn]);return Cn},cssVarName:kn=>`--${Ie.value}-${kn}`,cssVarBlock:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${xe}-${Sn}`]=kn[Sn]);return Cn},cssVarBlockName:kn=>`--${Ie.value}-${xe}-${kn}`}},useLockscreen=(xe,$e={})=>{isRef(xe)||throwError("[useLockscreen]","You need to pass a ref param to this function");const Ie=$e.ns||useNamespace("popup"),Fe=computed(()=>Ie.bm("parent","hidden"));if(!isClient||hasClass(document.body,Fe.value))return;let Ue=0,qe=!1,At="0";const Dt=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,Fe.value),qe&&document&&(document.body.style.width=At)},200)};watch(xe,Lt=>{if(!Lt){Dt();return}qe=!hasClass(document.body,Fe.value),qe&&(At=document.body.style.width),Ue=getScrollBarWidth(Ie.namespace.value);const jt=document.documentElement.clientHeight<document.body.scrollHeight,hn=getStyle(document.body,"overflowY");Ue>0&&(jt||hn==="scroll")&&qe&&(document.body.style.width=`calc(100% - ${Ue}px)`),addClass(document.body,Fe.value)}),onScopeDispose(()=>Dt())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=xe=>{const $e=`update:${xe}`,Ie=`onUpdate:${xe}`,Fe=[$e],Ue={[xe]:_prop,[Ie]:_event};return{useModelToggle:({indicator:At,toggleReason:Dt,shouldHideWhenRouteChanges:Lt,shouldProceed:jt,onShow:hn,onHide:vn})=>{const bn=getCurrentInstance(),{emit:_n}=bn,wn=bn.props,kn=computed(()=>isFunction$5(wn[Ie])),Cn=computed(()=>wn[xe]===null),Sn=Pn=>{At.value!==!0&&(At.value=!0,Dt&&(Dt.value=Pn),isFunction$5(hn)&&hn(Pn))},xn=Pn=>{At.value!==!1&&(At.value=!1,Dt&&(Dt.value=Pn),isFunction$5(vn)&&vn(Pn))},En=Pn=>{if(wn.disabled===!0||isFunction$5(jt)&&!jt())return;const Nn=kn.value&&isClient;Nn&&_n($e,!0),(Cn.value||!Nn)&&Sn(Pn)},Tn=Pn=>{if(wn.disabled===!0||!isClient)return;const Nn=kn.value&&isClient;Nn&&_n($e,!1),(Cn.value||!Nn)&&xn(Pn)},An=Pn=>{isBoolean(Pn)&&(wn.disabled&&Pn?kn.value&&_n($e,!1):At.value!==Pn&&(Pn?Sn():xn()))},$n=()=>{At.value?Tn():En()};return watch(()=>wn[xe],An),Lt&&bn.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...bn.proxy.$route}),()=>{Lt.value&&At.value&&Tn()}),onMounted(()=>{An(wn[xe])}),{hide:Tn,show:En,toggle:$n,hasUpdateHandler:kn}},useModelToggleProps:Ue,useModelToggleEmits:Fe}};createModelToggleComposable("modelValue");const useProp=xe=>{const $e=getCurrentInstance();return computed(()=>{var Ie,Fe;return(Fe=(Ie=$e==null?void 0:$e.proxy)==null?void 0:Ie.$props)==null?void 0:Fe[xe]})};var E$1="top",R="bottom",W="right",P$1="left",me="auto",G=[E$1,R,W,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(xe,$e){return xe.concat([$e+"-"+U$1,$e+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(xe,$e){return xe.concat([$e,$e+"-"+U$1,$e+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C(xe){return xe?(xe.nodeName||"").toLowerCase():null}function H(xe){if(xe==null)return window;if(xe.toString()!=="[object Window]"){var $e=xe.ownerDocument;return $e&&$e.defaultView||window}return xe}function Q(xe){var $e=H(xe).Element;return xe instanceof $e||xe instanceof Element}function B(xe){var $e=H(xe).HTMLElement;return xe instanceof $e||xe instanceof HTMLElement}function Pe(xe){if(typeof ShadowRoot>"u")return!1;var $e=H(xe).ShadowRoot;return xe instanceof $e||xe instanceof ShadowRoot}function Mt(xe){var $e=xe.state;Object.keys($e.elements).forEach(function(Ie){var Fe=$e.styles[Ie]||{},Ue=$e.attributes[Ie]||{},qe=$e.elements[Ie];!B(qe)||!C(qe)||(Object.assign(qe.style,Fe),Object.keys(Ue).forEach(function(At){var Dt=Ue[At];Dt===!1?qe.removeAttribute(At):qe.setAttribute(At,Dt===!0?"":Dt)}))})}function Rt(xe){var $e=xe.state,Ie={popper:{position:$e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign($e.elements.popper.style,Ie.popper),$e.styles=Ie,$e.elements.arrow&&Object.assign($e.elements.arrow.style,Ie.arrow),function(){Object.keys($e.elements).forEach(function(Fe){var Ue=$e.elements[Fe],qe=$e.attributes[Fe]||{},At=Object.keys($e.styles.hasOwnProperty(Fe)?$e.styles[Fe]:Ie[Fe]),Dt=At.reduce(function(Lt,jt){return Lt[jt]="",Lt},{});!B(Ue)||!C(Ue)||(Object.assign(Ue.style,Dt),Object.keys(qe).forEach(function(Lt){Ue.removeAttribute(Lt)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(xe){return xe.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(xe,$e){$e===void 0&&($e=!1);var Ie=xe.getBoundingClientRect(),Fe=1,Ue=1;if(B(xe)&&$e){var qe=xe.offsetHeight,At=xe.offsetWidth;At>0&&(Fe=Z(Ie.width)/At||1),qe>0&&(Ue=Z(Ie.height)/qe||1)}return{width:Ie.width/Fe,height:Ie.height/Ue,top:Ie.top/Ue,right:Ie.right/Fe,bottom:Ie.bottom/Ue,left:Ie.left/Fe,x:Ie.left/Fe,y:Ie.top/Ue}}function ke(xe){var $e=ee(xe),Ie=xe.offsetWidth,Fe=xe.offsetHeight;return Math.abs($e.width-Ie)<=1&&(Ie=$e.width),Math.abs($e.height-Fe)<=1&&(Fe=$e.height),{x:xe.offsetLeft,y:xe.offsetTop,width:Ie,height:Fe}}function it(xe,$e){var Ie=$e.getRootNode&&$e.getRootNode();if(xe.contains($e))return!0;if(Ie&&Pe(Ie)){var Fe=$e;do{if(Fe&&xe.isSameNode(Fe))return!0;Fe=Fe.parentNode||Fe.host}while(Fe)}return!1}function N$1(xe){return H(xe).getComputedStyle(xe)}function Wt(xe){return["table","td","th"].indexOf(C(xe))>=0}function I$1(xe){return((Q(xe)?xe.ownerDocument:xe.document)||window.document).documentElement}function ge(xe){return C(xe)==="html"?xe:xe.assignedSlot||xe.parentNode||(Pe(xe)?xe.host:null)||I$1(xe)}function at(xe){return!B(xe)||N$1(xe).position==="fixed"?null:xe.offsetParent}function Bt(xe){var $e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,Ie=navigator.userAgent.indexOf("Trident")!==-1;if(Ie&&B(xe)){var Fe=N$1(xe);if(Fe.position==="fixed")return null}var Ue=ge(xe);for(Pe(Ue)&&(Ue=Ue.host);B(Ue)&&["html","body"].indexOf(C(Ue))<0;){var qe=N$1(Ue);if(qe.transform!=="none"||qe.perspective!=="none"||qe.contain==="paint"||["transform","perspective"].indexOf(qe.willChange)!==-1||$e&&qe.willChange==="filter"||$e&&qe.filter&&qe.filter!=="none")return Ue;Ue=Ue.parentNode}return null}function se(xe){for(var $e=H(xe),Ie=at(xe);Ie&&Wt(Ie)&&N$1(Ie).position==="static";)Ie=at(Ie);return Ie&&(C(Ie)==="html"||C(Ie)==="body"&&N$1(Ie).position==="static")?$e:Ie||Bt(xe)||$e}function Le(xe){return["top","bottom"].indexOf(xe)>=0?"x":"y"}function fe(xe,$e,Ie){return X$1(xe,ve($e,Ie))}function St(xe,$e,Ie){var Fe=fe(xe,$e,Ie);return Fe>Ie?Ie:Fe}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(xe){return Object.assign({},st(),xe)}function ct(xe,$e){return $e.reduce(function(Ie,Fe){return Ie[Fe]=xe,Ie},{})}var Tt=function(xe,$e){return xe=typeof xe=="function"?xe(Object.assign({},$e.rects,{placement:$e.placement})):xe,ft(typeof xe!="number"?xe:ct(xe,G))};function Ht(xe){var $e,Ie=xe.state,Fe=xe.name,Ue=xe.options,qe=Ie.elements.arrow,At=Ie.modifiersData.popperOffsets,Dt=q(Ie.placement),Lt=Le(Dt),jt=[P$1,W].indexOf(Dt)>=0,hn=jt?"height":"width";if(!(!qe||!At)){var vn=Tt(Ue.padding,Ie),bn=ke(qe),_n=Lt==="y"?E$1:P$1,wn=Lt==="y"?R:W,kn=Ie.rects.reference[hn]+Ie.rects.reference[Lt]-At[Lt]-Ie.rects.popper[hn],Cn=At[Lt]-Ie.rects.reference[Lt],Sn=se(qe),xn=Sn?Lt==="y"?Sn.clientHeight||0:Sn.clientWidth||0:0,En=kn/2-Cn/2,Tn=vn[_n],An=xn-bn[hn]-vn[wn],$n=xn/2-bn[hn]/2+En,Pn=fe(Tn,$n,An),Nn=Lt;Ie.modifiersData[Fe]=($e={},$e[Nn]=Pn,$e.centerOffset=Pn-$n,$e)}}function Ct(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.element,Ue=Fe===void 0?"[data-popper-arrow]":Fe;Ue!=null&&(typeof Ue=="string"&&(Ue=$e.elements.popper.querySelector(Ue),!Ue)||!it($e.elements.popper,Ue)||($e.elements.arrow=Ue))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(xe){return xe.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(xe){var $e=xe.x,Ie=xe.y,Fe=window,Ue=Fe.devicePixelRatio||1;return{x:Z($e*Ue)/Ue||0,y:Z(Ie*Ue)/Ue||0}}function ut(xe){var $e,Ie=xe.popper,Fe=xe.popperRect,Ue=xe.placement,qe=xe.variation,At=xe.offsets,Dt=xe.position,Lt=xe.gpuAcceleration,jt=xe.adaptive,hn=xe.roundOffsets,vn=xe.isFixed,bn=At.x,_n=bn===void 0?0:bn,wn=At.y,kn=wn===void 0?0:wn,Cn=typeof hn=="function"?hn({x:_n,y:kn}):{x:_n,y:kn};_n=Cn.x,kn=Cn.y;var Sn=At.hasOwnProperty("x"),xn=At.hasOwnProperty("y"),En=P$1,Tn=E$1,An=window;if(jt){var $n=se(Ie),Pn="clientHeight",Nn="clientWidth";if($n===H(Ie)&&($n=I$1(Ie),N$1($n).position!=="static"&&Dt==="absolute"&&(Pn="scrollHeight",Nn="scrollWidth")),$n=$n,Ue===E$1||(Ue===P$1||Ue===W)&&qe===J){Tn=R;var Mn=vn&&$n===An&&An.visualViewport?An.visualViewport.height:$n[Pn];kn-=Mn-Fe.height,kn*=Lt?1:-1}if(Ue===P$1||(Ue===E$1||Ue===R)&&qe===J){En=W;var In=vn&&$n===An&&An.visualViewport?An.visualViewport.width:$n[Nn];_n-=In-Fe.width,_n*=Lt?1:-1}}var On=Object.assign({position:Dt},jt&&qt),Rn=hn===!0?Vt({x:_n,y:kn}):{x:_n,y:kn};if(_n=Rn.x,kn=Rn.y,Lt){var Bn;return Object.assign({},On,(Bn={},Bn[Tn]=xn?"0":"",Bn[En]=Sn?"0":"",Bn.transform=(An.devicePixelRatio||1)<=1?"translate("+_n+"px, "+kn+"px)":"translate3d("+_n+"px, "+kn+"px, 0)",Bn))}return Object.assign({},On,($e={},$e[Tn]=xn?kn+"px":"",$e[En]=Sn?_n+"px":"",$e.transform="",$e))}function Nt(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.gpuAcceleration,Ue=Fe===void 0?!0:Fe,qe=Ie.adaptive,At=qe===void 0?!0:qe,Dt=Ie.roundOffsets,Lt=Dt===void 0?!0:Dt,jt={placement:q($e.placement),variation:te($e.placement),popper:$e.elements.popper,popperRect:$e.rects.popper,gpuAcceleration:Ue,isFixed:$e.options.strategy==="fixed"};$e.modifiersData.popperOffsets!=null&&($e.styles.popper=Object.assign({},$e.styles.popper,ut(Object.assign({},jt,{offsets:$e.modifiersData.popperOffsets,position:$e.options.strategy,adaptive:At,roundOffsets:Lt})))),$e.modifiersData.arrow!=null&&($e.styles.arrow=Object.assign({},$e.styles.arrow,ut(Object.assign({},jt,{offsets:$e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Lt})))),$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-placement":$e.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(xe){var $e=xe.state,Ie=xe.instance,Fe=xe.options,Ue=Fe.scroll,qe=Ue===void 0?!0:Ue,At=Fe.resize,Dt=At===void 0?!0:At,Lt=H($e.elements.popper),jt=[].concat($e.scrollParents.reference,$e.scrollParents.popper);return qe&&jt.forEach(function(hn){hn.addEventListener("scroll",Ie.update,ye)}),Dt&&Lt.addEventListener("resize",Ie.update,ye),function(){qe&&jt.forEach(function(hn){hn.removeEventListener("scroll",Ie.update,ye)}),Dt&&Lt.removeEventListener("resize",Ie.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(xe){return xe.replace(/left|right|bottom|top/g,function($e){return _t[$e]})}var zt={start:"end",end:"start"};function lt(xe){return xe.replace(/start|end/g,function($e){return zt[$e]})}function We(xe){var $e=H(xe),Ie=$e.pageXOffset,Fe=$e.pageYOffset;return{scrollLeft:Ie,scrollTop:Fe}}function Be(xe){return ee(I$1(xe)).left+We(xe).scrollLeft}function Ft(xe){var $e=H(xe),Ie=I$1(xe),Fe=$e.visualViewport,Ue=Ie.clientWidth,qe=Ie.clientHeight,At=0,Dt=0;return Fe&&(Ue=Fe.width,qe=Fe.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(At=Fe.offsetLeft,Dt=Fe.offsetTop)),{width:Ue,height:qe,x:At+Be(xe),y:Dt}}function Ut(xe){var $e,Ie=I$1(xe),Fe=We(xe),Ue=($e=xe.ownerDocument)==null?void 0:$e.body,qe=X$1(Ie.scrollWidth,Ie.clientWidth,Ue?Ue.scrollWidth:0,Ue?Ue.clientWidth:0),At=X$1(Ie.scrollHeight,Ie.clientHeight,Ue?Ue.scrollHeight:0,Ue?Ue.clientHeight:0),Dt=-Fe.scrollLeft+Be(xe),Lt=-Fe.scrollTop;return N$1(Ue||Ie).direction==="rtl"&&(Dt+=X$1(Ie.clientWidth,Ue?Ue.clientWidth:0)-qe),{width:qe,height:At,x:Dt,y:Lt}}function Se(xe){var $e=N$1(xe),Ie=$e.overflow,Fe=$e.overflowX,Ue=$e.overflowY;return/auto|scroll|overlay|hidden/.test(Ie+Ue+Fe)}function dt(xe){return["html","body","#document"].indexOf(C(xe))>=0?xe.ownerDocument.body:B(xe)&&Se(xe)?xe:dt(ge(xe))}function ce(xe,$e){var Ie;$e===void 0&&($e=[]);var Fe=dt(xe),Ue=Fe===((Ie=xe.ownerDocument)==null?void 0:Ie.body),qe=H(Fe),At=Ue?[qe].concat(qe.visualViewport||[],Se(Fe)?Fe:[]):Fe,Dt=$e.concat(At);return Ue?Dt:Dt.concat(ce(ge(At)))}function Te(xe){return Object.assign({},xe,{left:xe.x,top:xe.y,right:xe.x+xe.width,bottom:xe.y+xe.height})}function Xt(xe){var $e=ee(xe);return $e.top=$e.top+xe.clientTop,$e.left=$e.left+xe.clientLeft,$e.bottom=$e.top+xe.clientHeight,$e.right=$e.left+xe.clientWidth,$e.width=xe.clientWidth,$e.height=xe.clientHeight,$e.x=$e.left,$e.y=$e.top,$e}function ht(xe,$e){return $e===je?Te(Ft(xe)):Q($e)?Xt($e):Te(Ut(I$1(xe)))}function Yt(xe){var $e=ce(ge(xe)),Ie=["absolute","fixed"].indexOf(N$1(xe).position)>=0,Fe=Ie&&B(xe)?se(xe):xe;return Q(Fe)?$e.filter(function(Ue){return Q(Ue)&&it(Ue,Fe)&&C(Ue)!=="body"}):[]}function Gt(xe,$e,Ie){var Fe=$e==="clippingParents"?Yt(xe):[].concat($e),Ue=[].concat(Fe,[Ie]),qe=Ue[0],At=Ue.reduce(function(Dt,Lt){var jt=ht(xe,Lt);return Dt.top=X$1(jt.top,Dt.top),Dt.right=ve(jt.right,Dt.right),Dt.bottom=ve(jt.bottom,Dt.bottom),Dt.left=X$1(jt.left,Dt.left),Dt},ht(xe,qe));return At.width=At.right-At.left,At.height=At.bottom-At.top,At.x=At.left,At.y=At.top,At}function mt(xe){var $e=xe.reference,Ie=xe.element,Fe=xe.placement,Ue=Fe?q(Fe):null,qe=Fe?te(Fe):null,At=$e.x+$e.width/2-Ie.width/2,Dt=$e.y+$e.height/2-Ie.height/2,Lt;switch(Ue){case E$1:Lt={x:At,y:$e.y-Ie.height};break;case R:Lt={x:At,y:$e.y+$e.height};break;case W:Lt={x:$e.x+$e.width,y:Dt};break;case P$1:Lt={x:$e.x-Ie.width,y:Dt};break;default:Lt={x:$e.x,y:$e.y}}var jt=Ue?Le(Ue):null;if(jt!=null){var hn=jt==="y"?"height":"width";switch(qe){case U$1:Lt[jt]=Lt[jt]-($e[hn]/2-Ie[hn]/2);break;case J:Lt[jt]=Lt[jt]+($e[hn]/2-Ie[hn]/2);break}}return Lt}function ne(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Fe===void 0?xe.placement:Fe,qe=Ie.boundary,At=qe===void 0?Xe:qe,Dt=Ie.rootBoundary,Lt=Dt===void 0?je:Dt,jt=Ie.elementContext,hn=jt===void 0?K:jt,vn=Ie.altBoundary,bn=vn===void 0?!1:vn,_n=Ie.padding,wn=_n===void 0?0:_n,kn=ft(typeof wn!="number"?wn:ct(wn,G)),Cn=hn===K?Ye:K,Sn=xe.rects.popper,xn=xe.elements[bn?Cn:hn],En=Gt(Q(xn)?xn:xn.contextElement||I$1(xe.elements.popper),At,Lt),Tn=ee(xe.elements.reference),An=mt({reference:Tn,element:Sn,strategy:"absolute",placement:Ue}),$n=Te(Object.assign({},Sn,An)),Pn=hn===K?$n:Tn,Nn={top:En.top-Pn.top+kn.top,bottom:Pn.bottom-En.bottom+kn.bottom,left:En.left-Pn.left+kn.left,right:Pn.right-En.right+kn.right},Mn=xe.modifiersData.offset;if(hn===K&&Mn){var In=Mn[Ue];Object.keys(Nn).forEach(function(On){var Rn=[W,R].indexOf(On)>=0?1:-1,Bn=[E$1,R].indexOf(On)>=0?"y":"x";Nn[On]+=In[Bn]*Rn})}return Nn}function Jt(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Ie.boundary,qe=Ie.rootBoundary,At=Ie.padding,Dt=Ie.flipVariations,Lt=Ie.allowedAutoPlacements,jt=Lt===void 0?Ee:Lt,hn=te(Fe),vn=hn?Dt?De:De.filter(function(wn){return te(wn)===hn}):G,bn=vn.filter(function(wn){return jt.indexOf(wn)>=0});bn.length===0&&(bn=vn);var _n=bn.reduce(function(wn,kn){return wn[kn]=ne(xe,{placement:kn,boundary:Ue,rootBoundary:qe,padding:At})[q(kn)],wn},{});return Object.keys(_n).sort(function(wn,kn){return _n[wn]-_n[kn]})}function Kt(xe){if(q(xe)===me)return[];var $e=be(xe);return[lt(xe),$e,lt($e)]}function Qt(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name;if(!$e.modifiersData[Fe]._skip){for(var Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!0:At,Lt=Ie.fallbackPlacements,jt=Ie.padding,hn=Ie.boundary,vn=Ie.rootBoundary,bn=Ie.altBoundary,_n=Ie.flipVariations,wn=_n===void 0?!0:_n,kn=Ie.allowedAutoPlacements,Cn=$e.options.placement,Sn=q(Cn),xn=Sn===Cn,En=Lt||(xn||!wn?[be(Cn)]:Kt(Cn)),Tn=[Cn].concat(En).reduce(function(er,rr){return er.concat(q(rr)===me?Jt($e,{placement:rr,boundary:hn,rootBoundary:vn,padding:jt,flipVariations:wn,allowedAutoPlacements:kn}):rr)},[]),An=$e.rects.reference,$n=$e.rects.popper,Pn=new Map,Nn=!0,Mn=Tn[0],In=0;In<Tn.length;In++){var On=Tn[In],Rn=q(On),Bn=te(On)===U$1,Vn=[E$1,R].indexOf(Rn)>=0,Ln=Vn?"width":"height",Dn=ne($e,{placement:On,boundary:hn,rootBoundary:vn,altBoundary:bn,padding:jt}),Hn=Vn?Bn?W:P$1:Bn?R:E$1;An[Ln]>$n[Ln]&&(Hn=be(Hn));var Fn=be(Hn),zn=[];if(qe&&zn.push(Dn[Rn]<=0),Dt&&zn.push(Dn[Hn]<=0,Dn[Fn]<=0),zn.every(function(er){return er})){Mn=On,Nn=!1;break}Pn.set(On,zn)}if(Nn)for(var jn=wn?3:1,Gn=function(er){var rr=Tn.find(function(Jn){var qn=Pn.get(Jn);if(qn)return qn.slice(0,er).every(function(Yn){return Yn})});if(rr)return Mn=rr,"break"},Wn=jn;Wn>0;Wn--){var Xn=Gn(Wn);if(Xn==="break")break}$e.placement!==Mn&&($e.modifiersData[Fe]._skip=!0,$e.placement=Mn,$e.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(xe,$e,Ie){return Ie===void 0&&(Ie={x:0,y:0}),{top:xe.top-$e.height-Ie.y,right:xe.right-$e.width+Ie.x,bottom:xe.bottom-$e.height+Ie.y,left:xe.left-$e.width-Ie.x}}function yt(xe){return[E$1,W,R,P$1].some(function($e){return xe[$e]>=0})}function Zt(xe){var $e=xe.state,Ie=xe.name,Fe=$e.rects.reference,Ue=$e.rects.popper,qe=$e.modifiersData.preventOverflow,At=ne($e,{elementContext:"reference"}),Dt=ne($e,{altBoundary:!0}),Lt=gt(At,Fe),jt=gt(Dt,Ue,qe),hn=yt(Lt),vn=yt(jt);$e.modifiersData[Ie]={referenceClippingOffsets:Lt,popperEscapeOffsets:jt,isReferenceHidden:hn,hasPopperEscaped:vn},$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-reference-hidden":hn,"data-popper-escaped":vn})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(xe,$e,Ie){var Fe=q(xe),Ue=[P$1,E$1].indexOf(Fe)>=0?-1:1,qe=typeof Ie=="function"?Ie(Object.assign({},$e,{placement:xe})):Ie,At=qe[0],Dt=qe[1];return At=At||0,Dt=(Dt||0)*Ue,[P$1,W].indexOf(Fe)>=0?{x:Dt,y:At}:{x:At,y:Dt}}function tn(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.offset,qe=Ue===void 0?[0,0]:Ue,At=Ee.reduce(function(hn,vn){return hn[vn]=en(vn,$e.rects,qe),hn},{}),Dt=At[$e.placement],Lt=Dt.x,jt=Dt.y;$e.modifiersData.popperOffsets!=null&&($e.modifiersData.popperOffsets.x+=Lt,$e.modifiersData.popperOffsets.y+=jt),$e.modifiersData[Fe]=At}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(xe){var $e=xe.state,Ie=xe.name;$e.modifiersData[Ie]=mt({reference:$e.rects.reference,element:$e.rects.popper,strategy:"absolute",placement:$e.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(xe){return xe==="x"?"y":"x"}function on(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!1:At,Lt=Ie.boundary,jt=Ie.rootBoundary,hn=Ie.altBoundary,vn=Ie.padding,bn=Ie.tether,_n=bn===void 0?!0:bn,wn=Ie.tetherOffset,kn=wn===void 0?0:wn,Cn=ne($e,{boundary:Lt,rootBoundary:jt,padding:vn,altBoundary:hn}),Sn=q($e.placement),xn=te($e.placement),En=!xn,Tn=Le(Sn),An=rn(Tn),$n=$e.modifiersData.popperOffsets,Pn=$e.rects.reference,Nn=$e.rects.popper,Mn=typeof kn=="function"?kn(Object.assign({},$e.rects,{placement:$e.placement})):kn,In=typeof Mn=="number"?{mainAxis:Mn,altAxis:Mn}:Object.assign({mainAxis:0,altAxis:0},Mn),On=$e.modifiersData.offset?$e.modifiersData.offset[$e.placement]:null,Rn={x:0,y:0};if($n){if(qe){var Bn,Vn=Tn==="y"?E$1:P$1,Ln=Tn==="y"?R:W,Dn=Tn==="y"?"height":"width",Hn=$n[Tn],Fn=Hn+Cn[Vn],zn=Hn-Cn[Ln],jn=_n?-Nn[Dn]/2:0,Gn=xn===U$1?Pn[Dn]:Nn[Dn],Wn=xn===U$1?-Nn[Dn]:-Pn[Dn],Xn=$e.elements.arrow,er=_n&&Xn?ke(Xn):{width:0,height:0},rr=$e.modifiersData["arrow#persistent"]?$e.modifiersData["arrow#persistent"].padding:st(),Jn=rr[Vn],qn=rr[Ln],Yn=fe(0,Pn[Dn],er[Dn]),ar=En?Pn[Dn]/2-jn-Yn-Jn-In.mainAxis:Gn-Yn-Jn-In.mainAxis,tr=En?-Pn[Dn]/2+jn+Yn+qn+In.mainAxis:Wn+Yn+qn+In.mainAxis,or=$e.elements.arrow&&se($e.elements.arrow),sr=or?Tn==="y"?or.clientTop||0:or.clientLeft||0:0,Kn=(Bn=On==null?void 0:On[Tn])!=null?Bn:0,Zn=Hn+ar-Kn-sr,nr=Hn+tr-Kn,lr=fe(_n?ve(Fn,Zn):Fn,Hn,_n?X$1(zn,nr):zn);$n[Tn]=lr,Rn[Tn]=lr-Hn}if(Dt){var ir,kr=Tn==="x"?E$1:P$1,Cr=Tn==="x"?R:W,Er=$n[An],dr=An==="y"?"height":"width",br=Er+Cn[kr],_r=Er-Cn[Cr],Pr=[E$1,P$1].indexOf(Sn)!==-1,vr=(ir=On==null?void 0:On[An])!=null?ir:0,xr=Pr?br:Er-Pn[dr]-Nn[dr]-vr+In.altAxis,Rr=Pr?Er+Pn[dr]+Nn[dr]-vr-In.altAxis:_r,Hr=_n&&Pr?St(xr,Er,Rr):fe(_n?xr:br,Er,_n?Rr:_r);$n[An]=Hr,Rn[An]=Hr-Er}$e.modifiersData[Fe]=Rn}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(xe){return{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}}function sn(xe){return xe===H(xe)||!B(xe)?We(xe):an(xe)}function fn(xe){var $e=xe.getBoundingClientRect(),Ie=Z($e.width)/xe.offsetWidth||1,Fe=Z($e.height)/xe.offsetHeight||1;return Ie!==1||Fe!==1}function cn(xe,$e,Ie){Ie===void 0&&(Ie=!1);var Fe=B($e),Ue=B($e)&&fn($e),qe=I$1($e),At=ee(xe,Ue),Dt={scrollLeft:0,scrollTop:0},Lt={x:0,y:0};return(Fe||!Fe&&!Ie)&&((C($e)!=="body"||Se(qe))&&(Dt=sn($e)),B($e)?(Lt=ee($e,!0),Lt.x+=$e.clientLeft,Lt.y+=$e.clientTop):qe&&(Lt.x=Be(qe))),{x:At.left+Dt.scrollLeft-Lt.x,y:At.top+Dt.scrollTop-Lt.y,width:At.width,height:At.height}}function pn(xe){var $e=new Map,Ie=new Set,Fe=[];xe.forEach(function(qe){$e.set(qe.name,qe)});function Ue(qe){Ie.add(qe.name);var At=[].concat(qe.requires||[],qe.requiresIfExists||[]);At.forEach(function(Dt){if(!Ie.has(Dt)){var Lt=$e.get(Dt);Lt&&Ue(Lt)}}),Fe.push(qe)}return xe.forEach(function(qe){Ie.has(qe.name)||Ue(qe)}),Fe}function un(xe){var $e=pn(xe);return ot.reduce(function(Ie,Fe){return Ie.concat($e.filter(function(Ue){return Ue.phase===Fe}))},[])}function ln(xe){var $e;return function(){return $e||($e=new Promise(function(Ie){Promise.resolve().then(function(){$e=void 0,Ie(xe())})})),$e}}function dn(xe){var $e=xe.reduce(function(Ie,Fe){var Ue=Ie[Fe.name];return Ie[Fe.name]=Ue?Object.assign({},Ue,Fe,{options:Object.assign({},Ue.options,Fe.options),data:Object.assign({},Ue.data,Fe.data)}):Fe,Ie},{});return Object.keys($e).map(function(Ie){return $e[Ie]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var xe=arguments.length,$e=new Array(xe),Ie=0;Ie<xe;Ie++)$e[Ie]=arguments[Ie];return!$e.some(function(Fe){return!(Fe&&typeof Fe.getBoundingClientRect=="function")})}function we(xe){xe===void 0&&(xe={});var $e=xe,Ie=$e.defaultModifiers,Fe=Ie===void 0?[]:Ie,Ue=$e.defaultOptions,qe=Ue===void 0?Ot:Ue;return function(At,Dt,Lt){Lt===void 0&&(Lt=qe);var jt={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,qe),modifiersData:{},elements:{reference:At,popper:Dt},attributes:{},styles:{}},hn=[],vn=!1,bn={state:jt,setOptions:function(kn){var Cn=typeof kn=="function"?kn(jt.options):kn;wn(),jt.options=Object.assign({},qe,jt.options,Cn),jt.scrollParents={reference:Q(At)?ce(At):At.contextElement?ce(At.contextElement):[],popper:ce(Dt)};var Sn=un(dn([].concat(Fe,jt.options.modifiers)));return jt.orderedModifiers=Sn.filter(function(xn){return xn.enabled}),_n(),bn.update()},forceUpdate:function(){if(!vn){var kn=jt.elements,Cn=kn.reference,Sn=kn.popper;if($t(Cn,Sn)){jt.rects={reference:cn(Cn,se(Sn),jt.options.strategy==="fixed"),popper:ke(Sn)},jt.reset=!1,jt.placement=jt.options.placement,jt.orderedModifiers.forEach(function(Nn){return jt.modifiersData[Nn.name]=Object.assign({},Nn.data)});for(var xn=0;xn<jt.orderedModifiers.length;xn++){if(jt.reset===!0){jt.reset=!1,xn=-1;continue}var En=jt.orderedModifiers[xn],Tn=En.fn,An=En.options,$n=An===void 0?{}:An,Pn=En.name;typeof Tn=="function"&&(jt=Tn({state:jt,options:$n,name:Pn,instance:bn})||jt)}}}},update:ln(function(){return new Promise(function(kn){bn.forceUpdate(),kn(jt)})}),destroy:function(){wn(),vn=!0}};if(!$t(At,Dt))return bn;bn.setOptions(Lt).then(function(kn){!vn&&Lt.onFirstUpdate&&Lt.onFirstUpdate(kn)});function _n(){jt.orderedModifiers.forEach(function(kn){var Cn=kn.name,Sn=kn.options,xn=Sn===void 0?{}:Sn,En=kn.effect;if(typeof En=="function"){var Tn=En({state:jt,name:Cn,instance:bn,options:xn}),An=function(){};hn.push(Tn||An)}})}function wn(){hn.forEach(function(kn){return kn()}),hn=[]}return bn}}we();var mn=[Re,He,Me,Ae];we({defaultModifiers:mn});var gn=[Re,He,Me,Ae,wt,vt,xt,pt,bt],yn=we({defaultModifiers:gn});const usePopper=(xe,$e,Ie={})=>{const Fe={name:"updateState",enabled:!0,phase:"write",fn:({state:Lt})=>{const jt=deriveState(Lt);Object.assign(At.value,jt)},requires:["computeStyles"]},Ue=computed(()=>{const{onFirstUpdate:Lt,placement:jt,strategy:hn,modifiers:vn}=unref(Ie);return{onFirstUpdate:Lt,placement:jt||"bottom",strategy:hn||"absolute",modifiers:[...vn||[],Fe,{name:"applyStyles",enabled:!1}]}}),qe=shallowRef(),At=ref({styles:{popper:{position:unref(Ue).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),Dt=()=>{qe.value&&(qe.value.destroy(),qe.value=void 0)};return watch(Ue,Lt=>{const jt=unref(qe);jt&&jt.setOptions(Lt)},{deep:!0}),watch([xe,$e],([Lt,jt])=>{Dt(),!(!Lt||!jt)&&(qe.value=yn(Lt,jt,unref(Ue)))}),onBeforeUnmount(()=>{Dt()}),{state:computed(()=>{var Lt;return{...((Lt=unref(qe))==null?void 0:Lt.state)||{}}}),styles:computed(()=>unref(At).styles),attributes:computed(()=>unref(At).attributes),update:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.update()},forceUpdate:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.forceUpdate()},instanceRef:computed(()=>unref(qe))}};function deriveState(xe){const $e=Object.keys(xe.elements),Ie=fromPairs($e.map(Ue=>[Ue,xe.styles[Ue]||{}])),Fe=fromPairs($e.map(Ue=>[Ue,xe.attributes[Ue]]));return{styles:Ie,attributes:Fe}}const useSameTarget=xe=>{if(!xe)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let $e=!1,Ie=!1;return{onClick:At=>{$e&&Ie&&xe(At),$e=Ie=!1},onMousedown:At=>{$e=At.target===At.currentTarget},onMouseup:At=>{Ie=At.target===At.currentTarget}}},useThrottleRender=(xe,$e=0)=>{if($e===0)return xe;const Ie=ref(!1);let Fe=0;const Ue=()=>{Fe&&clearTimeout(Fe),Fe=window.setTimeout(()=>{Ie.value=xe.value},$e)};return onMounted(Ue),watch(()=>xe.value,qe=>{qe?Ue():Ie.value=qe}),Ie};function useTimeout(){let xe;const $e=(Fe,Ue)=>{Ie(),xe=window.setTimeout(Fe,Ue)},Ie=()=>window.clearTimeout(xe);return tryOnScopeDispose(()=>Ie()),{registerTimeout:$e,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=xe=>{const $e=useIdInjection(),Ie=useGetDerivedNamespace();return computed(()=>unref(xe)||`${Ie.value}-id-${$e.prefix}-${$e.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=xe=>{const $e=xe;$e.key===EVENT_CODE.esc&&registeredEscapeHandlers.forEach(Ie=>Ie($e))},useEscapeKeydown=xe=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient&&registeredEscapeHandlers.push(xe)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter($e=>$e!==xe),registeredEscapeHandlers.length===0&&isClient&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const xe=useGetDerivedNamespace(),$e=useIdInjection(),Ie=computed(()=>`${xe.value}-popper-container-${$e.prefix}`),Fe=computed(()=>`#${Ie.value}`);return{id:Ie,selector:Fe}},createContainer=xe=>{const $e=document.createElement("div");return $e.id=xe,document.body.appendChild($e),$e},usePopperContainer=()=>{const{id:xe,selector:$e}=usePopperContainerId();return onBeforeMount(()=>{isClient&&!cachedContainer&&!document.body.querySelector($e.value)&&(cachedContainer=createContainer(xe.value))}),{id:xe,selector:$e}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:xe,hideAfter:$e,autoClose:Ie,open:Fe,close:Ue})=>{const{registerTimeout:qe}=useTimeout(),{registerTimeout:At,cancelTimeout:Dt}=useTimeout();return{onOpen:hn=>{qe(()=>{Fe(hn);const vn=unref(Ie);isNumber(vn)&&vn>0&&At(()=>{Ue(hn)},vn)},unref(xe))},onClose:hn=>{Dt(),qe(()=>{Ue(hn)},unref($e))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=xe=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:Ie=>{xe.value=Ie}})},useForwardRefDirective=xe=>({mounted($e){xe($e)},updated($e){xe($e)},unmounted(){xe(null)}}),initial={current:0},zIndex=ref(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=xe=>{const $e=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,Ie=xe||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),Fe=computed(()=>{const At=unref(Ie);return isNumber(At)?At:defaultInitialZIndex}),Ue=computed(()=>Fe.value+zIndex.value),qe=()=>($e.current++,zIndex.value=$e.current,Ue.value);return!isClient&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:Fe,currentZIndex:Ue,nextZIndex:qe}};function getNodeName(xe){return isNode(xe)?(xe.nodeName||"").toLowerCase():"#document"}function getWindow(xe){var $e;return(xe==null||($e=xe.ownerDocument)==null?void 0:$e.defaultView)||window}function getDocumentElement(xe){var $e;return($e=(isNode(xe)?xe.ownerDocument:xe.document)||window.document)==null?void 0:$e.documentElement}function isNode(xe){return xe instanceof Node||xe instanceof getWindow(xe).Node}function isElement(xe){return xe instanceof Element||xe instanceof getWindow(xe).Element}function isHTMLElement(xe){return xe instanceof HTMLElement||xe instanceof getWindow(xe).HTMLElement}function isShadowRoot(xe){return typeof ShadowRoot>"u"?!1:xe instanceof ShadowRoot||xe instanceof getWindow(xe).ShadowRoot}function isOverflowElement(xe){const{overflow:$e,overflowX:Ie,overflowY:Fe,display:Ue}=getComputedStyle$1(xe);return/auto|scroll|overlay|hidden|clip/.test($e+Fe+Ie)&&!["inline","contents"].includes(Ue)}function isTableElement(xe){return["table","td","th"].includes(getNodeName(xe))}function isContainingBlock(xe){const $e=isWebKit(),Ie=getComputedStyle$1(xe);return Ie.transform!=="none"||Ie.perspective!=="none"||(Ie.containerType?Ie.containerType!=="normal":!1)||!$e&&(Ie.backdropFilter?Ie.backdropFilter!=="none":!1)||!$e&&(Ie.filter?Ie.filter!=="none":!1)||["transform","perspective","filter"].some(Fe=>(Ie.willChange||"").includes(Fe))||["paint","layout","strict","content"].some(Fe=>(Ie.contain||"").includes(Fe))}function getContainingBlock(xe){let $e=getParentNode(xe);for(;isHTMLElement($e)&&!isLastTraversableNode($e);){if(isContainingBlock($e))return $e;$e=getParentNode($e)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(xe){return["html","body","#document"].includes(getNodeName(xe))}function getComputedStyle$1(xe){return getWindow(xe).getComputedStyle(xe)}function getNodeScroll(xe){return isElement(xe)?{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}:{scrollLeft:xe.pageXOffset,scrollTop:xe.pageYOffset}}function getParentNode(xe){if(getNodeName(xe)==="html")return xe;const $e=xe.assignedSlot||xe.parentNode||isShadowRoot(xe)&&xe.host||getDocumentElement(xe);return isShadowRoot($e)?$e.host:$e}function getNearestOverflowAncestor(xe){const $e=getParentNode(xe);return isLastTraversableNode($e)?xe.ownerDocument?xe.ownerDocument.body:xe.body:isHTMLElement($e)&&isOverflowElement($e)?$e:getNearestOverflowAncestor($e)}function getOverflowAncestors(xe,$e,Ie){var Fe;$e===void 0&&($e=[]),Ie===void 0&&(Ie=!0);const Ue=getNearestOverflowAncestor(xe),qe=Ue===((Fe=xe.ownerDocument)==null?void 0:Fe.body),At=getWindow(Ue);return qe?$e.concat(At,At.visualViewport||[],isOverflowElement(Ue)?Ue:[],At.frameElement&&Ie?getOverflowAncestors(At.frameElement):[]):$e.concat(Ue,getOverflowAncestors(Ue,[],Ie))}function getCssDimensions(xe){const $e=getComputedStyle$1(xe);let Ie=parseFloat($e.width)||0,Fe=parseFloat($e.height)||0;const Ue=isHTMLElement(xe),qe=Ue?xe.offsetWidth:Ie,At=Ue?xe.offsetHeight:Fe,Dt=round$4(Ie)!==qe||round$4(Fe)!==At;return Dt&&(Ie=qe,Fe=At),{width:Ie,height:Fe,$:Dt}}function unwrapElement(xe){return isElement(xe)?xe:xe.contextElement}function getScale(xe){const $e=unwrapElement(xe);if(!isHTMLElement($e))return createCoords(1);const Ie=$e.getBoundingClientRect(),{width:Fe,height:Ue,$:qe}=getCssDimensions($e);let At=(qe?round$4(Ie.width):Ie.width)/Fe,Dt=(qe?round$4(Ie.height):Ie.height)/Ue;return(!At||!Number.isFinite(At))&&(At=1),(!Dt||!Number.isFinite(Dt))&&(Dt=1),{x:At,y:Dt}}const noOffsets=createCoords(0);function getVisualOffsets(xe){const $e=getWindow(xe);return!isWebKit()||!$e.visualViewport?noOffsets:{x:$e.visualViewport.offsetLeft,y:$e.visualViewport.offsetTop}}function shouldAddVisualOffsets(xe,$e,Ie){return $e===void 0&&($e=!1),!Ie||$e&&Ie!==getWindow(xe)?!1:$e}function getBoundingClientRect(xe,$e,Ie,Fe){$e===void 0&&($e=!1),Ie===void 0&&(Ie=!1);const Ue=xe.getBoundingClientRect(),qe=unwrapElement(xe);let At=createCoords(1);$e&&(Fe?isElement(Fe)&&(At=getScale(Fe)):At=getScale(xe));const Dt=shouldAddVisualOffsets(qe,Ie,Fe)?getVisualOffsets(qe):createCoords(0);let Lt=(Ue.left+Dt.x)/At.x,jt=(Ue.top+Dt.y)/At.y,hn=Ue.width/At.x,vn=Ue.height/At.y;if(qe){const bn=getWindow(qe),_n=Fe&&isElement(Fe)?getWindow(Fe):Fe;let wn=bn,kn=wn.frameElement;for(;kn&&Fe&&_n!==wn;){const Cn=getScale(kn),Sn=kn.getBoundingClientRect(),xn=getComputedStyle$1(kn),En=Sn.left+(kn.clientLeft+parseFloat(xn.paddingLeft))*Cn.x,Tn=Sn.top+(kn.clientTop+parseFloat(xn.paddingTop))*Cn.y;Lt*=Cn.x,jt*=Cn.y,hn*=Cn.x,vn*=Cn.y,Lt+=En,jt+=Tn,wn=getWindow(kn),kn=wn.frameElement}}return rectToClientRect({width:hn,height:vn,x:Lt,y:jt})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(xe){return topLayerSelectors.some($e=>{try{return xe.matches($e)}catch{return!1}})}function convertOffsetParentRelativeRectToViewportRelativeRect(xe){let{elements:$e,rect:Ie,offsetParent:Fe,strategy:Ue}=xe;const qe=Ue==="fixed",At=getDocumentElement(Fe),Dt=$e?isTopLayer($e.floating):!1;if(Fe===At||Dt&&qe)return Ie;let Lt={scrollLeft:0,scrollTop:0},jt=createCoords(1);const hn=createCoords(0),vn=isHTMLElement(Fe);if((vn||!vn&&!qe)&&((getNodeName(Fe)!=="body"||isOverflowElement(At))&&(Lt=getNodeScroll(Fe)),isHTMLElement(Fe))){const bn=getBoundingClientRect(Fe);jt=getScale(Fe),hn.x=bn.x+Fe.clientLeft,hn.y=bn.y+Fe.clientTop}return{width:Ie.width*jt.x,height:Ie.height*jt.y,x:Ie.x*jt.x-Lt.scrollLeft*jt.x+hn.x,y:Ie.y*jt.y-Lt.scrollTop*jt.y+hn.y}}function getClientRects(xe){return Array.from(xe.getClientRects())}function getWindowScrollBarX(xe){return getBoundingClientRect(getDocumentElement(xe)).left+getNodeScroll(xe).scrollLeft}function getDocumentRect(xe){const $e=getDocumentElement(xe),Ie=getNodeScroll(xe),Fe=xe.ownerDocument.body,Ue=max$3($e.scrollWidth,$e.clientWidth,Fe.scrollWidth,Fe.clientWidth),qe=max$3($e.scrollHeight,$e.clientHeight,Fe.scrollHeight,Fe.clientHeight);let At=-Ie.scrollLeft+getWindowScrollBarX(xe);const Dt=-Ie.scrollTop;return getComputedStyle$1(Fe).direction==="rtl"&&(At+=max$3($e.clientWidth,Fe.clientWidth)-Ue),{width:Ue,height:qe,x:At,y:Dt}}function getViewportRect(xe,$e){const Ie=getWindow(xe),Fe=getDocumentElement(xe),Ue=Ie.visualViewport;let qe=Fe.clientWidth,At=Fe.clientHeight,Dt=0,Lt=0;if(Ue){qe=Ue.width,At=Ue.height;const jt=isWebKit();(!jt||jt&&$e==="fixed")&&(Dt=Ue.offsetLeft,Lt=Ue.offsetTop)}return{width:qe,height:At,x:Dt,y:Lt}}function getInnerBoundingClientRect(xe,$e){const Ie=getBoundingClientRect(xe,!0,$e==="fixed"),Fe=Ie.top+xe.clientTop,Ue=Ie.left+xe.clientLeft,qe=isHTMLElement(xe)?getScale(xe):createCoords(1),At=xe.clientWidth*qe.x,Dt=xe.clientHeight*qe.y,Lt=Ue*qe.x,jt=Fe*qe.y;return{width:At,height:Dt,x:Lt,y:jt}}function getClientRectFromClippingAncestor(xe,$e,Ie){let Fe;if($e==="viewport")Fe=getViewportRect(xe,Ie);else if($e==="document")Fe=getDocumentRect(getDocumentElement(xe));else if(isElement($e))Fe=getInnerBoundingClientRect($e,Ie);else{const Ue=getVisualOffsets(xe);Fe={...$e,x:$e.x-Ue.x,y:$e.y-Ue.y}}return rectToClientRect(Fe)}function hasFixedPositionAncestor(xe,$e){const Ie=getParentNode(xe);return Ie===$e||!isElement(Ie)||isLastTraversableNode(Ie)?!1:getComputedStyle$1(Ie).position==="fixed"||hasFixedPositionAncestor(Ie,$e)}function getClippingElementAncestors(xe,$e){const Ie=$e.get(xe);if(Ie)return Ie;let Fe=getOverflowAncestors(xe,[],!1).filter(Dt=>isElement(Dt)&&getNodeName(Dt)!=="body"),Ue=null;const qe=getComputedStyle$1(xe).position==="fixed";let At=qe?getParentNode(xe):xe;for(;isElement(At)&&!isLastTraversableNode(At);){const Dt=getComputedStyle$1(At),Lt=isContainingBlock(At);!Lt&&Dt.position==="fixed"&&(Ue=null),(qe?!Lt&&!Ue:!Lt&&Dt.position==="static"&&!!Ue&&["absolute","fixed"].includes(Ue.position)||isOverflowElement(At)&&!Lt&&hasFixedPositionAncestor(xe,At))?Fe=Fe.filter(hn=>hn!==At):Ue=Dt,At=getParentNode(At)}return $e.set(xe,Fe),Fe}function getClippingRect(xe){let{element:$e,boundary:Ie,rootBoundary:Fe,strategy:Ue}=xe;const At=[...Ie==="clippingAncestors"?getClippingElementAncestors($e,this._c):[].concat(Ie),Fe],Dt=At[0],Lt=At.reduce((jt,hn)=>{const vn=getClientRectFromClippingAncestor($e,hn,Ue);return jt.top=max$3(vn.top,jt.top),jt.right=min$3(vn.right,jt.right),jt.bottom=min$3(vn.bottom,jt.bottom),jt.left=max$3(vn.left,jt.left),jt},getClientRectFromClippingAncestor($e,Dt,Ue));return{width:Lt.right-Lt.left,height:Lt.bottom-Lt.top,x:Lt.left,y:Lt.top}}function getDimensions(xe){const{width:$e,height:Ie}=getCssDimensions(xe);return{width:$e,height:Ie}}function getRectRelativeToOffsetParent(xe,$e,Ie){const Fe=isHTMLElement($e),Ue=getDocumentElement($e),qe=Ie==="fixed",At=getBoundingClientRect(xe,!0,qe,$e);let Dt={scrollLeft:0,scrollTop:0};const Lt=createCoords(0);if(Fe||!Fe&&!qe)if((getNodeName($e)!=="body"||isOverflowElement(Ue))&&(Dt=getNodeScroll($e)),Fe){const vn=getBoundingClientRect($e,!0,qe,$e);Lt.x=vn.x+$e.clientLeft,Lt.y=vn.y+$e.clientTop}else Ue&&(Lt.x=getWindowScrollBarX(Ue));const jt=At.left+Dt.scrollLeft-Lt.x,hn=At.top+Dt.scrollTop-Lt.y;return{x:jt,y:hn,width:At.width,height:At.height}}function getTrueOffsetParent(xe,$e){return!isHTMLElement(xe)||getComputedStyle$1(xe).position==="fixed"?null:$e?$e(xe):xe.offsetParent}function getOffsetParent(xe,$e){const Ie=getWindow(xe);if(!isHTMLElement(xe)||isTopLayer(xe))return Ie;let Fe=getTrueOffsetParent(xe,$e);for(;Fe&&isTableElement(Fe)&&getComputedStyle$1(Fe).position==="static";)Fe=getTrueOffsetParent(Fe,$e);return Fe&&(getNodeName(Fe)==="html"||getNodeName(Fe)==="body"&&getComputedStyle$1(Fe).position==="static"&&!isContainingBlock(Fe))?Ie:Fe||getContainingBlock(xe)||Ie}const getElementRects=async function(xe){const $e=this.getOffsetParent||getOffsetParent,Ie=this.getDimensions;return{reference:getRectRelativeToOffsetParent(xe.reference,await $e(xe.floating),xe.strategy),floating:{x:0,y:0,...await Ie(xe.floating)}}};function isRTL$1(xe){return getComputedStyle$1(xe).direction==="rtl"}const platform={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL:isRTL$1};function observeMove(xe,$e){let Ie=null,Fe;const Ue=getDocumentElement(xe);function qe(){var Dt;clearTimeout(Fe),(Dt=Ie)==null||Dt.disconnect(),Ie=null}function At(Dt,Lt){Dt===void 0&&(Dt=!1),Lt===void 0&&(Lt=1),qe();const{left:jt,top:hn,width:vn,height:bn}=xe.getBoundingClientRect();if(Dt||$e(),!vn||!bn)return;const _n=floor$1(hn),wn=floor$1(Ue.clientWidth-(jt+vn)),kn=floor$1(Ue.clientHeight-(hn+bn)),Cn=floor$1(jt),xn={rootMargin:-_n+"px "+-wn+"px "+-kn+"px "+-Cn+"px",threshold:max$3(0,min$3(1,Lt))||1};let En=!0;function Tn(An){const $n=An[0].intersectionRatio;if($n!==Lt){if(!En)return At();$n?At(!1,$n):Fe=setTimeout(()=>{At(!1,1e-7)},100)}En=!1}try{Ie=new IntersectionObserver(Tn,{...xn,root:Ue.ownerDocument})}catch{Ie=new IntersectionObserver(Tn,xn)}Ie.observe(xe)}return At(!0),qe}function autoUpdate(xe,$e,Ie,Fe){Fe===void 0&&(Fe={});const{ancestorScroll:Ue=!0,ancestorResize:qe=!0,elementResize:At=typeof ResizeObserver=="function",layoutShift:Dt=typeof IntersectionObserver=="function",animationFrame:Lt=!1}=Fe,jt=unwrapElement(xe),hn=Ue||qe?[...jt?getOverflowAncestors(jt):[],...getOverflowAncestors($e)]:[];hn.forEach(Sn=>{Ue&&Sn.addEventListener("scroll",Ie,{passive:!0}),qe&&Sn.addEventListener("resize",Ie)});const vn=jt&&Dt?observeMove(jt,Ie):null;let bn=-1,_n=null;At&&(_n=new ResizeObserver(Sn=>{let[xn]=Sn;xn&&xn.target===jt&&_n&&(_n.unobserve($e),cancelAnimationFrame(bn),bn=requestAnimationFrame(()=>{var En;(En=_n)==null||En.observe($e)})),Ie()}),jt&&!Lt&&_n.observe(jt),_n.observe($e));let wn,kn=Lt?getBoundingClientRect(xe):null;Lt&&Cn();function Cn(){const Sn=getBoundingClientRect(xe);kn&&(Sn.x!==kn.x||Sn.y!==kn.y||Sn.width!==kn.width||Sn.height!==kn.height)&&Ie(),kn=Sn,wn=requestAnimationFrame(Cn)}return Ie(),()=>{var Sn;hn.forEach(xn=>{Ue&&xn.removeEventListener("scroll",Ie),qe&&xn.removeEventListener("resize",Ie)}),vn==null||vn(),(Sn=_n)==null||Sn.disconnect(),_n=null,Lt&&cancelAnimationFrame(wn)}}const shift=shift$1,flip=flip$1,arrow=arrow$1,computePosition=(xe,$e,Ie)=>{const Fe=new Map,Ue={platform,...Ie},qe={...Ue.platform,_c:Fe};return computePosition$1(xe,$e,{...Ue,platform:qe})};buildProps({});const unrefReference=xe=>{if(!isClient)return;if(!xe)return xe;const $e=unrefElement(xe);return $e||(isRef(xe)?$e:xe)},useFloating$1=({middleware:xe,placement:$e,strategy:Ie})=>{const Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref({}),Lt={x:qe,y:At,placement:$e,strategy:Ie,middlewareData:Dt},jt=async()=>{if(!isClient)return;const hn=unrefReference(Fe),vn=unrefElement(Ue);if(!hn||!vn)return;const bn=await computePosition(hn,vn,{placement:unref($e),strategy:unref(Ie),middleware:unref(xe)});keysOf(Lt).forEach(_n=>{Lt[_n].value=bn[_n]})};return onMounted(()=>{watchEffect(()=>{jt()})}),{...Lt,update:jt,referenceRef:Fe,contentRef:Ue}},arrowMiddleware=({arrowRef:xe,padding:$e})=>({name:"arrow",options:{element:xe,padding:$e},fn(Ie){const Fe=unref(xe);return Fe?arrow({element:Fe,padding:$e}).fn(Ie):{}}});function useCursor(xe){const $e=ref();function Ie(){if(xe.value==null)return;const{selectionStart:Ue,selectionEnd:qe,value:At}=xe.value;if(Ue==null||qe==null)return;const Dt=At.slice(0,Math.max(0,Ue)),Lt=At.slice(Math.max(0,qe));$e.value={selectionStart:Ue,selectionEnd:qe,value:At,beforeTxt:Dt,afterTxt:Lt}}function Fe(){if(xe.value==null||$e.value==null)return;const{value:Ue}=xe.value,{beforeTxt:qe,afterTxt:At,selectionStart:Dt}=$e.value;if(qe==null||At==null||Dt==null)return;let Lt=Ue.length;if(Ue.endsWith(At))Lt=Ue.length-At.length;else if(Ue.startsWith(qe))Lt=qe.length;else{const jt=qe[Dt-1],hn=Ue.indexOf(jt,Dt-1);hn!==-1&&(Lt=hn+1)}xe.value.setSelectionRange(Lt,Lt)}return[Ie,Fe]}const getOrderedChildren=(xe,$e,Ie)=>flattedChildren(xe.subTree).filter(qe=>{var At;return isVNode(qe)&&((At=qe.type)==null?void 0:At.name)===$e&&!!qe.component}).map(qe=>qe.component.uid).map(qe=>Ie[qe]).filter(qe=>!!qe),useOrderedChildren=(xe,$e)=>{const Ie={},Fe=shallowRef([]);return{children:Fe,addChild:At=>{Ie[At.uid]=At,Fe.value=getOrderedChildren(xe,$e,Ie)},removeChild:At=>{delete Ie[At],Fe.value=Fe.value.filter(Dt=>Dt.uid!==At)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const xe=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(xe.size)||"")};function useFocusController(xe,{afterFocus:$e,beforeBlur:Ie,afterBlur:Fe}={}){const Ue=getCurrentInstance(),{emit:qe}=Ue,At=shallowRef(),Dt=ref(!1),Lt=vn=>{Dt.value||(Dt.value=!0,qe("focus",vn),$e==null||$e())},jt=vn=>{var bn;isFunction$5(Ie)&&Ie(vn)||vn.relatedTarget&&((bn=At.value)!=null&&bn.contains(vn.relatedTarget))||(Dt.value=!1,qe("blur",vn),Fe==null||Fe())},hn=()=>{var vn;(vn=xe.value)==null||vn.focus()};return watch(At,vn=>{vn&&vn.setAttribute("tabindex","-1")}),useEventListener(At,"click",hn),{wrapperRef:At,isFocused:Dt,handleFocus:Lt,handleBlur:jt}}const DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:xe=>isFunction$5(xe)?!xe():!xe}}),useEmptyValues=(xe,$e)=>{let Ie=useGlobalConfig();Ie.value||(Ie=ref({}));const Fe=computed(()=>xe.emptyValues||Ie.value.emptyValues||DEFAULT_EMPTY_VALUES),Ue=computed(()=>isFunction$5(xe.valueOnClear)?xe.valueOnClear():xe.valueOnClear!==void 0?xe.valueOnClear:isFunction$5(Ie.value.valueOnClear)?Ie.value.valueOnClear():Ie.value.valueOnClear!==void 0?Ie.value.valueOnClear:$e!==void 0?$e:DEFAULT_VALUE_ON_CLEAR),qe=At=>Fe.value.includes(At);return Fe.value.includes(Ue.value),{emptyValues:Fe,valueOnClear:Ue,isEmptyValue:qe}},ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=xe=>pick(ariaProps,xe),configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(xe,$e=void 0){const Ie=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return xe?computed(()=>{var Fe,Ue;return(Ue=(Fe=Ie.value)==null?void 0:Fe[xe])!=null?Ue:$e}):Ie}function useGlobalComponentSettings(xe,$e){const Ie=useGlobalConfig(),Fe=useNamespace(xe,computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.namespace)||defaultNamespace})),Ue=useLocale(computed(()=>{var Dt;return(Dt=Ie.value)==null?void 0:Dt.locale})),qe=useZIndex(computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.zIndex)||defaultInitialZIndex})),At=computed(()=>{var Dt;return unref($e)||((Dt=Ie.value)==null?void 0:Dt.size)||""});return provideGlobalConfig(computed(()=>unref(Ie)||{})),{ns:Fe,locale:Ue,zIndex:qe,size:At}}const provideGlobalConfig=(xe,$e,Ie=!1)=>{var Fe;const Ue=!!getCurrentInstance(),qe=Ue?useGlobalConfig():void 0,At=(Fe=$e==null?void 0:$e.provide)!=null?Fe:Ue?provide:void 0;if(!At)return;const Dt=computed(()=>{const Lt=unref(xe);return qe!=null&&qe.value?mergeConfig(qe.value,Lt):Lt});return At(configProviderContextKey,Dt),At(localeContextKey,computed(()=>Dt.value.locale)),At(namespaceContextKey,computed(()=>Dt.value.namespace)),At(zIndexContextKey,computed(()=>Dt.value.zIndex)),At(SIZE_INJECTION_KEY,{size:computed(()=>Dt.value.size||"")}),(Ie||!globalConfig.value)&&(globalConfig.value=Dt.value),Dt},mergeConfig=(xe,$e)=>{const Ie=[...new Set([...keysOf(xe),...keysOf($e)])],Fe={};for(const Ue of Ie)Fe[Ue]=$e[Ue]!==void 0?$e[Ue]:xe[Ue];return Fe},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"},...useEmptyValuesProps}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(xe,{slots:$e}){watch(()=>xe.message,Fe=>{Object.assign(messageConfig,Fe??{})},{immediate:!0,deep:!0});const Ie=provideGlobalConfig(xe);return()=>renderSlot($e,"default",{config:Ie==null?void 0:Ie.value})}}),ElConfigProvider=withInstall(ConfigProvider),version="2.7.5",makeInstaller=(xe=[])=>({version,install:(Ie,Fe)=>{Ie[INSTALLED_KEY]||(Ie[INSTALLED_KEY]=!0,xe.forEach(Ue=>Ie.use(Ue)),Fe&&provideGlobalConfig(Fe,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:xe,fixed:$e})=>isNumber(xe)&&isBoolean($e),[CHANGE_EVENT]:xe=>isBoolean(xe)};var _export_sfc=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};const COMPONENT_NAME$n="ElAffix",__default__$1L=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2r=defineComponent({...__default__$1L,props:affixProps,emits:affixEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("affix"),qe=shallowRef(),At=shallowRef(),Dt=shallowRef(),{height:Lt}=useWindowSize(),{height:jt,width:hn,top:vn,bottom:bn,update:_n}=useElementBounding(At,{windowScroll:!1}),wn=useElementBounding(qe),kn=ref(!1),Cn=ref(0),Sn=ref(0),xn=computed(()=>({height:kn.value?`${jt.value}px`:"",width:kn.value?`${hn.value}px`:""})),En=computed(()=>{if(!kn.value)return{};const $n=Fe.offset?addUnit(Fe.offset):0;return{height:`${jt.value}px`,width:`${hn.value}px`,top:Fe.position==="top"?$n:"",bottom:Fe.position==="bottom"?$n:"",transform:Sn.value?`translateY(${Sn.value}px)`:"",zIndex:Fe.zIndex}}),Tn=()=>{if(Dt.value)if(Cn.value=Dt.value instanceof Window?document.documentElement.scrollTop:Dt.value.scrollTop||0,Fe.position==="top")if(Fe.target){const $n=wn.bottom.value-Fe.offset-jt.value;kn.value=Fe.offset>vn.value&&wn.bottom.value>0,Sn.value=$n<0?$n:0}else kn.value=Fe.offset>vn.value;else if(Fe.target){const $n=Lt.value-wn.top.value-Fe.offset-jt.value;kn.value=Lt.value-Fe.offset<bn.value&&Lt.value>wn.top.value,Sn.value=$n<0?-$n:0}else kn.value=Lt.value-Fe.offset<bn.value},An=()=>{_n(),Ie("scroll",{scrollTop:Cn.value,fixed:kn.value})};return watch(kn,$n=>Ie("change",$n)),onMounted(()=>{var $n;Fe.target?(qe.value=($n=document.querySelector(Fe.target))!=null?$n:void 0,qe.value||throwError(COMPONENT_NAME$n,`Target does not exist: ${Fe.target}`)):qe.value=document.documentElement,Dt.value=getScrollContainer(At.value,!0),_n()}),useEventListener(Dt,"scroll",An),watchEffect(Tn),$e({update:Tn,updateRoot:_n}),($n,Pn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:At,class:normalizeClass(unref(Ue).b()),style:normalizeStyle$1(unref(xn))},[createBaseVNode("div",{class:normalizeClass({[unref(Ue).m("fixed")]:kn.value}),style:normalizeStyle$1(unref(En))},[renderSlot($n.$slots,"default")],6)],6))}});var Affix=_export_sfc(_sfc_main$2r,[["__file","affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1K=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2q=defineComponent({...__default__$1K,props:iconProps,setup(xe){const $e=xe,Ie=useNamespace("icon"),Fe=computed(()=>{const{size:Ue,color:qe}=$e;return!Ue&&!qe?{}:{fontSize:isUndefined(Ue)?void 0:addUnit(Ue),"--color":qe}});return(Ue,qe)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(Ie).b(),style:unref(Fe)},Ue.$attrs),[renderSlot(Ue.$slots,"default")],16))}});var Icon=_export_sfc(_sfc_main$2q,[["__file","icon.vue"]]);const ElIcon=withInstall(Icon),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:xe=>xe instanceof MouseEvent},__default__$1J=defineComponent({name:"ElAlert"}),_sfc_main$2p=defineComponent({...__default__$1J,props:alertProps,emits:alertEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=TypeComponents,Ue=useSlots(),qe=useNamespace("alert"),At=ref(!0),Dt=computed(()=>TypeComponentsMap[Ie.type]),Lt=computed(()=>[qe.e("icon"),{[qe.is("big")]:!!Ie.description||!!Ue.default}]),jt=computed(()=>({"with-description":Ie.description||Ue.default})),hn=vn=>{At.value=!1,$e("close",vn)};return(vn,bn)=>(openBlock(),createBlock(Transition,{name:unref(qe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(vn.type),unref(qe).is("center",vn.center),unref(qe).is(vn.effect)]),role:"alert"},[vn.showIcon&&unref(Dt)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Lt))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dt))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).e("content"))},[vn.title||vn.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(qe).e("title"),unref(jt)])},[renderSlot(vn.$slots,"title",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],2)):createCommentVNode("v-if",!0),vn.$slots.default||vn.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(qe).e("description"))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.description),1)])],2)):createCommentVNode("v-if",!0),vn.closable?(openBlock(),createElementBlock(Fragment,{key:2},[vn.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(qe).e("close-btn"),unref(qe).is("customed")]),onClick:hn},toDisplayString(vn.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).e("close-btn")),onClick:hn},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,At.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc(_sfc_main$2p,[["__file","alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(xe,$e={})=>{const Ie=ref(void 0),Fe=$e.prop?Ie:useProp("size"),Ue=$e.global?Ie:useGlobalSize(),qe=$e.form?{size:void 0}:inject(formContextKey,void 0),At=$e.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>Fe.value||unref(xe)||(At==null?void 0:At.size)||(qe==null?void 0:qe.size)||Ue.value||"")},useFormDisabled=xe=>{const $e=useProp("disabled"),Ie=inject(formContextKey,void 0);return computed(()=>$e.value||unref(xe)||(Ie==null?void 0:Ie.disabled)||!1)},useFormItem=()=>{const xe=inject(formContextKey,void 0),$e=inject(formItemContextKey,void 0);return{form:xe,formItem:$e}},useFormItemInputId=(xe,{formItemContext:$e,disableIdGeneration:Ie,disableIdManagement:Fe})=>{Ie||(Ie=ref(!1)),Fe||(Fe=ref(!1));const Ue=ref();let qe;const At=computed(()=>{var Dt;return!!(!(xe.label||xe.ariaLabel)&&$e&&$e.inputIds&&((Dt=$e.inputIds)==null?void 0:Dt.length)<=1)});return onMounted(()=>{qe=watch([toRef(xe,"id"),Ie],([Dt,Lt])=>{const jt=Dt??(Lt?void 0:useId().value);jt!==Ue.value&&($e!=null&&$e.removeInputId&&(Ue.value&&$e.removeInputId(Ue.value),!(Fe!=null&&Fe.value)&&!Lt&&jt&&$e.addInputId(jt)),Ue.value=jt)},{immediate:!0})}),onUnmounted(()=>{qe&&qe(),$e!=null&&$e.removeInputId&&Ue.value&&$e.removeInputId(Ue.value)}),{isLabeledByFormItem:At,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:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(xe,$e,Ie)=>(isArray$6(xe)||isString$4(xe))&&isBoolean($e)&&isString$4(Ie)};function useFormLabelWidth(){const xe=ref([]),$e=computed(()=>{if(!xe.value.length)return"0";const qe=Math.max(...xe.value);return qe?`${qe}px`:""});function Ie(qe){const At=xe.value.indexOf(qe);return At===-1&&$e.value,At}function Fe(qe,At){if(qe&&At){const Dt=Ie(At);xe.value.splice(Dt,1,qe)}else qe&&xe.value.push(qe)}function Ue(qe){const At=Ie(qe);At>-1&&xe.value.splice(At,1)}return{autoLabelWidth:$e,registerLabelWidth:Fe,deregisterLabelWidth:Ue}}const filterFields=(xe,$e)=>{const Ie=castArray$1($e);return Ie.length>0?xe.filter(Fe=>Fe.prop&&Ie.includes(Fe.prop)):xe},COMPONENT_NAME$m="ElForm",__default__$1I=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2o=defineComponent({...__default__$1I,props:formProps,emits:formEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=[],qe=useFormSize(),At=useNamespace("form"),Dt=computed(()=>{const{labelPosition:En,inline:Tn}=Fe;return[At.b(),At.m(qe.value||"default"),{[At.m(`label-${En}`)]:En,[At.m("inline")]:Tn}]}),Lt=En=>Ue.find(Tn=>Tn.prop===En),jt=En=>{Ue.push(En)},hn=En=>{En.prop&&Ue.splice(Ue.indexOf(En),1)},vn=(En=[])=>{Fe.model&&filterFields(Ue,En).forEach(Tn=>Tn.resetField())},bn=(En=[])=>{filterFields(Ue,En).forEach(Tn=>Tn.clearValidate())},_n=computed(()=>!!Fe.model),wn=En=>{if(Ue.length===0)return[];const Tn=filterFields(Ue,En);return Tn.length?Tn:[]},kn=async En=>Sn(void 0,En),Cn=async(En=[])=>{if(!_n.value)return!1;const Tn=wn(En);if(Tn.length===0)return!0;let An={};for(const $n of Tn)try{await $n.validate("")}catch(Pn){An={...An,...Pn}}return Object.keys(An).length===0?!0:Promise.reject(An)},Sn=async(En=[],Tn)=>{const An=!isFunction$5(Tn);try{const $n=await Cn(En);return $n===!0&&await(Tn==null?void 0:Tn($n)),$n}catch($n){if($n instanceof Error)throw $n;const Pn=$n;return Fe.scrollToError&&xn(Object.keys(Pn)[0]),await(Tn==null?void 0:Tn(!1,Pn)),An&&Promise.reject(Pn)}},xn=En=>{var Tn;const An=filterFields(Ue,En)[0];An&&((Tn=An.$el)==null||Tn.scrollIntoView(Fe.scrollIntoViewOptions))};return watch(()=>Fe.rules,()=>{Fe.validateOnRuleChange&&kn().catch(En=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(Fe),emit:Ie,resetFields:vn,clearValidate:bn,validateField:Sn,getField:Lt,addField:jt,removeField:hn,...useFormLabelWidth()})),$e({validate:kn,validateField:Sn,resetFields:vn,clearValidate:bn,scrollToField:xn,fields:Ue}),(En,Tn)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(Dt))},[renderSlot(En.$slots,"default")],2))}});var Form=_export_sfc(_sfc_main$2o,[["__file","form.vue"]]),define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(xe){for(var $e=1;$e<arguments.length;$e++){var Ie=arguments[$e];for(var Fe in Ie)Object.prototype.hasOwnProperty.call(Ie,Fe)&&(xe[Fe]=Ie[Fe])}return xe},_extends.apply(this,arguments)}function _inheritsLoose(xe,$e){xe.prototype=Object.create($e.prototype),xe.prototype.constructor=xe,_setPrototypeOf(xe,$e)}function _getPrototypeOf(xe){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Ie){return Ie.__proto__||Object.getPrototypeOf(Ie)},_getPrototypeOf(xe)}function _setPrototypeOf(xe,$e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Fe,Ue){return Fe.__proto__=Ue,Fe},_setPrototypeOf(xe,$e)}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(xe,$e,Ie){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(Ue,qe,At){var Dt=[null];Dt.push.apply(Dt,qe);var Lt=Function.bind.apply(Ue,Dt),jt=new Lt;return At&&_setPrototypeOf(jt,At.prototype),jt},_construct.apply(null,arguments)}function _isNativeFunction(xe){return Function.toString.call(xe).indexOf("[native code]")!==-1}function _wrapNativeSuper(xe){var $e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Fe){if(Fe===null||!_isNativeFunction(Fe))return Fe;if(typeof Fe!="function")throw new TypeError("Super expression must either be null or a function");if(typeof $e<"u"){if($e.has(Fe))return $e.get(Fe);$e.set(Fe,Ue)}function Ue(){return _construct(Fe,arguments,_getPrototypeOf(this).constructor)}return Ue.prototype=Object.create(Fe.prototype,{constructor:{value:Ue,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Ue,Fe)},_wrapNativeSuper(xe)}var formatRegExp=/%[sdj%]/g,warning=function xe(){};typeof process<"u";function convertFieldsError(xe){if(!xe||!xe.length)return null;var $e={};return xe.forEach(function(Ie){var Fe=Ie.field;$e[Fe]=$e[Fe]||[],$e[Fe].push(Ie)}),$e}function format(xe){for(var $e=arguments.length,Ie=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)Ie[Fe-1]=arguments[Fe];var Ue=0,qe=Ie.length;if(typeof xe=="function")return xe.apply(null,Ie);if(typeof xe=="string"){var At=xe.replace(formatRegExp,function(Dt){if(Dt==="%%")return"%";if(Ue>=qe)return Dt;switch(Dt){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 Dt}});return At}return xe}function isNativeStringType(xe){return xe==="string"||xe==="url"||xe==="hex"||xe==="email"||xe==="date"||xe==="pattern"}function isEmptyValue(xe,$e){return!!(xe==null||$e==="array"&&Array.isArray(xe)&&!xe.length||isNativeStringType($e)&&typeof xe=="string"&&!xe)}function asyncParallelArray(xe,$e,Ie){var Fe=[],Ue=0,qe=xe.length;function At(Dt){Fe.push.apply(Fe,Dt||[]),Ue++,Ue===qe&&Ie(Fe)}xe.forEach(function(Dt){$e(Dt,At)})}function asyncSerialArray(xe,$e,Ie){var Fe=0,Ue=xe.length;function qe(At){if(At&&At.length){Ie(At);return}var Dt=Fe;Fe=Fe+1,Dt<Ue?$e(xe[Dt],qe):Ie([])}qe([])}function flattenObjArr(xe){var $e=[];return Object.keys(xe).forEach(function(Ie){$e.push.apply($e,xe[Ie]||[])}),$e}var AsyncValidationError=function(xe){_inheritsLoose($e,xe);function $e(Ie,Fe){var Ue;return Ue=xe.call(this,"Async Validation Error")||this,Ue.errors=Ie,Ue.fields=Fe,Ue}return $e}(_wrapNativeSuper(Error));function asyncMap(xe,$e,Ie,Fe,Ue){if($e.first){var qe=new Promise(function(bn,_n){var wn=function(Sn){return Fe(Sn),Sn.length?_n(new AsyncValidationError(Sn,convertFieldsError(Sn))):bn(Ue)},kn=flattenObjArr(xe);asyncSerialArray(kn,Ie,wn)});return qe.catch(function(bn){return bn}),qe}var At=$e.firstFields===!0?Object.keys(xe):$e.firstFields||[],Dt=Object.keys(xe),Lt=Dt.length,jt=0,hn=[],vn=new Promise(function(bn,_n){var wn=function(Cn){if(hn.push.apply(hn,Cn),jt++,jt===Lt)return Fe(hn),hn.length?_n(new AsyncValidationError(hn,convertFieldsError(hn))):bn(Ue)};Dt.length||(Fe(hn),bn(Ue)),Dt.forEach(function(kn){var Cn=xe[kn];At.indexOf(kn)!==-1?asyncSerialArray(Cn,Ie,wn):asyncParallelArray(Cn,Ie,wn)})});return vn.catch(function(bn){return bn}),vn}function isErrorObj(xe){return!!(xe&&xe.message!==void 0)}function getValue(xe,$e){for(var Ie=xe,Fe=0;Fe<$e.length;Fe++){if(Ie==null)return Ie;Ie=Ie[$e[Fe]]}return Ie}function complementError(xe,$e){return function(Ie){var Fe;return xe.fullFields?Fe=getValue($e,xe.fullFields):Fe=$e[Ie.field||xe.fullField],isErrorObj(Ie)?(Ie.field=Ie.field||xe.fullField,Ie.fieldValue=Fe,Ie):{message:typeof Ie=="function"?Ie():Ie,fieldValue:Fe,field:Ie.field||xe.fullField}}}function deepMerge(xe,$e){if($e){for(var Ie in $e)if($e.hasOwnProperty(Ie)){var Fe=$e[Ie];typeof Fe=="object"&&typeof xe[Ie]=="object"?xe[Ie]=_extends({},xe[Ie],Fe):xe[Ie]=Fe}}return xe}var required$1=function xe($e,Ie,Fe,Ue,qe,At){$e.required&&(!Fe.hasOwnProperty($e.field)||isEmptyValue(Ie,At||$e.type))&&Ue.push(format(qe.messages.required,$e.fullField))},whitespace=function xe($e,Ie,Fe,Ue,qe){(/^\s+$/.test(Ie)||Ie==="")&&Ue.push(format(qe.messages.whitespace,$e.fullField))},urlReg,getUrlRegex=function(){if(urlReg)return urlReg;var xe="[a-fA-F\\d:]",$e=function(Tn){return Tn&&Tn.includeBoundaries?"(?:(?<=\\s|^)(?="+xe+")|(?<="+xe+")(?=\\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}",Fe="[a-fA-F\\d]{1,4}",Ue=(`
(?:
(?:`+Fe+":){7}(?:"+Fe+`|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8
(?:`+Fe+":){6}(?:"+Ie+"|:"+Fe+`|:)|                             // 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
(?:`+Fe+":){5}(?::"+Ie+"|(?::"+Fe+`){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
(?:`+Fe+":){4}(?:(?::"+Fe+"){0,1}:"+Ie+"|(?::"+Fe+`){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
(?:`+Fe+":){3}(?:(?::"+Fe+"){0,2}:"+Ie+"|(?::"+Fe+`){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
(?:`+Fe+":){2}(?:(?::"+Fe+"){0,3}:"+Ie+"|(?::"+Fe+`){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4
(?:`+Fe+":){1}(?:(?::"+Fe+"){0,4}:"+Ie+"|(?::"+Fe+`){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+Fe+"){0,5}:"+Ie+"|(?::"+Fe+`){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(),qe=new RegExp("(?:^"+Ie+"$)|(?:^"+Ue+"$)"),At=new RegExp("^"+Ie+"$"),Dt=new RegExp("^"+Ue+"$"),Lt=function(Tn){return Tn&&Tn.exact?qe:new RegExp("(?:"+$e(Tn)+Ie+$e(Tn)+")|(?:"+$e(Tn)+Ue+$e(Tn)+")","g")};Lt.v4=function(En){return En&&En.exact?At:new RegExp(""+$e(En)+Ie+$e(En),"g")},Lt.v6=function(En){return En&&En.exact?Dt:new RegExp(""+$e(En)+Ue+$e(En),"g")};var jt="(?:(?:[a-z]+:)?//)",hn="(?:\\S+(?::\\S*)?@)?",vn=Lt.v4().source,bn=Lt.v6().source,_n="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",wn="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",kn="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Cn="(?::\\d{2,5})?",Sn='(?:[/?#][^\\s"]*)?',xn="(?:"+jt+"|www\\.)"+hn+"(?:localhost|"+vn+"|"+bn+"|"+_n+wn+kn+")"+Cn+Sn;return urlReg=new RegExp("(?:^"+xn+"$)","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={integer:function xe($e){return types.number($e)&&parseInt($e,10)===$e},float:function xe($e){return types.number($e)&&!types.integer($e)},array:function xe($e){return Array.isArray($e)},regexp:function xe($e){if($e instanceof RegExp)return!0;try{return!!new RegExp($e)}catch{return!1}},date:function xe($e){return typeof $e.getTime=="function"&&typeof $e.getMonth=="function"&&typeof $e.getYear=="function"&&!isNaN($e.getTime())},number:function xe($e){return isNaN($e)?!1:typeof $e=="number"},object:function xe($e){return typeof $e=="object"&&!types.array($e)},method:function xe($e){return typeof $e=="function"},email:function xe($e){return typeof $e=="string"&&$e.length<=320&&!!$e.match(pattern$2.email)},url:function xe($e){return typeof $e=="string"&&$e.length<=2048&&!!$e.match(getUrlRegex())},hex:function xe($e){return typeof $e=="string"&&!!$e.match(pattern$2.hex)}},type$1=function xe($e,Ie,Fe,Ue,qe){if($e.required&&Ie===void 0){required$1($e,Ie,Fe,Ue,qe);return}var At=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Dt=$e.type;At.indexOf(Dt)>-1?types[Dt](Ie)||Ue.push(format(qe.messages.types[Dt],$e.fullField,$e.type)):Dt&&typeof Ie!==$e.type&&Ue.push(format(qe.messages.types[Dt],$e.fullField,$e.type))},range=function xe($e,Ie,Fe,Ue,qe){var At=typeof $e.len=="number",Dt=typeof $e.min=="number",Lt=typeof $e.max=="number",jt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=Ie,vn=null,bn=typeof Ie=="number",_n=typeof Ie=="string",wn=Array.isArray(Ie);if(bn?vn="number":_n?vn="string":wn&&(vn="array"),!vn)return!1;wn&&(hn=Ie.length),_n&&(hn=Ie.replace(jt,"_").length),At?hn!==$e.len&&Ue.push(format(qe.messages[vn].len,$e.fullField,$e.len)):Dt&&!Lt&&hn<$e.min?Ue.push(format(qe.messages[vn].min,$e.fullField,$e.min)):Lt&&!Dt&&hn>$e.max?Ue.push(format(qe.messages[vn].max,$e.fullField,$e.max)):Dt&&Lt&&(hn<$e.min||hn>$e.max)&&Ue.push(format(qe.messages[vn].range,$e.fullField,$e.min,$e.max))},ENUM$1="enum",enumerable$1=function xe($e,Ie,Fe,Ue,qe){$e[ENUM$1]=Array.isArray($e[ENUM$1])?$e[ENUM$1]:[],$e[ENUM$1].indexOf(Ie)===-1&&Ue.push(format(qe.messages[ENUM$1],$e.fullField,$e[ENUM$1].join(", ")))},pattern$1=function xe($e,Ie,Fe,Ue,qe){if($e.pattern){if($e.pattern instanceof RegExp)$e.pattern.lastIndex=0,$e.pattern.test(Ie)||Ue.push(format(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern));else if(typeof $e.pattern=="string"){var At=new RegExp($e.pattern);At.test(Ie)||Ue.push(format(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"string"),isEmptyValue(Ie,"string")||(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe),rules.pattern($e,Ie,Ue,At,qe),$e.whitespace===!0&&rules.whitespace($e,Ie,Ue,At,qe))}Fe(At)},method2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},number2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie===""&&(Ie=void 0),isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},_boolean=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},regexp2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue(Ie)||rules.type($e,Ie,Ue,At,qe)}Fe(At)},integer2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},floatFn=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},array2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie==null&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"array"),Ie!=null&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},object2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},ENUM="enum",enumerable2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules[ENUM]($e,Ie,Ue,At,qe)}Fe(At)},pattern2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue(Ie,"string")||rules.pattern($e,Ie,Ue,At,qe)}Fe(At)},date2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie,"date")&&!$e.required)return Fe();if(rules.required($e,Ie,Ue,At,qe),!isEmptyValue(Ie,"date")){var Lt;Ie instanceof Date?Lt=Ie:Lt=new Date(Ie),rules.type($e,Lt,Ue,At,qe),Lt&&rules.range($e,Lt.getTime(),Ue,At,qe)}}Fe(At)},required2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=Array.isArray(Ie)?"array":typeof Ie;rules.required($e,Ie,Ue,At,qe,Dt),Fe(At)},type2=function xe($e,Ie,Fe,Ue,qe){var At=$e.type,Dt=[],Lt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Lt){if(isEmptyValue(Ie,At)&&!$e.required)return Fe();rules.required($e,Ie,Ue,Dt,qe,At),isEmptyValue(Ie,At)||rules.type($e,Ie,Ue,Dt,qe)}Fe(Dt)},any=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe)}Fe(At)},validators={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,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 $e=JSON.parse(JSON.stringify(this));return $e.clone=this.clone,$e}}}var messages=newMessages(),Schema=function(){function xe(Ie){this.rules=null,this._messages=messages,this.define(Ie)}var $e=xe.prototype;return $e.define=function(Fe){var Ue=this;if(!Fe)throw new Error("Cannot configure a schema with no rules");if(typeof Fe!="object"||Array.isArray(Fe))throw new Error("Rules must be an object");this.rules={},Object.keys(Fe).forEach(function(qe){var At=Fe[qe];Ue.rules[qe]=Array.isArray(At)?At:[At]})},$e.messages=function(Fe){return Fe&&(this._messages=deepMerge(newMessages(),Fe)),this._messages},$e.validate=function(Fe,Ue,qe){var At=this;Ue===void 0&&(Ue={}),qe===void 0&&(qe=function(){});var Dt=Fe,Lt=Ue,jt=qe;if(typeof Lt=="function"&&(jt=Lt,Lt={}),!this.rules||Object.keys(this.rules).length===0)return jt&&jt(null,Dt),Promise.resolve(Dt);function hn(kn){var Cn=[],Sn={};function xn(Tn){if(Array.isArray(Tn)){var An;Cn=(An=Cn).concat.apply(An,Tn)}else Cn.push(Tn)}for(var En=0;En<kn.length;En++)xn(kn[En]);Cn.length?(Sn=convertFieldsError(Cn),jt(Cn,Sn)):jt(null,Dt)}if(Lt.messages){var vn=this.messages();vn===messages&&(vn=newMessages()),deepMerge(vn,Lt.messages),Lt.messages=vn}else Lt.messages=this.messages();var bn={},_n=Lt.keys||Object.keys(this.rules);_n.forEach(function(kn){var Cn=At.rules[kn],Sn=Dt[kn];Cn.forEach(function(xn){var En=xn;typeof En.transform=="function"&&(Dt===Fe&&(Dt=_extends({},Dt)),Sn=Dt[kn]=En.transform(Sn)),typeof En=="function"?En={validator:En}:En=_extends({},En),En.validator=At.getValidationMethod(En),En.validator&&(En.field=kn,En.fullField=En.fullField||kn,En.type=At.getType(En),bn[kn]=bn[kn]||[],bn[kn].push({rule:En,value:Sn,source:Dt,field:kn}))})});var wn={};return asyncMap(bn,Lt,function(kn,Cn){var Sn=kn.rule,xn=(Sn.type==="object"||Sn.type==="array")&&(typeof Sn.fields=="object"||typeof Sn.defaultField=="object");xn=xn&&(Sn.required||!Sn.required&&kn.value),Sn.field=kn.field;function En($n,Pn){return _extends({},Pn,{fullField:Sn.fullField+"."+$n,fullFields:Sn.fullFields?[].concat(Sn.fullFields,[$n]):[$n]})}function Tn($n){$n===void 0&&($n=[]);var Pn=Array.isArray($n)?$n:[$n];!Lt.suppressWarning&&Pn.length&&xe.warning("async-validator:",Pn),Pn.length&&Sn.message!==void 0&&(Pn=[].concat(Sn.message));var Nn=Pn.map(complementError(Sn,Dt));if(Lt.first&&Nn.length)return wn[Sn.field]=1,Cn(Nn);if(!xn)Cn(Nn);else{if(Sn.required&&!kn.value)return Sn.message!==void 0?Nn=[].concat(Sn.message).map(complementError(Sn,Dt)):Lt.error&&(Nn=[Lt.error(Sn,format(Lt.messages.required,Sn.field))]),Cn(Nn);var Mn={};Sn.defaultField&&Object.keys(kn.value).map(function(Rn){Mn[Rn]=Sn.defaultField}),Mn=_extends({},Mn,kn.rule.fields);var In={};Object.keys(Mn).forEach(function(Rn){var Bn=Mn[Rn],Vn=Array.isArray(Bn)?Bn:[Bn];In[Rn]=Vn.map(En.bind(null,Rn))});var On=new xe(In);On.messages(Lt.messages),kn.rule.options&&(kn.rule.options.messages=Lt.messages,kn.rule.options.error=Lt.error),On.validate(kn.value,kn.rule.options||Lt,function(Rn){var Bn=[];Nn&&Nn.length&&Bn.push.apply(Bn,Nn),Rn&&Rn.length&&Bn.push.apply(Bn,Rn),Cn(Bn.length?Bn:null)})}}var An;if(Sn.asyncValidator)An=Sn.asyncValidator(Sn,kn.value,Tn,kn.source,Lt);else if(Sn.validator){try{An=Sn.validator(Sn,kn.value,Tn,kn.source,Lt)}catch($n){console.error==null||console.error($n),Lt.suppressValidatorError||setTimeout(function(){throw $n},0),Tn($n.message)}An===!0?Tn():An===!1?Tn(typeof Sn.message=="function"?Sn.message(Sn.fullField||Sn.field):Sn.message||(Sn.fullField||Sn.field)+" fails"):An instanceof Array?Tn(An):An instanceof Error&&Tn(An.message)}An&&An.then&&An.then(function(){return Tn()},function($n){return Tn($n)})},function(kn){hn(kn)},Dt)},$e.getType=function(Fe){if(Fe.type===void 0&&Fe.pattern instanceof RegExp&&(Fe.type="pattern"),typeof Fe.validator!="function"&&Fe.type&&!validators.hasOwnProperty(Fe.type))throw new Error(format("Unknown rule type %s",Fe.type));return Fe.type||"string"},$e.getValidationMethod=function(Fe){if(typeof Fe.validator=="function")return Fe.validator;var Ue=Object.keys(Fe),qe=Ue.indexOf("message");return qe!==-1&&Ue.splice(qe,1),Ue.length===1&&Ue[0]==="required"?validators.required:validators[this.getType(Fe)]||void 0},xe}();Schema.register=function xe($e,Ie){if(typeof Ie!="function")throw new Error("Cannot register a validator by type, validator is not a function");validators[$e]=Ie};Schema.warning=warning;Schema.messages=messages;Schema.validators=validators;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(xe,{slots:$e}){const Ie=inject(formContextKey,void 0),Fe=inject(formItemContextKey);Fe||throwError(COMPONENT_NAME$l,"usage: <el-form-item><label-wrap /></el-form-item>");const Ue=useNamespace("form"),qe=ref(),At=ref(0),Dt=()=>{var hn;if((hn=qe.value)!=null&&hn.firstElementChild){const vn=window.getComputedStyle(qe.value.firstElementChild).width;return Math.ceil(Number.parseFloat(vn))}else return 0},Lt=(hn="update")=>{nextTick(()=>{$e.default&&xe.isAutoWidth&&(hn==="update"?At.value=Dt():hn==="remove"&&(Ie==null||Ie.deregisterLabelWidth(At.value)))})},jt=()=>Lt("update");return onMounted(()=>{jt()}),onBeforeUnmount(()=>{Lt("remove")}),onUpdated(()=>jt()),watch(At,(hn,vn)=>{xe.updateAll&&(Ie==null||Ie.registerLabelWidth(hn,vn))}),useResizeObserver(computed(()=>{var hn,vn;return(vn=(hn=qe.value)==null?void 0:hn.firstElementChild)!=null?vn:null}),jt),()=>{var hn,vn;if(!$e)return null;const{isAutoWidth:bn}=xe;if(bn){const _n=Ie==null?void 0:Ie.autoLabelWidth,wn=Fe==null?void 0:Fe.hasLabel,kn={};if(wn&&_n&&_n!=="auto"){const Cn=Math.max(0,Number.parseInt(_n,10)-At.value),Sn=Ie.labelPosition==="left"?"marginRight":"marginLeft";Cn&&(kn[Sn]=`${Cn}px`)}return createVNode$1("div",{ref:qe,class:[Ue.be("item","label-wrap")],style:kn},[(hn=$e.default)==null?void 0:hn.call($e)])}else return createVNode$1(Fragment,{ref:qe},[(vn=$e.default)==null?void 0:vn.call($e)])}}});const _hoisted_1$18=["role","aria-labelledby"],__default__$1H=defineComponent({name:"ElFormItem"}),_sfc_main$2n=defineComponent({...__default__$1H,props:formItemProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots(),Ue=inject(formContextKey,void 0),qe=inject(formItemContextKey,void 0),At=useFormSize(void 0,{formItem:!1}),Dt=useNamespace("form-item"),Lt=useId().value,jt=ref([]),hn=ref(""),vn=refDebounced(hn,100),bn=ref(""),_n=ref();let wn,kn=!1;const Cn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top")return{};const qn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return qn?{width:qn}:{}}),Sn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top"||Ue!=null&&Ue.inline)return{};if(!Ie.label&&!Ie.labelWidth&&Mn)return{};const qn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return!Ie.label&&!Fe.label?{marginLeft:qn}:{}}),xn=computed(()=>[Dt.b(),Dt.m(At.value),Dt.is("error",hn.value==="error"),Dt.is("validating",hn.value==="validating"),Dt.is("success",hn.value==="success"),Dt.is("required",Vn.value||Ie.required),Dt.is("no-asterisk",Ue==null?void 0:Ue.hideRequiredAsterisk),(Ue==null?void 0:Ue.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[Dt.m("feedback")]:Ue==null?void 0:Ue.statusIcon}]),En=computed(()=>isBoolean(Ie.inlineMessage)?Ie.inlineMessage:(Ue==null?void 0:Ue.inlineMessage)||!1),Tn=computed(()=>[Dt.e("error"),{[Dt.em("error","inline")]:En.value}]),An=computed(()=>Ie.prop?isString$4(Ie.prop)?Ie.prop:Ie.prop.join("."):""),$n=computed(()=>!!(Ie.label||Fe.label)),Pn=computed(()=>Ie.for||(jt.value.length===1?jt.value[0]:void 0)),Nn=computed(()=>!Pn.value&&$n.value),Mn=!!qe,In=computed(()=>{const qn=Ue==null?void 0:Ue.model;if(!(!qn||!Ie.prop))return getProp(qn,Ie.prop).value}),On=computed(()=>{const{required:qn}=Ie,Yn=[];Ie.rules&&Yn.push(...castArray$1(Ie.rules));const ar=Ue==null?void 0:Ue.rules;if(ar&&Ie.prop){const tr=getProp(ar,Ie.prop).value;tr&&Yn.push(...castArray$1(tr))}if(qn!==void 0){const tr=Yn.map((or,sr)=>[or,sr]).filter(([or])=>Object.keys(or).includes("required"));if(tr.length>0)for(const[or,sr]of tr)or.required!==qn&&(Yn[sr]={...or,required:qn});else Yn.push({required:qn})}return Yn}),Rn=computed(()=>On.value.length>0),Bn=qn=>On.value.filter(ar=>!ar.trigger||!qn?!0:Array.isArray(ar.trigger)?ar.trigger.includes(qn):ar.trigger===qn).map(({trigger:ar,...tr})=>tr),Vn=computed(()=>On.value.some(qn=>qn.required)),Ln=computed(()=>{var qn;return vn.value==="error"&&Ie.showMessage&&((qn=Ue==null?void 0:Ue.showMessage)!=null?qn:!0)}),Dn=computed(()=>`${Ie.label||""}${(Ue==null?void 0:Ue.labelSuffix)||""}`),Hn=qn=>{hn.value=qn},Fn=qn=>{var Yn,ar;const{errors:tr,fields:or}=qn;(!tr||!or)&&console.error(qn),Hn("error"),bn.value=tr?(ar=(Yn=tr==null?void 0:tr[0])==null?void 0:Yn.message)!=null?ar:`${Ie.prop} is required`:"",Ue==null||Ue.emit("validate",Ie.prop,!1,bn.value)},zn=()=>{Hn("success"),Ue==null||Ue.emit("validate",Ie.prop,!0,"")},jn=async qn=>{const Yn=An.value;return new Schema({[Yn]:qn}).validate({[Yn]:In.value},{firstFields:!0}).then(()=>(zn(),!0)).catch(tr=>(Fn(tr),Promise.reject(tr)))},Gn=async(qn,Yn)=>{if(kn||!Ie.prop)return!1;const ar=isFunction$5(Yn);if(!Rn.value)return Yn==null||Yn(!1),!1;const tr=Bn(qn);return tr.length===0?(Yn==null||Yn(!0),!0):(Hn("validating"),jn(tr).then(()=>(Yn==null||Yn(!0),!0)).catch(or=>{const{fields:sr}=or;return Yn==null||Yn(!1,sr),ar?!1:Promise.reject(sr)}))},Wn=()=>{Hn(""),bn.value="",kn=!1},Xn=async()=>{const qn=Ue==null?void 0:Ue.model;if(!qn||!Ie.prop)return;const Yn=getProp(qn,Ie.prop);kn=!0,Yn.value=clone$5(wn),await nextTick(),Wn(),kn=!1},er=qn=>{jt.value.includes(qn)||jt.value.push(qn)},rr=qn=>{jt.value=jt.value.filter(Yn=>Yn!==qn)};watch(()=>Ie.error,qn=>{bn.value=qn||"",Hn(qn?"error":"")},{immediate:!0}),watch(()=>Ie.validateStatus,qn=>Hn(qn||""));const Jn=reactive({...toRefs(Ie),$el:_n,size:At,validateState:hn,labelId:Lt,inputIds:jt,isGroup:Nn,hasLabel:$n,fieldValue:In,addInputId:er,removeInputId:rr,resetField:Xn,clearValidate:Wn,validate:Gn});return provide(formItemContextKey,Jn),onMounted(()=>{Ie.prop&&(Ue==null||Ue.addField(Jn),wn=clone$5(In.value))}),onBeforeUnmount(()=>{Ue==null||Ue.removeField(Jn)}),$e({size:At,validateMessage:bn,validateState:hn,validate:Gn,clearValidate:Wn,resetField:Xn}),(qn,Yn)=>{var ar;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:_n,class:normalizeClass(unref(xn)),role:unref(Nn)?"group":void 0,"aria-labelledby":unref(Nn)?unref(Lt):void 0},[createVNode$1(unref(FormLabelWrap),{"is-auto-width":unref(Cn).width==="auto","update-all":((ar=unref(Ue))==null?void 0:ar.labelWidth)==="auto"},{default:withCtx(()=>[unref($n)?(openBlock(),createBlock(resolveDynamicComponent(unref(Pn)?"label":"div"),{key:0,id:unref(Lt),for:unref(Pn),class:normalizeClass(unref(Dt).e("label")),style:normalizeStyle$1(unref(Cn))},{default:withCtx(()=>[renderSlot(qn.$slots,"label",{label:unref(Dn)},()=>[createTextVNode(toDisplayString(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(Dt).e("content")),style:normalizeStyle$1(unref(Sn))},[renderSlot(qn.$slots,"default"),createVNode$1(TransitionGroup,{name:`${unref(Dt).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Ln)?renderSlot(qn.$slots,"error",{key:0,error:bn.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Tn))},toDisplayString(bn.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$18)}}});var FormItem=_export_sfc(_sfc_main$2n,[["__file","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(xe){const $e=window.getComputedStyle(xe),Ie=$e.getPropertyValue("box-sizing"),Fe=Number.parseFloat($e.getPropertyValue("padding-bottom"))+Number.parseFloat($e.getPropertyValue("padding-top")),Ue=Number.parseFloat($e.getPropertyValue("border-bottom-width"))+Number.parseFloat($e.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(At=>`${At}:${$e.getPropertyValue(At)}`).join(";"),paddingSize:Fe,borderSize:Ue,boxSizing:Ie}}function calcTextareaHeight(xe,$e=1,Ie){var Fe;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:Ue,borderSize:qe,boxSizing:At,contextStyle:Dt}=calculateNodeStyling(xe);hiddenTextarea.setAttribute("style",`${Dt};${HIDDEN_STYLE}`),hiddenTextarea.value=xe.value||xe.placeholder||"";let Lt=hiddenTextarea.scrollHeight;const jt={};At==="border-box"?Lt=Lt+qe:At==="content-box"&&(Lt=Lt-Ue),hiddenTextarea.value="";const hn=hiddenTextarea.scrollHeight-Ue;if(isNumber($e)){let vn=hn*$e;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.max(vn,Lt),jt.minHeight=`${vn}px`}if(isNumber(Ie)){let vn=hn*Ie;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.min(vn,Lt)}return jt.height=`${Lt}px`,(Fe=hiddenTextarea.parentNode)==null||Fe.removeChild(hiddenTextarea),hiddenTextarea=void 0,jt}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type: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({})},autofocus:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),input:xe=>isString$4(xe),change:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,mouseleave:xe=>xe instanceof MouseEvent,mouseenter:xe=>xe instanceof MouseEvent,keydown:xe=>xe instanceof Event,compositionstart:xe=>xe instanceof CompositionEvent,compositionupdate:xe=>xe instanceof CompositionEvent,compositionend:xe=>xe instanceof CompositionEvent},_hoisted_1$17=["role"],_hoisted_2$J=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],_hoisted_3$l=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],__default__$1G=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2m=defineComponent({...__default__$1G,props:inputProps,emits:inputEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),qe=useSlots(),At=computed(()=>{const vr={};return Fe.containerRole==="combobox"&&(vr["aria-haspopup"]=Ue["aria-haspopup"],vr["aria-owns"]=Ue["aria-owns"],vr["aria-expanded"]=Ue["aria-expanded"]),vr}),Dt=computed(()=>[Fe.type==="textarea"?Cn.b():kn.b(),kn.m(_n.value),kn.is("disabled",wn.value),kn.is("exceed",er.value),{[kn.b("group")]:qe.prepend||qe.append,[kn.bm("group","append")]:qe.append,[kn.bm("group","prepend")]:qe.prepend,[kn.m("prefix")]:qe.prefix||Fe.prefixIcon,[kn.m("suffix")]:qe.suffix||Fe.suffixIcon||Fe.clearable||Fe.showPassword,[kn.bm("suffix","password-clear")]:jn.value&&Gn.value,[kn.b("hidden")]:Fe.type==="hidden"},Ue.class]),Lt=computed(()=>[kn.e("wrapper"),kn.is("focus",In.value)]),jt=useAttrs({excludeKeys:computed(()=>Object.keys(At.value))}),{form:hn,formItem:vn}=useFormItem(),{inputId:bn}=useFormItemInputId(Fe,{formItemContext:vn}),_n=useFormSize(),wn=useFormDisabled(),kn=useNamespace("input"),Cn=useNamespace("textarea"),Sn=shallowRef(),xn=shallowRef(),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(),Pn=shallowRef(Fe.inputStyle),Nn=computed(()=>Sn.value||xn.value),{wrapperRef:Mn,isFocused:In,handleFocus:On,handleBlur:Rn}=useFocusController(Nn,{afterBlur(){var vr;Fe.validateEvent&&((vr=vn==null?void 0:vn.validate)==null||vr.call(vn,"blur").catch(xr=>void 0))}}),Bn=computed(()=>{var vr;return(vr=hn==null?void 0:hn.statusIcon)!=null?vr:!1}),Vn=computed(()=>(vn==null?void 0:vn.validateState)||""),Ln=computed(()=>Vn.value&&ValidateComponentsMap[Vn.value]),Dn=computed(()=>An.value?view_default:hide_default),Hn=computed(()=>[Ue.style]),Fn=computed(()=>[Fe.inputStyle,Pn.value,{resize:Fe.resize}]),zn=computed(()=>isNil(Fe.modelValue)?"":String(Fe.modelValue)),jn=computed(()=>Fe.clearable&&!wn.value&&!Fe.readonly&&!!zn.value&&(In.value||En.value)),Gn=computed(()=>Fe.showPassword&&!wn.value&&!Fe.readonly&&!!zn.value&&(!!zn.value||In.value)),Wn=computed(()=>Fe.showWordLimit&&!!Fe.maxlength&&(Fe.type==="text"||Fe.type==="textarea")&&!wn.value&&!Fe.readonly&&!Fe.showPassword),Xn=computed(()=>zn.value.length),er=computed(()=>!!Wn.value&&Xn.value>Number(Fe.maxlength)),rr=computed(()=>!!qe.suffix||!!Fe.suffixIcon||jn.value||Fe.showPassword||Wn.value||!!Vn.value&&Bn.value),[Jn,qn]=useCursor(Sn);useResizeObserver(xn,vr=>{if(tr(),!Wn.value||Fe.resize!=="both")return;const xr=vr[0],{width:Rr}=xr.contentRect;$n.value={right:`calc(100% - ${Rr+15+6}px)`}});const Yn=()=>{const{type:vr,autosize:xr}=Fe;if(!(!isClient||vr!=="textarea"||!xn.value))if(xr){const Rr=isObject$8(xr)?xr.minRows:void 0,Hr=isObject$8(xr)?xr.maxRows:void 0,Jr=calcTextareaHeight(xn.value,Rr,Hr);Pn.value={overflowY:"hidden",...Jr},nextTick(()=>{xn.value.offsetHeight,Pn.value=Jr})}else Pn.value={minHeight:calcTextareaHeight(xn.value).minHeight}},tr=(vr=>{let xr=!1;return()=>{var Rr;if(xr||!Fe.autosize)return;((Rr=xn.value)==null?void 0:Rr.offsetParent)===null||(vr(),xr=!0)}})(Yn),or=()=>{const vr=Nn.value,xr=Fe.formatter?Fe.formatter(zn.value):zn.value;!vr||vr.value===xr||(vr.value=xr)},sr=async vr=>{Jn();let{value:xr}=vr.target;if(Fe.formatter&&(xr=Fe.parser?Fe.parser(xr):xr),!Tn.value){if(xr===zn.value){or();return}Ie(UPDATE_MODEL_EVENT,xr),Ie("input",xr),await nextTick(),or(),qn()}},Kn=vr=>{Ie("change",vr.target.value)},Zn=vr=>{Ie("compositionstart",vr),Tn.value=!0},nr=vr=>{var xr;Ie("compositionupdate",vr);const Rr=(xr=vr.target)==null?void 0:xr.value,Hr=Rr[Rr.length-1]||"";Tn.value=!isKorean(Hr)},lr=vr=>{Ie("compositionend",vr),Tn.value&&(Tn.value=!1,sr(vr))},ir=()=>{An.value=!An.value,kr()},kr=async()=>{var vr;await nextTick(),(vr=Nn.value)==null||vr.focus()},Cr=()=>{var vr;return(vr=Nn.value)==null?void 0:vr.blur()},Er=vr=>{En.value=!1,Ie("mouseleave",vr)},dr=vr=>{En.value=!0,Ie("mouseenter",vr)},br=vr=>{Ie("keydown",vr)},_r=()=>{var vr;(vr=Nn.value)==null||vr.select()},Pr=()=>{Ie(UPDATE_MODEL_EVENT,""),Ie("change",""),Ie("clear"),Ie("input","")};return watch(()=>Fe.modelValue,()=>{var vr;nextTick(()=>Yn()),Fe.validateEvent&&((vr=vn==null?void 0:vn.validate)==null||vr.call(vn,"change").catch(xr=>void 0))}),watch(zn,()=>or()),watch(()=>Fe.type,async()=>{await nextTick(),or(),Yn()}),onMounted(()=>{!Fe.formatter&&Fe.parser,or(),nextTick(Yn)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input",ref:"https://element-plus.org/en-US/component/input.html"},computed(()=>!!Fe.label)),$e({input:Sn,textarea:xn,ref:Nn,textareaStyle:Fn,autosize:toRef(Fe,"autosize"),focus:kr,blur:Cr,select:_r,clear:Pr,resizeTextarea:Yn}),(vr,xr)=>(openBlock(),createElementBlock("div",mergeProps(unref(At),{class:unref(Dt),style:unref(Hn),role:vr.containerRole,onMouseenter:dr,onMouseleave:Er}),[createCommentVNode(" input "),vr.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),vr.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(kn).be("group","prepend"))},[renderSlot(vr.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Mn,class:normalizeClass(unref(Lt))},[createCommentVNode(" prefix slot "),vr.$slots.prefix||vr.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(kn).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("prefix-inner"))},[renderSlot(vr.$slots,"prefix"),vr.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(vr.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(bn),ref_key:"input",ref:Sn,class:unref(kn).e("inner")},unref(jt),{minlength:vr.minlength,maxlength:vr.maxlength,type:vr.showPassword?An.value?"text":"password":vr.type,disabled:unref(wn),readonly:vr.readonly,autocomplete:vr.autocomplete,tabindex:vr.tabindex,"aria-label":vr.label||vr.ariaLabel,placeholder:vr.placeholder,style:vr.inputStyle,form:vr.form,autofocus:vr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[0]||(xr[0]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[1]||(xr[1]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_2$J),createCommentVNode(" suffix slot "),unref(rr)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(kn).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("suffix-inner"))},[!unref(jn)||!unref(Gn)||!unref(Wn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(vr.$slots,"suffix"),vr.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(vr.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(jn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:Pr},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Gn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("password")]),onClick:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Wn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(kn).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("count-inner"))},toDisplayString(unref(Xn))+" / "+toDisplayString(vr.maxlength),3)],2)):createCommentVNode("v-if",!0),unref(Vn)&&unref(Ln)&&unref(Bn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("validateIcon"),unref(kn).is("loading",unref(Vn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ln))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),vr.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(kn).be("group","append"))},[renderSlot(vr.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(bn),ref_key:"textarea",ref:xn,class:[unref(Cn).e("inner"),unref(kn).is("focus",unref(In))]},unref(jt),{minlength:vr.minlength,maxlength:vr.maxlength,tabindex:vr.tabindex,disabled:unref(wn),readonly:vr.readonly,autocomplete:vr.autocomplete,style:unref(Fn),"aria-label":vr.label||vr.ariaLabel,placeholder:vr.placeholder,form:vr.form,autofocus:vr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[2]||(xr[2]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[3]||(xr[3]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_3$l),unref(Wn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1($n.value),class:normalizeClass(unref(kn).e("count"))},toDisplayString(unref(Xn))+" / "+toDisplayString(vr.maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$17))}});var Input=_export_sfc(_sfc_main$2m,[["__file","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:xe,size:$e,bar:Ie})=>({[Ie.size]:$e,transform:`translate${Ie.axis}(${xe}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2l=defineComponent({__name:"thumb",props:thumbProps,setup(xe){const $e=xe,Ie=inject(scrollbarContextKey),Fe=useNamespace("scrollbar");Ie||throwError(COMPONENT_NAME$k,"can not inject scrollbar context");const Ue=ref(),qe=ref(),At=ref({}),Dt=ref(!1);let Lt=!1,jt=!1,hn=isClient?document.onselectstart:null;const vn=computed(()=>BAR_MAP[$e.vertical?"vertical":"horizontal"]),bn=computed(()=>renderThumbStyle$1({size:$e.size,move:$e.move,bar:vn.value})),_n=computed(()=>Ue.value[vn.value.offset]**2/Ie.wrapElement[vn.value.scrollSize]/$e.ratio/qe.value[vn.value.offset]),wn=$n=>{var Pn;if($n.stopPropagation(),$n.ctrlKey||[1,2].includes($n.button))return;(Pn=window.getSelection())==null||Pn.removeAllRanges(),Cn($n);const Nn=$n.currentTarget;Nn&&(At.value[vn.value.axis]=Nn[vn.value.offset]-($n[vn.value.client]-Nn.getBoundingClientRect()[vn.value.direction]))},kn=$n=>{if(!qe.value||!Ue.value||!Ie.wrapElement)return;const Pn=Math.abs($n.target.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client]),Nn=qe.value[vn.value.offset]/2,Mn=(Pn-Nn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=Mn*Ie.wrapElement[vn.value.scrollSize]/100},Cn=$n=>{$n.stopImmediatePropagation(),Lt=!0,document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",xn),hn=document.onselectstart,document.onselectstart=()=>!1},Sn=$n=>{if(!Ue.value||!qe.value||Lt===!1)return;const Pn=At.value[vn.value.axis];if(!Pn)return;const Nn=(Ue.value.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client])*-1,Mn=qe.value[vn.value.offset]-Pn,In=(Nn-Mn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=In*Ie.wrapElement[vn.value.scrollSize]/100},xn=()=>{Lt=!1,At.value[vn.value.axis]=0,document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",xn),An(),jt&&(Dt.value=!1)},En=()=>{jt=!1,Dt.value=!!$e.size},Tn=()=>{jt=!0,Dt.value=Lt};onBeforeUnmount(()=>{An(),document.removeEventListener("mouseup",xn)});const An=()=>{document.onselectstart!==hn&&(document.onselectstart=hn)};return useEventListener(toRef(Ie,"scrollbarElement"),"mousemove",En),useEventListener(toRef(Ie,"scrollbarElement"),"mouseleave",Tn),($n,Pn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:Ue,class:normalizeClass([unref(Fe).e("bar"),unref(Fe).is(unref(vn).key)]),onMousedown:kn},[createBaseVNode("div",{ref_key:"thumb",ref:qe,class:normalizeClass(unref(Fe).e("thumb")),style:normalizeStyle$1(unref(bn)),onMousedown:wn},null,38)],34),[[vShow,$n.always||Dt.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc(_sfc_main$2l,[["__file","thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$2k=defineComponent({__name:"bar",props:barProps,setup(xe,{expose:$e}){const Ie=xe,Fe=inject(scrollbarContextKey),Ue=ref(0),qe=ref(0),At=ref(""),Dt=ref(""),Lt=ref(1),jt=ref(1);return $e({handleScroll:bn=>{if(bn){const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP;qe.value=bn.scrollTop*100/_n*Lt.value,Ue.value=bn.scrollLeft*100/wn*jt.value}},update:()=>{const bn=Fe==null?void 0:Fe.wrapElement;if(!bn)return;const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP,kn=_n**2/bn.scrollHeight,Cn=wn**2/bn.scrollWidth,Sn=Math.max(kn,Ie.minSize),xn=Math.max(Cn,Ie.minSize);Lt.value=kn/(_n-kn)/(Sn/(_n-Sn)),jt.value=Cn/(wn-Cn)/(xn/(wn-xn)),Dt.value=Sn+GAP<_n?`${Sn}px`:"",At.value=xn+GAP<wn?`${xn}px`:""}}),(bn,_n)=>(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:Ue.value,ratio:jt.value,size:At.value,always:bn.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:qe.value,ratio:Lt.value,size:Dt.value,vertical:"",always:bn.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc(_sfc_main$2k,[["__file","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},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={scroll:({scrollTop:xe,scrollLeft:$e})=>[xe,$e].every(isNumber)},COMPONENT_NAME$j="ElScrollbar",__default__$1F=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2j=defineComponent({...__default__$1F,props:scrollbarProps,emits:scrollbarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("scrollbar");let qe,At;const Dt=ref(),Lt=ref(),jt=ref(),hn=ref(),vn=computed(()=>{const En={};return Fe.height&&(En.height=addUnit(Fe.height)),Fe.maxHeight&&(En.maxHeight=addUnit(Fe.maxHeight)),[Fe.wrapStyle,En]}),bn=computed(()=>[Fe.wrapClass,Ue.e("wrap"),{[Ue.em("wrap","hidden-default")]:!Fe.native}]),_n=computed(()=>[Ue.e("view"),Fe.viewClass]),wn=()=>{var En;Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value),Ie("scroll",{scrollTop:Lt.value.scrollTop,scrollLeft:Lt.value.scrollLeft}))};function kn(En,Tn){isObject$8(En)?Lt.value.scrollTo(En):isNumber(En)&&isNumber(Tn)&&Lt.value.scrollTo(En,Tn)}const Cn=En=>{isNumber(En)&&(Lt.value.scrollTop=En)},Sn=En=>{isNumber(En)&&(Lt.value.scrollLeft=En)},xn=()=>{var En;(En=hn.value)==null||En.update()};return watch(()=>Fe.noresize,En=>{En?(qe==null||qe(),At==null||At()):({stop:qe}=useResizeObserver(jt,xn),At=useEventListener("resize",xn))},{immediate:!0}),watch(()=>[Fe.maxHeight,Fe.height],()=>{Fe.native||nextTick(()=>{var En;xn(),Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:Dt,wrapElement:Lt})),onMounted(()=>{Fe.native||nextTick(()=>{xn()})}),onUpdated(()=>xn()),$e({wrapRef:Lt,update:xn,scrollTo:kn,setScrollTop:Cn,setScrollLeft:Sn,handleScroll:wn}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:Dt,class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:Lt,class:normalizeClass(unref(bn)),style:normalizeStyle$1(unref(vn)),onScroll:wn},[(openBlock(),createBlock(resolveDynamicComponent(En.tag),{id:En.id,ref_key:"resizeRef",ref:jt,class:normalizeClass(unref(_n)),style:normalizeStyle$1(En.viewStyle),role:En.role,"aria-label":En.ariaLabel,"aria-orientation":En.ariaOrientation},{default:withCtx(()=>[renderSlot(En.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),En.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:hn,always:En.always,"min-size":En.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc(_sfc_main$2j,[["__file","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__$1E=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2i=defineComponent({...__default__$1E,props:popperProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=computed(()=>Ie.role),Lt={triggerRef:Fe,popperInstanceRef:Ue,contentRef:qe,referenceRef:At,role:Dt};return $e(Lt),provide(POPPER_INJECTION_KEY,Lt),(jt,hn)=>renderSlot(jt.$slots,"default")}});var Popper=_export_sfc(_sfc_main$2i,[["__file","popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1D=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2h=defineComponent({...__default__$1D,props:popperArrowProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("popper"),{arrowOffset:Ue,arrowRef:qe,arrowStyle:At}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>Ie.arrowOffset,Dt=>{Ue.value=Dt}),onBeforeUnmount(()=>{qe.value=void 0}),$e({arrowRef:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:qe,class:normalizeClass(unref(Fe).e("arrow")),style:normalizeStyle$1(unref(At)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc(_sfc_main$2h,[["__file","arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(xe,{slots:$e,attrs:Ie}){var Fe;const Ue=inject(FORWARD_REF_INJECTION_KEY),qe=useForwardRefDirective((Fe=Ue==null?void 0:Ue.setForwardRef)!=null?Fe:NOOP);return()=>{var At;const Dt=(At=$e.default)==null?void 0:At.call($e,Ie);if(!Dt||Dt.length>1)return null;const Lt=findFirstLegitChild(Dt);return Lt?withDirectives(cloneVNode(Lt,Ie),[[qe]]):null}}});function findFirstLegitChild(xe){if(!xe)return null;const $e=xe;for(const Ie of $e){if(isObject$8(Ie))switch(Ie.type){case Comment$1:continue;case Text$2:case"svg":return wrapTextContent(Ie);case Fragment:return findFirstLegitChild(Ie.children);default:return Ie}return wrapTextContent(Ie)}return null}function wrapTextContent(xe){const $e=useNamespace("only-child");return createVNode$1("span",{class:$e.e("content")},[xe])}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__$1C=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2g=defineComponent({...__default__$1C,props:popperTriggerProps,setup(xe,{expose:$e}){const Ie=xe,{role:Fe,triggerRef:Ue}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(Ue);const qe=computed(()=>Dt.value?Ie.id:void 0),At=computed(()=>{if(Fe&&Fe.value==="tooltip")return Ie.open&&Ie.id?Ie.id:void 0}),Dt=computed(()=>{if(Fe&&Fe.value!=="tooltip")return Fe.value}),Lt=computed(()=>Dt.value?`${Ie.open}`:void 0);let jt;return onMounted(()=>{watch(()=>Ie.virtualRef,hn=>{hn&&(Ue.value=unrefElement(hn))},{immediate:!0}),watch(Ue,(hn,vn)=>{jt==null||jt(),jt=void 0,isElement$1(hn)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(bn=>{var _n;const wn=Ie[bn];wn&&(hn.addEventListener(bn.slice(2).toLowerCase(),wn),(_n=vn==null?void 0:vn.removeEventListener)==null||_n.call(vn,bn.slice(2).toLowerCase(),wn))}),jt=watch([qe,At,Dt,Lt],bn=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((_n,wn)=>{isNil(bn[wn])?hn.removeAttribute(_n):hn.setAttribute(_n,bn[wn])})},{immediate:!0})),isElement$1(vn)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(bn=>vn.removeAttribute(bn))},{immediate:!0})}),onBeforeUnmount(()=>{jt==null||jt(),jt=void 0}),$e({triggerRef:Ue}),(hn,vn)=>hn.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},hn.$attrs,{"aria-controls":unref(qe),"aria-describedby":unref(At),"aria-expanded":unref(Lt),"aria-haspopup":unref(Dt)}),{default:withCtx(()=>[renderSlot(hn.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc(_sfc_main$2g,[["__file","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=xe=>{const $e=[],Ie=document.createTreeWalker(xe,NodeFilter.SHOW_ELEMENT,{acceptNode:Fe=>{const Ue=Fe.tagName==="INPUT"&&Fe.type==="hidden";return Fe.disabled||Fe.hidden||Ue?NodeFilter.FILTER_SKIP:Fe.tabIndex>=0||Fe===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;Ie.nextNode();)$e.push(Ie.currentNode);return $e},getVisibleElement=(xe,$e)=>{for(const Ie of xe)if(!isHidden(Ie,$e))return Ie},isHidden=(xe,$e)=>{if(getComputedStyle(xe).visibility==="hidden")return!0;for(;xe;){if($e&&xe===$e)return!1;if(getComputedStyle(xe).display==="none")return!0;xe=xe.parentElement}return!1},getEdges=xe=>{const $e=obtainAllFocusableElements(xe),Ie=getVisibleElement($e,xe),Fe=getVisibleElement($e.reverse(),xe);return[Ie,Fe]},isSelectable=xe=>xe instanceof HTMLInputElement&&"select"in xe,tryFocus=(xe,$e)=>{if(xe&&xe.focus){const Ie=document.activeElement;xe.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),xe!==Ie&&isSelectable(xe)&&$e&&xe.select()}};function removeFromStack(xe,$e){const Ie=[...xe],Fe=xe.indexOf($e);return Fe!==-1&&Ie.splice(Fe,1),Ie}const createFocusableStack=()=>{let xe=[];return{push:Fe=>{const Ue=xe[0];Ue&&Fe!==Ue&&Ue.pause(),xe=removeFromStack(xe,Fe),xe.unshift(Fe)},remove:Fe=>{var Ue,qe;xe=removeFromStack(xe,Fe),(qe=(Ue=xe[0])==null?void 0:Ue.resume)==null||qe.call(Ue)}}},focusFirstDescendant=(xe,$e=!1)=>{const Ie=document.activeElement;for(const Fe of xe)if(tryFocus(Fe,$e),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=xe=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:xe}),_sfc_main$2f=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(xe,{emit:$e}){const Ie=ref();let Fe,Ue;const{focusReason:qe}=useFocusReason();useEscapeKeydown(wn=>{xe.trapped&&!At.paused&&$e("release-requested",wn)});const At={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},Dt=wn=>{if(!xe.loop&&!xe.trapped||At.paused)return;const{key:kn,altKey:Cn,ctrlKey:Sn,metaKey:xn,currentTarget:En,shiftKey:Tn}=wn,{loop:An}=xe,$n=kn===EVENT_CODE.tab&&!Cn&&!Sn&&!xn,Pn=document.activeElement;if($n&&Pn){const Nn=En,[Mn,In]=getEdges(Nn);if(Mn&&In){if(!Tn&&Pn===In){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(Mn,!0))}else if(Tn&&[Mn,Nn].includes(Pn)){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(In,!0))}}else if(Pn===Nn){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||wn.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:Ie,onKeydown:Dt}),watch(()=>xe.focusTrapEl,wn=>{wn&&(Ie.value=wn)},{immediate:!0}),watch([Ie],([wn],[kn])=>{wn&&(wn.addEventListener("keydown",Dt),wn.addEventListener("focusin",hn),wn.addEventListener("focusout",vn)),kn&&(kn.removeEventListener("keydown",Dt),kn.removeEventListener("focusin",hn),kn.removeEventListener("focusout",vn))});const Lt=wn=>{$e(ON_TRAP_FOCUS_EVT,wn)},jt=wn=>$e(ON_RELEASE_FOCUS_EVT,wn),hn=wn=>{const kn=unref(Ie);if(!kn)return;const Cn=wn.target,Sn=wn.relatedTarget,xn=Cn&&kn.contains(Cn);xe.trapped||Sn&&kn.contains(Sn)||(Fe=Sn),xn&&$e("focusin",wn),!At.paused&&xe.trapped&&(xn?Ue=Cn:tryFocus(Ue,!0))},vn=wn=>{const kn=unref(Ie);if(!(At.paused||!kn))if(xe.trapped){const Cn=wn.relatedTarget;!isNil(Cn)&&!kn.contains(Cn)&&setTimeout(()=>{if(!At.paused&&xe.trapped){const Sn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Sn),Sn.defaultPrevented||tryFocus(Ue,!0)}},0)}else{const Cn=wn.target;Cn&&kn.contains(Cn)||$e("focusout",wn)}};async function bn(){await nextTick();const wn=unref(Ie);if(wn){focusableStack.push(At);const kn=wn.contains(document.activeElement)?Fe:document.activeElement;if(Fe=kn,!wn.contains(kn)){const Sn=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);wn.addEventListener(FOCUS_AFTER_TRAPPED,Lt),wn.dispatchEvent(Sn),Sn.defaultPrevented||nextTick(()=>{let xn=xe.focusStartEl;isString$4(xn)||(tryFocus(xn),document.activeElement!==xn&&(xn="first")),xn==="first"&&focusFirstDescendant(obtainAllFocusableElements(wn),!0),(document.activeElement===kn||xn==="container")&&tryFocus(wn)})}}}function _n(){const wn=unref(Ie);if(wn){wn.removeEventListener(FOCUS_AFTER_TRAPPED,Lt);const kn=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:qe.value}});wn.addEventListener(FOCUS_AFTER_RELEASED,jt),wn.dispatchEvent(kn),!kn.defaultPrevented&&(qe.value=="keyboard"||!isFocusCausedByUserEvent()||wn.contains(document.activeElement))&&tryFocus(Fe??document.body),wn.removeEventListener(FOCUS_AFTER_RELEASED,jt),focusableStack.remove(At)}}return onMounted(()=>{xe.trapped&&bn(),watch(()=>xe.trapped,wn=>{wn?bn():_n()})}),onBeforeUnmount(()=>{xe.trapped&&_n()}),{onKeydown:Dt}}});function _sfc_render$u(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default",{handleKeydown:xe.onKeydown})}var ElFocusTrap=_export_sfc(_sfc_main$2f,[["render",_sfc_render$u],["__file","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},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"])}),popperContentEmits={mouseenter:xe=>xe instanceof MouseEvent,mouseleave:xe=>xe instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(xe,$e=[])=>{const{placement:Ie,strategy:Fe,popperOptions:Ue}=xe,qe={placement:Ie,strategy:Fe,...Ue,modifiers:[...genModifiers(xe),...$e]};return deriveExtraModifiers(qe,Ue==null?void 0:Ue.modifiers),qe},unwrapMeasurableEl=xe=>{if(isClient)return unrefElement(xe)};function genModifiers(xe){const{offset:$e,gpuAcceleration:Ie,fallbackPlacements:Fe}=xe;return[{name:"offset",options:{offset:[0,$e??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:Fe}},{name:"computeStyles",options:{gpuAcceleration:Ie}}]}function deriveExtraModifiers(xe,$e){$e&&(xe.modifiers=[...xe.modifiers,...$e??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=xe=>{const{popperInstanceRef:$e,contentRef:Ie,triggerRef:Fe,role:Ue}=inject(POPPER_INJECTION_KEY,void 0),qe=ref(),At=ref(),Dt=computed(()=>({name:"eventListeners",enabled:!!xe.visible})),Lt=computed(()=>{var Sn;const xn=unref(qe),En=(Sn=unref(At))!=null?Sn:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(xn),options:{element:xn,padding:En}}}),jt=computed(()=>({onFirstUpdate:()=>{wn()},...buildPopperOptions(xe,[unref(Lt),unref(Dt)])})),hn=computed(()=>unwrapMeasurableEl(xe.referenceEl)||unref(Fe)),{attributes:vn,state:bn,styles:_n,update:wn,forceUpdate:kn,instanceRef:Cn}=usePopper(hn,Ie,jt);return watch(Cn,Sn=>$e.value=Sn),onMounted(()=>{watch(()=>{var Sn;return(Sn=unref(hn))==null?void 0:Sn.getBoundingClientRect()},()=>{wn()})}),{attributes:vn,arrowRef:qe,contentRef:Ie,instanceRef:Cn,state:bn,styles:_n,role:Ue,forceUpdate:kn,update:wn}},usePopperContentDOM=(xe,{attributes:$e,styles:Ie,role:Fe})=>{const{nextZIndex:Ue}=useZIndex(),qe=useNamespace("popper"),At=computed(()=>unref($e).popper),Dt=ref(isNumber(xe.zIndex)?xe.zIndex:Ue()),Lt=computed(()=>[qe.b(),qe.is("pure",xe.pure),qe.is(xe.effect),xe.popperClass]),jt=computed(()=>[{zIndex:unref(Dt)},unref(Ie).popper,xe.popperStyle||{}]),hn=computed(()=>Fe.value==="dialog"?"false":void 0),vn=computed(()=>unref(Ie).arrow||{});return{ariaModal:hn,arrowStyle:vn,contentAttrs:At,contentClass:Lt,contentStyle:jt,contentZIndex:Dt,updateZIndex:()=>{Dt.value=isNumber(xe.zIndex)?xe.zIndex:Ue()}}},usePopperContentFocusTrap=(xe,$e)=>{const Ie=ref(!1),Fe=ref();return{focusStartRef:Fe,trapped:Ie,onFocusAfterReleased:jt=>{var hn;((hn=jt.detail)==null?void 0:hn.focusReason)!=="pointer"&&(Fe.value="first",$e("blur"))},onFocusAfterTrapped:()=>{$e("focus")},onFocusInTrap:jt=>{xe.visible&&!Ie.value&&(jt.target&&(Fe.value=jt.target),Ie.value=!0)},onFocusoutPrevented:jt=>{xe.trapping||(jt.detail.focusReason==="pointer"&&jt.preventDefault(),Ie.value=!1)},onReleaseRequested:()=>{Ie.value=!1,$e("close")}}},__default__$1B=defineComponent({name:"ElPopperContent"}),_sfc_main$2e=defineComponent({...__default__$1B,props:popperContentProps,emits:popperContentEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{focusStartRef:Ue,trapped:qe,onFocusAfterReleased:At,onFocusAfterTrapped:Dt,onFocusInTrap:Lt,onFocusoutPrevented:jt,onReleaseRequested:hn}=usePopperContentFocusTrap(Fe,Ie),{attributes:vn,arrowRef:bn,contentRef:_n,styles:wn,instanceRef:kn,role:Cn,update:Sn}=usePopperContent(Fe),{ariaModal:xn,arrowStyle:En,contentAttrs:Tn,contentClass:An,contentStyle:$n,updateZIndex:Pn}=usePopperContentDOM(Fe,{styles:wn,attributes:vn,role:Cn}),Nn=inject(formItemContextKey,void 0),Mn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:En,arrowRef:bn,arrowOffset:Mn}),Nn&&provide(formItemContextKey,{...Nn,addInputId:NOOP,removeInputId:NOOP});let In;const On=(Bn=!0)=>{Sn(),Bn&&Pn()},Rn=()=>{On(!1),Fe.visible&&Fe.focusOnShow?qe.value=!0:Fe.visible===!1&&(qe.value=!1)};return onMounted(()=>{watch(()=>Fe.triggerTargetEl,(Bn,Vn)=>{In==null||In(),In=void 0;const Ln=unref(Bn||_n.value),Dn=unref(Vn||_n.value);isElement$1(Ln)&&(In=watch([Cn,()=>Fe.ariaLabel,xn,()=>Fe.id],Hn=>{["role","aria-label","aria-modal","id"].forEach((Fn,zn)=>{isNil(Hn[zn])?Ln.removeAttribute(Fn):Ln.setAttribute(Fn,Hn[zn])})},{immediate:!0})),Dn!==Ln&&isElement$1(Dn)&&["role","aria-label","aria-modal","id"].forEach(Hn=>{Dn.removeAttribute(Hn)})},{immediate:!0}),watch(()=>Fe.visible,Rn,{immediate:!0})}),onBeforeUnmount(()=>{In==null||In(),In=void 0}),$e({popperContentRef:_n,popperInstanceRef:kn,updatePopper:On,contentStyle:$n}),(Bn,Vn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:_n},unref(Tn),{style:unref($n),class:unref(An),tabindex:"-1",onMouseenter:Vn[0]||(Vn[0]=Ln=>Bn.$emit("mouseenter",Ln)),onMouseleave:Vn[1]||(Vn[1]=Ln=>Bn.$emit("mouseleave",Ln))}),[createVNode$1(unref(ElFocusTrap),{trapped:unref(qe),"trap-on-focus-in":!0,"focus-trap-el":unref(_n),"focus-start-el":unref(Ue),onFocusAfterTrapped:unref(Dt),onFocusAfterReleased:unref(At),onFocusin:unref(Lt),onFocusoutPrevented:unref(jt),onReleaseRequested:unref(hn)},{default:withCtx(()=>[renderSlot(Bn.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc(_sfc_main$2e,[["__file","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,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),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=(xe,$e)=>isArray$6(xe)?xe.includes($e):xe===$e,whenTrigger=(xe,$e,Ie)=>Fe=>{isTriggerType(unref(xe),$e)&&Ie(Fe)},__default__$1A=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$2d=defineComponent({...__default__$1A,props:useTooltipTriggerProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("tooltip"),{controlled:Ue,id:qe,open:At,onOpen:Dt,onClose:Lt,onToggle:jt}=inject(TOOLTIP_INJECTION_KEY,void 0),hn=ref(null),vn=()=>{if(unref(Ue)||Ie.disabled)return!0},bn=toRef(Ie,"trigger"),_n=composeEventHandlers(vn,whenTrigger(bn,"hover",Dt)),wn=composeEventHandlers(vn,whenTrigger(bn,"hover",Lt)),kn=composeEventHandlers(vn,whenTrigger(bn,"click",Tn=>{Tn.button===0&&jt(Tn)})),Cn=composeEventHandlers(vn,whenTrigger(bn,"focus",Dt)),Sn=composeEventHandlers(vn,whenTrigger(bn,"focus",Lt)),xn=composeEventHandlers(vn,whenTrigger(bn,"contextmenu",Tn=>{Tn.preventDefault(),jt(Tn)})),En=composeEventHandlers(vn,Tn=>{const{code:An}=Tn;Ie.triggerKeys.includes(An)&&(Tn.preventDefault(),jt(Tn))});return $e({triggerRef:hn}),(Tn,An)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(qe),"virtual-ref":Tn.virtualRef,open:unref(At),"virtual-triggering":Tn.virtualTriggering,class:normalizeClass(unref(Fe).e("trigger")),onBlur:unref(Sn),onClick:unref(kn),onContextmenu:unref(xn),onFocus:unref(Cn),onMouseenter:unref(_n),onMouseleave:unref(wn),onKeydown:unref(En)},{default:withCtx(()=>[renderSlot(Tn.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc(_sfc_main$2d,[["__file","trigger.vue"]]);const __default__$1z=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$2c=defineComponent({...__default__$1z,props:useTooltipContentProps,setup(xe,{expose:$e}){const Ie=xe,{selector:Fe}=usePopperContainerId(),Ue=useNamespace("tooltip"),qe=ref(null),At=ref(!1),{controlled:Dt,id:Lt,open:jt,trigger:hn,onClose:vn,onOpen:bn,onShow:_n,onHide:wn,onBeforeShow:kn,onBeforeHide:Cn}=inject(TOOLTIP_INJECTION_KEY,void 0),Sn=computed(()=>Ie.transition||`${Ue.namespace.value}-fade-in-linear`),xn=computed(()=>Ie.persistent);onBeforeUnmount(()=>{At.value=!0});const En=computed(()=>unref(xn)?!0:unref(jt)),Tn=computed(()=>Ie.disabled?!1:unref(jt)),An=computed(()=>Ie.appendTo||Fe.value),$n=computed(()=>{var Hn;return(Hn=Ie.style)!=null?Hn:{}}),Pn=computed(()=>!unref(jt)),Nn=()=>{wn()},Mn=()=>{if(unref(Dt))return!0},In=composeEventHandlers(Mn,()=>{Ie.enterable&&unref(hn)==="hover"&&bn()}),On=composeEventHandlers(Mn,()=>{unref(hn)==="hover"&&vn()}),Rn=()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn),kn==null||kn()},Bn=()=>{Cn==null||Cn()},Vn=()=>{_n(),Dn=onClickOutside(computed(()=>{var Hn;return(Hn=qe.value)==null?void 0:Hn.popperContentRef}),()=>{if(unref(Dt))return;unref(hn)!=="hover"&&vn()})},Ln=()=>{Ie.virtualTriggering||vn()};let Dn;return watch(()=>unref(jt),Hn=>{Hn||Dn==null||Dn()},{flush:"post"}),watch(()=>Ie.content,()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn)}),$e({contentRef:qe}),(Hn,Fn)=>(openBlock(),createBlock(Teleport,{disabled:!Hn.teleported,to:unref(An)},[createVNode$1(Transition,{name:unref(Sn),onAfterLeave:Nn,onBeforeEnter:Rn,onAfterEnter:Vn,onBeforeLeave:Bn},{default:withCtx(()=>[unref(En)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(Lt),ref_key:"contentRef",ref:qe},Hn.$attrs,{"aria-label":Hn.ariaLabel,"aria-hidden":unref(Pn),"boundaries-padding":Hn.boundariesPadding,"fallback-placements":Hn.fallbackPlacements,"gpu-acceleration":Hn.gpuAcceleration,offset:Hn.offset,placement:Hn.placement,"popper-options":Hn.popperOptions,strategy:Hn.strategy,effect:Hn.effect,enterable:Hn.enterable,pure:Hn.pure,"popper-class":Hn.popperClass,"popper-style":[Hn.popperStyle,unref($n)],"reference-el":Hn.referenceEl,"trigger-target-el":Hn.triggerTargetEl,visible:unref(Tn),"z-index":Hn.zIndex,onMouseenter:unref(In),onMouseleave:unref(On),onBlur:Ln,onClose:unref(vn)}),{default:withCtx(()=>[At.value?createCommentVNode("v-if",!0):renderSlot(Hn.$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(Tn)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc(_sfc_main$2c,[["__file","content.vue"]]);const _hoisted_1$16=["innerHTML"],_hoisted_2$I={key:1},__default__$1y=defineComponent({name:"ElTooltip"}),_sfc_main$2b=defineComponent({...__default__$1y,props:useTooltipProps,emits:tooltipEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;usePopperContainer();const Ue=useId(),qe=ref(),At=ref(),Dt=()=>{var Sn;const xn=unref(qe);xn&&((Sn=xn.popperInstanceRef)==null||Sn.update())},Lt=ref(!1),jt=ref(),{show:hn,hide:vn,hasUpdateHandler:bn}=useTooltipModelToggle({indicator:Lt,toggleReason:jt}),{onOpen:_n,onClose:wn}=useDelayedToggle({showAfter:toRef(Fe,"showAfter"),hideAfter:toRef(Fe,"hideAfter"),autoClose:toRef(Fe,"autoClose"),open:hn,close:vn}),kn=computed(()=>isBoolean(Fe.visible)&&!bn.value);provide(TOOLTIP_INJECTION_KEY,{controlled:kn,id:Ue,open:readonly(Lt),trigger:toRef(Fe,"trigger"),onOpen:Sn=>{_n(Sn)},onClose:Sn=>{wn(Sn)},onToggle:Sn=>{unref(Lt)?wn(Sn):_n(Sn)},onShow:()=>{Ie("show",jt.value)},onHide:()=>{Ie("hide",jt.value)},onBeforeShow:()=>{Ie("before-show",jt.value)},onBeforeHide:()=>{Ie("before-hide",jt.value)},updatePopper:Dt}),watch(()=>Fe.disabled,Sn=>{Sn&&Lt.value&&(Lt.value=!1)});const Cn=Sn=>{var xn,En;const Tn=(En=(xn=At.value)==null?void 0:xn.contentRef)==null?void 0:En.popperContentRef,An=(Sn==null?void 0:Sn.relatedTarget)||document.activeElement;return Tn&&Tn.contains(An)};return onDeactivated(()=>Lt.value&&vn()),$e({popperRef:qe,contentRef:At,isFocusInsideContent:Cn,updatePopper:Dt,onOpen:_n,onClose:wn,hide:vn}),(Sn,xn)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:qe,role:Sn.role},{default:withCtx(()=>[createVNode$1(ElTooltipTrigger,{disabled:Sn.disabled,trigger:Sn.trigger,"trigger-keys":Sn.triggerKeys,"virtual-ref":Sn.virtualRef,"virtual-triggering":Sn.virtualTriggering},{default:withCtx(()=>[Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:At,"aria-label":Sn.ariaLabel,"boundaries-padding":Sn.boundariesPadding,content:Sn.content,disabled:Sn.disabled,effect:Sn.effect,enterable:Sn.enterable,"fallback-placements":Sn.fallbackPlacements,"hide-after":Sn.hideAfter,"gpu-acceleration":Sn.gpuAcceleration,offset:Sn.offset,persistent:Sn.persistent,"popper-class":Sn.popperClass,"popper-style":Sn.popperStyle,placement:Sn.placement,"popper-options":Sn.popperOptions,pure:Sn.pure,"raw-content":Sn.rawContent,"reference-el":Sn.referenceEl,"trigger-target-el":Sn.triggerTargetEl,"show-after":Sn.showAfter,strategy:Sn.strategy,teleported:Sn.teleported,transition:Sn.transition,"virtual-triggering":Sn.virtualTriggering,"z-index":Sn.zIndex,"append-to":Sn.appendTo},{default:withCtx(()=>[renderSlot(Sn.$slots,"content",{},()=>[Sn.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Sn.content},null,8,_hoisted_1$16)):(openBlock(),createElementBlock("span",_hoisted_2$I,toDisplayString(Sn.content),1))]),Sn.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Sn.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(_sfc_main$2b,[["__file","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},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,...useAriaProps(["ariaLabel"])}),autocompleteEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),[INPUT_EVENT]:xe=>isString$4(xe),[CHANGE_EVENT]:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,select:xe=>isObject$8(xe)},_hoisted_1$15=["aria-expanded","aria-owns"],_hoisted_2$H={key:0},_hoisted_3$k=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1x=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$2a=defineComponent({...__default__$1x,props:autocompleteProps,emits:autocompleteEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs(),qe=useAttrs$1(),At=useFormDisabled(),Dt=useNamespace("autocomplete"),Lt=ref(),jt=ref(),hn=ref(),vn=ref();let bn=!1,_n=!1;const wn=ref([]),kn=ref(-1),Cn=ref(""),Sn=ref(!1),xn=ref(!1),En=ref(!1),Tn=useId(),An=computed(()=>qe.style),$n=computed(()=>(wn.value.length>0||En.value)&&Sn.value),Pn=computed(()=>!Fe.hideLoading&&En.value),Nn=computed(()=>Lt.value?Array.from(Lt.value.$el.querySelectorAll("input")):[]),Mn=()=>{$n.value&&(Cn.value=`${Lt.value.$el.offsetWidth}px`)},In=()=>{kn.value=-1},Rn=debounce(async Jn=>{if(xn.value)return;const qn=Yn=>{En.value=!1,!xn.value&&(isArray$6(Yn)?(wn.value=Yn,kn.value=Fe.highlightFirstItem?0:-1):throwError(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(En.value=!0,isArray$6(Fe.fetchSuggestions))qn(Fe.fetchSuggestions);else{const Yn=await Fe.fetchSuggestions(Jn,qn);isArray$6(Yn)&&qn(Yn)}},Fe.debounce),Bn=Jn=>{const qn=!!Jn;if(Ie(INPUT_EVENT,Jn),Ie(UPDATE_MODEL_EVENT,Jn),xn.value=!1,Sn.value||(Sn.value=qn),!Fe.triggerOnFocus&&!Jn){xn.value=!0,wn.value=[];return}Rn(Jn)},Vn=Jn=>{var qn;At.value||(((qn=Jn.target)==null?void 0:qn.tagName)!=="INPUT"||Nn.value.includes(document.activeElement))&&(Sn.value=!0)},Ln=Jn=>{Ie(CHANGE_EVENT,Jn)},Dn=Jn=>{_n?_n=!1:(Sn.value=!0,Ie("focus",Jn),Fe.triggerOnFocus&&!bn&&Rn(String(Fe.modelValue)))},Hn=Jn=>{setTimeout(()=>{var qn;if((qn=hn.value)!=null&&qn.isFocusInsideContent()){_n=!0;return}Sn.value&&Gn(),Ie("blur",Jn)})},Fn=()=>{Sn.value=!1,Ie(UPDATE_MODEL_EVENT,""),Ie("clear")},zn=async()=>{$n.value&&kn.value>=0&&kn.value<wn.value.length?er(wn.value[kn.value]):Fe.selectWhenUnmatched&&(Ie("select",{value:Fe.modelValue}),wn.value=[],kn.value=-1)},jn=Jn=>{$n.value&&(Jn.preventDefault(),Jn.stopPropagation(),Gn())},Gn=()=>{Sn.value=!1},Wn=()=>{var Jn;(Jn=Lt.value)==null||Jn.focus()},Xn=()=>{var Jn;(Jn=Lt.value)==null||Jn.blur()},er=async Jn=>{Ie(INPUT_EVENT,Jn[Fe.valueKey]),Ie(UPDATE_MODEL_EVENT,Jn[Fe.valueKey]),Ie("select",Jn),wn.value=[],kn.value=-1},rr=Jn=>{if(!$n.value||En.value)return;if(Jn<0){kn.value=-1;return}Jn>=wn.value.length&&(Jn=wn.value.length-1);const qn=jt.value.querySelector(`.${Dt.be("suggestion","wrap")}`),ar=qn.querySelectorAll(`.${Dt.be("suggestion","list")} li`)[Jn],tr=qn.scrollTop,{offsetTop:or,scrollHeight:sr}=ar;or+sr>tr+qn.clientHeight&&(qn.scrollTop+=sr),or<tr&&(qn.scrollTop-=sr),kn.value=Jn,Lt.value.ref.setAttribute("aria-activedescendant",`${Tn.value}-item-${kn.value}`)};return onClickOutside(vn,()=>{$n.value&&Gn()}),onMounted(()=>{Lt.value.ref.setAttribute("role","textbox"),Lt.value.ref.setAttribute("aria-autocomplete","list"),Lt.value.ref.setAttribute("aria-controls","id"),Lt.value.ref.setAttribute("aria-activedescendant",`${Tn.value}-item-${kn.value}`),bn=Lt.value.ref.hasAttribute("readonly")}),$e({highlightedIndex:kn,activated:Sn,loading:En,inputRef:Lt,popperRef:hn,suggestions:wn,handleSelect:er,handleKeyEnter:zn,focus:Wn,blur:Xn,close:Gn,highlight:rr}),(Jn,qn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:hn,visible:unref($n),placement:Jn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(Dt).e("popper"),Jn.popperClass],teleported:Jn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(Dt).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:Mn,onHide:In},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:jt,class:normalizeClass([unref(Dt).b("suggestion"),unref(Dt).is("loading",unref(Pn))]),style:normalizeStyle$1({[Jn.fitInputWidth?"width":"minWidth"]:Cn.value,outline:"none"}),role:"region"},[createVNode$1(unref(ElScrollbar),{id:unref(Tn),tag:"ul","wrap-class":unref(Dt).be("suggestion","wrap"),"view-class":unref(Dt).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(Pn)?(openBlock(),createElementBlock("li",_hoisted_2$H,[renderSlot(Jn.$slots,"loading",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(wn.value,(Yn,ar)=>(openBlock(),createElementBlock("li",{id:`${unref(Tn)}-item-${ar}`,key:ar,class:normalizeClass({highlighted:kn.value===ar}),role:"option","aria-selected":kn.value===ar,onClick:tr=>er(Yn)},[renderSlot(Jn.$slots,"default",{item:Yn},()=>[createTextVNode(toDisplayString(Yn[Jn.valueKey]),1)])],10,_hoisted_3$k))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:vn,class:normalizeClass([unref(Dt).b(),Jn.$attrs.class]),style:normalizeStyle$1(unref(An)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref($n),"aria-owns":unref(Tn)},[createVNode$1(unref(ElInput),mergeProps({ref_key:"inputRef",ref:Lt},unref(Ue),{clearable:Jn.clearable,disabled:unref(At),name:Jn.name,"model-value":Jn.modelValue,"aria-label":Jn.ariaLabel,onInput:Bn,onChange:Ln,onFocus:Dn,onBlur:Hn,onClear:Fn,onKeydown:[qn[0]||(qn[0]=withKeys(withModifiers(Yn=>rr(kn.value-1),["prevent"]),["up"])),qn[1]||(qn[1]=withKeys(withModifiers(Yn=>rr(kn.value+1),["prevent"]),["down"])),withKeys(zn,["enter"]),withKeys(Gn,["tab"]),withKeys(jn,["esc"])],onMousedown:Vn}),createSlots({_:2},[Jn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Jn.$slots,"prepend")])}:void 0,Jn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Jn.$slots,"append")])}:void 0,Jn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Jn.$slots,"prefix")])}:void 0,Jn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Jn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,_hoisted_1$15)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc(_sfc_main$2a,[["__file","autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:xe=>isNumber(xe)},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:xe=>xe instanceof Event},_hoisted_1$14=["src","alt","srcset"],__default__$1w=defineComponent({name:"ElAvatar"}),_sfc_main$29=defineComponent({...__default__$1w,props:avatarProps,emits:avatarEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("avatar"),Ue=ref(!1),qe=computed(()=>{const{size:jt,icon:hn,shape:vn}=Ie,bn=[Fe.b()];return isString$4(jt)&&bn.push(Fe.m(jt)),hn&&bn.push(Fe.m("icon")),vn&&bn.push(Fe.m(vn)),bn}),At=computed(()=>{const{size:jt}=Ie;return isNumber(jt)?Fe.cssVarBlock({size:addUnit(jt)||""}):void 0}),Dt=computed(()=>({objectFit:Ie.fit}));watch(()=>Ie.src,()=>Ue.value=!1);function Lt(jt){Ue.value=!0,$e("error",jt)}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(At))},[(jt.src||jt.srcSet)&&!Ue.value?(openBlock(),createElementBlock("img",{key:0,src:jt.src,alt:jt.alt,srcset:jt.srcSet,style:normalizeStyle$1(unref(Dt)),onError:Lt},null,44,_hoisted_1$14)):jt.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(jt.icon)))]),_:1})):renderSlot(jt.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc(_sfc_main$29,[["__file","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:xe=>xe instanceof MouseEvent},useBackTop=(xe,$e,Ie)=>{const Fe=shallowRef(),Ue=shallowRef(),qe=ref(!1),At=()=>{Fe.value&&(qe.value=Fe.value.scrollTop>=xe.visibilityHeight)},Dt=jt=>{var hn;(hn=Fe.value)==null||hn.scrollTo({top:0,behavior:"smooth"}),$e("click",jt)},Lt=useThrottleFn(At,300,!0);return useEventListener(Ue,"scroll",Lt),onMounted(()=>{var jt;Ue.value=document,Fe.value=document.documentElement,xe.target&&(Fe.value=(jt=document.querySelector(xe.target))!=null?jt:void 0,Fe.value||throwError(Ie,`target does not exist: ${xe.target}`),Ue.value=Fe.value),At()}),{visible:qe,handleClick:Dt}},COMPONENT_NAME$h="ElBacktop",__default__$1v=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$28=defineComponent({...__default__$1v,props:backtopProps,emits:backtopEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("backtop"),{handleClick:Ue,visible:qe}=useBackTop(Ie,$e,COMPONENT_NAME$h),At=computed(()=>({right:`${Ie.right}px`,bottom:`${Ie.bottom}px`}));return(Dt,Lt)=>(openBlock(),createBlock(Transition,{name:`${unref(Fe).namespace.value}-fade-in`},{default:withCtx(()=>[unref(qe)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(At)),class:normalizeClass(unref(Fe).b()),onClick:Lt[0]||(Lt[0]=withModifiers((...jt)=>unref(Ue)&&unref(Ue)(...jt),["stop"]))},[renderSlot(Dt.$slots,"default",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Fe).e("icon"))},{default:withCtx(()=>[createVNode$1(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc(_sfc_main$28,[["__file","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"},showZero:{type:Boolean,default:!0},color:String,dotStyle:{type:definePropType([String,Object,Array])},badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},dotClass:{type:String},badgeClass:{type:String}}),_hoisted_1$13=["textContent"],__default__$1u=defineComponent({name:"ElBadge"}),_sfc_main$27=defineComponent({...__default__$1u,props:badgeProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("badge"),Ue=computed(()=>Ie.isDot?"":isNumber(Ie.value)&&isNumber(Ie.max)?Ie.max<Ie.value?`${Ie.max}+`:Ie.value===0&&!Ie.showZero?"":`${Ie.value}`:`${Ie.value}`),qe=computed(()=>{var At,Dt,Lt,jt,hn,vn;return[{backgroundColor:Ie.color,marginRight:addUnit(-((Dt=(At=Ie.offset)==null?void 0:At[0])!=null?Dt:0)),marginTop:addUnit((jt=(Lt=Ie.offset)==null?void 0:Lt[1])!=null?jt:0)},(hn=Ie.dotStyle)!=null?hn:{},(vn=Ie.badgeStyle)!=null?vn:{}]});return useDeprecated({from:"dot-style",replacement:"badge-style",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotStyle)),useDeprecated({from:"dot-class",replacement:"badge-class",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotClass)),$e({content:Ue}),(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[renderSlot(At.$slots,"default"),createVNode$1(Transition,{name:`${unref(Fe).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(Fe).e("content"),unref(Fe).em("content",At.type),unref(Fe).is("fixed",!!At.$slots.default),unref(Fe).is("dot",At.isDot),At.dotClass,At.badgeClass]),style:normalizeStyle$1(unref(qe)),textContent:toDisplayString(unref(Ue))},null,14,_hoisted_1$13),[[vShow,!At.hidden&&(unref(Ue)||At.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc(_sfc_main$27,[["__file","badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),_hoisted_1$12=["aria-label"],__default__$1t=defineComponent({name:"ElBreadcrumb"}),_sfc_main$26=defineComponent({...__default__$1t,props:breadcrumbProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("breadcrumb"),Ue=ref();return provide(breadcrumbKey,$e),onMounted(()=>{const qe=Ue.value.querySelectorAll(`.${Fe.e("item")}`);qe.length&&qe[qe.length-1].setAttribute("aria-current","page")}),(qe,At)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:Ue,class:normalizeClass(unref(Fe).b()),"aria-label":unref(Ie)("el.breadcrumb.label"),role:"navigation"},[renderSlot(qe.$slots,"default")],10,_hoisted_1$12))}});var Breadcrumb=_export_sfc(_sfc_main$26,[["__file","breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1s=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$25=defineComponent({...__default__$1s,props:breadcrumbItemProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=inject(breadcrumbKey,void 0),Ue=useNamespace("breadcrumb"),qe=Ie.appContext.config.globalProperties.$router,At=ref(),Dt=()=>{!$e.to||!qe||($e.replace?qe.replace($e.to):qe.push($e.to))};return(Lt,jt)=>{var hn,vn;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:At,class:normalizeClass([unref(Ue).e("inner"),unref(Ue).is("link",!!Lt.to)]),role:"link",onClick:Dt},[renderSlot(Lt.$slots,"default")],2),(hn=unref(Fe))!=null&&hn.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ue).e("separator")),role:"presentation"},toDisplayString((vn=unref(Fe))==null?void 0:vn.separator),3))],2)}}});var BreadcrumbItem=_export_sfc(_sfc_main$25,[["__file","breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(xe,$e)=>{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(()=>xe.type==="text"));const Ie=inject(buttonGroupContextKey,void 0),Fe=useGlobalConfig("button"),{form:Ue}=useFormItem(),qe=useFormSize(computed(()=>Ie==null?void 0:Ie.size)),At=useFormDisabled(),Dt=ref(),Lt=useSlots(),jt=computed(()=>xe.type||(Ie==null?void 0:Ie.type)||""),hn=computed(()=>{var wn,kn,Cn;return(Cn=(kn=xe.autoInsertSpace)!=null?kn:(wn=Fe.value)==null?void 0:wn.autoInsertSpace)!=null?Cn:!1}),vn=computed(()=>xe.tag==="button"?{ariaDisabled:At.value||xe.loading,disabled:At.value||xe.loading,autofocus:xe.autofocus,type:xe.nativeType}:{}),bn=computed(()=>{var wn;const kn=(wn=Lt.default)==null?void 0:wn.call(Lt);if(hn.value&&(kn==null?void 0:kn.length)===1){const Cn=kn[0];if((Cn==null?void 0:Cn.type)===Text$2){const Sn=Cn.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(Sn.trim())}}return!1});return{_disabled:At,_size:qe,_type:jt,_ref:Dt,_props:vn,shouldAddSpace:bn,handleClick:wn=>{xe.nativeType==="reset"&&(Ue==null||Ue.resetFields()),$e("click",wn)}}},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:xe=>xe instanceof MouseEvent};function bound01$1(xe,$e){isOnePointZero$1(xe)&&(xe="100%");var Ie=isPercentage$1(xe);return xe=$e===360?xe:Math.min($e,Math.max(0,parseFloat(xe))),Ie&&(xe=parseInt(String(xe*$e),10)/100),Math.abs(xe-$e)<1e-6?1:($e===360?xe=(xe<0?xe%$e+$e:xe%$e)/parseFloat(String($e)):xe=xe%$e/parseFloat(String($e)),xe)}function clamp01(xe){return Math.min(1,Math.max(0,xe))}function isOnePointZero$1(xe){return typeof xe=="string"&&xe.indexOf(".")!==-1&&parseFloat(xe)===1}function isPercentage$1(xe){return typeof xe=="string"&&xe.indexOf("%")!==-1}function boundAlpha(xe){return xe=parseFloat(xe),(isNaN(xe)||xe<0||xe>1)&&(xe=1),xe}function convertToPercentage(xe){return xe<=1?"".concat(Number(xe)*100,"%"):xe}function pad2(xe){return xe.length===1?"0"+xe:String(xe)}function rgbToRgb(xe,$e,Ie){return{r:bound01$1(xe,255)*255,g:bound01$1($e,255)*255,b:bound01$1(Ie,255)*255}}function rgbToHsl(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=0,Dt=(Fe+Ue)/2;if(Fe===Ue)At=0,qe=0;else{var Lt=Fe-Ue;switch(At=Dt>.5?Lt/(2-Fe-Ue):Lt/(Fe+Ue),Fe){case xe:qe=($e-Ie)/Lt+($e<Ie?6:0);break;case $e:qe=(Ie-xe)/Lt+2;break;case Ie:qe=(xe-$e)/Lt+4;break}qe/=6}return{h:qe,s:At,l:Dt}}function hue2rgb(xe,$e,Ie){return Ie<0&&(Ie+=1),Ie>1&&(Ie-=1),Ie<1/6?xe+($e-xe)*(6*Ie):Ie<1/2?$e:Ie<2/3?xe+($e-xe)*(2/3-Ie)*6:xe}function hslToRgb(xe,$e,Ie){var Fe,Ue,qe;if(xe=bound01$1(xe,360),$e=bound01$1($e,100),Ie=bound01$1(Ie,100),$e===0)Ue=Ie,qe=Ie,Fe=Ie;else{var At=Ie<.5?Ie*(1+$e):Ie+$e-Ie*$e,Dt=2*Ie-At;Fe=hue2rgb(Dt,At,xe+1/3),Ue=hue2rgb(Dt,At,xe),qe=hue2rgb(Dt,At,xe-1/3)}return{r:Fe*255,g:Ue*255,b:qe*255}}function rgbToHsv(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:qe=($e-Ie)/Dt+($e<Ie?6:0);break;case $e:qe=(Ie-xe)/Dt+2;break;case Ie:qe=(xe-$e)/Dt+4;break}qe/=6}return{h:qe,s:Lt,v:At}}function hsvToRgb(xe,$e,Ie){xe=bound01$1(xe,360)*6,$e=bound01$1($e,100),Ie=bound01$1(Ie,100);var Fe=Math.floor(xe),Ue=xe-Fe,qe=Ie*(1-$e),At=Ie*(1-Ue*$e),Dt=Ie*(1-(1-Ue)*$e),Lt=Fe%6,jt=[Ie,At,qe,qe,Dt,Ie][Lt],hn=[Dt,Ie,Ie,At,qe,qe][Lt],vn=[qe,qe,Dt,Ie,Ie,At][Lt];return{r:jt*255,g:hn*255,b:vn*255}}function rgbToHex(xe,$e,Ie,Fe){var Ue=[pad2(Math.round(xe).toString(16)),pad2(Math.round($e).toString(16)),pad2(Math.round(Ie).toString(16))];return Fe&&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(xe,$e,Ie,Fe,Ue){var qe=[pad2(Math.round(xe).toString(16)),pad2(Math.round($e).toString(16)),pad2(Math.round(Ie).toString(16)),pad2(convertDecimalToHex(Fe))];return Ue&&qe[0].startsWith(qe[0].charAt(1))&&qe[1].startsWith(qe[1].charAt(1))&&qe[2].startsWith(qe[2].charAt(1))&&qe[3].startsWith(qe[3].charAt(1))?qe[0].charAt(0)+qe[1].charAt(0)+qe[2].charAt(0)+qe[3].charAt(0):qe.join("")}function convertDecimalToHex(xe){return Math.round(parseFloat(xe)*255).toString(16)}function convertHexToDecimal(xe){return parseIntFromHex(xe)/255}function parseIntFromHex(xe){return parseInt(xe,16)}function numberInputToObject(xe){return{r:xe>>16,g:(xe&65280)>>8,b:xe&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(xe){var $e={r:0,g:0,b:0},Ie=1,Fe=null,Ue=null,qe=null,At=!1,Dt=!1;return typeof xe=="string"&&(xe=stringInputToObject(xe)),typeof xe=="object"&&(isValidCSSUnit(xe.r)&&isValidCSSUnit(xe.g)&&isValidCSSUnit(xe.b)?($e=rgbToRgb(xe.r,xe.g,xe.b),At=!0,Dt=String(xe.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.v)?(Fe=convertToPercentage(xe.s),Ue=convertToPercentage(xe.v),$e=hsvToRgb(xe.h,Fe,Ue),At=!0,Dt="hsv"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.l)&&(Fe=convertToPercentage(xe.s),qe=convertToPercentage(xe.l),$e=hslToRgb(xe.h,Fe,qe),At=!0,Dt="hsl"),Object.prototype.hasOwnProperty.call(xe,"a")&&(Ie=xe.a)),Ie=boundAlpha(Ie),{ok:At,format:xe.format||Dt,r:Math.min(255,Math.max($e.r,0)),g:Math.min(255,Math.max($e.g,0)),b:Math.min(255,Math.max($e.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(xe){if(xe=xe.trim().toLowerCase(),xe.length===0)return!1;var $e=!1;if(names[xe])xe=names[xe],$e=!0;else if(xe==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Ie=matchers.rgb.exec(xe);return Ie?{r:Ie[1],g:Ie[2],b:Ie[3]}:(Ie=matchers.rgba.exec(xe),Ie?{r:Ie[1],g:Ie[2],b:Ie[3],a:Ie[4]}:(Ie=matchers.hsl.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3]}:(Ie=matchers.hsla.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3],a:Ie[4]}:(Ie=matchers.hsv.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3]}:(Ie=matchers.hsva.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3],a:Ie[4]}:(Ie=matchers.hex8.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),a:convertHexToDecimal(Ie[4]),format:$e?"name":"hex8"}:(Ie=matchers.hex6.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),format:$e?"name":"hex"}:(Ie=matchers.hex4.exec(xe),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:$e?"name":"hex8"}:(Ie=matchers.hex3.exec(xe),Ie?{r:parseIntFromHex(Ie[1]+Ie[1]),g:parseIntFromHex(Ie[2]+Ie[2]),b:parseIntFromHex(Ie[3]+Ie[3]),format:$e?"name":"hex"}:!1)))))))))}function isValidCSSUnit(xe){return!!matchers.CSS_UNIT.exec(String(xe))}var TinyColor=function(){function xe($e,Ie){$e===void 0&&($e=""),Ie===void 0&&(Ie={});var Fe;if($e instanceof xe)return $e;typeof $e=="number"&&($e=numberInputToObject($e)),this.originalInput=$e;var Ue=inputToRGB($e);this.originalInput=$e,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=(Fe=Ie.format)!==null&&Fe!==void 0?Fe: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 xe.prototype.isDark=function(){return this.getBrightness()<128},xe.prototype.isLight=function(){return!this.isDark()},xe.prototype.getBrightness=function(){var $e=this.toRgb();return($e.r*299+$e.g*587+$e.b*114)/1e3},xe.prototype.getLuminance=function(){var $e=this.toRgb(),Ie,Fe,Ue,qe=$e.r/255,At=$e.g/255,Dt=$e.b/255;return qe<=.03928?Ie=qe/12.92:Ie=Math.pow((qe+.055)/1.055,2.4),At<=.03928?Fe=At/12.92:Fe=Math.pow((At+.055)/1.055,2.4),Dt<=.03928?Ue=Dt/12.92:Ue=Math.pow((Dt+.055)/1.055,2.4),.2126*Ie+.7152*Fe+.0722*Ue},xe.prototype.getAlpha=function(){return this.a},xe.prototype.setAlpha=function($e){return this.a=boundAlpha($e),this.roundA=Math.round(100*this.a)/100,this},xe.prototype.isMonochrome=function(){var $e=this.toHsl().s;return $e===0},xe.prototype.toHsv=function(){var $e=rgbToHsv(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,v:$e.v,a:this.a}},xe.prototype.toHsvString=function(){var $e=rgbToHsv(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.v*100);return this.a===1?"hsv(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsva(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHsl=function(){var $e=rgbToHsl(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,l:$e.l,a:this.a}},xe.prototype.toHslString=function(){var $e=rgbToHsl(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.l*100);return this.a===1?"hsl(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsla(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHex=function($e){return $e===void 0&&($e=!1),rgbToHex(this.r,this.g,this.b,$e)},xe.prototype.toHexString=function($e){return $e===void 0&&($e=!1),"#"+this.toHex($e)},xe.prototype.toHex8=function($e){return $e===void 0&&($e=!1),rgbaToHex(this.r,this.g,this.b,this.a,$e)},xe.prototype.toHex8String=function($e){return $e===void 0&&($e=!1),"#"+this.toHex8($e)},xe.prototype.toHexShortString=function($e){return $e===void 0&&($e=!1),this.a===1?this.toHexString($e):this.toHex8String($e)},xe.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},xe.prototype.toRgbString=function(){var $e=Math.round(this.r),Ie=Math.round(this.g),Fe=Math.round(this.b);return this.a===1?"rgb(".concat($e,", ").concat(Ie,", ").concat(Fe,")"):"rgba(".concat($e,", ").concat(Ie,", ").concat(Fe,", ").concat(this.roundA,")")},xe.prototype.toPercentageRgb=function(){var $e=function(Ie){return"".concat(Math.round(bound01$1(Ie,255)*100),"%")};return{r:$e(this.r),g:$e(this.g),b:$e(this.b),a:this.a}},xe.prototype.toPercentageRgbString=function(){var $e=function(Ie){return Math.round(bound01$1(Ie,255)*100)};return this.a===1?"rgb(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%)"):"rgba(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%, ").concat(this.roundA,")")},xe.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var $e="#"+rgbToHex(this.r,this.g,this.b,!1),Ie=0,Fe=Object.entries(names);Ie<Fe.length;Ie++){var Ue=Fe[Ie],qe=Ue[0],At=Ue[1];if($e===At)return qe}return!1},xe.prototype.toString=function($e){var Ie=!!$e;$e=$e??this.format;var Fe=!1,Ue=this.a<1&&this.a>=0,qe=!Ie&&Ue&&($e.startsWith("hex")||$e==="name");return qe?$e==="name"&&this.a===0?this.toName():this.toRgbString():($e==="rgb"&&(Fe=this.toRgbString()),$e==="prgb"&&(Fe=this.toPercentageRgbString()),($e==="hex"||$e==="hex6")&&(Fe=this.toHexString()),$e==="hex3"&&(Fe=this.toHexString(!0)),$e==="hex4"&&(Fe=this.toHex8String(!0)),$e==="hex8"&&(Fe=this.toHex8String()),$e==="name"&&(Fe=this.toName()),$e==="hsl"&&(Fe=this.toHslString()),$e==="hsv"&&(Fe=this.toHsvString()),Fe||this.toHexString())},xe.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},xe.prototype.clone=function(){return new xe(this.toString())},xe.prototype.lighten=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l+=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.brighten=function($e){$e===void 0&&($e=10);var Ie=this.toRgb();return Ie.r=Math.max(0,Math.min(255,Ie.r-Math.round(255*-($e/100)))),Ie.g=Math.max(0,Math.min(255,Ie.g-Math.round(255*-($e/100)))),Ie.b=Math.max(0,Math.min(255,Ie.b-Math.round(255*-($e/100)))),new xe(Ie)},xe.prototype.darken=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l-=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.tint=function($e){return $e===void 0&&($e=10),this.mix("white",$e)},xe.prototype.shade=function($e){return $e===void 0&&($e=10),this.mix("black",$e)},xe.prototype.desaturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s-=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.saturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s+=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.greyscale=function(){return this.desaturate(100)},xe.prototype.spin=function($e){var Ie=this.toHsl(),Fe=(Ie.h+$e)%360;return Ie.h=Fe<0?360+Fe:Fe,new xe(Ie)},xe.prototype.mix=function($e,Ie){Ie===void 0&&(Ie=50);var Fe=this.toRgb(),Ue=new xe($e).toRgb(),qe=Ie/100,At={r:(Ue.r-Fe.r)*qe+Fe.r,g:(Ue.g-Fe.g)*qe+Fe.g,b:(Ue.b-Fe.b)*qe+Fe.b,a:(Ue.a-Fe.a)*qe+Fe.a};return new xe(At)},xe.prototype.analogous=function($e,Ie){$e===void 0&&($e=6),Ie===void 0&&(Ie=30);var Fe=this.toHsl(),Ue=360/Ie,qe=[this];for(Fe.h=(Fe.h-(Ue*$e>>1)+720)%360;--$e;)Fe.h=(Fe.h+Ue)%360,qe.push(new xe(Fe));return qe},xe.prototype.complement=function(){var $e=this.toHsl();return $e.h=($e.h+180)%360,new xe($e)},xe.prototype.monochromatic=function($e){$e===void 0&&($e=6);for(var Ie=this.toHsv(),Fe=Ie.h,Ue=Ie.s,qe=Ie.v,At=[],Dt=1/$e;$e--;)At.push(new xe({h:Fe,s:Ue,v:qe})),qe=(qe+Dt)%1;return At},xe.prototype.splitcomplement=function(){var $e=this.toHsl(),Ie=$e.h;return[this,new xe({h:(Ie+72)%360,s:$e.s,l:$e.l}),new xe({h:(Ie+216)%360,s:$e.s,l:$e.l})]},xe.prototype.onBackground=function($e){var Ie=this.toRgb(),Fe=new xe($e).toRgb(),Ue=Ie.a+Fe.a*(1-Ie.a);return new xe({r:(Ie.r*Ie.a+Fe.r*Fe.a*(1-Ie.a))/Ue,g:(Ie.g*Ie.a+Fe.g*Fe.a*(1-Ie.a))/Ue,b:(Ie.b*Ie.a+Fe.b*Fe.a*(1-Ie.a))/Ue,a:Ue})},xe.prototype.triad=function(){return this.polyad(3)},xe.prototype.tetrad=function(){return this.polyad(4)},xe.prototype.polyad=function($e){for(var Ie=this.toHsl(),Fe=Ie.h,Ue=[this],qe=360/$e,At=1;At<$e;At++)Ue.push(new xe({h:(Fe+At*qe)%360,s:Ie.s,l:Ie.l}));return Ue},xe.prototype.equals=function($e){return this.toRgbString()===new xe($e).toRgbString()},xe}();function darken(xe,$e=20){return xe.mix("#141414",$e).toString()}function useButtonCustomStyle(xe){const $e=useFormDisabled(),Ie=useNamespace("button");return computed(()=>{let Fe={};const Ue=xe.color;if(Ue){const qe=new TinyColor(Ue),At=xe.dark?qe.tint(20).toString():darken(qe,20);if(xe.plain)Fe=Ie.cssVarBlock({"bg-color":xe.dark?darken(qe,90):qe.tint(90).toString(),"text-color":Ue,"border-color":xe.dark?darken(qe,50):qe.tint(50).toString(),"hover-text-color":`var(${Ie.cssVarName("color-white")})`,"hover-bg-color":Ue,"hover-border-color":Ue,"active-bg-color":At,"active-text-color":`var(${Ie.cssVarName("color-white")})`,"active-border-color":At}),$e.value&&(Fe[Ie.cssVarBlockName("disabled-bg-color")]=xe.dark?darken(qe,90):qe.tint(90).toString(),Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?darken(qe,50):qe.tint(50).toString(),Fe[Ie.cssVarBlockName("disabled-border-color")]=xe.dark?darken(qe,80):qe.tint(80).toString());else{const Dt=xe.dark?darken(qe,30):qe.tint(30).toString(),Lt=qe.isDark()?`var(${Ie.cssVarName("color-white")})`:`var(${Ie.cssVarName("color-black")})`;if(Fe=Ie.cssVarBlock({"bg-color":Ue,"text-color":Lt,"border-color":Ue,"hover-bg-color":Dt,"hover-text-color":Lt,"hover-border-color":Dt,"active-bg-color":At,"active-border-color":At}),$e.value){const jt=xe.dark?darken(qe,50):qe.tint(50).toString();Fe[Ie.cssVarBlockName("disabled-bg-color")]=jt,Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?"rgba(255, 255, 255, 0.5)":`var(${Ie.cssVarName("color-white")})`,Fe[Ie.cssVarBlockName("disabled-border-color")]=jt}}}return Fe})}const __default__$1r=defineComponent({name:"ElButton"}),_sfc_main$24=defineComponent({...__default__$1r,props:buttonProps,emits:buttonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useButtonCustomStyle(Fe),qe=useNamespace("button"),{_ref:At,_size:Dt,_type:Lt,_disabled:jt,_props:hn,shouldAddSpace:vn,handleClick:bn}=useButton(Fe,Ie),_n=computed(()=>[qe.b(),qe.m(Lt.value),qe.m(Dt.value),qe.is("disabled",jt.value),qe.is("loading",Fe.loading),qe.is("plain",Fe.plain),qe.is("round",Fe.round),qe.is("circle",Fe.circle),qe.is("text",Fe.text),qe.is("link",Fe.link),qe.is("has-bg",Fe.bg)]);return $e({ref:At,size:Dt,type:Lt,disabled:jt,shouldAddSpace:vn}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(wn.tag),mergeProps({ref_key:"_ref",ref:At},unref(hn),{class:unref(_n),style:unref(Ue),onClick:unref(bn)}),{default:withCtx(()=>[wn.loading?(openBlock(),createElementBlock(Fragment,{key:0},[wn.$slots.loading?renderSlot(wn.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.loadingIcon)))]),_:1},8,["class"]))],64)):wn.icon||wn.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[wn.icon?(openBlock(),createBlock(resolveDynamicComponent(wn.icon),{key:0})):renderSlot(wn.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),wn.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(qe).em("text","expand")]:unref(vn)})},[renderSlot(wn.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc(_sfc_main$24,[["__file","button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1q=defineComponent({name:"ElButtonGroup"}),_sfc_main$23=defineComponent({...__default__$1q,props:buttonGroupProps,setup(xe){const $e=xe;provide(buttonGroupContextKey,reactive({size:toRef($e,"size"),type:toRef($e,"type")}));const Ie=useNamespace("button");return(Fe,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(Ie).b("group")}`)},[renderSlot(Fe.$slots,"default")],2))}});var ButtonGroup=_export_sfc(_sfc_main$23,[["__file","button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var dayjs_min={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie=1e3,Fe=6e4,Ue=36e5,qe="millisecond",At="second",Dt="minute",Lt="hour",jt="day",hn="week",vn="month",bn="quarter",_n="year",wn="date",kn="Invalid Date",Cn=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Sn=/\[([^\]]+)]|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,xn={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(Vn){var Ln=["th","st","nd","rd"],Dn=Vn%100;return"["+Vn+(Ln[(Dn-20)%10]||Ln[Dn]||Ln[0])+"]"}},En=function(Vn,Ln,Dn){var Hn=String(Vn);return!Hn||Hn.length>=Ln?Vn:""+Array(Ln+1-Hn.length).join(Dn)+Vn},Tn={s:En,z:function(Vn){var Ln=-Vn.utcOffset(),Dn=Math.abs(Ln),Hn=Math.floor(Dn/60),Fn=Dn%60;return(Ln<=0?"+":"-")+En(Hn,2,"0")+":"+En(Fn,2,"0")},m:function Vn(Ln,Dn){if(Ln.date()<Dn.date())return-Vn(Dn,Ln);var Hn=12*(Dn.year()-Ln.year())+(Dn.month()-Ln.month()),Fn=Ln.clone().add(Hn,vn),zn=Dn-Fn<0,jn=Ln.clone().add(Hn+(zn?-1:1),vn);return+(-(Hn+(Dn-Fn)/(zn?Fn-jn:jn-Fn))||0)},a:function(Vn){return Vn<0?Math.ceil(Vn)||0:Math.floor(Vn)},p:function(Vn){return{M:vn,y:_n,w:hn,d:jt,D:wn,h:Lt,m:Dt,s:At,ms:qe,Q:bn}[Vn]||String(Vn||"").toLowerCase().replace(/s$/,"")},u:function(Vn){return Vn===void 0}},An="en",$n={};$n[An]=xn;var Pn="$isDayjsObject",Nn=function(Vn){return Vn instanceof Rn||!(!Vn||!Vn[Pn])},Mn=function Vn(Ln,Dn,Hn){var Fn;if(!Ln)return An;if(typeof Ln=="string"){var zn=Ln.toLowerCase();$n[zn]&&(Fn=zn),Dn&&($n[zn]=Dn,Fn=zn);var jn=Ln.split("-");if(!Fn&&jn.length>1)return Vn(jn[0])}else{var Gn=Ln.name;$n[Gn]=Ln,Fn=Gn}return!Hn&&Fn&&(An=Fn),Fn||!Hn&&An},In=function(Vn,Ln){if(Nn(Vn))return Vn.clone();var Dn=typeof Ln=="object"?Ln:{};return Dn.date=Vn,Dn.args=arguments,new Rn(Dn)},On=Tn;On.l=Mn,On.i=Nn,On.w=function(Vn,Ln){return In(Vn,{locale:Ln.$L,utc:Ln.$u,x:Ln.$x,$offset:Ln.$offset})};var Rn=function(){function Vn(Dn){this.$L=Mn(Dn.locale,null,!0),this.parse(Dn),this.$x=this.$x||Dn.x||{},this[Pn]=!0}var Ln=Vn.prototype;return Ln.parse=function(Dn){this.$d=function(Hn){var Fn=Hn.date,zn=Hn.utc;if(Fn===null)return new Date(NaN);if(On.u(Fn))return new Date;if(Fn instanceof Date)return new Date(Fn);if(typeof Fn=="string"&&!/Z$/i.test(Fn)){var jn=Fn.match(Cn);if(jn){var Gn=jn[2]-1||0,Wn=(jn[7]||"0").substring(0,3);return zn?new Date(Date.UTC(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)):new Date(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)}}return new Date(Fn)}(Dn),this.init()},Ln.init=function(){var Dn=this.$d;this.$y=Dn.getFullYear(),this.$M=Dn.getMonth(),this.$D=Dn.getDate(),this.$W=Dn.getDay(),this.$H=Dn.getHours(),this.$m=Dn.getMinutes(),this.$s=Dn.getSeconds(),this.$ms=Dn.getMilliseconds()},Ln.$utils=function(){return On},Ln.isValid=function(){return this.$d.toString()!==kn},Ln.isSame=function(Dn,Hn){var Fn=In(Dn);return this.startOf(Hn)<=Fn&&Fn<=this.endOf(Hn)},Ln.isAfter=function(Dn,Hn){return In(Dn)<this.startOf(Hn)},Ln.isBefore=function(Dn,Hn){return this.endOf(Hn)<In(Dn)},Ln.$g=function(Dn,Hn,Fn){return On.u(Dn)?this[Hn]:this.set(Fn,Dn)},Ln.unix=function(){return Math.floor(this.valueOf()/1e3)},Ln.valueOf=function(){return this.$d.getTime()},Ln.startOf=function(Dn,Hn){var Fn=this,zn=!!On.u(Hn)||Hn,jn=On.p(Dn),Gn=function(ar,tr){var or=On.w(Fn.$u?Date.UTC(Fn.$y,tr,ar):new Date(Fn.$y,tr,ar),Fn);return zn?or:or.endOf(jt)},Wn=function(ar,tr){return On.w(Fn.toDate()[ar].apply(Fn.toDate("s"),(zn?[0,0,0,0]:[23,59,59,999]).slice(tr)),Fn)},Xn=this.$W,er=this.$M,rr=this.$D,Jn="set"+(this.$u?"UTC":"");switch(jn){case _n:return zn?Gn(1,0):Gn(31,11);case vn:return zn?Gn(1,er):Gn(0,er+1);case hn:var qn=this.$locale().weekStart||0,Yn=(Xn<qn?Xn+7:Xn)-qn;return Gn(zn?rr-Yn:rr+(6-Yn),er);case jt:case wn:return Wn(Jn+"Hours",0);case Lt:return Wn(Jn+"Minutes",1);case Dt:return Wn(Jn+"Seconds",2);case At:return Wn(Jn+"Milliseconds",3);default:return this.clone()}},Ln.endOf=function(Dn){return this.startOf(Dn,!1)},Ln.$set=function(Dn,Hn){var Fn,zn=On.p(Dn),jn="set"+(this.$u?"UTC":""),Gn=(Fn={},Fn[jt]=jn+"Date",Fn[wn]=jn+"Date",Fn[vn]=jn+"Month",Fn[_n]=jn+"FullYear",Fn[Lt]=jn+"Hours",Fn[Dt]=jn+"Minutes",Fn[At]=jn+"Seconds",Fn[qe]=jn+"Milliseconds",Fn)[zn],Wn=zn===jt?this.$D+(Hn-this.$W):Hn;if(zn===vn||zn===_n){var Xn=this.clone().set(wn,1);Xn.$d[Gn](Wn),Xn.init(),this.$d=Xn.set(wn,Math.min(this.$D,Xn.daysInMonth())).$d}else Gn&&this.$d[Gn](Wn);return this.init(),this},Ln.set=function(Dn,Hn){return this.clone().$set(Dn,Hn)},Ln.get=function(Dn){return this[On.p(Dn)]()},Ln.add=function(Dn,Hn){var Fn,zn=this;Dn=Number(Dn);var jn=On.p(Hn),Gn=function(er){var rr=In(zn);return On.w(rr.date(rr.date()+Math.round(er*Dn)),zn)};if(jn===vn)return this.set(vn,this.$M+Dn);if(jn===_n)return this.set(_n,this.$y+Dn);if(jn===jt)return Gn(1);if(jn===hn)return Gn(7);var Wn=(Fn={},Fn[Dt]=Fe,Fn[Lt]=Ue,Fn[At]=Ie,Fn)[jn]||1,Xn=this.$d.getTime()+Dn*Wn;return On.w(Xn,this)},Ln.subtract=function(Dn,Hn){return this.add(-1*Dn,Hn)},Ln.format=function(Dn){var Hn=this,Fn=this.$locale();if(!this.isValid())return Fn.invalidDate||kn;var zn=Dn||"YYYY-MM-DDTHH:mm:ssZ",jn=On.z(this),Gn=this.$H,Wn=this.$m,Xn=this.$M,er=Fn.weekdays,rr=Fn.months,Jn=Fn.meridiem,qn=function(tr,or,sr,Kn){return tr&&(tr[or]||tr(Hn,zn))||sr[or].slice(0,Kn)},Yn=function(tr){return On.s(Gn%12||12,tr,"0")},ar=Jn||function(tr,or,sr){var Kn=tr<12?"AM":"PM";return sr?Kn.toLowerCase():Kn};return zn.replace(Sn,function(tr,or){return or||function(sr){switch(sr){case"YY":return String(Hn.$y).slice(-2);case"YYYY":return On.s(Hn.$y,4,"0");case"M":return Xn+1;case"MM":return On.s(Xn+1,2,"0");case"MMM":return qn(Fn.monthsShort,Xn,rr,3);case"MMMM":return qn(rr,Xn);case"D":return Hn.$D;case"DD":return On.s(Hn.$D,2,"0");case"d":return String(Hn.$W);case"dd":return qn(Fn.weekdaysMin,Hn.$W,er,2);case"ddd":return qn(Fn.weekdaysShort,Hn.$W,er,3);case"dddd":return er[Hn.$W];case"H":return String(Gn);case"HH":return On.s(Gn,2,"0");case"h":return Yn(1);case"hh":return Yn(2);case"a":return ar(Gn,Wn,!0);case"A":return ar(Gn,Wn,!1);case"m":return String(Wn);case"mm":return On.s(Wn,2,"0");case"s":return String(Hn.$s);case"ss":return On.s(Hn.$s,2,"0");case"SSS":return On.s(Hn.$ms,3,"0");case"Z":return jn}return null}(tr)||jn.replace(":","")})},Ln.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ln.diff=function(Dn,Hn,Fn){var zn,jn=this,Gn=On.p(Hn),Wn=In(Dn),Xn=(Wn.utcOffset()-this.utcOffset())*Fe,er=this-Wn,rr=function(){return On.m(jn,Wn)};switch(Gn){case _n:zn=rr()/12;break;case vn:zn=rr();break;case bn:zn=rr()/3;break;case hn:zn=(er-Xn)/6048e5;break;case jt:zn=(er-Xn)/864e5;break;case Lt:zn=er/Ue;break;case Dt:zn=er/Fe;break;case At:zn=er/Ie;break;default:zn=er}return Fn?zn:On.a(zn)},Ln.daysInMonth=function(){return this.endOf(vn).$D},Ln.$locale=function(){return $n[this.$L]},Ln.locale=function(Dn,Hn){if(!Dn)return this.$L;var Fn=this.clone(),zn=Mn(Dn,Hn,!0);return zn&&(Fn.$L=zn),Fn},Ln.clone=function(){return On.w(this.$d,this)},Ln.toDate=function(){return new Date(this.valueOf())},Ln.toJSON=function(){return this.isValid()?this.toISOString():null},Ln.toISOString=function(){return this.$d.toISOString()},Ln.toString=function(){return this.$d.toUTCString()},Vn}(),Bn=Rn.prototype;return In.prototype=Bn,[["$ms",qe],["$s",At],["$m",Dt],["$H",Lt],["$W",jt],["$M",vn],["$y",_n],["$D",wn]].forEach(function(Vn){Bn[Vn[1]]=function(Ln){return this.$g(Ln,Vn[0],Vn[1])}}),In.extend=function(Vn,Ln){return Vn.$i||(Vn(Ln,Rn,In),Vn.$i=!0),In},In.locale=Mn,In.isDayjs=Nn,In.unix=function(Vn){return In(1e3*Vn)},In.en=$n[An],In.Ls=$n,In.p={},In})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var customParseFormat$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(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"},Fe=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,Ue=/\d\d/,qe=/\d\d?/,At=/\d*[^-_:/,()\s\d]+/,Dt={},Lt=function(kn){return(kn=+kn)+(kn>68?1900:2e3)},jt=function(kn){return function(Cn){this[kn]=+Cn}},hn=[/[+-]\d\d:?(\d\d)?|Z/,function(kn){(this.zone||(this.zone={})).offset=function(Cn){if(!Cn||Cn==="Z")return 0;var Sn=Cn.match(/([+-]|\d\d)/g),xn=60*Sn[1]+(+Sn[2]||0);return xn===0?0:Sn[0]==="+"?-xn:xn}(kn)}],vn=function(kn){var Cn=Dt[kn];return Cn&&(Cn.indexOf?Cn:Cn.s.concat(Cn.f))},bn=function(kn,Cn){var Sn,xn=Dt.meridiem;if(xn){for(var En=1;En<=24;En+=1)if(kn.indexOf(xn(En,0,Cn))>-1){Sn=En>12;break}}else Sn=kn===(Cn?"pm":"PM");return Sn},_n={A:[At,function(kn){this.afternoon=bn(kn,!1)}],a:[At,function(kn){this.afternoon=bn(kn,!0)}],S:[/\d/,function(kn){this.milliseconds=100*+kn}],SS:[Ue,function(kn){this.milliseconds=10*+kn}],SSS:[/\d{3}/,function(kn){this.milliseconds=+kn}],s:[qe,jt("seconds")],ss:[qe,jt("seconds")],m:[qe,jt("minutes")],mm:[qe,jt("minutes")],H:[qe,jt("hours")],h:[qe,jt("hours")],HH:[qe,jt("hours")],hh:[qe,jt("hours")],D:[qe,jt("day")],DD:[Ue,jt("day")],Do:[At,function(kn){var Cn=Dt.ordinal,Sn=kn.match(/\d+/);if(this.day=Sn[0],Cn)for(var xn=1;xn<=31;xn+=1)Cn(xn).replace(/\[|\]/g,"")===kn&&(this.day=xn)}],M:[qe,jt("month")],MM:[Ue,jt("month")],MMM:[At,function(kn){var Cn=vn("months"),Sn=(vn("monthsShort")||Cn.map(function(xn){return xn.slice(0,3)})).indexOf(kn)+1;if(Sn<1)throw new Error;this.month=Sn%12||Sn}],MMMM:[At,function(kn){var Cn=vn("months").indexOf(kn)+1;if(Cn<1)throw new Error;this.month=Cn%12||Cn}],Y:[/[+-]?\d+/,jt("year")],YY:[Ue,function(kn){this.year=Lt(kn)}],YYYY:[/\d{4}/,jt("year")],Z:hn,ZZ:hn};function wn(kn){var Cn,Sn;Cn=kn,Sn=Dt&&Dt.formats;for(var xn=(kn=Cn.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Mn,In,On){var Rn=On&&On.toUpperCase();return In||Sn[On]||Ie[On]||Sn[Rn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Bn,Vn,Ln){return Vn||Ln.slice(1)})})).match(Fe),En=xn.length,Tn=0;Tn<En;Tn+=1){var An=xn[Tn],$n=_n[An],Pn=$n&&$n[0],Nn=$n&&$n[1];xn[Tn]=Nn?{regex:Pn,parser:Nn}:An.replace(/^\[|\]$/g,"")}return function(Mn){for(var In={},On=0,Rn=0;On<En;On+=1){var Bn=xn[On];if(typeof Bn=="string")Rn+=Bn.length;else{var Vn=Bn.regex,Ln=Bn.parser,Dn=Mn.slice(Rn),Hn=Vn.exec(Dn)[0];Ln.call(In,Hn),Mn=Mn.replace(Hn,"")}}return function(Fn){var zn=Fn.afternoon;if(zn!==void 0){var jn=Fn.hours;zn?jn<12&&(Fn.hours+=12):jn===12&&(Fn.hours=0),delete Fn.afternoon}}(In),In}}return function(kn,Cn,Sn){Sn.p.customParseFormat=!0,kn&&kn.parseTwoDigitYear&&(Lt=kn.parseTwoDigitYear);var xn=Cn.prototype,En=xn.parse;xn.parse=function(Tn){var An=Tn.date,$n=Tn.utc,Pn=Tn.args;this.$u=$n;var Nn=Pn[1];if(typeof Nn=="string"){var Mn=Pn[2]===!0,In=Pn[3]===!0,On=Mn||In,Rn=Pn[2];In&&(Rn=Pn[2]),Dt=this.$locale(),!Mn&&Rn&&(Dt=Sn.Ls[Rn]),this.$d=function(Dn,Hn,Fn){try{if(["x","X"].indexOf(Hn)>-1)return new Date((Hn==="X"?1e3:1)*Dn);var zn=wn(Hn)(Dn),jn=zn.year,Gn=zn.month,Wn=zn.day,Xn=zn.hours,er=zn.minutes,rr=zn.seconds,Jn=zn.milliseconds,qn=zn.zone,Yn=new Date,ar=Wn||(jn||Gn?1:Yn.getDate()),tr=jn||Yn.getFullYear(),or=0;jn&&!Gn||(or=Gn>0?Gn-1:Yn.getMonth());var sr=Xn||0,Kn=er||0,Zn=rr||0,nr=Jn||0;return qn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr+60*qn.offset*1e3)):Fn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr)):new Date(tr,or,ar,sr,Kn,Zn,nr)}catch{return new Date("")}}(An,Nn,$n),this.init(),Rn&&Rn!==!0&&(this.$L=this.locale(Rn).$L),On&&An!=this.format(Nn)&&(this.$d=new Date("")),Dt={}}else if(Nn instanceof Array)for(var Bn=Nn.length,Vn=1;Vn<=Bn;Vn+=1){Pn[1]=Nn[Vn-1];var Ln=Sn.apply(this,Pn);if(Ln.isValid()){this.$d=Ln.$d,this.$L=Ln.$L,this.init();break}Vn===Bn&&(this.$d=new Date(""))}else En.call(this,Tn)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$1=["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",years:"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=(xe,$e)=>[xe>0?xe-1:void 0,xe,xe<$e?xe+1:void 0],rangeArr=xe=>Array.from(Array.from({length:xe}).keys()),extractDateFormat=xe=>xe.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=xe=>xe.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(xe,$e){const Ie=isDate$1(xe),Fe=isDate$1($e);return Ie&&Fe?xe.getTime()===$e.getTime():!Ie&&!Fe?xe===$e:!1},valueEquals=function(xe,$e){const Ie=isArray$6(xe),Fe=isArray$6($e);return Ie&&Fe?xe.length!==$e.length?!1:xe.every((Ue,qe)=>dateEquals(Ue,$e[qe])):!Ie&&!Fe?dateEquals(xe,$e):!1},parseDate=function(xe,$e,Ie){const Fe=isEmpty($e)||$e==="x"?dayjs(xe).locale(Ie):dayjs(xe,$e).locale(Ie);return Fe.isValid()?Fe:void 0},formatter=function(xe,$e,Ie){return isEmpty($e)?xe:$e==="x"?+xe:dayjs(xe).locale(Ie).format($e)},makeList=(xe,$e)=>{var Ie;const Fe=[],Ue=$e==null?void 0:$e();for(let qe=0;qe<xe;qe++)Fe.push((Ie=Ue==null?void 0:Ue.includes(qe))!=null?Ie:!1);return Fe},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,dateFormat:String,timeFormat: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:Boolean,disabled:Boolean,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:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),_hoisted_1$11=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$G=["id","name","placeholder","value","disabled","readonly"],__default__$1p=defineComponent({name:"Picker"}),_sfc_main$22=defineComponent({...__default__$1p,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),{lang:qe}=useLocale(),At=useNamespace("date"),Dt=useNamespace("input"),Lt=useNamespace("range"),{form:jt,formItem:hn}=useFormItem(),vn=inject("ElPopperOptions",{}),{valueOnClear:bn}=useEmptyValues(Fe,null),_n=ref(),wn=ref(),kn=ref(!1),Cn=ref(!1),Sn=ref(null);let xn=!1,En=!1;const Tn=computed(()=>[At.b("editor"),At.bm("editor",Fe.type),Dt.e("wrapper"),At.is("disabled",Xn.value),At.is("active",kn.value),Lt.b("editor"),Cr?Lt.bm("editor",Cr.value):"",Ue.class]),An=computed(()=>[Dt.e("icon"),Lt.e("close-icon"),or.value?"":Lt.e("close-icon--hidden")]);watch(kn,mr=>{mr?nextTick(()=>{mr&&(Sn.value=Fe.modelValue)}):(br.value=null,nextTick(()=>{$n(Fe.modelValue)}))});const $n=(mr,Lr)=>{(Lr||!valueEquals(mr,Sn.value))&&(Ie("change",mr),Fe.validateEvent&&(hn==null||hn.validate("change").catch(zr=>void 0)))},Pn=mr=>{if(!valueEquals(Fe.modelValue,mr)){let Lr;isArray$6(mr)?Lr=mr.map(zr=>formatter(zr,Fe.valueFormat,qe.value)):mr&&(Lr=formatter(mr,Fe.valueFormat,qe.value)),Ie("update:modelValue",mr&&Lr,qe.value)}},Nn=mr=>{Ie("keydown",mr)},Mn=computed(()=>{if(wn.value){const mr=kr.value?wn.value:wn.value.$el;return Array.from(mr.querySelectorAll("input"))}return[]}),In=(mr,Lr,zr)=>{const Vr=Mn.value;Vr.length&&(!zr||zr==="min"?(Vr[0].setSelectionRange(mr,Lr),Vr[0].focus()):zr==="max"&&(Vr[1].setSelectionRange(mr,Lr),Vr[1].focus()))},On=()=>{zn(!0,!0),nextTick(()=>{En=!1})},Rn=(mr="",Lr=!1)=>{Lr||(En=!0),kn.value=Lr;let zr;isArray$6(mr)?zr=mr.map(Vr=>Vr.toDate()):zr=mr&&mr.toDate(),br.value=null,Pn(zr)},Bn=()=>{Cn.value=!0},Vn=()=>{Ie("visible-change",!0)},Ln=mr=>{(mr==null?void 0:mr.key)===EVENT_CODE.esc&&zn(!0,!0)},Dn=()=>{Cn.value=!1,kn.value=!1,En=!1,Ie("visible-change",!1)},Hn=()=>{kn.value=!0},Fn=()=>{kn.value=!1},zn=(mr=!0,Lr=!1)=>{En=Lr;const[zr,Vr]=unref(Mn);let Kr=zr;!mr&&kr.value&&(Kr=Vr),Kr&&Kr.focus()},jn=mr=>{Fe.readonly||Xn.value||kn.value||En||(kn.value=!0,Ie("focus",mr))};let Gn;const Wn=mr=>{const Lr=async()=>{setTimeout(()=>{var zr;Gn===Lr&&(!((zr=_n.value)!=null&&zr.isFocusInsideContent()&&!xn)&&Mn.value.filter(Vr=>Vr.contains(document.activeElement)).length===0&&(_r(),kn.value=!1,Ie("blur",mr),Fe.validateEvent&&(hn==null||hn.validate("blur").catch(Vr=>void 0))),xn=!1)},0)};Gn=Lr,Lr()},Xn=computed(()=>Fe.disabled||(jt==null?void 0:jt.disabled)),er=computed(()=>{let mr;if(Kn.value?Tr.value.getDefaultValue&&(mr=Tr.value.getDefaultValue()):isArray$6(Fe.modelValue)?mr=Fe.modelValue.map(Lr=>parseDate(Lr,Fe.valueFormat,qe.value)):mr=parseDate(Fe.modelValue,Fe.valueFormat,qe.value),Tr.value.getRangeAvailableTime){const Lr=Tr.value.getRangeAvailableTime(mr);isEqual$1(Lr,mr)||(mr=Lr,Pn(isArray$6(mr)?mr.map(zr=>zr.toDate()):mr.toDate()))}return isArray$6(mr)&&mr.some(Lr=>!Lr)&&(mr=[]),mr}),rr=computed(()=>{if(!Tr.value.panelReady)return"";const mr=vr(er.value);return isArray$6(br.value)?[br.value[0]||mr&&mr[0]||"",br.value[1]||mr&&mr[1]||""]:br.value!==null?br.value:!qn.value&&Kn.value||!kn.value&&Kn.value?"":mr?Yn.value||ar.value?mr.join(", "):mr:""}),Jn=computed(()=>Fe.type.includes("time")),qn=computed(()=>Fe.type.startsWith("time")),Yn=computed(()=>Fe.type==="dates"),ar=computed(()=>Fe.type==="years"),tr=computed(()=>Fe.prefixIcon||(Jn.value?clock_default:calendar_default)),or=ref(!1),sr=mr=>{Fe.readonly||Xn.value||or.value&&(mr.stopPropagation(),On(),Pn(bn.value),$n(bn.value,!0),or.value=!1,kn.value=!1,Tr.value.handleClear&&Tr.value.handleClear())},Kn=computed(()=>{const{modelValue:mr}=Fe;return!mr||isArray$6(mr)&&!mr.filter(Boolean).length}),Zn=async mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},nr=()=>{Fe.readonly||Xn.value||!Kn.value&&Fe.clearable&&(or.value=!0)},lr=()=>{or.value=!1},ir=mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.touches[0].target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},kr=computed(()=>Fe.type.includes("range")),Cr=useFormSize(),Er=computed(()=>{var mr,Lr;return(Lr=(mr=unref(_n))==null?void 0:mr.popperRef)==null?void 0:Lr.contentRef}),dr=computed(()=>{var mr;return unref(kr)?unref(wn):(mr=unref(wn))==null?void 0:mr.$el});onClickOutside(dr,mr=>{const Lr=unref(Er),zr=unref(dr);Lr&&(mr.target===Lr||mr.composedPath().includes(Lr))||mr.target===zr||mr.composedPath().includes(zr)||(kn.value=!1)});const br=ref(null),_r=()=>{if(br.value){const mr=Pr(rr.value);mr&&xr(mr)&&(Pn(isArray$6(mr)?mr.map(Lr=>Lr.toDate()):mr.toDate()),br.value=null)}br.value===""&&(Pn(bn.value),$n(bn.value),br.value=null)},Pr=mr=>mr?Tr.value.parseUserInput(mr):null,vr=mr=>mr?Tr.value.formatToString(mr):null,xr=mr=>Tr.value.isValidValue(mr),Rr=async mr=>{if(Fe.readonly||Xn.value)return;const{code:Lr}=mr;if(Nn(mr),Lr===EVENT_CODE.esc){kn.value===!0&&(kn.value=!1,mr.preventDefault(),mr.stopPropagation());return}if(Lr===EVENT_CODE.down&&(Tr.value.handleFocusPicker&&(mr.preventDefault(),mr.stopPropagation()),kn.value===!1&&(kn.value=!0,await nextTick()),Tr.value.handleFocusPicker)){Tr.value.handleFocusPicker();return}if(Lr===EVENT_CODE.tab){xn=!0;return}if(Lr===EVENT_CODE.enter||Lr===EVENT_CODE.numpadEnter){(br.value===null||br.value===""||xr(Pr(rr.value)))&&(_r(),kn.value=!1),mr.stopPropagation();return}if(br.value){mr.stopPropagation();return}Tr.value.handleKeydownInput&&Tr.value.handleKeydownInput(mr)},Hr=mr=>{br.value=mr,kn.value||(kn.value=!0)},Jr=mr=>{const Lr=mr.target;br.value?br.value=[Lr.value,br.value[1]]:br.value=[Lr.value,null]},Gr=mr=>{const Lr=mr.target;br.value?br.value=[br.value[0],Lr.value]:br.value=[null,Lr.value]},$r=()=>{var mr;const Lr=br.value,zr=Pr(Lr&&Lr[0]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[vr(zr),((mr=rr.value)==null?void 0:mr[1])||null];const Kr=[zr,Vr&&(Vr[1]||null)];xr(Kr)&&(Pn(Kr),br.value=null)}},Br=()=>{var mr;const Lr=unref(br),zr=Pr(Lr&&Lr[1]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[((mr=unref(rr))==null?void 0:mr[0])||null,vr(zr)];const Kr=[Vr&&Vr[0],zr];xr(Kr)&&(Pn(Kr),br.value=null)}},Tr=ref({}),cr=mr=>{Tr.value[mr[0]]=mr[1],Tr.value.panelReady=!0},Sr=mr=>{Ie("calendar-change",mr)},Dr=(mr,Lr,zr)=>{Ie("panel-change",mr,Lr,zr)};return provide("EP_PICKER_BASE",{props:Fe}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-time-picker",ref:"https://element-plus.org/en-US/component/time-picker.html"},computed(()=>!!Fe.label)),$e({focus:zn,handleFocusInput:jn,handleBlurInput:Wn,handleOpen:Hn,handleClose:Fn,onPick:Rn}),(mr,Lr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:_n,visible:kn.value,effect:"light",pure:"",trigger:"click"},mr.$attrs,{role:"dialog",teleported:"",transition:`${unref(At).namespace.value}-zoom-in-top`,"popper-class":[`${unref(At).namespace.value}-picker__popper`,mr.popperClass],"popper-options":unref(vn),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Bn,onShow:Vn,onHide:Dn}),{default:withCtx(()=>[unref(kr)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:wn,class:normalizeClass(unref(Tn)),style:normalizeStyle$1(mr.$attrs.style),onClick:jn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onKeydown:Rr},[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Dt).e("icon"),unref(Lt).e("icon")]),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:mr.id&&mr.id[0],autocomplete:"off",name:mr.name&&mr.name[0],placeholder:mr.startPlaceholder,value:unref(rr)&&unref(rr)[0],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onInput:Jr,onChange:$r,onFocus:jn,onBlur:Wn},null,42,_hoisted_1$11),renderSlot(mr.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(Lt).b("separator"))},toDisplayString(mr.rangeSeparator),3)]),createBaseVNode("input",{id:mr.id&&mr.id[1],autocomplete:"off",name:mr.name&&mr.name[1],placeholder:mr.endPlaceholder,value:unref(rr)&&unref(rr)[1],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onFocus:jn,onBlur:Wn,onInput:Gr,onChange:Br},null,42,_hoisted_2$G),mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(An)),onClick:sr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:mr.id,ref_key:"inputRef",ref:wn,"container-role":"combobox","model-value":unref(rr),name:mr.name,size:unref(Cr),disabled:unref(Xn),placeholder:mr.placeholder,class:normalizeClass([unref(At).b("editor"),unref(At).bm("editor",mr.type),mr.$attrs.class]),style:normalizeStyle$1(mr.$attrs.style),readonly:!mr.editable||mr.readonly||unref(Yn)||unref(ar)||mr.type==="week","aria-label":mr.label||mr.ariaLabel,tabindex:mr.tabindex,"validate-event":!1,onInput:Hr,onFocus:jn,onBlur:Wn,onKeydown:Rr,onChange:_r,onMousedown:Zn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onClick:Lr[0]||(Lr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Dt).e("icon")),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[or.value&&mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(Dt).e("icon")} clear-icon`),onClick:withModifiers(sr,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(mr.$slots,"default",{visible:kn.value,actualVisible:Cn.value,parsedValue:unref(er),format:mr.format,dateFormat:mr.dateFormat,timeFormat:mr.timeFormat,unlinkPanels:mr.unlinkPanels,type:mr.type,defaultValue:mr.defaultValue,onPick:Rn,onSelectRange:In,onSetPickerOption:cr,onCalendarChange:Sr,onPanelChange:Dr,onKeydown:Ln,onMousedown:Lr[1]||(Lr[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc(_sfc_main$22,[["__file","picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:xe,getAvailableMinutes:$e,getAvailableSeconds:Ie})=>{const Fe=(At,Dt,Lt,jt)=>{const hn={hour:xe,minute:$e,second:Ie};let vn=At;return["hour","minute","second"].forEach(bn=>{if(hn[bn]){let _n;const wn=hn[bn];switch(bn){case"minute":{_n=wn(vn.hour(),Dt,jt);break}case"second":{_n=wn(vn.hour(),vn.minute(),Dt,jt);break}default:{_n=wn(Dt,jt);break}}if(_n!=null&&_n.length&&!_n.includes(vn[bn]())){const kn=Lt?0:_n.length-1;vn=vn[bn](_n[kn])}}}),vn},Ue={};return{timePickerOptions:Ue,getAvailableTime:Fe,onSetOption:([At,Dt])=>{Ue[At]=Dt}}},makeAvailableArr=xe=>{const $e=(Fe,Ue)=>Fe||Ue,Ie=Fe=>Fe!==!0;return xe.map($e).filter(Ie)},getTimeLists=(xe,$e,Ie)=>({getHoursList:(At,Dt)=>makeList(24,xe&&(()=>xe==null?void 0:xe(At,Dt))),getMinutesList:(At,Dt,Lt)=>makeList(60,$e&&(()=>$e==null?void 0:$e(At,Dt,Lt))),getSecondsList:(At,Dt,Lt,jt)=>makeList(60,Ie&&(()=>Ie==null?void 0:Ie(At,Dt,Lt,jt)))}),buildAvailableTimeSlotGetter=(xe,$e,Ie)=>{const{getHoursList:Fe,getMinutesList:Ue,getSecondsList:qe}=getTimeLists(xe,$e,Ie);return{getAvailableHours:(jt,hn)=>makeAvailableArr(Fe(jt,hn)),getAvailableMinutes:(jt,hn,vn)=>makeAvailableArr(Ue(jt,hn,vn)),getAvailableSeconds:(jt,hn,vn,bn)=>makeAvailableArr(qe(jt,hn,vn,bn))}},useOldValue=xe=>{const $e=ref(xe.parsedValue);return watch(()=>xe.visible,Ie=>{Ie||($e.value=xe.parsedValue)}),$e},nodeList=new Map;let startClick;isClient&&(document.addEventListener("mousedown",xe=>startClick=xe),document.addEventListener("mouseup",xe=>{for(const $e of nodeList.values())for(const{documentHandler:Ie}of $e)Ie(xe,startClick)}));function createDocumentHandler(xe,$e){let Ie=[];return Array.isArray($e.arg)?Ie=$e.arg:isElement$1($e.arg)&&Ie.push($e.arg),function(Fe,Ue){const qe=$e.instance.popperRef,At=Fe.target,Dt=Ue==null?void 0:Ue.target,Lt=!$e||!$e.instance,jt=!At||!Dt,hn=xe.contains(At)||xe.contains(Dt),vn=xe===At,bn=Ie.length&&Ie.some(wn=>wn==null?void 0:wn.contains(At))||Ie.length&&Ie.includes(Dt),_n=qe&&(qe.contains(At)||qe.contains(Dt));Lt||jt||hn||vn||bn||_n||$e.value(Fe,Ue)}}const ClickOutside={beforeMount(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]),nodeList.get(xe).push({documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value})},updated(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]);const Ie=nodeList.get(xe),Fe=Ie.findIndex(qe=>qe.bindingFn===$e.oldValue),Ue={documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value};Fe>=0?Ie.splice(Fe,1,Ue):Ie.push(Ue)},unmounted(xe){nodeList.delete(xe)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(xe,$e){const Ie=$e.value,{interval:Fe=REPEAT_INTERVAL,delay:Ue=REPEAT_DELAY}=isFunction$5(Ie)?{}:Ie;let qe,At;const Dt=()=>isFunction$5(Ie)?Ie():Ie.handler(),Lt=()=>{At&&(clearTimeout(At),At=void 0),qe&&(clearInterval(qe),qe=void 0)};xe.addEventListener("mousedown",jt=>{jt.button===0&&(Lt(),Dt(),document.addEventListener("mouseup",()=>Lt(),{once:!0}),At=setTimeout(()=>{qe=setInterval(()=>{Dt()},Fe)},Ue))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=xe=>{if(FOCUS_STACK.length===0)return;const $e=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if($e.length>0&&xe.code===EVENT_CODE.tab){if($e.length===1){xe.preventDefault(),document.activeElement!==$e[0]&&$e[0].focus();return}const Ie=xe.shiftKey,Fe=xe.target===$e[0],Ue=xe.target===$e[$e.length-1];Fe&&Ie&&(xe.preventDefault(),$e[$e.length-1].focus()),Ue&&!Ie&&(xe.preventDefault(),$e[0].focus())}},TrapFocus={beforeMount(xe){xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe),FOCUS_STACK.push(xe),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(xe){nextTick(()=>{xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v=!1,o,f,s,u,d,N,l,p,m,w,D,x,E,M,F;function a(){if(!v){v=!0;var xe=navigator.userAgent,$e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(xe),Ie=/(Mac OS X)|(Windows)|(Linux)/.exec(xe);if(x=/\b(iPhone|iP[ao]d)/.exec(xe),E=/\b(iP[ao]d)/.exec(xe),w=/Android/i.exec(xe),M=/FBAN\/\w+;/i.exec(xe),F=/Mobile/i.exec(xe),D=!!/Win64/.exec(xe),$e){o=$e[1]?parseFloat($e[1]):$e[5]?parseFloat($e[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var Fe=/(?:Trident\/(\d+.\d+))/.exec(xe);N=Fe?parseFloat(Fe[1])+4:o,f=$e[2]?parseFloat($e[2]):NaN,s=$e[3]?parseFloat($e[3]):NaN,u=$e[4]?parseFloat($e[4]):NaN,u?($e=/(?:Chrome\/(\d+\.\d+))/.exec(xe),d=$e&&$e[1]?parseFloat($e[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(Ie){if(Ie[1]){var Ue=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(xe);l=Ue?parseFloat(Ue[1].replace("_",".")):!0}else l=!1;p=!!Ie[2],m=!!Ie[3]}else l=p=m=!1}}var _={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m},iphone:function(){return a()||x},mobile:function(){return a()||x||E||w||F},nativeApp:function(){return a()||M},android:function(){return a()||w},ipad:function(){return a()||E}},A=_,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U,X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(xe,$e){if(!h.canUseDOM||$e&&!("addEventListener"in document))return!1;var Ie="on"+xe,Fe=Ie in document;if(!Fe){var Ue=document.createElement("div");Ue.setAttribute(Ie,"return;"),Fe=typeof Ue[Ie]=="function"}return!Fe&&X&&xe==="wheel"&&(Fe=document.implementation.hasFeature("Events.wheel","3.0")),Fe}var b=S,O=10,I=40,P=800;function T(xe){var $e=0,Ie=0,Fe=0,Ue=0;return"detail"in xe&&(Ie=xe.detail),"wheelDelta"in xe&&(Ie=-xe.wheelDelta/120),"wheelDeltaY"in xe&&(Ie=-xe.wheelDeltaY/120),"wheelDeltaX"in xe&&($e=-xe.wheelDeltaX/120),"axis"in xe&&xe.axis===xe.HORIZONTAL_AXIS&&($e=Ie,Ie=0),Fe=$e*O,Ue=Ie*O,"deltaY"in xe&&(Ue=xe.deltaY),"deltaX"in xe&&(Fe=xe.deltaX),(Fe||Ue)&&xe.deltaMode&&(xe.deltaMode==1?(Fe*=I,Ue*=I):(Fe*=P,Ue*=P)),Fe&&!$e&&($e=Fe<1?-1:1),Ue&&!Ie&&(Ie=Ue<1?-1:1),{spinX:$e,spinY:Ie,pixelX:Fe,pixelY:Ue}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const mousewheel=function(xe,$e){if(xe&&xe.addEventListener){const Ie=function(Fe){const Ue=Y(Fe);$e&&Reflect.apply($e,this,[Fe,Ue])};xe.addEventListener("wheel",Ie,{passive:!0})}},Mousewheel={beforeMount(xe,$e){mousewheel(xe,$e.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$10=["onClick"],_hoisted_2$F=["onMouseenter"],_sfc_main$21=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("time"),{getHoursList:Ue,getMinutesList:qe,getSecondsList:At}=getTimeLists(Ie.disabledHours,Ie.disabledMinutes,Ie.disabledSeconds);let Dt=!1;const Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn={hours:jt,minutes:hn,seconds:vn},_n=computed(()=>Ie.showSeconds?timeUnits$1:timeUnits$1.slice(0,2)),wn=computed(()=>{const{spinnerDate:zn}=Ie,jn=zn.hour(),Gn=zn.minute(),Wn=zn.second();return{hours:jn,minutes:Gn,seconds:Wn}}),kn=computed(()=>{const{hours:zn,minutes:jn}=unref(wn);return{hours:Ue(Ie.role),minutes:qe(zn,Ie.role),seconds:At(zn,jn,Ie.role)}}),Cn=computed(()=>{const{hours:zn,minutes:jn,seconds:Gn}=unref(wn);return{hours:buildTimeList(zn,23),minutes:buildTimeList(jn,59),seconds:buildTimeList(Gn,59)}}),Sn=debounce(zn=>{Dt=!1,Tn(zn)},200),xn=zn=>{if(!!!Ie.amPmMode)return"";const Gn=Ie.amPmMode==="A";let Wn=zn<12?" am":" pm";return Gn&&(Wn=Wn.toUpperCase()),Wn},En=zn=>{let jn;switch(zn){case"hours":jn=[0,2];break;case"minutes":jn=[3,5];break;case"seconds":jn=[6,8];break}const[Gn,Wn]=jn;$e("select-range",Gn,Wn),Lt.value=zn},Tn=zn=>{Pn(zn,unref(wn)[zn])},An=()=>{Tn("hours"),Tn("minutes"),Tn("seconds")},$n=zn=>zn.querySelector(`.${Fe.namespace.value}-scrollbar__wrap`),Pn=(zn,jn)=>{if(Ie.arrowControl)return;const Gn=unref(bn[zn]);Gn&&Gn.$el&&($n(Gn.$el).scrollTop=Math.max(0,jn*Nn(zn)))},Nn=zn=>{const jn=unref(bn[zn]),Gn=jn==null?void 0:jn.$el.querySelector("li");return Gn&&Number.parseFloat(getStyle(Gn,"height"))||0},Mn=()=>{On(1)},In=()=>{On(-1)},On=zn=>{Lt.value||En("hours");const jn=Lt.value,Gn=unref(wn)[jn],Wn=Lt.value==="hours"?24:60,Xn=Rn(jn,Gn,zn,Wn);Bn(jn,Xn),Pn(jn,Xn),nextTick(()=>En(jn))},Rn=(zn,jn,Gn,Wn)=>{let Xn=(jn+Gn+Wn)%Wn;const er=unref(kn)[zn];for(;er[Xn]&&Xn!==jn;)Xn=(Xn+Gn+Wn)%Wn;return Xn},Bn=(zn,jn)=>{if(unref(kn)[zn][jn])return;const{hours:Xn,minutes:er,seconds:rr}=unref(wn);let Jn;switch(zn){case"hours":Jn=Ie.spinnerDate.hour(jn).minute(er).second(rr);break;case"minutes":Jn=Ie.spinnerDate.hour(Xn).minute(jn).second(rr);break;case"seconds":Jn=Ie.spinnerDate.hour(Xn).minute(er).second(jn);break}$e("change",Jn)},Vn=(zn,{value:jn,disabled:Gn})=>{Gn||(Bn(zn,jn),En(zn),Pn(zn,jn))},Ln=zn=>{Dt=!0,Sn(zn);const jn=Math.min(Math.round(($n(unref(bn[zn]).$el).scrollTop-(Dn(zn)*.5-10)/Nn(zn)+3)/Nn(zn)),zn==="hours"?23:59);Bn(zn,jn)},Dn=zn=>unref(bn[zn]).$el.offsetHeight,Hn=()=>{const zn=jn=>{const Gn=unref(bn[jn]);Gn&&Gn.$el&&($n(Gn.$el).onscroll=()=>{Ln(jn)})};zn("hours"),zn("minutes"),zn("seconds")};onMounted(()=>{nextTick(()=>{!Ie.arrowControl&&Hn(),An(),Ie.role==="start"&&En("hours")})});const Fn=(zn,jn)=>{bn[jn].value=zn};return $e("set-option",[`${Ie.role}_scrollDown`,On]),$e("set-option",[`${Ie.role}_emitSelectRange`,En]),watch(()=>Ie.spinnerDate,()=>{Dt||An()}),(zn,jn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("spinner"),{"has-seconds":zn.showSeconds}])},[zn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(_n),Gn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Gn,ref_for:!0,ref:Wn=>Fn(Wn,Gn),class:normalizeClass(unref(Fe).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(Fe).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Wn=>En(Gn),onMousemove:Wn=>Tn(Gn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(kn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Xn===unref(wn)[Gn]),unref(Fe).is("disabled",Wn)]),onClick:er=>Vn(Gn,{value:Xn,disabled:Wn})},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Xn%12||12:Xn)).slice(-2))+toDisplayString(xn(Xn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Xn).slice(-2)),1)],64))],10,_hoisted_1$10))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),zn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(_n),Gn=>(openBlock(),createElementBlock("div",{key:Gn,class:normalizeClass([unref(Fe).be("spinner","wrapper"),unref(Fe).is("arrow")]),onMouseenter:Wn=>En(Gn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),In]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Mn]]),createBaseVNode("ul",{class:normalizeClass(unref(Fe).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Cn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Wn===unref(wn)[Gn]),unref(Fe).is("disabled",unref(kn)[Gn][Wn])])},[typeof Wn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Wn%12||12:Wn)).slice(-2))+toDisplayString(xn(Wn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Wn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$F))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc(_sfc_main$21,[["__file","basic-time-spinner.vue"]]);const _sfc_main$20=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{arrowControl:Ue,disabledHours:qe,disabledMinutes:At,disabledSeconds:Dt,defaultValue:Lt}=Fe.props,{getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}=buildAvailableTimeSlotGetter(qe,At,Dt),bn=useNamespace("time"),{t:_n,lang:wn}=useLocale(),kn=ref([0,2]),Cn=useOldValue(Ie),Sn=computed(()=>isUndefined(Ie.actualVisible)?`${bn.namespace.value}-zoom-in-top`:""),xn=computed(()=>Ie.format.includes("ss")),En=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),Tn=Fn=>{const zn=dayjs(Fn).locale(wn.value),jn=Vn(zn);return zn.isSame(jn)},An=()=>{$e("pick",Cn.value,!1)},$n=(Fn=!1,zn=!1)=>{zn||$e("pick",Ie.parsedValue,Fn)},Pn=Fn=>{if(!Ie.visible)return;const zn=Vn(Fn).millisecond(0);$e("pick",zn,!0)},Nn=(Fn,zn)=>{$e("select-range",Fn,zn),kn.value=[Fn,zn]},Mn=Fn=>{const zn=[0,3].concat(xn.value?[6]:[]),jn=["hours","minutes"].concat(xn.value?["seconds"]:[]),Wn=(zn.indexOf(kn.value[0])+Fn+zn.length)%zn.length;On.start_emitSelectRange(jn[Wn])},In=Fn=>{const zn=Fn.code,{left:jn,right:Gn,up:Wn,down:Xn}=EVENT_CODE;if([jn,Gn].includes(zn)){Mn(zn===jn?-1:1),Fn.preventDefault();return}if([Wn,Xn].includes(zn)){const er=zn===Wn?-1:1;On.start_scrollDown(er),Fn.preventDefault();return}},{timePickerOptions:On,onSetOption:Rn,getAvailableTime:Bn}=useTimePanel({getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}),Vn=Fn=>Bn(Fn,Ie.datetimeRole||"",!0),Ln=Fn=>Fn?dayjs(Fn,Ie.format).locale(wn.value):null,Dn=Fn=>Fn?Fn.format(Ie.format):null,Hn=()=>dayjs(Lt).locale(wn.value);return $e("set-picker-option",["isValidValue",Tn]),$e("set-picker-option",["formatToString",Dn]),$e("set-picker-option",["parseUserInput",Ln]),$e("set-picker-option",["handleKeydownInput",In]),$e("set-picker-option",["getRangeAvailableTime",Vn]),$e("set-picker-option",["getDefaultValue",Hn]),(Fn,zn)=>(openBlock(),createBlock(Transition,{name:unref(Sn)},{default:withCtx(()=>[Fn.actualVisible||Fn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(bn).be("panel","content"),{"has-seconds":unref(xn)}])},[createVNode$1(TimeSpinner,{ref:"spinner",role:Fn.datetimeRole||"start","arrow-control":unref(Ue),"show-seconds":unref(xn),"am-pm-mode":unref(En),"spinner-date":Fn.parsedValue,"disabled-hours":unref(qe),"disabled-minutes":unref(At),"disabled-seconds":unref(Dt),onChange:Pn,onSetOption:unref(Rn),onSelectRange:Nn},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(bn).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"cancel"]),onClick:An},toDisplayString(unref(_n)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"confirm"]),onClick:zn[0]||(zn[0]=jn=>$n())},toDisplayString(unref(_n)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc(_sfc_main$20,[["__file","panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$$=["disabled"],_sfc_main$1$=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=(or,sr)=>{const Kn=[];for(let Zn=or;Zn<=sr;Zn++)Kn.push(Zn);return Kn},{t:Ue,lang:qe}=useLocale(),At=useNamespace("time"),Dt=useNamespace("picker"),Lt=inject("EP_PICKER_BASE"),{arrowControl:jt,disabledHours:hn,disabledMinutes:vn,disabledSeconds:bn,defaultValue:_n}=Lt.props,wn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),kn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),Cn=computed(()=>Ie.parsedValue[0]),Sn=computed(()=>Ie.parsedValue[1]),xn=useOldValue(Ie),En=()=>{$e("pick",xn.value,!1)},Tn=computed(()=>Ie.format.includes("ss")),An=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),$n=(or=!1)=>{$e("pick",[Cn.value,Sn.value],or)},Pn=or=>{In(or.millisecond(0),Sn.value)},Nn=or=>{In(Cn.value,or.millisecond(0))},Mn=or=>{const sr=or.map(Zn=>dayjs(Zn).locale(qe.value)),Kn=Gn(sr);return sr[0].isSame(Kn[0])&&sr[1].isSame(Kn[1])},In=(or,sr)=>{$e("pick",[or,sr],!0)},On=computed(()=>Cn.value>Sn.value),Rn=ref([0,2]),Bn=(or,sr)=>{$e("select-range",or,sr,"min"),Rn.value=[or,sr]},Vn=computed(()=>Tn.value?11:8),Ln=(or,sr)=>{$e("select-range",or,sr,"max");const Kn=unref(Vn);Rn.value=[or+Kn,sr+Kn]},Dn=or=>{const sr=Tn.value?[0,3,6,11,14,17]:[0,3,8,11],Kn=["hours","minutes"].concat(Tn.value?["seconds"]:[]),nr=(sr.indexOf(Rn.value[0])+or+sr.length)%sr.length,lr=sr.length/2;nr<lr?rr.start_emitSelectRange(Kn[nr]):rr.end_emitSelectRange(Kn[nr-lr])},Hn=or=>{const sr=or.code,{left:Kn,right:Zn,up:nr,down:lr}=EVENT_CODE;if([Kn,Zn].includes(sr)){Dn(sr===Kn?-1:1),or.preventDefault();return}if([nr,lr].includes(sr)){const ir=sr===nr?-1:1,kr=Rn.value[0]<Vn.value?"start":"end";rr[`${kr}_scrollDown`](ir),or.preventDefault();return}},Fn=(or,sr)=>{const Kn=hn?hn(or):[],Zn=or==="start",lr=(sr||(Zn?Sn.value:Cn.value)).hour(),ir=Zn?Fe(lr+1,23):Fe(0,lr-1);return union(Kn,ir)},zn=(or,sr,Kn)=>{const Zn=vn?vn(or,sr):[],nr=sr==="start",lr=Kn||(nr?Sn.value:Cn.value),ir=lr.hour();if(or!==ir)return Zn;const kr=lr.minute(),Cr=nr?Fe(kr+1,59):Fe(0,kr-1);return union(Zn,Cr)},jn=(or,sr,Kn,Zn)=>{const nr=bn?bn(or,sr,Kn):[],lr=Kn==="start",ir=Zn||(lr?Sn.value:Cn.value),kr=ir.hour(),Cr=ir.minute();if(or!==kr||sr!==Cr)return nr;const Er=ir.second(),dr=lr?Fe(Er+1,59):Fe(0,Er-1);return union(nr,dr)},Gn=([or,sr])=>[Jn(or,"start",!0,sr),Jn(sr,"end",!1,or)],{getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}=buildAvailableTimeSlotGetter(Fn,zn,jn),{timePickerOptions:rr,getAvailableTime:Jn,onSetOption:qn}=useTimePanel({getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}),Yn=or=>or?isArray$6(or)?or.map(sr=>dayjs(sr,Ie.format).locale(qe.value)):dayjs(or,Ie.format).locale(qe.value):null,ar=or=>or?isArray$6(or)?or.map(sr=>sr.format(Ie.format)):or.format(Ie.format):null,tr=()=>{if(isArray$6(_n))return _n.map(sr=>dayjs(sr).locale(qe.value));const or=dayjs(_n).locale(qe.value);return[or,or.add(60,"m")]};return $e("set-picker-option",["formatToString",ar]),$e("set-picker-option",["parseUserInput",Yn]),$e("set-picker-option",["isValidValue",Mn]),$e("set-picker-option",["handleKeydownInput",Hn]),$e("set-picker-option",["getDefaultValue",tr]),$e("set-picker-option",["getRangeAvailableTime",Gn]),(or,sr)=>or.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(At).b("range-picker"),unref(Dt).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(wn))},[createVNode$1(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Cn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Pn,onSetOption:unref(qn),onSelectRange:Bn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(kn))},[createVNode$1(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Sn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Nn,onSetOption:unref(qn),onSelectRange:Ln},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"cancel"]),onClick:sr[0]||(sr[0]=Kn=>En())},toDisplayString(unref(Ue)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"confirm"]),disabled:unref(On),onClick:sr[1]||(sr[1]=Kn=>$n())},toDisplayString(unref(Ue)("el.datepicker.confirm")),11,_hoisted_1$$)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc(_sfc_main$1$,[["__file","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(xe,$e){const Ie=ref(),[Fe,Ue]=xe.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],qe=At=>$e.emit("update:modelValue",At);return provide("ElPopperOptions",xe.popperOptions),$e.expose({focus:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleFocusInput(At)},blur:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleBlurInput(At)},handleOpen:()=>{var At;(At=Ie.value)==null||At.handleOpen()},handleClose:()=>{var At;(At=Ie.value)==null||At.handleClose()}}),()=>{var At;const Dt=(At=xe.format)!=null?At:DEFAULT_FORMATS_TIME;return createVNode$1(CommonPicker,mergeProps(xe,{ref:Ie,type:Fe,format:Dt,"onUpdate:modelValue":qe}),{default:Lt=>createVNode$1(Ue,Lt,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=xe=>{xe.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(xe,$e)=>{const Ie=xe.subtract(1,"month").endOf("month").date();return rangeArr($e).map((Fe,Ue)=>Ie-($e-Ue-1))},getMonthDays=xe=>{const $e=xe.daysInMonth();return rangeArr($e).map((Ie,Fe)=>Fe+1)},toNestedArr=xe=>rangeArr(xe.length/7).map($e=>{const Ie=$e*7;return xe.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:xe=>isObject$8(xe)};var localeData$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){var qe=Fe.prototype,At=function(vn){return vn&&(vn.indexOf?vn:vn.s)},Dt=function(vn,bn,_n,wn,kn){var Cn=vn.name?vn:vn.$locale(),Sn=At(Cn[bn]),xn=At(Cn[_n]),En=Sn||xn.map(function(An){return An.slice(0,wn)});if(!kn)return En;var Tn=Cn.weekStart;return En.map(function(An,$n){return En[($n+(Tn||0))%7]})},Lt=function(){return Ue.Ls[Ue.locale()]},jt=function(vn,bn){return vn.formats[bn]||function(_n){return _n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(wn,kn,Cn){return kn||Cn.slice(1)})}(vn.formats[bn.toUpperCase()])},hn=function(){var vn=this;return{months:function(bn){return bn?bn.format("MMMM"):Dt(vn,"months")},monthsShort:function(bn){return bn?bn.format("MMM"):Dt(vn,"monthsShort","months",3)},firstDayOfWeek:function(){return vn.$locale().weekStart||0},weekdays:function(bn){return bn?bn.format("dddd"):Dt(vn,"weekdays")},weekdaysMin:function(bn){return bn?bn.format("dd"):Dt(vn,"weekdaysMin","weekdays",2)},weekdaysShort:function(bn){return bn?bn.format("ddd"):Dt(vn,"weekdaysShort","weekdays",3)},longDateFormat:function(bn){return jt(vn.$locale(),bn)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};qe.localeData=function(){return hn.bind(this)()},Ue.localeData=function(){var vn=Lt();return{firstDayOfWeek:function(){return vn.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(bn){return jt(vn,bn)},meridiem:vn.meridiem,ordinal:vn.ordinal}},Ue.months=function(){return Dt(Lt(),"months")},Ue.monthsShort=function(){return Dt(Lt(),"monthsShort","months",3)},Ue.weekdays=function(vn){return Dt(Lt(),"weekdays",null,null,vn)},Ue.weekdaysShort=function(vn){return Dt(Lt(),"weekdaysShort","weekdays",3,vn)},Ue.weekdaysMin=function(vn){return Dt(Lt(),"weekdaysMin","weekdays",2,vn)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(xe,$e)=>{dayjs.extend(localeData);const Ie=dayjs.localeData().firstDayOfWeek(),{t:Fe,lang:Ue}=useLocale(),qe=dayjs().locale(Ue.value),At=computed(()=>!!xe.range&&!!xe.range.length),Dt=computed(()=>{let bn=[];if(At.value){const[_n,wn]=xe.range,kn=rangeArr(wn.date()-_n.date()+1).map(xn=>({text:_n.date()+xn,type:"current"}));let Cn=kn.length%7;Cn=Cn===0?0:7-Cn;const Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=kn.concat(Sn)}else{const _n=xe.date.startOf("month").day(),wn=getPrevMonthLastDays(xe.date,(_n-Ie+7)%7).map(xn=>({text:xn,type:"prev"})),kn=getMonthDays(xe.date).map(xn=>({text:xn,type:"current"}));bn=[...wn,...kn];const Cn=7-(bn.length%7||7),Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=bn.concat(Sn)}return toNestedArr(bn)}),Lt=computed(()=>{const bn=Ie;return bn===0?WEEK_DAYS.map(_n=>Fe(`el.datepicker.weeks.${_n}`)):WEEK_DAYS.slice(bn).concat(WEEK_DAYS.slice(0,bn)).map(_n=>Fe(`el.datepicker.weeks.${_n}`))}),jt=(bn,_n)=>{switch(_n){case"prev":return xe.date.startOf("month").subtract(1,"month").date(bn);case"next":return xe.date.startOf("month").add(1,"month").date(bn);case"current":return xe.date.date(bn)}};return{now:qe,isInRange:At,rows:Dt,weekDays:Lt,getFormattedDate:jt,handlePickDay:({text:bn,type:_n})=>{const wn=jt(bn,_n);$e("pick",wn)},getSlotData:({text:bn,type:_n})=>{const wn=jt(bn,_n);return{isSelected:wn.isSame(xe.selectedDay),type:`${_n}-month`,day:wn.format("YYYY-MM-DD"),date:wn.toDate()}}}},_hoisted_1$_={key:0},_hoisted_2$E=["onClick"],__default__$1o=defineComponent({name:"DateTable"}),_sfc_main$1_=defineComponent({...__default__$1o,props:dateTableProps,emits:dateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{isInRange:Ue,now:qe,rows:At,weekDays:Dt,getFormattedDate:Lt,handlePickDay:jt,getSlotData:hn}=useDateTable(Fe,Ie),vn=useNamespace("calendar-table"),bn=useNamespace("calendar-day"),_n=({text:wn,type:kn})=>{const Cn=[kn];if(kn==="current"){const Sn=Lt(wn,kn);Sn.isSame(Fe.selectedDay,"day")&&Cn.push(bn.is("selected")),Sn.isSame(qe,"day")&&Cn.push(bn.is("today"))}return Cn};return $e({getFormattedDate:Lt}),(wn,kn)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(vn).b(),unref(vn).is("range",unref(Ue))]),cellspacing:"0",cellpadding:"0"},[wn.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$_,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),Cn=>(openBlock(),createElementBlock("th",{key:Cn},toDisplayString(Cn),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(At),(Cn,Sn)=>(openBlock(),createElementBlock("tr",{key:Sn,class:normalizeClass({[unref(vn).e("row")]:!0,[unref(vn).em("row","hide-border")]:Sn===0&&wn.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Cn,(xn,En)=>(openBlock(),createElementBlock("td",{key:En,class:normalizeClass(_n(xn)),onClick:Tn=>unref(jt)(xn)},[createBaseVNode("div",{class:normalizeClass(unref(bn).b())},[renderSlot(wn.$slots,"date-cell",{data:unref(hn)(xn)},()=>[createBaseVNode("span",null,toDisplayString(xn.text),1)])],2)],10,_hoisted_2$E))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc(_sfc_main$1_,[["__file","date-table.vue"]]);const adjacentMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=$e.startOf("month"),qe=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe;return[[xe,Ie],[qe.startOf("week"),$e]]},threeConsecutiveMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=xe.add(1,"month").startOf("month"),Ue=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe,qe=Ue.endOf("month"),At=$e.startOf("month"),Dt=qe.isSame(At,"week")?At.add(1,"week"):At;return[[xe,Ie],[Ue.startOf("week"),qe],[Dt.startOf("week"),$e]]},useCalendar=(xe,$e,Ie)=>{const{lang:Fe}=useLocale(),Ue=ref(),qe=dayjs().locale(Fe.value),At=computed({get(){return xe.modelValue?Lt.value:Ue.value},set(Cn){if(!Cn)return;Ue.value=Cn;const Sn=Cn.toDate();$e(INPUT_EVENT,Sn),$e(UPDATE_MODEL_EVENT,Sn)}}),Dt=computed(()=>{if(!xe.range)return[];const Cn=xe.range.map(En=>dayjs(En).locale(Fe.value)),[Sn,xn]=Cn;return Sn.isAfter(xn)?[]:Sn.isSame(xn,"month")?_n(Sn,xn):Sn.add(1,"month").month()!==xn.month()?[]:_n(Sn,xn)}),Lt=computed(()=>xe.modelValue?dayjs(xe.modelValue).locale(Fe.value):At.value||(Dt.value.length?Dt.value[0][0]:qe)),jt=computed(()=>Lt.value.subtract(1,"month").date(1)),hn=computed(()=>Lt.value.add(1,"month").date(1)),vn=computed(()=>Lt.value.subtract(1,"year").date(1)),bn=computed(()=>Lt.value.add(1,"year").date(1)),_n=(Cn,Sn)=>{const xn=Cn.startOf("week"),En=Sn.endOf("week"),Tn=xn.get("month"),An=En.get("month");return Tn===An?[[xn,En]]:(Tn+1)%12===An?adjacentMonth(xn,En):Tn+2===An||(Tn+1)%11===An?threeConsecutiveMonth(xn,En):[]},wn=Cn=>{At.value=Cn};return{calculateValidatedDateRange:_n,date:Lt,realSelectedDay:At,pickDay:wn,selectDate:Cn=>{const xn={"prev-month":jt.value,"next-month":hn.value,"prev-year":vn.value,"next-year":bn.value,today:qe}[Cn];xn.isSame(Lt.value,"day")||wn(xn)},validatedRange:Dt}},isValidRange$1=xe=>isArray$6(xe)&&xe.length===2&&xe.every($e=>isDate$1($e)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:xe=>isDate$1(xe),[INPUT_EVENT]:xe=>isDate$1(xe)},COMPONENT_NAME$g="ElCalendar",__default__$1n=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1Z=defineComponent({...__default__$1n,props:calendarProps,emits:calendarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("calendar"),{calculateValidatedDateRange:qe,date:At,pickDay:Dt,realSelectedDay:Lt,selectDate:jt,validatedRange:hn}=useCalendar(Fe,Ie),{t:vn}=useLocale(),bn=computed(()=>{const _n=`el.datepicker.month${At.value.format("M")}`;return`${At.value.year()} ${vn("el.datepicker.year")} ${vn(_n)}`});return $e({selectedDay:Lt,pickDay:Dt,selectDate:jt,calculateValidatedDateRange:qe}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[renderSlot(_n.$slots,"header",{date:unref(bn)},()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},toDisplayString(unref(bn)),3),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("button-group"))},[createVNode$1(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode$1(unref(ElButton),{size:"small",onClick:wn[0]||(wn[0]=kn=>unref(jt)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.prevMonth")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[1]||(wn[1]=kn=>unref(jt)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.today")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[2]||(wn[2]=kn=>unref(jt)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("body"))},[createVNode$1(DateTable$1,{date:unref(At),"selected-day":unref(Lt),onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(kn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(kn)))])}: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(hn),(kn,Cn)=>(openBlock(),createBlock(DateTable$1,{key:Cn,date:kn[0],"selected-day":unref(Lt),range:kn,"hide-header":Cn!==0,onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(Sn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(Sn)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar=_export_sfc(_sfc_main$1Z,[["__file","calendar.vue"]]);const ElCalendar=withInstall(Calendar),cardProps=buildProps({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1m=defineComponent({name:"ElCard"}),_sfc_main$1Y=defineComponent({...__default__$1m,props:cardProps,setup(xe){const $e=useNamespace("card");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).b(),unref($e).is(`${Ie.shadow}-shadow`)])},[Ie.$slots.header||Ie.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($e).e("header"))},[renderSlot(Ie.$slots,"header",{},()=>[createTextVNode(toDisplayString(Ie.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref($e).e("body"),Ie.bodyClass]),style:normalizeStyle$1(Ie.bodyStyle)},[renderSlot(Ie.$slots,"default")],6),Ie.$slots.footer||Ie.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($e).e("footer"))},[renderSlot(Ie.$slots,"footer",{},()=>[createTextVNode(toDisplayString(Ie.footer),1)])],2)):createCommentVNode("v-if",!0)],2))}});var Card=_export_sfc(_sfc_main$1Y,[["__file","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},motionBlur:{type:Boolean,default:!1}}),carouselEmits={change:(xe,$e)=>[xe,$e].every(isNumber)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(xe,$e,Ie)=>{const{children:Fe,addChild:Ue,removeChild:qe}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),At=useSlots(),Dt=ref(-1),Lt=ref(null),jt=ref(!1),hn=ref(),vn=ref(0),bn=ref(!0),_n=ref(!0),wn=ref(!1),kn=computed(()=>xe.arrow!=="never"&&!unref(xn)),Cn=computed(()=>Fe.value.some(Jn=>Jn.props.label.toString().length>0)),Sn=computed(()=>xe.type==="card"),xn=computed(()=>xe.direction==="vertical"),En=computed(()=>xe.height!=="auto"?{height:xe.height}:{height:`${vn.value}px`,overflow:"hidden"}),Tn=throttle$3(Jn=>{In(Jn)},THROTTLE_TIME,{trailing:!0}),An=throttle$3(Jn=>{zn(Jn)},THROTTLE_TIME),$n=Jn=>bn.value?Dt.value<=1?Jn<=1:Jn>1:!0;function Pn(){Lt.value&&(clearInterval(Lt.value),Lt.value=null)}function Nn(){xe.interval<=0||!xe.autoplay||Lt.value||(Lt.value=setInterval(()=>Mn(),xe.interval))}const Mn=()=>{_n.value||(wn.value=!0),_n.value=!1,Dt.value<Fe.value.length-1?Dt.value=Dt.value+1:xe.loop&&(Dt.value=0)};function In(Jn){if(_n.value||(wn.value=!0),_n.value=!1,isString$4(Jn)){const ar=Fe.value.filter(tr=>tr.props.name===Jn);ar.length>0&&(Jn=Fe.value.indexOf(ar[0]))}if(Jn=Number(Jn),Number.isNaN(Jn)||Jn!==Math.floor(Jn))return;const qn=Fe.value.length,Yn=Dt.value;Jn<0?Dt.value=xe.loop?qn-1:0:Jn>=qn?Dt.value=xe.loop?0:qn-1:Dt.value=Jn,Yn===Dt.value&&On(Yn),Wn()}function On(Jn){Fe.value.forEach((qn,Yn)=>{qn.translateItem(Yn,Dt.value,Jn)})}function Rn(Jn,qn){var Yn,ar,tr,or;const sr=unref(Fe),Kn=sr.length;if(Kn===0||!Jn.states.inStage)return!1;const Zn=qn+1,nr=qn-1,lr=Kn-1,ir=sr[lr].states.active,kr=sr[0].states.active,Cr=(ar=(Yn=sr[Zn])==null?void 0:Yn.states)==null?void 0:ar.active,Er=(or=(tr=sr[nr])==null?void 0:tr.states)==null?void 0:or.active;return qn===lr&&kr||Cr?"left":qn===0&&ir||Er?"right":!1}function Bn(){jt.value=!0,xe.pauseOnHover&&Pn()}function Vn(){jt.value=!1,Nn()}function Ln(){wn.value=!1}function Dn(Jn){unref(xn)||Fe.value.forEach((qn,Yn)=>{Jn===Rn(qn,Yn)&&(qn.states.hover=!0)})}function Hn(){unref(xn)||Fe.value.forEach(Jn=>{Jn.states.hover=!1})}function Fn(Jn){Jn!==Dt.value&&(_n.value||(wn.value=!0)),Dt.value=Jn}function zn(Jn){xe.trigger==="hover"&&Jn!==Dt.value&&(Dt.value=Jn,_n.value||(wn.value=!0))}function jn(){In(Dt.value-1)}function Gn(){In(Dt.value+1)}function Wn(){Pn(),xe.pauseOnHover||Nn()}function Xn(Jn){xe.height==="auto"&&(vn.value=Jn)}function er(){var Jn;const qn=(Jn=At.default)==null?void 0:Jn.call(At);if(!qn)return null;const Yn=flattedChildren(qn),ar="ElCarouselItem",tr=Yn.filter(or=>isVNode(or)&&or.type.name===ar);return(tr==null?void 0:tr.length)===2&&xe.loop&&!Sn.value?(bn.value=!0,tr):(bn.value=!1,null)}watch(()=>Dt.value,(Jn,qn)=>{On(qn),bn.value&&(Jn=Jn%2,qn=qn%2),qn>-1&&$e("change",Jn,qn)}),watch(()=>xe.autoplay,Jn=>{Jn?Nn():Pn()}),watch(()=>xe.loop,()=>{In(Dt.value)}),watch(()=>xe.interval,()=>{Wn()});const rr=shallowRef();return onMounted(()=>{watch(()=>Fe.value,()=>{Fe.value.length>0&&In(xe.initialIndex)},{immediate:!0}),rr.value=useResizeObserver(hn.value,()=>{On()}),Nn()}),onBeforeUnmount(()=>{Pn(),hn.value&&rr.value&&rr.value.stop()}),provide(carouselContextKey,{root:hn,isCardType:Sn,isVertical:xn,items:Fe,loop:xe.loop,addItem:Ue,removeItem:qe,setActiveItem:In,setContainerHeight:Xn}),{root:hn,activeIndex:Dt,arrowDisplay:kn,hasLabel:Cn,hover:jt,isCardType:Sn,isTransitioning:wn,items:Fe,isVertical:xn,containerStyle:En,isItemsTwoLength:bn,handleButtonEnter:Dn,handleTransitionEnd:Ln,handleButtonLeave:Hn,handleIndicatorClick:Fn,handleMouseEnter:Bn,handleMouseLeave:Vn,setActiveItem:In,prev:jn,next:Gn,PlaceholderItem:er,isTwoLengthShow:$n,throttledArrowClick:Tn,throttledIndicatorHover:An}},_hoisted_1$Z=["aria-label"],_hoisted_2$D=["aria-label"],_hoisted_3$j=["onMouseenter","onClick"],_hoisted_4$b=["aria-label"],_hoisted_5$7={key:0},_hoisted_6$4={key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},_hoisted_7$2=createBaseVNode("defs",null,[createBaseVNode("filter",{id:"elCarouselHorizontal"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),createBaseVNode("filter",{id:"elCarouselVertical"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1),_hoisted_8$2=[_hoisted_7$2],COMPONENT_NAME$f="ElCarousel",__default__$1l=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1X=defineComponent({...__default__$1l,props:carouselProps,emits:carouselEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{root:Ue,activeIndex:qe,arrowDisplay:At,hasLabel:Dt,hover:Lt,isCardType:jt,items:hn,isVertical:vn,containerStyle:bn,handleButtonEnter:_n,handleButtonLeave:wn,isTransitioning:kn,handleIndicatorClick:Cn,handleMouseEnter:Sn,handleMouseLeave:xn,handleTransitionEnd:En,setActiveItem:Tn,prev:An,next:$n,PlaceholderItem:Pn,isTwoLengthShow:Nn,throttledArrowClick:Mn,throttledIndicatorHover:In}=useCarousel(Fe,Ie),On=useNamespace("carousel"),{t:Rn}=useLocale(),Bn=computed(()=>{const Dn=[On.b(),On.m(Fe.direction)];return unref(jt)&&Dn.push(On.m("card")),Dn}),Vn=computed(()=>{const Dn=[On.e("container")];return Fe.motionBlur&&unref(kn)&&Dn.push(unref(vn)?`${On.namespace.value}-transitioning-vertical`:`${On.namespace.value}-transitioning`),Dn}),Ln=computed(()=>{const Dn=[On.e("indicators"),On.em("indicators",Fe.direction)];return unref(Dt)&&Dn.push(On.em("indicators","labels")),Fe.indicatorPosition==="outside"&&Dn.push(On.em("indicators","outside")),unref(vn)&&Dn.push(On.em("indicators","right")),Dn});return $e({setActiveItem:Tn,prev:An,next:$n}),(Dn,Hn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:Ue,class:normalizeClass(unref(Bn)),onMouseenter:Hn[7]||(Hn[7]=withModifiers((...Fn)=>unref(Sn)&&unref(Sn)(...Fn),["stop"])),onMouseleave:Hn[8]||(Hn[8]=withModifiers((...Fn)=>unref(xn)&&unref(xn)(...Fn),["stop"]))},[unref(At)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","left")]),"aria-label":unref(Rn)("el.carousel.leftArrow"),onMouseenter:Hn[0]||(Hn[0]=Fn=>unref(_n)("left")),onMouseleave:Hn[1]||(Hn[1]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[2]||(Hn[2]=withModifiers(Fn=>unref(Mn)(unref(qe)-1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],42,_hoisted_1$Z),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(At)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","right")]),"aria-label":unref(Rn)("el.carousel.rightArrow"),onMouseenter:Hn[3]||(Hn[3]=Fn=>unref(_n)("right")),onMouseleave:Hn[4]||(Hn[4]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[5]||(Hn[5]=withModifiers(Fn=>unref(Mn)(unref(qe)+1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],42,_hoisted_2$D),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)<unref(hn).length-1)]])]),_:1})):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Vn)),style:normalizeStyle$1(unref(bn)),onTransitionend:Hn[6]||(Hn[6]=(...Fn)=>unref(En)&&unref(En)(...Fn))},[createVNode$1(unref(Pn)),renderSlot(Dn.$slots,"default")],38),Dn.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:2,class:normalizeClass(unref(Ln))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(Fn,zn)=>withDirectives((openBlock(),createElementBlock("li",{key:zn,class:normalizeClass([unref(On).e("indicator"),unref(On).em("indicator",Dn.direction),unref(On).is("active",zn===unref(qe))]),onMouseenter:jn=>unref(In)(zn),onClick:withModifiers(jn=>unref(Cn)(zn),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(On).e("button")),"aria-label":unref(Rn)("el.carousel.indicator",{index:zn+1})},[unref(Dt)?(openBlock(),createElementBlock("span",_hoisted_5$7,toDisplayString(Fn.props.label),1)):createCommentVNode("v-if",!0)],10,_hoisted_4$b)],42,_hoisted_3$j)),[[vShow,unref(Nn)(zn)]])),128))],2)):createCommentVNode("v-if",!0),Fe.motionBlur?(openBlock(),createElementBlock("svg",_hoisted_6$4,_hoisted_8$2)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc(_sfc_main$1X,[["__file","carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=(xe,$e)=>{const Ie=inject(carouselContextKey),Fe=getCurrentInstance(),Ue=.83,qe=ref(),At=ref(!1),Dt=ref(0),Lt=ref(1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref(!1),{isCardType:_n,isVertical:wn}=Ie;function kn(Tn,An,$n){const Pn=$n-1,Nn=An-1,Mn=An+1,In=$n/2;return An===0&&Tn===Pn?-1:An===Pn&&Tn===0?$n:Tn<Nn&&An-Tn>=In?$n+1:Tn>Mn&&Tn-An>=In?-2:Tn}function Cn(Tn,An){var $n,Pn;const Nn=unref(wn)?(($n=Ie.root.value)==null?void 0:$n.offsetHeight)||0:((Pn=Ie.root.value)==null?void 0:Pn.offsetWidth)||0;return vn.value?Nn*((2-Ue)*(Tn-An)+1)/4:Tn<An?-(1+Ue)*Nn/4:(3+Ue)*Nn/4}function Sn(Tn,An,$n){const Pn=Ie.root.value;return Pn?(($n?Pn.offsetHeight:Pn.offsetWidth)||0)*(Tn-An):0}const xn=(Tn,An,$n)=>{var Pn;const Nn=unref(_n),Mn=(Pn=Ie.items.value.length)!=null?Pn:Number.NaN,In=Tn===An;!Nn&&!isUndefined($n)&&(bn.value=In||Tn===$n),!In&&Mn>2&&Ie.loop&&(Tn=kn(Tn,An,Mn));const On=unref(wn);jt.value=In,Nn?(vn.value=Math.round(Math.abs(Tn-An))<=1,Dt.value=Cn(Tn,An),Lt.value=unref(jt)?1:Ue):Dt.value=Sn(Tn,An,On),hn.value=!0,In&&qe.value&&Ie.setContainerHeight(qe.value.offsetHeight)};function En(){if(Ie&&unref(_n)){const Tn=Ie.items.value.findIndex(({uid:An})=>An===Fe.uid);Ie.setActiveItem(Tn)}}return onMounted(()=>{Ie.addItem({props:xe,states:reactive({hover:At,translate:Dt,scale:Lt,active:jt,ready:hn,inStage:vn,animating:bn}),uid:Fe.uid,translateItem:xn})}),onUnmounted(()=>{Ie.removeItem(Fe.uid)}),{carouselItemRef:qe,active:jt,animating:bn,hover:At,inStage:vn,isVertical:wn,translate:Dt,isCardType:_n,scale:Lt,ready:hn,handleItemClick:En}},__default__$1k=defineComponent({name:"ElCarouselItem"}),_sfc_main$1W=defineComponent({...__default__$1k,props:carouselItemProps,setup(xe){const $e=xe,Ie=useNamespace("carousel"),{carouselItemRef:Fe,active:Ue,animating:qe,hover:At,inStage:Dt,isVertical:Lt,translate:jt,isCardType:hn,scale:vn,ready:bn,handleItemClick:_n}=useCarouselItem($e),wn=computed(()=>[Ie.e("item"),Ie.is("active",Ue.value),Ie.is("in-stage",Dt.value),Ie.is("hover",At.value),Ie.is("animating",qe.value),{[Ie.em("item","card")]:hn.value,[Ie.em("item","card-vertical")]:hn.value&&Lt.value}]),kn=computed(()=>{const Sn=`${`translate${unref(Lt)?"Y":"X"}`}(${unref(jt)}px)`,xn=`scale(${unref(vn)})`;return{transform:[Sn,xn].join(" ")}});return(Cn,Sn)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:Fe,class:normalizeClass(unref(wn)),style:normalizeStyle$1(unref(kn)),onClick:Sn[0]||(Sn[0]=(...xn)=>unref(_n)&&unref(_n)(...xn))},[unref(hn)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("mask"))},null,2)),[[vShow,!unref(Ue)]]):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default")],6)),[[vShow,unref(bn)]])}});var CarouselItem=_export_sfc(_sfc_main$1W,[["__file","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],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaControls"])},checkboxEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber(xe)||isBoolean(xe),change:xe=>isString$4(xe)||isNumber(xe)||isBoolean(xe)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:xe,isChecked:$e})=>{const Ie=inject(checkboxGroupContextKey,void 0),Fe=computed(()=>{var qe,At;const Dt=(qe=Ie==null?void 0:Ie.max)==null?void 0:qe.value,Lt=(At=Ie==null?void 0:Ie.min)==null?void 0:At.value;return!isUndefined(Dt)&&xe.value.length>=Dt&&!$e.value||!isUndefined(Lt)&&xe.value.length<=Lt&&$e.value});return{isDisabled:useFormDisabled(computed(()=>(Ie==null?void 0:Ie.disabled.value)||Fe.value)),isLimitDisabled:Fe}},useCheckboxEvent=(xe,{model:$e,isLimitExceeded:Ie,hasOwnLabel:Fe,isDisabled:Ue,isLabeledByFormItem:qe})=>{const At=inject(checkboxGroupContextKey,void 0),{formItem:Dt}=useFormItem(),{emit:Lt}=getCurrentInstance();function jt(wn){var kn,Cn,Sn,xn;return[!0,xe.trueValue,xe.trueLabel].includes(wn)?(Cn=(kn=xe.trueValue)!=null?kn:xe.trueLabel)!=null?Cn:!0:(xn=(Sn=xe.falseValue)!=null?Sn:xe.falseLabel)!=null?xn:!1}function hn(wn,kn){Lt("change",jt(wn),kn)}function vn(wn){if(Ie.value)return;const kn=wn.target;Lt("change",jt(kn.checked),wn)}async function bn(wn){Ie.value||!Fe.value&&!Ue.value&&qe.value&&(wn.composedPath().some(Sn=>Sn.tagName==="LABEL")||($e.value=jt([!1,xe.falseValue,xe.falseLabel].includes($e.value)),await nextTick(),hn($e.value,wn)))}const _n=computed(()=>(At==null?void 0:At.validateEvent)||xe.validateEvent);return watch(()=>xe.modelValue,()=>{_n.value&&(Dt==null||Dt.validate("change").catch(wn=>void 0))}),{handleChange:vn,onClickRoot:bn}},useCheckboxModel=xe=>{const $e=ref(!1),{emit:Ie}=getCurrentInstance(),Fe=inject(checkboxGroupContextKey,void 0),Ue=computed(()=>isUndefined(Fe)===!1),qe=ref(!1),At=computed({get(){var Dt,Lt;return Ue.value?(Dt=Fe==null?void 0:Fe.modelValue)==null?void 0:Dt.value:(Lt=xe.modelValue)!=null?Lt:$e.value},set(Dt){var Lt,jt;Ue.value&&isArray$6(Dt)?(qe.value=((Lt=Fe==null?void 0:Fe.max)==null?void 0:Lt.value)!==void 0&&Dt.length>(Fe==null?void 0:Fe.max.value)&&Dt.length>At.value.length,qe.value===!1&&((jt=Fe==null?void 0:Fe.changeEvent)==null||jt.call(Fe,Dt))):(Ie(UPDATE_MODEL_EVENT,Dt),$e.value=Dt)}});return{model:At,isGroup:Ue,isLimitExceeded:qe}},useCheckboxStatus=(xe,$e,{model:Ie})=>{const Fe=inject(checkboxGroupContextKey,void 0),Ue=ref(!1),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed(()=>{const hn=Ie.value;return isBoolean(hn)?hn:isArray$6(hn)?isObject$8(qe.value)?hn.map(toRaw).some(vn=>isEqual$1(vn,qe.value)):hn.map(toRaw).includes(qe.value):hn!=null?hn===xe.trueValue||hn===xe.trueLabel:!!hn}),Dt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value}),{prop:!0}),Lt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value})),jt=computed(()=>!!$e.default||!isPropAbsent(qe.value));return{checkboxButtonSize:Dt,isChecked:At,isFocused:Ue,checkboxSize:Lt,hasOwnLabel:jt,actualValue:qe}},useCheckbox=(xe,$e)=>{const{formItem:Ie}=useFormItem(),{model:Fe,isGroup:Ue,isLimitExceeded:qe}=useCheckboxModel(xe),{isFocused:At,isChecked:Dt,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,actualValue:vn}=useCheckboxStatus(xe,$e,{model:Fe}),{isDisabled:bn}=useCheckboxDisabled({model:Fe,isChecked:Dt}),{inputId:_n,isLabeledByFormItem:wn}=useFormItemInputId(xe,{formItemContext:Ie,disableIdGeneration:hn,disableIdManagement:Ue}),{handleChange:kn,onClickRoot:Cn}=useCheckboxEvent(xe,{model:Fe,isLimitExceeded:qe,hasOwnLabel:hn,isDisabled:bn,isLabeledByFormItem:wn});return(()=>{function xn(){var En,Tn;isArray$6(Fe.value)&&!Fe.value.includes(vn.value)?Fe.value.push(vn.value):Fe.value=(Tn=(En=xe.trueValue)!=null?En:xe.trueLabel)!=null?Tn:!0}xe.checked&&xn()})(),useDeprecated({from:"controls",replacement:"aria-controls",version:"2.8.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.controls)),useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),useDeprecated({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.trueLabel)),useDeprecated({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.falseLabel)),{inputId:_n,isLabeledByFormItem:wn,isChecked:Dt,isDisabled:bn,isFocused:At,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,model:Fe,actualValue:vn,handleChange:kn,onClickRoot:Cn}},_hoisted_1$Y=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],_hoisted_2$C=["id","indeterminate","disabled","value","name","tabindex"],__default__$1j=defineComponent({name:"ElCheckbox"}),_sfc_main$1V=defineComponent({...__default__$1j,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{inputId:Fe,isLabeledByFormItem:Ue,isChecked:qe,isDisabled:At,isFocused:Dt,checkboxSize:Lt,hasOwnLabel:jt,model:hn,actualValue:vn,handleChange:bn,onClickRoot:_n}=useCheckbox($e,Ie),wn=useNamespace("checkbox"),kn=computed(()=>[wn.b(),wn.m(Lt.value),wn.is("disabled",At.value),wn.is("bordered",$e.border),wn.is("checked",qe.value)]),Cn=computed(()=>[wn.e("input"),wn.is("disabled",At.value),wn.is("checked",qe.value),wn.is("indeterminate",$e.indeterminate),wn.is("focus",Dt.value)]);return(Sn,xn)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(jt)&&unref(Ue)?"span":"label"),{class:normalizeClass(unref(kn)),"aria-controls":Sn.indeterminate?Sn.controls||Sn.ariaControls:null,onClick:unref(_n)},{default:withCtx(()=>{var En,Tn;return[createBaseVNode("span",{class:normalizeClass(unref(Cn))},[Sn.trueValue||Sn.falseValue||Sn.trueLabel||Sn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(Fe),"onUpdate:modelValue":xn[0]||(xn[0]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,name:Sn.name,tabindex:Sn.tabindex,disabled:unref(At),"true-value":(En=Sn.trueValue)!=null?En:Sn.trueLabel,"false-value":(Tn=Sn.falseValue)!=null?Tn:Sn.falseLabel,onChange:xn[1]||(xn[1]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[2]||(xn[2]=An=>Dt.value=!0),onBlur:xn[3]||(xn[3]=An=>Dt.value=!1),onClick:xn[4]||(xn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$Y)),[[vModelCheckbox,unref(hn)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(Fe),"onUpdate:modelValue":xn[5]||(xn[5]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,disabled:unref(At),value:unref(vn),name:Sn.name,tabindex:Sn.tabindex,onChange:xn[6]||(xn[6]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[7]||(xn[7]=An=>Dt.value=!0),onBlur:xn[8]||(xn[8]=An=>Dt.value=!1),onClick:xn[9]||(xn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$C)),[[vModelCheckbox,unref(hn)]]),createBaseVNode("span",{class:normalizeClass(unref(wn).e("inner"))},null,2)],2),unref(jt)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(wn).e("label"))},[renderSlot(Sn.$slots,"default"),Sn.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Sn.label),1)],64))],2)):createCommentVNode("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc(_sfc_main$1V,[["__file","checkbox.vue"]]);const _hoisted_1$X=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$B=["name","tabindex","disabled","value"],__default__$1i=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1U=defineComponent({...__default__$1i,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{isFocused:Fe,isChecked:Ue,isDisabled:qe,checkboxButtonSize:At,model:Dt,actualValue:Lt,handleChange:jt}=useCheckbox($e,Ie),hn=inject(checkboxGroupContextKey,void 0),vn=useNamespace("checkbox"),bn=computed(()=>{var wn,kn,Cn,Sn;const xn=(kn=(wn=hn==null?void 0:hn.fill)==null?void 0:wn.value)!=null?kn:"";return{backgroundColor:xn,borderColor:xn,color:(Sn=(Cn=hn==null?void 0:hn.textColor)==null?void 0:Cn.value)!=null?Sn:"",boxShadow:xn?`-1px 0 0 0 ${xn}`:void 0}}),_n=computed(()=>[vn.b("button"),vn.bm("button",At.value),vn.is("disabled",qe.value),vn.is("checked",Ue.value),vn.is("focus",Fe.value)]);return(wn,kn)=>{var Cn,Sn;return openBlock(),createElementBlock("label",{class:normalizeClass(unref(_n))},[wn.trueValue||wn.falseValue||wn.trueLabel||wn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":kn[0]||(kn[0]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),"true-value":(Cn=wn.trueValue)!=null?Cn:wn.trueLabel,"false-value":(Sn=wn.falseValue)!=null?Sn:wn.falseLabel,onChange:kn[1]||(kn[1]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[2]||(kn[2]=xn=>Fe.value=!0),onBlur:kn[3]||(kn[3]=xn=>Fe.value=!1),onClick:kn[4]||(kn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$X)),[[vModelCheckbox,unref(Dt)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":kn[5]||(kn[5]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),value:unref(Lt),onChange:kn[6]||(kn[6]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[7]||(kn[7]=xn=>Fe.value=!0),onBlur:kn[8]||(kn[8]=xn=>Fe.value=!1),onClick:kn[9]||(kn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$B)),[[vModelCheckbox,unref(Dt)]]),wn.$slots.default||wn.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(vn).be("button","inner")),style:normalizeStyle$1(unref(Ue)?unref(bn):void 0)},[renderSlot(wn.$slots,"default",{},()=>[createTextVNode(toDisplayString(wn.label),1)])],6)):createCommentVNode("v-if",!0)],2)}}});var CheckboxButton=_export_sfc(_sfc_main$1U,[["__file","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},...useAriaProps(["ariaLabel"])}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),change:xe=>isArray$6(xe)},__default__$1h=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1T=defineComponent({...__default__$1h,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("checkbox"),{formItem:Ue}=useFormItem(),{inputId:qe,isLabeledByFormItem:At}=useFormItemInputId(Ie,{formItemContext:Ue}),Dt=async jt=>{$e(UPDATE_MODEL_EVENT,jt),await nextTick(),$e("change",jt)},Lt=computed({get(){return Ie.modelValue},set(jt){Dt(jt)}});return provide(checkboxGroupContextKey,{...pick(toRefs(Ie),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:Lt,changeEvent:Dt}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-checkbox-group",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!Ie.label)),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(Ue==null||Ue.validate("change").catch(jt=>void 0))}),(jt,hn)=>{var vn;return openBlock(),createBlock(resolveDynamicComponent(jt.tag),{id:unref(qe),class:normalizeClass(unref(Fe).b("group")),role:"group","aria-label":unref(At)?void 0:jt.label||jt.ariaLabel||"checkbox-group","aria-labelledby":unref(At)?(vn=unref(Ue))==null?void 0:vn.labelId:void 0},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc(_sfc_main$1T,[["__file","checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),radioProps=buildProps({...radioPropsBase,border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber(xe)||isBoolean(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber(xe)||isBoolean(xe)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(xe,$e)=>{const Ie=ref(),Fe=inject(radioGroupKey,void 0),Ue=computed(()=>!!Fe),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed({get(){return Ue.value?Fe.modelValue:xe.modelValue},set(vn){Ue.value?Fe.changeEvent(vn):$e&&$e(UPDATE_MODEL_EVENT,vn),Ie.value.checked=xe.modelValue===qe.value}}),Dt=useFormSize(computed(()=>Fe==null?void 0:Fe.size)),Lt=useFormDisabled(computed(()=>Fe==null?void 0:Fe.disabled)),jt=ref(!1),hn=computed(()=>Lt.value||Ue.value&&At.value!==qe.value?-1:0);return useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),{radioRef:Ie,isGroup:Ue,radioGroup:Fe,focus:jt,size:Dt,disabled:Lt,tabIndex:hn,modelValue:At,actualValue:qe}},_hoisted_1$W=["value","name","disabled"],__default__$1g=defineComponent({name:"ElRadio"}),_sfc_main$1S=defineComponent({...__default__$1g,props:radioProps,emits:radioEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),{radioRef:Ue,radioGroup:qe,focus:At,size:Dt,disabled:Lt,modelValue:jt,actualValue:hn}=useRadio(Ie,$e);function vn(){nextTick(()=>$e("change",jt.value))}return(bn,_n)=>{var wn;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("focus",unref(At)),unref(Fe).is("bordered",bn.border),unref(Fe).is("checked",unref(jt)===unref(hn)),unref(Fe).m(unref(Dt))])},[createBaseVNode("span",{class:normalizeClass([unref(Fe).e("input"),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("checked",unref(jt)===unref(hn))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Ue,"onUpdate:modelValue":_n[0]||(_n[0]=kn=>isRef(jt)?jt.value=kn:null),class:normalizeClass(unref(Fe).e("original")),value:unref(hn),name:bn.name||((wn=unref(qe))==null?void 0:wn.name),disabled:unref(Lt),type:"radio",onFocus:_n[1]||(_n[1]=kn=>At.value=!0),onBlur:_n[2]||(_n[2]=kn=>At.value=!1),onChange:vn,onClick:_n[3]||(_n[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$W),[[vModelRadio,unref(jt)]]),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("label")),onKeydown:_n[4]||(_n[4]=withModifiers(()=>{},["stop"]))},[renderSlot(bn.$slots,"default",{},()=>[createTextVNode(toDisplayString(bn.label),1)])],34)],2)}}});var Radio=_export_sfc(_sfc_main$1S,[["__file","radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase}),_hoisted_1$V=["value","name","disabled"],__default__$1f=defineComponent({name:"ElRadioButton"}),_sfc_main$1R=defineComponent({...__default__$1f,props:radioButtonProps,setup(xe){const $e=xe,Ie=useNamespace("radio"),{radioRef:Fe,focus:Ue,size:qe,disabled:At,modelValue:Dt,radioGroup:Lt,actualValue:jt}=useRadio($e),hn=computed(()=>({backgroundColor:(Lt==null?void 0:Lt.fill)||"",borderColor:(Lt==null?void 0:Lt.fill)||"",boxShadow:Lt!=null&&Lt.fill?`-1px 0 0 0 ${Lt.fill}`:"",color:(Lt==null?void 0:Lt.textColor)||""}));return(vn,bn)=>{var _n;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Ie).b("button"),unref(Ie).is("active",unref(Dt)===unref(jt)),unref(Ie).is("disabled",unref(At)),unref(Ie).is("focus",unref(Ue)),unref(Ie).bm("button",unref(qe))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Fe,"onUpdate:modelValue":bn[0]||(bn[0]=wn=>isRef(Dt)?Dt.value=wn:null),class:normalizeClass(unref(Ie).be("button","original-radio")),value:unref(jt),type:"radio",name:vn.name||((_n=unref(Lt))==null?void 0:_n.name),disabled:unref(At),onFocus:bn[1]||(bn[1]=wn=>Ue.value=!0),onBlur:bn[2]||(bn[2]=wn=>Ue.value=!1),onClick:bn[3]||(bn[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$V),[[vModelRadio,unref(Dt)]]),createBaseVNode("span",{class:normalizeClass(unref(Ie).be("button","inner")),style:normalizeStyle$1(unref(Dt)===unref(jt)?unref(hn):{}),onKeydown:bn[4]||(bn[4]=withModifiers(()=>{},["stop"]))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.label),1)])],38)],2)}}});var RadioButton=_export_sfc(_sfc_main$1R,[["__file","radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},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},...useAriaProps(["ariaLabel"])}),radioGroupEmits=radioEmits,_hoisted_1$U=["id","aria-label","aria-labelledby"],__default__$1e=defineComponent({name:"ElRadioGroup"}),_sfc_main$1Q=defineComponent({...__default__$1e,props:radioGroupProps,emits:radioGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),Ue=useId(),qe=ref(),{formItem:At}=useFormItem(),{inputId:Dt,isLabeledByFormItem:Lt}=useFormItemInputId(Ie,{formItemContext:At}),jt=vn=>{$e(UPDATE_MODEL_EVENT,vn),nextTick(()=>$e("change",vn))};onMounted(()=>{const vn=qe.value.querySelectorAll("[type=radio]"),bn=vn[0];!Array.from(vn).some(_n=>_n.checked)&&bn&&(bn.tabIndex=0)});const hn=computed(()=>Ie.name||Ue.value);return provide(radioGroupKey,reactive({...toRefs(Ie),changeEvent:jt,name:hn})),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(At==null||At.validate("change").catch(vn=>void 0))}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>!!Ie.label)),(vn,bn)=>(openBlock(),createElementBlock("div",{id:unref(Dt),ref_key:"radioGroupRef",ref:qe,class:normalizeClass(unref(Fe).b("group")),role:"radiogroup","aria-label":unref(Lt)?void 0:vn.label||vn.ariaLabel||"radio-group","aria-labelledby":unref(Lt)?unref(At).labelId:void 0},[renderSlot(vn.$slots,"default")],10,_hoisted_1$U))}});var RadioGroup=_export_sfc(_sfc_main$1Q,[["__file","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:xe}=this,{node:$e,panel:Ie}=this.$parent,{data:Fe,label:Ue}=$e,{renderLabelFn:qe}=Ie;return h$5("span",{class:xe.e("label")},qe?qe({node:$e,data:Fe}):Ue)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1P=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(xe,{emit:$e}){const Ie=inject(CASCADER_PANEL_INJECTION_KEY),Fe=useNamespace("cascader-node"),Ue=computed(()=>Ie.isHoverMenu),qe=computed(()=>Ie.config.multiple),At=computed(()=>Ie.config.checkStrictly),Dt=computed(()=>{var $n;return($n=Ie.checkedNodes[0])==null?void 0:$n.uid}),Lt=computed(()=>xe.node.isDisabled),jt=computed(()=>xe.node.isLeaf),hn=computed(()=>At.value&&!jt.value||!Lt.value),vn=computed(()=>_n(Ie.expandingNode)),bn=computed(()=>At.value&&Ie.checkedNodes.some(_n)),_n=$n=>{var Pn;const{level:Nn,uid:Mn}=xe.node;return((Pn=$n==null?void 0:$n.pathNodes[Nn-1])==null?void 0:Pn.uid)===Mn},wn=()=>{vn.value||Ie.expandNode(xe.node)},kn=$n=>{const{node:Pn}=xe;$n!==Pn.checked&&Ie.handleCheckChange(Pn,$n)},Cn=()=>{Ie.lazyLoad(xe.node,()=>{jt.value||wn()})},Sn=$n=>{Ue.value&&(xn(),!jt.value&&$e("expand",$n))},xn=()=>{const{node:$n}=xe;!hn.value||$n.loading||($n.loaded?wn():Cn())},En=()=>{Ue.value&&!jt.value||(jt.value&&!Lt.value&&!At.value&&!qe.value?An(!0):xn())},Tn=$n=>{At.value?(kn($n),xe.node.loaded&&wn()):An($n)},An=$n=>{xe.node.loaded?(kn($n),!At.value&&wn()):Cn()};return{panel:Ie,isHoverMenu:Ue,multiple:qe,checkStrictly:At,checkedNodeId:Dt,isDisabled:Lt,isLeaf:jt,expandable:hn,inExpandingPath:vn,inCheckedPath:bn,ns:Fe,handleHoverExpand:Sn,handleExpand:xn,handleClick:En,handleCheck:An,handleSelectCheck:Tn}}}),_hoisted_1$T=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$A=createBaseVNode("span",null,null,-1);function _sfc_render$t(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-radio"),Lt=resolveComponent("check"),jt=resolveComponent("el-icon"),hn=resolveComponent("node-content"),vn=resolveComponent("loading"),bn=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${xe.menuId}-${xe.node.uid}`,role:"menuitem","aria-haspopup":!xe.isLeaf,"aria-owns":xe.isLeaf?null:xe.menuId,"aria-expanded":xe.inExpandingPath,tabindex:xe.expandable?-1:void 0,class:normalizeClass([xe.ns.b(),xe.ns.is("selectable",xe.checkStrictly),xe.ns.is("active",xe.node.checked),xe.ns.is("disabled",!xe.expandable),xe.inExpandingPath&&"in-active-path",xe.inCheckedPath&&"in-checked-path"]),onMouseenter:$e[2]||($e[2]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onFocus:$e[3]||($e[3]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onClick:$e[4]||($e[4]=(..._n)=>xe.handleClick&&xe.handleClick(..._n))},[createCommentVNode(" prefix "),xe.multiple?(openBlock(),createBlock(At,{key:0,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:xe.isDisabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":xe.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):xe.checkStrictly?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.checkedNodeId,label:xe.node.uid,disabled:xe.isDisabled,"onUpdate:modelValue":xe.handleSelectCheck,onClick:$e[1]||($e[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$A]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):xe.isLeaf&&xe.node.checked?(openBlock(),createBlock(jt,{key:2,class:normalizeClass(xe.ns.e("prefix"))},{default:withCtx(()=>[createVNode$1(Lt)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode$1(hn),createCommentVNode(" postfix "),xe.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[xe.node.loading?(openBlock(),createBlock(jt,{key:0,class:normalizeClass([xe.ns.is("loading"),xe.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(vn)]),_:1},8,["class"])):(openBlock(),createBlock(jt,{key:1,class:normalizeClass(["arrow-right",xe.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(bn)]),_:1},8,["class"]))],64))],42,_hoisted_1$T)}var ElCascaderNode=_export_sfc(_sfc_main$1P,[["render",_sfc_render$t],["__file","node.vue"]]);const _sfc_main$1O=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(xe){const $e=getCurrentInstance(),Ie=useNamespace("cascader-menu"),{t:Fe}=useLocale(),Ue=useId();let qe=null,At=null;const Dt=inject(CASCADER_PANEL_INJECTION_KEY),Lt=ref(null),jt=computed(()=>!xe.nodes.length),hn=computed(()=>!Dt.initialLoaded),vn=computed(()=>`${Ue.value}-${xe.index}`),bn=Cn=>{qe=Cn.target},_n=Cn=>{if(!(!Dt.isHoverMenu||!qe||!Lt.value))if(qe.contains(Cn.target)){wn();const Sn=$e.vnode.el,{left:xn}=Sn.getBoundingClientRect(),{offsetWidth:En,offsetHeight:Tn}=Sn,An=Cn.clientX-xn,$n=qe.offsetTop,Pn=$n+qe.offsetHeight;Lt.value.innerHTML=`
          <path style="pointer-events: auto;" fill="transparent" d="M${An} ${$n} L${En} 0 V${$n} Z" />
          <path style="pointer-events: auto;" fill="transparent" d="M${An} ${Pn} L${En} ${Tn} V${Pn} Z" />
        `}else At||(At=window.setTimeout(kn,Dt.config.hoverThreshold))},wn=()=>{At&&(clearTimeout(At),At=null)},kn=()=>{Lt.value&&(Lt.value.innerHTML="",wn())};return{ns:Ie,panel:Dt,hoverZone:Lt,isEmpty:jt,isLoading:hn,menuId:vn,t:Fe,handleExpand:bn,handleMouseMove:_n,clearHoverZone:kn}}});function _sfc_render$s(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-node"),Dt=resolveComponent("loading"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-scrollbar");return openBlock(),createBlock(jt,{key:xe.menuId,tag:"ul",role:"menu",class:normalizeClass(xe.ns.b()),"wrap-class":xe.ns.e("wrap"),"view-class":[xe.ns.e("list"),xe.ns.is("empty",xe.isEmpty)],onMousemove:xe.handleMouseMove,onMouseleave:xe.clearHoverZone},{default:withCtx(()=>{var hn;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.nodes,vn=>(openBlock(),createBlock(At,{key:vn.uid,node:vn,"menu-id":xe.menuId,onExpand:xe.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),xe.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-text"))},[createVNode$1(Lt,{size:"14",class:normalizeClass(xe.ns.is("loading"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(xe.t("el.cascader.loading")),1)],2)):xe.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString(xe.t("el.cascader.noData")),3)):(hn=xe.panel)!=null&&hn.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(xe.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc(_sfc_main$1O,[["render",_sfc_render$s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=xe=>{const $e=[xe];let{parent:Ie}=xe;for(;Ie;)$e.unshift(Ie),Ie=Ie.parent;return $e};let Node$2=class Pi{constructor($e,Ie,Fe,Ue=!1){this.data=$e,this.config=Ie,this.parent=Fe,this.root=Ue,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:qe,label:At,children:Dt}=Ie,Lt=$e[Dt],jt=calculatePathNodes(this);this.level=Ue?0:Fe?Fe.level+1:1,this.value=$e[qe],this.label=$e[At],this.pathNodes=jt,this.pathValues=jt.map(hn=>hn.value),this.pathLabels=jt.map(hn=>hn.label),this.childrenData=Lt,this.children=(Lt||[]).map(hn=>new Pi(hn,Ie,this)),this.loaded=!Ie.lazy||this.isLeaf||!isEmpty(Lt)}get isDisabled(){const{data:$e,parent:Ie,config:Fe}=this,{disabled:Ue,checkStrictly:qe}=Fe;return(isFunction$5(Ue)?Ue($e,this):!!$e[Ue])||!qe&&(Ie==null?void 0:Ie.isDisabled)}get isLeaf(){const{data:$e,config:Ie,childrenData:Fe,loaded:Ue}=this,{lazy:qe,leaf:At}=Ie,Dt=isFunction$5(At)?At($e,this):$e[At];return isUndefined(Dt)?qe&&!Ue?!1:!(Array.isArray(Fe)&&Fe.length):!!Dt}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild($e){const{childrenData:Ie,children:Fe}=this,Ue=new Pi($e,this.config,this);return Array.isArray(Ie)?Ie.push($e):this.childrenData=[$e],Fe.push(Ue),Ue}calcText($e,Ie){const Fe=$e?this.pathLabels.join(Ie):this.label;return this.text=Fe,Fe}broadcast($e,...Ie){const Fe=`onParent${capitalize($e)}`;this.children.forEach(Ue=>{Ue&&(Ue.broadcast($e,...Ie),Ue[Fe]&&Ue[Fe](...Ie))})}emit($e,...Ie){const{parent:Fe}=this,Ue=`onChild${capitalize($e)}`;Fe&&(Fe[Ue]&&Fe[Ue](...Ie),Fe.emit($e,...Ie))}onParentCheck($e){this.isDisabled||this.setCheckState($e)}onChildCheck(){const{children:$e}=this,Ie=$e.filter(Ue=>!Ue.isDisabled),Fe=Ie.length?Ie.every(Ue=>Ue.checked):!1;this.setCheckState(Fe)}setCheckState($e){const Ie=this.children.length,Fe=this.children.reduce((Ue,qe)=>{const At=qe.checked?1:qe.indeterminate?.5:0;return Ue+At},0);this.checked=this.loaded&&this.children.filter(Ue=>!Ue.isDisabled).every(Ue=>Ue.loaded&&Ue.checked)&&$e,this.indeterminate=this.loaded&&Fe!==Ie&&Fe>0}doCheck($e){if(this.checked===$e)return;const{checkStrictly:Ie,multiple:Fe}=this.config;Ie||!Fe?this.checked=$e:(this.broadcast("check",$e),this.setCheckState($e),this.emit("check"))}};const flatNodes=(xe,$e)=>xe.reduce((Ie,Fe)=>(Fe.isLeaf?Ie.push(Fe):(!$e&&Ie.push(Fe),Ie=Ie.concat(flatNodes(Fe.children,$e))),Ie),[]);class Store{constructor($e,Ie){this.config=Ie;const Fe=($e||[]).map(Ue=>new Node$2(Ue,this.config));this.nodes=Fe,this.allNodes=flatNodes(Fe,!1),this.leafNodes=flatNodes(Fe,!0)}getNodes(){return this.nodes}getFlattedNodes($e){return $e?this.leafNodes:this.allNodes}appendNode($e,Ie){const Fe=Ie?Ie.appendChild($e):new Node$2($e,this.config);Ie||this.nodes.push(Fe),this.allNodes.push(Fe),Fe.isLeaf&&this.leafNodes.push(Fe)}appendNodes($e,Ie){$e.forEach(Fe=>this.appendNode(Fe,Ie))}getNodeByValue($e,Ie=!1){return!$e&&$e!==0?null:this.getFlattedNodes(Ie).find(Ue=>isEqual$1(Ue.value,$e)||isEqual$1(Ue.pathValues,$e))||null}getSameNode($e){return $e&&this.getFlattedNodes(!1).find(({value:Fe,level:Ue})=>isEqual$1($e.value,Fe)&&$e.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=xe=>computed(()=>({...DefaultProps,...xe.props})),getMenuIndex=xe=>{if(!xe)return 0;const $e=xe.id.split("-");return Number($e[$e.length-2])},checkNode=xe=>{if(!xe)return;const $e=xe.querySelector("input");$e?$e.click():isLeaf(xe)&&xe.click()},sortByOriginalOrder=(xe,$e)=>{const Ie=$e.slice(0),Fe=Ie.map(qe=>qe.uid),Ue=xe.reduce((qe,At)=>{const Dt=Fe.indexOf(At.uid);return Dt>-1&&(qe.push(At),Ie.splice(Dt,1),Fe.splice(Dt,1)),qe},[]);return Ue.push(...Ie),Ue},_sfc_main$1N=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(xe,{emit:$e,slots:Ie}){let Fe=!1;const Ue=useNamespace("cascader"),qe=useCascaderConfig(xe);let At=null;const Dt=ref(!0),Lt=ref([]),jt=ref(null),hn=ref([]),vn=ref(null),bn=ref([]),_n=computed(()=>qe.value.expandTrigger==="hover"),wn=computed(()=>xe.renderLabel||Ie.default),kn=()=>{const{options:Rn}=xe,Bn=qe.value;Fe=!1,At=new Store(Rn,Bn),hn.value=[At.getNodes()],Bn.lazy&&isEmpty(xe.options)?(Dt.value=!1,Cn(void 0,Vn=>{Vn&&(At=new Store(Vn,Bn),hn.value=[At.getNodes()]),Dt.value=!0,Nn(!1,!0)})):Nn(!1,!0)},Cn=(Rn,Bn)=>{const Vn=qe.value;Rn=Rn||new Node$2({},Vn,void 0,!0),Rn.loading=!0;const Ln=Dn=>{const Hn=Rn,Fn=Hn.root?null:Hn;Dn&&(At==null||At.appendNodes(Dn,Fn)),Hn.loading=!1,Hn.loaded=!0,Hn.childrenData=Hn.childrenData||[],Bn&&Bn(Dn)};Vn.lazyLoad(Rn,Ln)},Sn=(Rn,Bn)=>{var Vn;const{level:Ln}=Rn,Dn=hn.value.slice(0,Ln);let Hn;Rn.isLeaf?Hn=Rn.pathNodes[Ln-2]:(Hn=Rn,Dn.push(Rn.children)),((Vn=vn.value)==null?void 0:Vn.uid)!==(Hn==null?void 0:Hn.uid)&&(vn.value=Rn,hn.value=Dn,!Bn&&$e("expand-change",(Rn==null?void 0:Rn.pathValues)||[]))},xn=(Rn,Bn,Vn=!0)=>{const{checkStrictly:Ln,multiple:Dn}=qe.value,Hn=bn.value[0];Fe=!0,!Dn&&(Hn==null||Hn.doCheck(!1)),Rn.doCheck(Bn),Pn(),Vn&&!Dn&&!Ln&&$e("close"),!Vn&&!Dn&&!Ln&&En(Rn)},En=Rn=>{Rn&&(Rn=Rn.parent,En(Rn),Rn&&Sn(Rn))},Tn=Rn=>At==null?void 0:At.getFlattedNodes(Rn),An=Rn=>{var Bn;return(Bn=Tn(Rn))==null?void 0:Bn.filter(Vn=>Vn.checked!==!1)},$n=()=>{bn.value.forEach(Rn=>Rn.doCheck(!1)),Pn(),hn.value=hn.value.slice(0,1),vn.value=null,$e("expand-change",[])},Pn=()=>{var Rn;const{checkStrictly:Bn,multiple:Vn}=qe.value,Ln=bn.value,Dn=An(!Bn),Hn=sortByOriginalOrder(Ln,Dn),Fn=Hn.map(zn=>zn.valueByOption);bn.value=Hn,jt.value=Vn?Fn:(Rn=Fn[0])!=null?Rn:null},Nn=(Rn=!1,Bn=!1)=>{const{modelValue:Vn}=xe,{lazy:Ln,multiple:Dn,checkStrictly:Hn}=qe.value,Fn=!Hn;if(!(!Dt.value||Fe||!Bn&&isEqual$1(Vn,jt.value)))if(Ln&&!Rn){const jn=unique(flattenDeep(castArray(Vn))).map(Gn=>At==null?void 0:At.getNodeByValue(Gn)).filter(Gn=>!!Gn&&!Gn.loaded&&!Gn.loading);jn.length?jn.forEach(Gn=>{Cn(Gn,()=>Nn(!1,Bn))}):Nn(!0,Bn)}else{const zn=Dn?castArray(Vn):[Vn],jn=unique(zn.map(Gn=>At==null?void 0:At.getNodeByValue(Gn,Fn)));Mn(jn,Bn),jt.value=cloneDeep(Vn)}},Mn=(Rn,Bn=!0)=>{const{checkStrictly:Vn}=qe.value,Ln=bn.value,Dn=Rn.filter(zn=>!!zn&&(Vn||zn.isLeaf)),Hn=At==null?void 0:At.getSameNode(vn.value),Fn=Bn&&Hn||Dn[0];Fn?Fn.pathNodes.forEach(zn=>Sn(zn,!0)):vn.value=null,Ln.forEach(zn=>zn.doCheck(!1)),reactive(Dn).forEach(zn=>zn.doCheck(!0)),bn.value=Dn,nextTick(In)},In=()=>{isClient&&Lt.value.forEach(Rn=>{const Bn=Rn==null?void 0:Rn.$el;if(Bn){const Vn=Bn.querySelector(`.${Ue.namespace.value}-scrollbar__wrap`),Ln=Bn.querySelector(`.${Ue.b("node")}.${Ue.is("active")}`)||Bn.querySelector(`.${Ue.b("node")}.in-active-path`);scrollIntoView(Vn,Ln)}})},On=Rn=>{const Bn=Rn.target,{code:Vn}=Rn;switch(Vn){case EVENT_CODE.up:case EVENT_CODE.down:{Rn.preventDefault();const Ln=Vn===EVENT_CODE.up?-1:1;focusNode(getSibling(Bn,Ln,`.${Ue.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)-1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[aria-expanded="true"]`);focusNode(Dn);break}case EVENT_CODE.right:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)+1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[tabindex="-1"]`);focusNode(Dn);break}case EVENT_CODE.enter:checkNode(Bn);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:qe,expandingNode:vn,checkedNodes:bn,isHoverMenu:_n,initialLoaded:Dt,renderLabelFn:wn,lazyLoad:Cn,expandNode:Sn,handleCheckChange:xn})),watch([qe,()=>xe.options],kn,{deep:!0,immediate:!0}),watch(()=>xe.modelValue,()=>{Fe=!1,Nn()},{deep:!0}),watch(()=>jt.value,Rn=>{isEqual$1(Rn,xe.modelValue)||($e(UPDATE_MODEL_EVENT,Rn),$e(CHANGE_EVENT,Rn))}),onBeforeUpdate(()=>Lt.value=[]),onMounted(()=>!isEmpty(xe.modelValue)&&Nn()),{ns:Ue,menuList:Lt,menus:hn,checkedNodes:bn,handleKeyDown:On,handleCheckChange:xn,getFlattedNodes:Tn,getCheckedNodes:An,clearCheckedNodes:$n,calculateCheckedValue:Pn,scrollToExpandingNode:In}}});function _sfc_render$r(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("panel"),xe.ns.is("bordered",xe.border)]),onKeydown:$e[0]||($e[0]=(...Dt)=>xe.handleKeyDown&&xe.handleKeyDown(...Dt))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.menus,(Dt,Lt)=>(openBlock(),createBlock(At,{key:Lt,ref_for:!0,ref:jt=>xe.menuList[Lt]=jt,index:Lt,nodes:[...Dt]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc(_sfc_main$1N,[["render",_sfc_render$r],["__file","index.vue"]]);CascaderPanel.install=xe=>{xe.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:xe=>xe instanceof MouseEvent,click:xe=>xe instanceof MouseEvent},__default__$1d=defineComponent({name:"ElTag"}),_sfc_main$1M=defineComponent({...__default__$1d,props:tagProps,emits:tagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useFormSize(),Ue=useNamespace("tag"),qe=computed(()=>{const{type:Lt,hit:jt,effect:hn,closable:vn,round:bn}=Ie;return[Ue.b(),Ue.is("closable",vn),Ue.m(Lt||"primary"),Ue.m(Fe.value),Ue.m(hn),Ue.is("hit",jt),Ue.is("round",bn)]}),At=Lt=>{$e("close",Lt)},Dt=Lt=>{$e("click",Lt)};return(Lt,jt)=>Lt.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(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(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc(_sfc_main$1M,[["__file","tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(xe,$e)=>xe.text.includes($e)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},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},...useEmptyValuesProps}),cascaderEmits={[UPDATE_MODEL_EVENT]:xe=>!0,[CHANGE_EVENT]:xe=>!0,focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,visibleChange:xe=>isBoolean(xe),expandChange:xe=>!!xe,removeTag:xe=>!!xe},_hoisted_1$S={key:0},_hoisted_2$z=["placeholder","onKeydown"],_hoisted_3$i=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$1c=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1L=defineComponent({...__default__$1c,props:cascaderProps,emits:cascaderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:cr})=>{const{modifiersData:Sr,placement:Dr}=cr;["right","left","bottom","top"].includes(Dr)||(Sr.arrow.x=35)},requires:["arrow"]}]},qe=useAttrs$1();let At=0,Dt=0;const Lt=useNamespace("cascader"),jt=useNamespace("input"),{t:hn}=useLocale(),{form:vn,formItem:bn}=useFormItem(),{valueOnClear:_n}=useEmptyValues(Fe),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(!1),Pn=ref(""),Nn=ref(""),Mn=ref([]),In=ref([]),On=ref([]),Rn=ref(!1),Bn=computed(()=>qe.style),Vn=computed(()=>Fe.disabled||(vn==null?void 0:vn.disabled)),Ln=computed(()=>Fe.placeholder||hn("el.cascader.placeholder")),Dn=computed(()=>Nn.value||Mn.value.length>0||Rn.value?"":Ln.value),Hn=useFormSize(),Fn=computed(()=>["small"].includes(Hn.value)?"small":"default"),zn=computed(()=>!!Fe.props.multiple),jn=computed(()=>!Fe.filterable||zn.value),Gn=computed(()=>zn.value?Nn.value:Pn.value),Wn=computed(()=>{var cr;return((cr=Sn.value)==null?void 0:cr.checkedNodes)||[]}),Xn=computed(()=>!Fe.clearable||Vn.value||An.value||!Tn.value?!1:!!Wn.value.length),er=computed(()=>{const{showAllLevels:cr,separator:Sr}=Fe,Dr=Wn.value;return Dr.length?zn.value?"":Dr[0].calcText(cr,Sr):""}),rr=computed(()=>(bn==null?void 0:bn.validateState)||""),Jn=computed({get(){return cloneDeep(Fe.modelValue)},set(cr){const Sr=cr||_n.value;Ie(UPDATE_MODEL_EVENT,Sr),Ie(CHANGE_EVENT,Sr),Fe.validateEvent&&(bn==null||bn.validate("change").catch(Dr=>void 0))}}),qn=computed(()=>[Lt.b(),Lt.m(Hn.value),Lt.is("disabled",Vn.value),qe.class]),Yn=computed(()=>[jt.e("icon"),"icon-arrow-down",Lt.is("reverse",En.value)]),ar=computed(()=>Lt.is("focus",En.value||$n.value)),tr=computed(()=>{var cr,Sr;return(Sr=(cr=wn.value)==null?void 0:cr.popperRef)==null?void 0:Sr.contentRef}),or=cr=>{var Sr,Dr,mr;Vn.value||(cr=cr??!En.value,cr!==En.value&&(En.value=cr,(Dr=(Sr=kn.value)==null?void 0:Sr.input)==null||Dr.setAttribute("aria-expanded",`${cr}`),cr?(sr(),nextTick((mr=Sn.value)==null?void 0:mr.scrollToExpandingNode)):Fe.filterable&&vr(),Ie("visibleChange",cr)))},sr=()=>{nextTick(()=>{var cr;(cr=wn.value)==null||cr.updatePopper()})},Kn=()=>{An.value=!1},Zn=cr=>{const{showAllLevels:Sr,separator:Dr}=Fe;return{node:cr,key:cr.uid,text:cr.calcText(Sr,Dr),hitState:!1,closable:!Vn.value&&!cr.isDisabled,isCollapseTag:!1}},nr=cr=>{var Sr;const Dr=cr.node;Dr.doCheck(!1),(Sr=Sn.value)==null||Sr.calculateCheckedValue(),Ie("removeTag",Dr.valueByOption)},lr=()=>{if(!zn.value)return;const cr=Wn.value,Sr=[],Dr=[];if(cr.forEach(mr=>Dr.push(Zn(mr))),In.value=Dr,cr.length){cr.slice(0,Fe.maxCollapseTags).forEach(zr=>Sr.push(Zn(zr)));const mr=cr.slice(Fe.maxCollapseTags),Lr=mr.length;Lr&&(Fe.collapseTags?Sr.push({key:-1,text:`+ ${Lr}`,closable:!1,isCollapseTag:!0}):mr.forEach(zr=>Sr.push(Zn(zr))))}Mn.value=Sr},ir=()=>{var cr,Sr;const{filterMethod:Dr,showAllLevels:mr,separator:Lr}=Fe,zr=(Sr=(cr=Sn.value)==null?void 0:cr.getFlattedNodes(!Fe.props.checkStrictly))==null?void 0:Sr.filter(Vr=>Vr.isDisabled?!1:(Vr.calcText(mr,Lr),Dr(Vr,Gn.value)));zn.value&&(Mn.value.forEach(Vr=>{Vr.hitState=!1}),In.value.forEach(Vr=>{Vr.hitState=!1})),An.value=!0,On.value=zr,sr()},kr=()=>{var cr;let Sr;An.value&&xn.value?Sr=xn.value.$el.querySelector(`.${Lt.e("suggestion-item")}`):Sr=(cr=Sn.value)==null?void 0:cr.$el.querySelector(`.${Lt.b("node")}[tabindex="-1"]`),Sr&&(Sr.focus(),!An.value&&Sr.click())},Cr=()=>{var cr,Sr;const Dr=(cr=kn.value)==null?void 0:cr.input,mr=Cn.value,Lr=(Sr=xn.value)==null?void 0:Sr.$el;if(!(!isClient||!Dr)){if(Lr){const zr=Lr.querySelector(`.${Lt.e("suggestion-list")}`);zr.style.minWidth=`${Dr.offsetWidth}px`}if(mr){const{offsetHeight:zr}=mr,Vr=Mn.value.length>0?`${Math.max(zr+6,At)}px`:`${At}px`;Dr.style.height=Vr,sr()}}},Er=cr=>{var Sr;return(Sr=Sn.value)==null?void 0:Sr.getCheckedNodes(cr)},dr=cr=>{sr(),Ie("expandChange",cr)},br=cr=>{var Sr;const Dr=(Sr=cr.target)==null?void 0:Sr.value;if(cr.type==="compositionend")Rn.value=!1,nextTick(()=>Br(Dr));else{const mr=Dr[Dr.length-1]||"";Rn.value=!isKorean(mr)}},_r=cr=>{if(!Rn.value)switch(cr.code){case EVENT_CODE.enter:or();break;case EVENT_CODE.down:or(!0),nextTick(kr),cr.preventDefault();break;case EVENT_CODE.esc:En.value===!0&&(cr.preventDefault(),cr.stopPropagation(),or(!1));break;case EVENT_CODE.tab:or(!1);break}},Pr=()=>{var cr;(cr=Sn.value)==null||cr.clearCheckedNodes(),!En.value&&Fe.filterable&&vr(),or(!1)},vr=()=>{const{value:cr}=er;Pn.value=cr,Nn.value=cr},xr=cr=>{var Sr,Dr;const{checked:mr}=cr;zn.value?(Sr=Sn.value)==null||Sr.handleCheckChange(cr,!mr,!1):(!mr&&((Dr=Sn.value)==null||Dr.handleCheckChange(cr,!0,!1)),or(!1))},Rr=cr=>{const Sr=cr.target,{code:Dr}=cr;switch(Dr){case EVENT_CODE.up:case EVENT_CODE.down:{const mr=Dr===EVENT_CODE.up?-1:1;focusNode(getSibling(Sr,mr,`.${Lt.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Sr.click();break}},Hr=()=>{const cr=Mn.value,Sr=cr[cr.length-1];Dt=Nn.value?0:Dt+1,!(!Sr||!Dt||Fe.collapseTags&&cr.length>1)&&(Sr.hitState?nr(Sr):Sr.hitState=!0)},Jr=cr=>{const Sr=cr.target,Dr=Lt.e("search-input");Sr.className===Dr&&($n.value=!0),Ie("focus",cr)},Gr=cr=>{$n.value=!1,Ie("blur",cr)},$r=debounce(()=>{const{value:cr}=Gn;if(!cr)return;const Sr=Fe.beforeFilter(cr);isPromise(Sr)?Sr.then(ir).catch(()=>{}):Sr!==!1?ir():Kn()},Fe.debounce),Br=(cr,Sr)=>{!En.value&&or(!0),!(Sr!=null&&Sr.isComposing)&&(cr?$r():Kn())},Tr=cr=>Number.parseFloat(useCssVar(jt.cssVarName("input-height"),cr).value)-2;return watch(An,sr),watch([Wn,Vn],lr),watch(Mn,()=>{nextTick(()=>Cr())}),watch(Hn,async()=>{await nextTick();const cr=kn.value.input;At=Tr(cr)||At,Cr()}),watch(er,vr,{immediate:!0}),onMounted(()=>{const cr=kn.value.input,Sr=Tr(cr);At=cr.offsetHeight||Sr,useResizeObserver(cr,Cr)}),$e({getCheckedNodes:Er,cascaderPanelRef:Sn,togglePopperVisible:or,contentRef:tr}),(cr,Sr)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:wn,visible:En.value,teleported:cr.teleported,"popper-class":[unref(Lt).e("dropdown"),cr.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(Lt).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:Kn},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(qn)),style:normalizeStyle$1(unref(Bn)),onClick:Sr[5]||(Sr[5]=()=>or(unref(jn)?void 0:!0)),onKeydown:_r,onMouseenter:Sr[6]||(Sr[6]=Dr=>Tn.value=!0),onMouseleave:Sr[7]||(Sr[7]=Dr=>Tn.value=!1)},[createVNode$1(unref(ElInput),{ref_key:"input",ref:kn,modelValue:Pn.value,"onUpdate:modelValue":Sr[1]||(Sr[1]=Dr=>Pn.value=Dr),placeholder:unref(Dn),readonly:unref(jn),disabled:unref(Vn),"validate-event":!1,size:unref(Hn),class:normalizeClass(unref(ar)),tabindex:unref(zn)&&cr.filterable&&!unref(Vn)?-1:void 0,onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr,onInput:Br},{suffix:withCtx(()=>[unref(Xn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(jt).e("icon"),"icon-circle-close"]),onClick:withModifiers(Pr,["stop"])},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(Yn)),onClick:Sr[0]||(Sr[0]=withModifiers(Dr=>or(),["stop"]))},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(zn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Cn,class:normalizeClass([unref(Lt).e("tags"),unref(Lt).is("validate",!!unref(rr))])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.value,Dr=>(openBlock(),createBlock(unref(ElTag),{key:Dr.key,type:cr.tagType,size:unref(Fn),hit:Dr.hitState,closable:Dr.closable,"disable-transitions":"",onClose:mr=>nr(Dr)},{default:withCtx(()=>[Dr.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$S,toDisplayString(Dr.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:En.value||!cr.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Dr.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Lt).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(In.value.slice(cr.maxCollapseTags),(mr,Lr)=>(openBlock(),createElementBlock("div",{key:Lr,class:normalizeClass(unref(Lt).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:mr.key,class:"in-tooltip",type:cr.tagType,size:unref(Fn),hit:mr.hitState,closable:mr.closable,"disable-transitions":"",onClose:zr=>nr(mr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(mr.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),cr.filterable&&!unref(Vn)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Sr[2]||(Sr[2]=Dr=>Nn.value=Dr),type:"text",class:normalizeClass(unref(Lt).e("search-input")),placeholder:unref(er)?"":unref(Ln),onInput:Sr[3]||(Sr[3]=Dr=>Br(Nn.value,Dr)),onClick:Sr[4]||(Sr[4]=withModifiers(Dr=>or(!0),["stop"])),onKeydown:withKeys(Hr,["delete"]),onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr},null,42,_hoisted_2$z)),[[vModelText,Nn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>or(!1),unref(tr)]])]),content:withCtx(()=>[withDirectives(createVNode$1(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Sn,modelValue:unref(Jn),"onUpdate:modelValue":Sr[8]||(Sr[8]=Dr=>isRef(Jn)?Jn.value=Dr:null),options:cr.options,props:Fe.props,border:!1,"render-label":cr.$slots.default,onExpandChange:dr,onClose:Sr[9]||(Sr[9]=Dr=>cr.$nextTick(()=>or(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!An.value]]),cr.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:xn,tag:"ul",class:normalizeClass(unref(Lt).e("suggestion-panel")),"view-class":unref(Lt).e("suggestion-list"),onKeydown:Rr},{default:withCtx(()=>[On.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(On.value,Dr=>(openBlock(),createElementBlock("li",{key:Dr.uid,class:normalizeClass([unref(Lt).e("suggestion-item"),unref(Lt).is("checked",Dr.checked)]),tabindex:-1,onClick:mr=>xr(Dr)},[createBaseVNode("span",null,toDisplayString(Dr.text),1),Dr.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$i))),128)):renderSlot(cr.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(Lt).e("empty-text"))},toDisplayString(unref(hn)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,An.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc(_sfc_main$1L,[["__file","cascader.vue"]]);Cascader.install=xe=>{xe.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1},type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),checkTagEmits={"update:checked":xe=>isBoolean(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)},__default__$1b=defineComponent({name:"ElCheckTag"}),_sfc_main$1K=defineComponent({...__default__$1b,props:checkTagProps,emits:checkTagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("check-tag"),Ue=computed(()=>[Fe.b(),Fe.is("checked",Ie.checked),Fe.m(Ie.type||"primary")]),qe=()=>{const At=!Ie.checked;$e(CHANGE_EVENT,At),$e("update:checked",At)};return(At,Dt)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue)),onClick:qe},[renderSlot(At.$slots,"default")],2))}});var CheckTag=_export_sfc(_sfc_main$1K,[["__file","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__$1a=defineComponent({name:"ElRow"}),_sfc_main$1J=defineComponent({...__default__$1a,props:rowProps,setup(xe){const $e=xe,Ie=useNamespace("row"),Fe=computed(()=>$e.gutter);provide(rowContextKey,{gutter:Fe});const Ue=computed(()=>{const At={};return $e.gutter&&(At.marginRight=At.marginLeft=`-${$e.gutter/2}px`),At}),qe=computed(()=>[Ie.b(),Ie.is(`justify-${$e.justify}`,$e.justify!=="start"),Ie.is(`align-${$e.align}`,!!$e.align)]);return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc(_sfc_main$1J,[["__file","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__$19=defineComponent({name:"ElCol"}),_sfc_main$1I=defineComponent({...__default__$19,props:colProps,setup(xe){const $e=xe,{gutter:Ie}=inject(rowContextKey,{gutter:computed(()=>0)}),Fe=useNamespace("col"),Ue=computed(()=>{const At={};return Ie.value&&(At.paddingLeft=At.paddingRight=`${Ie.value/2}px`),At}),qe=computed(()=>{const At=[];return["span","offset","pull","push"].forEach(jt=>{const hn=$e[jt];isNumber(hn)&&(jt==="span"?At.push(Fe.b(`${$e[jt]}`)):hn>0&&At.push(Fe.b(`${jt}-${$e[jt]}`)))}),["xs","sm","md","lg","xl"].forEach(jt=>{isNumber($e[jt])?At.push(Fe.b(`${jt}-${$e[jt]}`)):isObject$8($e[jt])&&Object.entries($e[jt]).forEach(([hn,vn])=>{At.push(hn!=="span"?Fe.b(`${jt}-${hn}-${vn}`):Fe.b(`${jt}-${vn}`))})}),Ie.value&&At.push(Fe.is("guttered")),[Fe.b(),At]});return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc(_sfc_main$1I,[["__file","col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=xe=>isNumber(xe)||isString$4(xe)||isArray$6(xe),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(xe,$e)=>{const Ie=ref(castArray$1(xe.modelValue)),Fe=qe=>{Ie.value=qe;const At=xe.accordion?Ie.value[0]:Ie.value;$e(UPDATE_MODEL_EVENT,At),$e(CHANGE_EVENT,At)},Ue=qe=>{if(xe.accordion)Fe([Ie.value[0]===qe?"":qe]);else{const At=[...Ie.value],Dt=At.indexOf(qe);Dt>-1?At.splice(Dt,1):At.push(qe),Fe(At)}};return watch(()=>xe.modelValue,()=>Ie.value=castArray$1(xe.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:Ie,handleItemClick:Ue}),{activeNames:Ie,setActiveNames:Fe}},useCollapseDOM=()=>{const xe=useNamespace("collapse");return{rootKls:computed(()=>xe.b())}},__default__$18=defineComponent({name:"ElCollapse"}),_sfc_main$1H=defineComponent({...__default__$18,props:collapseProps,emits:collapseEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{activeNames:Ue,setActiveNames:qe}=useCollapse(Fe,Ie),{rootKls:At}=useCollapseDOM();return $e({activeNames:Ue,setActiveNames:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At))},[renderSlot(Dt.$slots,"default")],2))}});var Collapse=_export_sfc(_sfc_main$1H,[["__file","collapse.vue"]]);const __default__$17=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1G=defineComponent({...__default__$17,setup(xe){const $e=useNamespace("collapse-transition"),Ie=Ue=>{Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom},Fe={beforeEnter(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.style.height&&(Ue.dataset.elExistsHeight=Ue.style.height),Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0},enter(Ue){requestAnimationFrame(()=>{Ue.dataset.oldOverflow=Ue.style.overflow,Ue.dataset.elExistsHeight?Ue.style.maxHeight=Ue.dataset.elExistsHeight:Ue.scrollHeight!==0?Ue.style.maxHeight=`${Ue.scrollHeight}px`:Ue.style.maxHeight=0,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom,Ue.style.overflow="hidden"})},afterEnter(Ue){Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow},enterCancelled(Ue){Ie(Ue)},beforeLeave(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.dataset.oldOverflow=Ue.style.overflow,Ue.style.maxHeight=`${Ue.scrollHeight}px`,Ue.style.overflow="hidden"},leave(Ue){Ue.scrollHeight!==0&&(Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0)},afterLeave(Ue){Ie(Ue)},leaveCancelled(Ue){Ie(Ue)}};return(Ue,qe)=>(openBlock(),createBlock(Transition,mergeProps({name:unref($e).b()},toHandlers(Fe)),{default:withCtx(()=>[renderSlot(Ue.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc(_sfc_main$1G,[["__file","collapse-transition.vue"]]);CollapseTransition.install=xe=>{xe.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:void 0},disabled:Boolean}),useCollapseItem=xe=>{const $e=inject(collapseContextKey),{namespace:Ie}=useNamespace("collapse"),Fe=ref(!1),Ue=ref(!1),qe=useIdInjection(),At=computed(()=>qe.current++),Dt=computed(()=>{var bn;return(bn=xe.name)!=null?bn:`${Ie.value}-id-${qe.prefix}-${unref(At)}`}),Lt=computed(()=>$e==null?void 0:$e.activeNames.value.includes(unref(Dt)));return{focusing:Fe,id:At,isActive:Lt,handleFocus:()=>{setTimeout(()=>{Ue.value?Ue.value=!1:Fe.value=!0},50)},handleHeaderClick:()=>{xe.disabled||($e==null||$e.handleItemClick(unref(Dt)),Fe.value=!1,Ue.value=!0)},handleEnterClick:()=>{$e==null||$e.handleItemClick(unref(Dt))}}},useCollapseItemDOM=(xe,{focusing:$e,isActive:Ie,id:Fe})=>{const Ue=useNamespace("collapse"),qe=computed(()=>[Ue.b("item"),Ue.is("active",unref(Ie)),Ue.is("disabled",xe.disabled)]),At=computed(()=>[Ue.be("item","header"),Ue.is("active",unref(Ie)),{focusing:unref($e)&&!xe.disabled}]),Dt=computed(()=>[Ue.be("item","arrow"),Ue.is("active",unref(Ie))]),Lt=computed(()=>Ue.be("item","wrap")),jt=computed(()=>Ue.be("item","content")),hn=computed(()=>Ue.b(`content-${unref(Fe)}`)),vn=computed(()=>Ue.b(`head-${unref(Fe)}`));return{arrowKls:Dt,headKls:At,rootKls:qe,itemWrapperKls:Lt,itemContentKls:jt,scopedContentId:hn,scopedHeadId:vn}},_hoisted_1$R=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],_hoisted_2$y=["id","aria-hidden","aria-labelledby"],__default__$16=defineComponent({name:"ElCollapseItem"}),_sfc_main$1F=defineComponent({...__default__$16,props:collapseItemProps,setup(xe,{expose:$e}){const Ie=xe,{focusing:Fe,id:Ue,isActive:qe,handleFocus:At,handleHeaderClick:Dt,handleEnterClick:Lt}=useCollapseItem(Ie),{arrowKls:jt,headKls:hn,rootKls:vn,itemWrapperKls:bn,itemContentKls:_n,scopedContentId:wn,scopedHeadId:kn}=useCollapseItemDOM(Ie,{focusing:Fe,isActive:qe,id:Ue});return $e({isActive:qe}),(Cn,Sn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(vn))},[createBaseVNode("button",{id:unref(kn),class:normalizeClass(unref(hn)),"aria-expanded":unref(qe),"aria-controls":unref(wn),"aria-describedby":unref(wn),tabindex:Cn.disabled?-1:0,type:"button",onClick:Sn[0]||(Sn[0]=(...xn)=>unref(Dt)&&unref(Dt)(...xn)),onKeydown:Sn[1]||(Sn[1]=withKeys(withModifiers((...xn)=>unref(Lt)&&unref(Lt)(...xn),["stop","prevent"]),["space","enter"])),onFocus:Sn[2]||(Sn[2]=(...xn)=>unref(At)&&unref(At)(...xn)),onBlur:Sn[3]||(Sn[3]=xn=>Fe.value=!1)},[renderSlot(Cn.$slots,"title",{},()=>[createTextVNode(toDisplayString(Cn.title),1)]),createVNode$1(unref(ElIcon),{class:normalizeClass(unref(jt))},{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_1$R),createVNode$1(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(wn),role:"region",class:normalizeClass(unref(bn)),"aria-hidden":!unref(qe),"aria-labelledby":unref(kn)},[createBaseVNode("div",{class:normalizeClass(unref(_n))},[renderSlot(Cn.$slots,"default")],2)],10,_hoisted_2$y),[[vShow,unref(qe)]])]),_:3})],2))}});var CollapseItem=_export_sfc(_sfc_main$1F,[["__file","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(xe,$e){if(!isClient)return;const Ie=function(qe){var At;(At=$e.drag)==null||At.call($e,qe)},Fe=function(qe){var At;document.removeEventListener("mousemove",Ie),document.removeEventListener("mouseup",Fe),document.removeEventListener("touchmove",Ie),document.removeEventListener("touchend",Fe),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(At=$e.end)==null||At.call($e,qe)},Ue=function(qe){var At;isDragging||(qe.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",Ie),document.addEventListener("mouseup",Fe),document.addEventListener("touchmove",Ie),document.addEventListener("touchend",Fe),isDragging=!0,(At=$e.start)==null||At.call($e,qe))};xe.addEventListener("mousedown",Ue),xe.addEventListener("touchstart",Ue)}const useAlphaSlider=xe=>{const $e=getCurrentInstance(),Ie=shallowRef(),Fe=shallowRef();function Ue(At){At.target!==Ie.value&&qe(At)}function qe(At){if(!Fe.value||!Ie.value)return;const Lt=$e.vnode.el.getBoundingClientRect(),{clientX:jt,clientY:hn}=getClientXY(At);if(xe.vertical){let vn=hn-Lt.top;vn=Math.max(Ie.value.offsetHeight/2,vn),vn=Math.min(vn,Lt.height-Ie.value.offsetHeight/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetHeight/2)/(Lt.height-Ie.value.offsetHeight)*100))}else{let vn=jt-Lt.left;vn=Math.max(Ie.value.offsetWidth/2,vn),vn=Math.min(vn,Lt.width-Ie.value.offsetWidth/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetWidth/2)/(Lt.width-Ie.value.offsetWidth)*100))}}return{thumb:Ie,bar:Fe,handleDrag:qe,handleClick:Ue}},useAlphaSliderDOM=(xe,{bar:$e,thumb:Ie,handleDrag:Fe})=>{const Ue=getCurrentInstance(),qe=useNamespace("color-alpha-slider"),At=ref(0),Dt=ref(0),Lt=ref();function jt(){if(!Ie.value||xe.vertical)return 0;const xn=Ue.vnode.el,En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetWidth-Ie.value.offsetWidth/2)/100):0}function hn(){if(!Ie.value)return 0;const xn=Ue.vnode.el;if(!xe.vertical)return 0;const En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetHeight-Ie.value.offsetHeight/2)/100):0}function vn(){if(xe.color&&xe.color.value){const{r:xn,g:En,b:Tn}=xe.color.toRgb();return`linear-gradient(to right, rgba(${xn}, ${En}, ${Tn}, 0) 0%, rgba(${xn}, ${En}, ${Tn}, 1) 100%)`}return""}function bn(){At.value=jt(),Dt.value=hn(),Lt.value=vn()}onMounted(()=>{if(!$e.value||!Ie.value)return;const xn={drag:En=>{Fe(En)},end:En=>{Fe(En)}};draggable($e.value,xn),draggable(Ie.value,xn),bn()}),watch(()=>xe.color.get("alpha"),()=>bn()),watch(()=>xe.color.value,()=>bn());const _n=computed(()=>[qe.b(),qe.is("vertical",xe.vertical)]),wn=computed(()=>qe.e("bar")),kn=computed(()=>qe.e("thumb")),Cn=computed(()=>({background:Lt.value})),Sn=computed(()=>({left:addUnit(At.value),top:addUnit(Dt.value)}));return{rootKls:_n,barKls:wn,barStyle:Cn,thumbKls:kn,thumbStyle:Sn,update:bn}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$15=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1E=defineComponent({...__default__$15,props:alphaSliderProps,setup(xe,{expose:$e}){const Ie=xe,{bar:Fe,thumb:Ue,handleDrag:qe,handleClick:At}=useAlphaSlider(Ie),{rootKls:Dt,barKls:Lt,barStyle:jt,thumbKls:hn,thumbStyle:vn,update:bn}=useAlphaSliderDOM(Ie,{bar:Fe,thumb:Ue,handleDrag:qe});return $e({update:bn,bar:Fe,thumb:Ue}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt))},[createBaseVNode("div",{ref_key:"bar",ref:Fe,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(unref(jt)),onClick:wn[0]||(wn[0]=(...kn)=>unref(At)&&unref(At)(...kn))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:Ue,class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(vn))},null,6)],2))}});var AlphaSlider=_export_sfc(_sfc_main$1E,[["__file","alpha-slider.vue"]]);const _sfc_main$1D=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(xe){const $e=useNamespace("color-hue-slider"),Ie=getCurrentInstance(),Fe=ref(),Ue=ref(),qe=ref(0),At=ref(0),Dt=computed(()=>xe.color.get("hue"));watch(()=>Dt.value,()=>{bn()});function Lt(_n){_n.target!==Fe.value&&jt(_n)}function jt(_n){if(!Ue.value||!Fe.value)return;const kn=Ie.vnode.el.getBoundingClientRect(),{clientX:Cn,clientY:Sn}=getClientXY(_n);let xn;if(xe.vertical){let En=Sn-kn.top;En=Math.min(En,kn.height-Fe.value.offsetHeight/2),En=Math.max(Fe.value.offsetHeight/2,En),xn=Math.round((En-Fe.value.offsetHeight/2)/(kn.height-Fe.value.offsetHeight)*360)}else{let En=Cn-kn.left;En=Math.min(En,kn.width-Fe.value.offsetWidth/2),En=Math.max(Fe.value.offsetWidth/2,En),xn=Math.round((En-Fe.value.offsetWidth/2)/(kn.width-Fe.value.offsetWidth)*360)}xe.color.set("hue",xn)}function hn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetWidth-Fe.value.offsetWidth/2)/360):0}function vn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(!xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetHeight-Fe.value.offsetHeight/2)/360):0}function bn(){qe.value=hn(),At.value=vn()}return onMounted(()=>{if(!Ue.value||!Fe.value)return;const _n={drag:wn=>{jt(wn)},end:wn=>{jt(wn)}};draggable(Ue.value,_n),draggable(Fe.value,_n),bn()}),{bar:Ue,thumb:Fe,thumbLeft:qe,thumbTop:At,hueValue:Dt,handleClick:Lt,update:bn,ns:$e}}});function _sfc_render$q(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("vertical",xe.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(xe.ns.e("bar")),onClick:$e[0]||($e[0]=(...At)=>xe.handleClick&&xe.handleClick(...At))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(xe.ns.e("thumb")),style:normalizeStyle$1({left:xe.thumbLeft+"px",top:xe.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc(_sfc_main$1D,[["render",_sfc_render$q],["__file","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},teleported:useTooltipContentProps.teleported,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNil(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNil(xe),activeChange:xe=>isString$4(xe)||isNil(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(xe,$e,Ie){return[xe,$e*Ie/((xe=(2-$e)*Ie)<1?xe:2-xe)||0,xe/2]},isOnePointZero=function(xe){return typeof xe=="string"&&xe.includes(".")&&Number.parseFloat(xe)===1},isPercentage=function(xe){return typeof xe=="string"&&xe.includes("%")},bound01=function(xe,$e){isOnePointZero(xe)&&(xe="100%");const Ie=isPercentage(xe);return xe=Math.min($e,Math.max(0,Number.parseFloat(`${xe}`))),Ie&&(xe=Number.parseInt(`${xe*$e}`,10)/100),Math.abs(xe-$e)<1e-6?1:xe%$e/Number.parseFloat($e)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=xe=>{xe=Math.min(Math.round(xe),255);const $e=Math.floor(xe/16),Ie=xe%16;return`${INT_HEX_MAP[$e]||$e}${INT_HEX_MAP[Ie]||Ie}`},toHex=function({r:xe,g:$e,b:Ie}){return Number.isNaN(+xe)||Number.isNaN(+$e)||Number.isNaN(+Ie)?"":`#${hexOne(xe)}${hexOne($e)}${hexOne(Ie)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(xe){return xe.length===2?(HEX_INT_MAP[xe[0].toUpperCase()]||+xe[0])*16+(HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]):HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]},hsl2hsv=function(xe,$e,Ie){$e=$e/100,Ie=Ie/100;let Fe=$e;const Ue=Math.max(Ie,.01);Ie*=2,$e*=Ie<=1?Ie:2-Ie,Fe*=Ue<=1?Ue:2-Ue;const qe=(Ie+$e)/2,At=Ie===0?2*Fe/(Ue+Fe):2*$e/(Ie+$e);return{h:xe,s:At*100,v:qe*100}},rgb2hsv=(xe,$e,Ie)=>{xe=bound01(xe,255),$e=bound01($e,255),Ie=bound01(Ie,255);const Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie);let qe;const At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:{qe=($e-Ie)/Dt+($e<Ie?6:0);break}case $e:{qe=(Ie-xe)/Dt+2;break}case Ie:{qe=(xe-$e)/Dt+4;break}}qe/=6}return{h:qe*360,s:Lt*100,v:At*100}},hsv2rgb=function(xe,$e,Ie){xe=bound01(xe,360)*6,$e=bound01($e,100),Ie=bound01(Ie,100);const Fe=Math.floor(xe),Ue=xe-Fe,qe=Ie*(1-$e),At=Ie*(1-Ue*$e),Dt=Ie*(1-(1-Ue)*$e),Lt=Fe%6,jt=[Ie,At,qe,qe,Dt,Ie][Lt],hn=[Dt,Ie,Ie,At,qe,qe][Lt],vn=[qe,qe,Dt,Ie,Ie,At][Lt];return{r:Math.round(jt*255),g:Math.round(hn*255),b:Math.round(vn*255)}};class Color{constructor($e={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);$e.value?this.fromString($e.value):this.doOnChange()}set($e,Ie){if(arguments.length===1&&typeof $e=="object"){for(const Fe in $e)hasOwn$1($e,Fe)&&this.set(Fe,$e[Fe]);return}this[`_${$e}`]=Ie,this.doOnChange()}get($e){return $e==="alpha"?Math.floor(this[`_${$e}`]):this[`_${$e}`]}toRgb(){return hsv2rgb(this._hue,this._saturation,this._value)}fromString($e){if(!$e){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const Ie=(Fe,Ue,qe)=>{this._hue=Math.max(0,Math.min(360,Fe)),this._saturation=Math.max(0,Math.min(100,Ue)),this._value=Math.max(0,Math.min(100,qe)),this.doOnChange()};if($e.includes("hsl")){const Fe=$e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=hsl2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("hsv")){const Fe=$e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3&&Ie(Fe[0],Fe[1],Fe[2])}else if($e.includes("rgb")){const Fe=$e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=rgb2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("#")){const Fe=$e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(Fe))return;let Ue,qe,At;Fe.length===3?(Ue=parseHexChannel(Fe[0]+Fe[0]),qe=parseHexChannel(Fe[1]+Fe[1]),At=parseHexChannel(Fe[2]+Fe[2])):(Fe.length===6||Fe.length===8)&&(Ue=parseHexChannel(Fe.slice(0,2)),qe=parseHexChannel(Fe.slice(2,4)),At=parseHexChannel(Fe.slice(4,6))),Fe.length===8?this._alpha=parseHexChannel(Fe.slice(6))/255*100:(Fe.length===3||Fe.length===6)&&(this._alpha=100);const{h:Dt,s:Lt,v:jt}=rgb2hsv(Ue,qe,At);Ie(Dt,Lt,jt)}}compare($e){return Math.abs($e._hue-this._hue)<2&&Math.abs($e._saturation-this._saturation)<1&&Math.abs($e._value-this._value)<1&&Math.abs($e._alpha-this._alpha)<1}doOnChange(){const{_hue:$e,_saturation:Ie,_value:Fe,_alpha:Ue,format:qe}=this;if(this.enableAlpha)switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsla(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb($e,Ie,Fe))}${hexOne(Ue*255/100)}`;break}default:{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgba(${At}, ${Dt}, ${Lt}, ${this.get("alpha")/100})`}}else switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsl(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%)`;break}case"rgb":{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgb(${At}, ${Dt}, ${Lt})`;break}default:this.value=toHex(hsv2rgb($e,Ie,Fe))}}}const _sfc_main$1C=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-predefine"),{currentColor:Ie}=inject(colorPickerContextKey),Fe=ref(qe(xe.colors,xe.color));watch(()=>Ie.value,At=>{const Dt=new Color;Dt.fromString(At),Fe.value.forEach(Lt=>{Lt.selected=Dt.compare(Lt)})}),watchEffect(()=>{Fe.value=qe(xe.colors,xe.color)});function Ue(At){xe.color.fromString(xe.colors[At])}function qe(At,Dt){return At.map(Lt=>{const jt=new Color;return jt.enableAlpha=!0,jt.format="rgba",jt.fromString(Lt),jt.selected=jt.value===Dt.value,jt})}return{rgbaColors:Fe,handleSelect:Ue,ns:$e}}}),_hoisted_1$Q=["onClick"];function _sfc_render$p(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.rgbaColors,(At,Dt)=>(openBlock(),createElementBlock("div",{key:xe.colors[Dt],class:normalizeClass([xe.ns.e("color-selector"),xe.ns.is("alpha",At._alpha<100),{selected:At.selected}]),onClick:Lt=>xe.handleSelect(Dt)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:At.value})},null,4)],10,_hoisted_1$Q))),128))],2)],2)}var Predefine=_export_sfc(_sfc_main$1C,[["render",_sfc_render$p],["__file","predefine.vue"]]);const _sfc_main$1B=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-svpanel"),Ie=getCurrentInstance(),Fe=ref(0),Ue=ref(0),qe=ref("hsl(0, 100%, 50%)"),At=computed(()=>{const jt=xe.color.get("hue"),hn=xe.color.get("value");return{hue:jt,value:hn}});function Dt(){const jt=xe.color.get("saturation"),hn=xe.color.get("value"),vn=Ie.vnode.el,{clientWidth:bn,clientHeight:_n}=vn;Ue.value=jt*bn/100,Fe.value=(100-hn)*_n/100,qe.value=`hsl(${xe.color.get("hue")}, 100%, 50%)`}function Lt(jt){const vn=Ie.vnode.el.getBoundingClientRect(),{clientX:bn,clientY:_n}=getClientXY(jt);let wn=bn-vn.left,kn=_n-vn.top;wn=Math.max(0,wn),wn=Math.min(wn,vn.width),kn=Math.max(0,kn),kn=Math.min(kn,vn.height),Ue.value=wn,Fe.value=kn,xe.color.set({saturation:wn/vn.width*100,value:100-kn/vn.height*100})}return watch(()=>At.value,()=>{Dt()}),onMounted(()=>{draggable(Ie.vnode.el,{drag:jt=>{Lt(jt)},end:jt=>{Lt(jt)}}),Dt()}),{cursorTop:Fe,cursorLeft:Ue,background:qe,colorValue:At,handleDrag:Lt,update:Dt,ns:$e}}}),_hoisted_1$P=createBaseVNode("div",null,null,-1),_hoisted_2$x=[_hoisted_1$P];function _sfc_render$o(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b()),style:normalizeStyle$1({backgroundColor:xe.background})},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("cursor")),style:normalizeStyle$1({top:xe.cursorTop+"px",left:xe.cursorLeft+"px"})},_hoisted_2$x,6)],6)}var SvPanel=_export_sfc(_sfc_main$1B,[["render",_sfc_render$o],["__file","sv-panel.vue"]]);const _hoisted_1$O=["onKeydown"],_hoisted_2$w=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],__default__$14=defineComponent({name:"ElColorPicker"}),_sfc_main$1A=defineComponent({...__default__$14,props:colorPickerProps,emits:colorPickerEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("color"),{formItem:At}=useFormItem(),Dt=useFormSize(),Lt=useFormDisabled(),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(),bn=ref(),_n=ref(),wn=ref(),kn=ref(),Cn=ref(),{isFocused:Sn,handleFocus:xn,handleBlur:En}=useFocusController(kn,{beforeBlur(tr){var or;return(or=wn.value)==null?void 0:or.isFocusInsideContent(tr)},afterBlur(){Dn(!1),jn()}}),Tn=tr=>{if(Lt.value)return ar();xn(tr)};let An=!0;const $n=reactive(new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue})),Pn=ref(!1),Nn=ref(!1),Mn=ref(""),In=computed(()=>!Fe.modelValue&&!Nn.value?"transparent":Ln($n,Fe.showAlpha)),On=computed(()=>!Fe.modelValue&&!Nn.value?"":$n.value),Rn=computed(()=>hn.value?void 0:Fe.label||Fe.ariaLabel||Ue("el.colorpicker.defaultLabel"));useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-color-picker",ref:"https://element-plus.org/en-US/component/color-picker.html"},computed(()=>!!Fe.label));const Bn=computed(()=>hn.value?At==null?void 0:At.labelId:void 0),Vn=computed(()=>[qe.b("picker"),qe.is("disabled",Lt.value),qe.bm("picker",Dt.value),qe.is("focused",Sn.value)]);function Ln(tr,or){if(!(tr instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:sr,g:Kn,b:Zn}=tr.toRgb();return or?`rgba(${sr}, ${Kn}, ${Zn}, ${tr.get("alpha")/100})`:`rgb(${sr}, ${Kn}, ${Zn})`}function Dn(tr){Pn.value=tr}const Hn=debounce(Dn,100,{leading:!0});function Fn(){Lt.value||Dn(!0)}function zn(){Hn(!1),jn()}function jn(){nextTick(()=>{Fe.modelValue?$n.fromString(Fe.modelValue):($n.value="",nextTick(()=>{Nn.value=!1}))})}function Gn(){Lt.value||Hn(!Pn.value)}function Wn(){$n.fromString(Mn.value)}function Xn(){const tr=$n.value;Ie(UPDATE_MODEL_EVENT,tr),Ie("change",tr),Fe.validateEvent&&(At==null||At.validate("change").catch(or=>void 0)),Hn(!1),nextTick(()=>{const or=new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue});$n.compare(or)||jn()})}function er(){Hn(!1),Ie(UPDATE_MODEL_EVENT,null),Ie("change",null),Fe.modelValue!==null&&Fe.validateEvent&&(At==null||At.validate("change").catch(tr=>void 0)),jn()}function rr(tr){if(Pn.value&&(zn(),Sn.value)){const or=new FocusEvent("focus",tr);En(or)}}function Jn(tr){tr.preventDefault(),tr.stopPropagation(),Dn(!1),jn()}function qn(tr){switch(tr.code){case EVENT_CODE.enter:case EVENT_CODE.space:tr.preventDefault(),tr.stopPropagation(),Fn(),Cn.value.focus();break;case EVENT_CODE.esc:Jn(tr);break}}function Yn(){kn.value.focus()}function ar(){kn.value.blur()}return onMounted(()=>{Fe.modelValue&&(Mn.value=On.value)}),watch(()=>Fe.modelValue,tr=>{tr?tr&&tr!==$n.value&&(An=!1,$n.fromString(tr)):Nn.value=!1}),watch(()=>On.value,tr=>{Mn.value=tr,An&&Ie("activeChange",tr),An=!0}),watch(()=>$n.value,()=>{!Fe.modelValue&&!Nn.value&&(Nn.value=!0)}),watch(()=>Pn.value,()=>{nextTick(()=>{var tr,or,sr;(tr=vn.value)==null||tr.update(),(or=bn.value)==null||or.update(),(sr=_n.value)==null||sr.update()})}),provide(colorPickerContextKey,{currentColor:On}),$e({color:$n,show:Fn,hide:zn,focus:Yn,blur:ar}),(tr,or)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:wn,visible:Pn.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(qe).be("picker","panel"),unref(qe).b("dropdown"),tr.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:tr.teleported,transition:`${unref(qe).namespace.value}-zoom-in-top`,persistent:"",onHide:or[2]||(or[2]=sr=>Dn(!1))},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(Jn,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","main-wrapper"))},[createVNode$1(HueSlider,{ref_key:"hue",ref:vn,class:"hue-slider",color:unref($n),vertical:""},null,8,["color"]),createVNode$1(SvPanel,{ref_key:"sv",ref:bn,color:unref($n)},null,8,["color"])],2),tr.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:_n,color:unref($n)},null,8,["color"])):createCommentVNode("v-if",!0),tr.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref($n),colors:tr.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("dropdown","value"))},[createVNode$1(unref(ElInput),{ref_key:"inputRef",ref:Cn,modelValue:Mn.value,"onUpdate:modelValue":or[0]||(or[0]=sr=>Mn.value=sr),"validate-event":!1,size:"small",onKeyup:withKeys(Wn,["enter"]),onBlur:Wn},null,8,["modelValue","onKeyup"])],2),createVNode$1(unref(ElButton),{class:normalizeClass(unref(qe).be("dropdown","link-btn")),text:"",size:"small",onClick:er},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(qe).be("dropdown","btn")),onClick:Xn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,_hoisted_1$O)),[[unref(ClickOutside),rr]])]),default:withCtx(()=>[createBaseVNode("div",mergeProps({id:unref(jt),ref_key:"triggerRef",ref:kn},tr.$attrs,{class:unref(Vn),role:"button","aria-label":unref(Rn),"aria-labelledby":unref(Bn),"aria-description":unref(Ue)("el.colorpicker.description",{color:tr.modelValue||""}),"aria-disabled":unref(Lt),tabindex:unref(Lt)?-1:tr.tabindex,onKeydown:qn,onFocus:Tn,onBlur:or[1]||(or[1]=(...sr)=>unref(En)&&unref(En)(...sr))}),[unref(Lt)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("picker","trigger")),onClick:Gn},[createBaseVNode("span",{class:normalizeClass([unref(qe).be("picker","color"),unref(qe).is("alpha",tr.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(In)})},[withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","icon"),unref(qe).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,tr.modelValue||Nn.value]]),withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","empty"),unref(qe).is("icon-close")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"]),[[vShow,!tr.modelValue&&!Nn.value]])],6)],2)],2)],16,_hoisted_2$w)]),_:1},8,["visible","popper-class","teleported","transition"]))}});var ColorPicker=_export_sfc(_sfc_main$1A,[["__file","color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$13=defineComponent({name:"ElContainer"}),_sfc_main$1z=defineComponent({...__default__$13,props:{direction:{type:String}},setup(xe){const $e=xe,Ie=useSlots(),Fe=useNamespace("container"),Ue=computed(()=>$e.direction==="vertical"?!0:$e.direction==="horizontal"?!1:Ie&&Ie.default?Ie.default().some(At=>{const Dt=At.type.name;return Dt==="ElHeader"||Dt==="ElFooter"}):!1);return(qe,At)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("vertical",unref(Ue))])},[renderSlot(qe.$slots,"default")],2))}});var Container=_export_sfc(_sfc_main$1z,[["__file","container.vue"]]);const __default__$12=defineComponent({name:"ElAside"}),_sfc_main$1y=defineComponent({...__default__$12,props:{width:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("aside"),Fe=computed(()=>$e.width?Ie.cssVarBlock({width:$e.width}):{});return(Ue,qe)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Aside=_export_sfc(_sfc_main$1y,[["__file","aside.vue"]]);const __default__$11=defineComponent({name:"ElFooter"}),_sfc_main$1x=defineComponent({...__default__$11,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("footer"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Footer$2=_export_sfc(_sfc_main$1x,[["__file","footer.vue"]]);const __default__$10=defineComponent({name:"ElHeader"}),_sfc_main$1w=defineComponent({...__default__$10,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("header"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Header=_export_sfc(_sfc_main$1w,[["__file","header.vue"]]);const __default__$$=defineComponent({name:"ElMain"}),_sfc_main$1v=defineComponent({...__default__$$,setup(xe){const $e=useNamespace("main");return(Ie,Fe)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref($e).b())},[renderSlot(Ie.$slots,"default")],2))}});var Main=_export_sfc(_sfc_main$1v,[["__file","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(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){var Ue=Fe.prototype,qe=Ue.format;Ue.format=function(At){var Dt=this,Lt=this.$locale();if(!this.isValid())return qe.bind(this)(At);var jt=this.$utils(),hn=(At||"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(vn){switch(vn){case"Q":return Math.ceil((Dt.$M+1)/3);case"Do":return Lt.ordinal(Dt.$D);case"gggg":return Dt.weekYear();case"GGGG":return Dt.isoWeekYear();case"wo":return Lt.ordinal(Dt.week(),"W");case"w":case"ww":return jt.s(Dt.week(),vn==="w"?1:2,"0");case"W":case"WW":return jt.s(Dt.isoWeek(),vn==="W"?1:2,"0");case"k":case"kk":return jt.s(String(Dt.$H===0?24:Dt.$H),vn==="k"?1:2,"0");case"X":return Math.floor(Dt.$d.getTime()/1e3);case"x":return Dt.$d.getTime();case"z":return"["+Dt.offsetName()+"]";case"zzz":return"["+Dt.offsetName("long")+"]";default:return vn}});return qe.bind(this)(hn)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie="week",Fe="year";return function(Ue,qe,At){var Dt=qe.prototype;Dt.week=function(Lt){if(Lt===void 0&&(Lt=null),Lt!==null)return this.add(7*(Lt-this.week()),"day");var jt=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var hn=At(this).startOf(Fe).add(1,Fe).date(jt),vn=At(this).endOf(Ie);if(hn.isBefore(vn))return 1}var bn=At(this).startOf(Fe).date(jt).startOf(Ie).subtract(1,"millisecond"),_n=this.diff(bn,Ie,!0);return _n<0?At(this).startOf("week").week():Math.ceil(_n)},Dt.weeks=function(Lt){return Lt===void 0&&(Lt=null),this.week(Lt)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.weekYear=function(){var Ue=this.month(),qe=this.week(),At=this.year();return qe===1&&Ue===11?At+1:Ue===0&&qe>=52?At-1:At}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){Fe.prototype.dayOfYear=function(qe){var At=Math.round((Ue(this).startOf("day")-Ue(this).startOf("year"))/864e5)+1;return qe==null?At:this.add(qe-At,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrAfter=function(Ue,qe){return this.isSame(Ue,qe)||this.isAfter(Ue,qe)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrBefore=function(Ue,qe){return this.isSame(Ue,qe)||this.isBefore(Ue,qe)}}})})(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","years","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},dateFormat:String,timeFormat:String}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=xe=>({type:String,values:selectionModes,default:xe}),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")}),basicDateTableEmits=["changerange","pick","select"],isValidRange=xe=>{if(!isArray$6(xe))return!1;const[$e,Ie]=xe;return dayjs.isDayjs($e)&&dayjs.isDayjs(Ie)&&$e.isSameOrBefore(Ie)},getDefaultValue=(xe,{lang:$e,unit:Ie,unlinkPanels:Fe})=>{let Ue;if(isArray$6(xe)){let[qe,At]=xe.map(Dt=>dayjs(Dt).locale($e));return Fe||(At=qe.add(1,Ie)),[qe,At]}else xe?Ue=dayjs(xe):Ue=dayjs();return Ue=Ue.locale($e),[Ue,Ue.add(1,Ie)]},buildPickerTable=(xe,$e,{columnIndexOffset:Ie,startDate:Fe,nextEndDate:Ue,now:qe,unit:At,relativeDateGetter:Dt,setCellMetadata:Lt,setRowMetadata:jt})=>{for(let hn=0;hn<xe.row;hn++){const vn=$e[hn];for(let bn=0;bn<xe.column;bn++){let _n=vn[bn+Ie];_n||(_n={row:hn,column:bn,type:"normal",inRange:!1,start:!1,end:!1});const wn=hn*xe.column+bn,kn=Dt(wn);_n.dayjs=kn,_n.date=kn.toDate(),_n.timestamp=kn.valueOf(),_n.type="normal",_n.inRange=!!(Fe&&kn.isSameOrAfter(Fe,At)&&Ue&&kn.isSameOrBefore(Ue,At))||!!(Fe&&kn.isSameOrBefore(Fe,At)&&Ue&&kn.isSameOrAfter(Ue,At)),Fe!=null&&Fe.isSameOrAfter(Ue)?(_n.start=!!Ue&&kn.isSame(Ue,At),_n.end=Fe&&kn.isSame(Fe,At)):(_n.start=!!Fe&&kn.isSame(Fe,At),_n.end=!!Ue&&kn.isSame(Ue,At)),kn.isSame(qe,At)&&(_n.type="today"),Lt==null||Lt(_n,{rowIndex:hn,columnIndex:bn}),vn[bn+Ie]=_n}jt==null||jt(vn)}},isNormalDay=(xe="")=>["normal","today"].includes(xe),useBasicDateTable=(xe,$e)=>{const{lang:Ie}=useLocale(),Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref([[],[],[],[],[],[]]);let Lt=!1;const jt=xe.date.$locale().weekStart||7,hn=xe.date.locale("en").localeData().weekdaysShort().map(zn=>zn.toLowerCase()),vn=computed(()=>jt>3?7-jt:-jt),bn=computed(()=>{const zn=xe.date.startOf("month");return zn.subtract(zn.day()||7,"day")}),_n=computed(()=>hn.concat(hn).slice(jt,jt+7)),wn=computed(()=>flatten(unref(Tn)).some(zn=>zn.isCurrent)),kn=computed(()=>{const zn=xe.date.startOf("month"),jn=zn.day()||7,Gn=zn.daysInMonth(),Wn=zn.subtract(1,"month").daysInMonth();return{startOfMonthDay:jn,dateCountOfMonth:Gn,dateCountOfLastMonth:Wn}}),Cn=computed(()=>xe.selectionMode==="dates"?castArray(xe.parsedValue):[]),Sn=(zn,{count:jn,rowIndex:Gn,columnIndex:Wn})=>{const{startOfMonthDay:Xn,dateCountOfMonth:er,dateCountOfLastMonth:rr}=unref(kn),Jn=unref(vn);if(Gn>=0&&Gn<=1){const qn=Xn+Jn<0?7+Xn+Jn:Xn+Jn;if(Wn+Gn*7>=qn)return zn.text=jn,!0;zn.text=rr-(qn-Wn%7)+1+Gn*7,zn.type="prev-month"}else return jn<=er?zn.text=jn:(zn.text=jn-er,zn.type="next-month"),!0;return!1},xn=(zn,{columnIndex:jn,rowIndex:Gn},Wn)=>{const{disabledDate:Xn,cellClassName:er}=xe,rr=unref(Cn),Jn=Sn(zn,{count:Wn,rowIndex:Gn,columnIndex:jn}),qn=zn.dayjs.toDate();return zn.selected=rr.find(Yn=>Yn.isSame(zn.dayjs,"day")),zn.isSelected=!!zn.selected,zn.isCurrent=$n(zn),zn.disabled=Xn==null?void 0:Xn(qn),zn.customClass=er==null?void 0:er(qn),Jn},En=zn=>{if(xe.selectionMode==="week"){const[jn,Gn]=xe.showWeekNumber?[1,7]:[0,6],Wn=Fn(zn[jn+1]);zn[jn].inRange=Wn,zn[jn].start=Wn,zn[Gn].inRange=Wn,zn[Gn].end=Wn}},Tn=computed(()=>{const{minDate:zn,maxDate:jn,rangeState:Gn,showWeekNumber:Wn}=xe,Xn=unref(vn),er=unref(Dt),rr="day";let Jn=1;if(Wn)for(let qn=0;qn<6;qn++)er[qn][0]||(er[qn][0]={type:"week",text:unref(bn).add(qn*7+1,rr).week()});return buildPickerTable({row:6,column:7},er,{startDate:zn,columnIndexOffset:Wn?1:0,nextEndDate:Gn.endDate||jn||Gn.selecting&&zn||null,now:dayjs().locale(unref(Ie)).startOf(rr),unit:rr,relativeDateGetter:qn=>unref(bn).add(qn-Xn,rr),setCellMetadata:(...qn)=>{xn(...qn,Jn)&&(Jn+=1)},setRowMetadata:En}),er});watch(()=>xe.date,async()=>{var zn;(zn=unref(Fe))!=null&&zn.contains(document.activeElement)&&(await nextTick(),await An())});const An=async()=>{var zn;return(zn=unref(Ue))==null?void 0:zn.focus()},$n=zn=>xe.selectionMode==="date"&&isNormalDay(zn.type)&&Pn(zn,xe.parsedValue),Pn=(zn,jn)=>jn?dayjs(jn).locale(unref(Ie)).isSame(xe.date.date(Number(zn.text)),"day"):!1,Nn=(zn,jn)=>{const Gn=zn*7+(jn-(xe.showWeekNumber?1:0))-unref(vn);return unref(bn).add(Gn,"day")},Mn=zn=>{var jn;if(!xe.rangeState.selecting)return;let Gn=zn.target;if(Gn.tagName==="SPAN"&&(Gn=(jn=Gn.parentNode)==null?void 0:jn.parentNode),Gn.tagName==="DIV"&&(Gn=Gn.parentNode),Gn.tagName!=="TD")return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex;unref(Tn)[Wn][Xn].disabled||(Wn!==unref(qe)||Xn!==unref(At))&&(qe.value=Wn,At.value=Xn,$e("changerange",{selecting:!0,endDate:Nn(Wn,Xn)}))},In=zn=>!unref(wn)&&(zn==null?void 0:zn.text)===1&&zn.type==="normal"||zn.isCurrent,On=zn=>{Lt||unref(wn)||xe.selectionMode!=="date"||Hn(zn,!0)},Rn=zn=>{zn.target.closest("td")&&(Lt=!0)},Bn=zn=>{zn.target.closest("td")&&(Lt=!1)},Vn=zn=>{!xe.rangeState.selecting||!xe.minDate?($e("pick",{minDate:zn,maxDate:null}),$e("select",!0)):(zn>=xe.minDate?$e("pick",{minDate:xe.minDate,maxDate:zn}):$e("pick",{minDate:zn,maxDate:xe.minDate}),$e("select",!1))},Ln=zn=>{const jn=zn.week(),Gn=`${zn.year()}w${jn}`;$e("pick",{year:zn.year(),week:jn,value:Gn,date:zn.startOf("week")})},Dn=(zn,jn)=>{const Gn=jn?castArray(xe.parsedValue).filter(Wn=>(Wn==null?void 0:Wn.valueOf())!==zn.valueOf()):castArray(xe.parsedValue).concat([zn]);$e("pick",Gn)},Hn=(zn,jn=!1)=>{const Gn=zn.target.closest("td");if(!Gn)return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex,er=unref(Tn)[Wn][Xn];if(er.disabled||er.type==="week")return;const rr=Nn(Wn,Xn);switch(xe.selectionMode){case"range":{Vn(rr);break}case"date":{$e("pick",rr,jn);break}case"week":{Ln(rr);break}case"dates":{Dn(rr,!!er.selected);break}}},Fn=zn=>{if(xe.selectionMode!=="week")return!1;let jn=xe.date.startOf("day");if(zn.type==="prev-month"&&(jn=jn.subtract(1,"month")),zn.type==="next-month"&&(jn=jn.add(1,"month")),jn=jn.date(Number.parseInt(zn.text,10)),xe.parsedValue&&!Array.isArray(xe.parsedValue)){const Gn=(xe.parsedValue.day()-jt+7)%7-1;return xe.parsedValue.subtract(Gn,"day").isSame(jn,"day")}return!1};return{WEEKS:_n,rows:Tn,tbodyRef:Fe,currentCellRef:Ue,focus:An,isCurrent:$n,isWeekActive:Fn,isSelectedCell:In,handlePickDate:Hn,handleMouseUp:Bn,handleMouseDown:Rn,handleMouseMove:Mn,handleFocus:On}},useBasicDateTableDOM=(xe,{isCurrent:$e,isWeekActive:Ie})=>{const Fe=useNamespace("date-table"),{t:Ue}=useLocale(),qe=computed(()=>[Fe.b(),{"is-week-mode":xe.selectionMode==="week"}]),At=computed(()=>Ue("el.datepicker.dateTablePrompt")),Dt=computed(()=>Ue("el.datepicker.week"));return{tableKls:qe,tableLabel:At,weekLabel:Dt,getCellClasses:hn=>{const vn=[];return isNormalDay(hn.type)&&!hn.disabled?(vn.push("available"),hn.type==="today"&&vn.push("today")):vn.push(hn.type),$e(hn)&&vn.push("current"),hn.inRange&&(isNormalDay(hn.type)||xe.selectionMode==="week")&&(vn.push("in-range"),hn.start&&vn.push("start-date"),hn.end&&vn.push("end-date")),hn.disabled&&vn.push("disabled"),hn.selected&&vn.push("selected"),hn.customClass&&vn.push(hn.customClass),vn.join(" ")},getRowKls:hn=>[Fe.e("row"),{current:Ie(hn)}],t:Ue}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(xe){const $e=useNamespace("date-table-cell"),{slots:Ie}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:Fe}=xe;return renderSlot(Ie,"default",{...Fe},()=>[createVNode$1("div",{class:$e.b()},[createVNode$1("span",{class:$e.e("text")},[Fe==null?void 0:Fe.text])])])}}});const _hoisted_1$N=["aria-label"],_hoisted_2$v={key:0,scope:"col"},_hoisted_3$h=["aria-label"],_hoisted_4$a=["aria-current","aria-selected","tabindex"],_sfc_main$1u=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{WEEKS:Ue,rows:qe,tbodyRef:At,currentCellRef:Dt,focus:Lt,isCurrent:jt,isWeekActive:hn,isSelectedCell:vn,handlePickDate:bn,handleMouseUp:_n,handleMouseDown:wn,handleMouseMove:kn,handleFocus:Cn}=useBasicDateTable(Fe,Ie),{tableLabel:Sn,tableKls:xn,weekLabel:En,getCellClasses:Tn,getRowKls:An,t:$n}=useBasicDateTableDOM(Fe,{isCurrent:jt,isWeekActive:hn});return $e({focus:Lt}),(Pn,Nn)=>(openBlock(),createElementBlock("table",{"aria-label":unref(Sn),class:normalizeClass(unref(xn)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:Nn[1]||(Nn[1]=(...Mn)=>unref(bn)&&unref(bn)(...Mn)),onMousemove:Nn[2]||(Nn[2]=(...Mn)=>unref(kn)&&unref(kn)(...Mn)),onMousedown:Nn[3]||(Nn[3]=withModifiers((...Mn)=>unref(wn)&&unref(wn)(...Mn),["prevent"])),onMouseup:Nn[4]||(Nn[4]=(...Mn)=>unref(_n)&&unref(_n)(...Mn))},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:At},[createBaseVNode("tr",null,[Pn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$v,toDisplayString(unref(En)),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue),(Mn,In)=>(openBlock(),createElementBlock("th",{key:In,"aria-label":unref($n)("el.datepicker.weeksFull."+Mn),scope:"col"},toDisplayString(unref($n)("el.datepicker.weeks."+Mn)),9,_hoisted_3$h))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(Mn,In)=>(openBlock(),createElementBlock("tr",{key:In,class:normalizeClass(unref(An)(Mn[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn,(On,Rn)=>(openBlock(),createElementBlock("td",{key:`${In}.${Rn}`,ref_for:!0,ref:Bn=>unref(vn)(On)&&(Dt.value=Bn),class:normalizeClass(unref(Tn)(On)),"aria-current":On.isCurrent?"date":void 0,"aria-selected":On.isCurrent,tabindex:unref(vn)(On)?0:-1,onFocus:Nn[0]||(Nn[0]=(...Bn)=>unref(Cn)&&unref(Cn)(...Bn))},[createVNode$1(unref(ElDatePickerCell),{cell:On},null,8,["cell"])],42,_hoisted_4$a))),128))],2))),128))],512)],42,_hoisted_1$N))}});var DateTable=_export_sfc(_sfc_main$1u,[["__file","basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$M=["aria-label"],_hoisted_2$u=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$g={class:"cell"},_sfc_main$1t=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(Tn,An,$n)=>{const Pn=dayjs().locale($n).startOf("month").month(An).year(Tn),Nn=Pn.daysInMonth();return rangeArr(Nn).map(Mn=>Pn.add(Mn,"day").toDate())},qe=useNamespace("month-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=ref(Fe.date.locale("en").localeData().monthsShort().map(Tn=>Tn.toLowerCase())),vn=ref([[],[],[]]),bn=ref(),_n=ref(),wn=computed(()=>{var Tn,An;const $n=vn.value,Pn=dayjs().locale(Dt.value).startOf("month");for(let Nn=0;Nn<3;Nn++){const Mn=$n[Nn];for(let In=0;In<4;In++){const On=Mn[In]||(Mn[In]={row:Nn,column:In,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});On.type="normal";const Rn=Nn*4+In,Bn=Fe.date.startOf("year").month(Rn),Vn=Fe.rangeState.endDate||Fe.maxDate||Fe.rangeState.selecting&&Fe.minDate||null;On.inRange=!!(Fe.minDate&&Bn.isSameOrAfter(Fe.minDate,"month")&&Vn&&Bn.isSameOrBefore(Vn,"month"))||!!(Fe.minDate&&Bn.isSameOrBefore(Fe.minDate,"month")&&Vn&&Bn.isSameOrAfter(Vn,"month")),(Tn=Fe.minDate)!=null&&Tn.isSameOrAfter(Vn)?(On.start=!!(Vn&&Bn.isSame(Vn,"month")),On.end=Fe.minDate&&Bn.isSame(Fe.minDate,"month")):(On.start=!!(Fe.minDate&&Bn.isSame(Fe.minDate,"month")),On.end=!!(Vn&&Bn.isSame(Vn,"month"))),Pn.isSame(Bn)&&(On.type="today"),On.text=Rn,On.disabled=((An=Fe.disabledDate)==null?void 0:An.call(Fe,Bn.toDate()))||!1}}return $n}),kn=()=>{var Tn;(Tn=jt.value)==null||Tn.focus()},Cn=Tn=>{const An={},$n=Fe.date.year(),Pn=new Date,Nn=Tn.text;return An.disabled=Fe.disabledDate?Ue($n,Nn,Dt.value).every(Fe.disabledDate):!1,An.current=castArray(Fe.parsedValue).findIndex(Mn=>dayjs.isDayjs(Mn)&&Mn.year()===$n&&Mn.month()===Nn)>=0,An.today=Pn.getFullYear()===$n&&Pn.getMonth()===Nn,Tn.inRange&&(An["in-range"]=!0,Tn.start&&(An["start-date"]=!0),Tn.end&&(An["end-date"]=!0)),An},Sn=Tn=>{const An=Fe.date.year(),$n=Tn.text;return castArray(Fe.date).findIndex(Pn=>Pn.year()===An&&Pn.month()===$n)>=0},xn=Tn=>{var An;if(!Fe.rangeState.selecting)return;let $n=Tn.target;if($n.tagName==="SPAN"&&($n=(An=$n.parentNode)==null?void 0:An.parentNode),$n.tagName==="DIV"&&($n=$n.parentNode),$n.tagName!=="TD")return;const Pn=$n.parentNode.rowIndex,Nn=$n.cellIndex;wn.value[Pn][Nn].disabled||(Pn!==bn.value||Nn!==_n.value)&&(bn.value=Pn,_n.value=Nn,Ie("changerange",{selecting:!0,endDate:Fe.date.startOf("year").month(Pn*4+Nn)}))},En=Tn=>{var An;const $n=(An=Tn.target)==null?void 0:An.closest("td");if(($n==null?void 0:$n.tagName)!=="TD"||hasClass($n,"disabled"))return;const Pn=$n.cellIndex,Mn=$n.parentNode.rowIndex*4+Pn,In=Fe.date.startOf("year").month(Mn);Fe.selectionMode==="range"?Fe.rangeState.selecting?(Fe.minDate&&In>=Fe.minDate?Ie("pick",{minDate:Fe.minDate,maxDate:In}):Ie("pick",{minDate:In,maxDate:Fe.minDate}),Ie("select",!1)):(Ie("pick",{minDate:In,maxDate:null}),Ie("select",!0)):Ie("pick",Mn)};return watch(()=>Fe.date,async()=>{var Tn,An;(Tn=Lt.value)!=null&&Tn.contains(document.activeElement)&&(await nextTick(),(An=jt.value)==null||An.focus())}),$e({focus:kn}),(Tn,An)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:En,onMousemove:xn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),($n,Pn)=>(openBlock(),createElementBlock("tr",{key:Pn},[(openBlock(!0),createElementBlock(Fragment,null,renderList($n,(Nn,Mn)=>(openBlock(),createElementBlock("td",{key:Mn,ref_for:!0,ref:In=>Sn(Nn)&&(jt.value=In),class:normalizeClass(Cn(Nn)),"aria-selected":`${Sn(Nn)}`,"aria-label":unref(At)(`el.datepicker.month${+Nn.text+1}`),tabindex:Sn(Nn)?0:-1,onKeydown:[withKeys(withModifiers(En,["prevent","stop"]),["space"]),withKeys(withModifiers(En,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$g,toDisplayString(unref(At)("el.datepicker.months."+hn.value[Nn.text])),1)])],42,_hoisted_2$u))),128))]))),128))],512)],42,_hoisted_1$M))}});var MonthTable=_export_sfc(_sfc_main$1t,[["__file","basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue,selectionMode:selectionModeWithDefault("year")}),_hoisted_1$L=["aria-label"],_hoisted_2$t=["aria-selected","tabindex","onKeydown"],_hoisted_3$f={class:"cell"},_hoisted_4$9={key:1},_sfc_main$1s=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(kn,Cn)=>{const Sn=dayjs(String(kn)).locale(Cn).startOf("year"),En=Sn.endOf("year").dayOfYear();return rangeArr(En).map(Tn=>Sn.add(Tn,"day").toDate())},qe=useNamespace("year-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=computed(()=>Math.floor(Fe.date.year()/10)*10),vn=()=>{var kn;(kn=jt.value)==null||kn.focus()},bn=kn=>{const Cn={},Sn=dayjs().locale(Dt.value);return Cn.disabled=Fe.disabledDate?Ue(kn,Dt.value).every(Fe.disabledDate):!1,Cn.current=castArray(Fe.parsedValue).findIndex(xn=>xn.year()===kn)>=0,Cn.today=Sn.year()===kn,Cn},_n=kn=>kn===hn.value&&Fe.date.year()<hn.value&&Fe.date.year()>hn.value+9||castArray(Fe.date).findIndex(Cn=>Cn.year()===kn)>=0||castArray(Fe.parsedValue).findIndex(Cn=>(Cn==null?void 0:Cn.year())===kn)>=0,wn=kn=>{const Sn=kn.target.closest("td");if(Sn&&Sn.textContent){if(hasClass(Sn,"disabled"))return;const xn=Sn.textContent||Sn.innerText;if(Fe.selectionMode==="years"){if(kn.type==="keydown"){Ie("pick",castArray(Fe.parsedValue),!1);return}const En=hasClass(Sn,"current")?castArray(Fe.parsedValue).filter(Tn=>(Tn==null?void 0:Tn.year())!==Number(xn)):castArray(Fe.parsedValue).concat([dayjs(xn)]);Ie("pick",En)}else Ie("pick",Number(xn))}};return watch(()=>Fe.date,async()=>{var kn,Cn;(kn=Lt.value)!=null&&kn.contains(document.activeElement)&&(await nextTick(),(Cn=jt.value)==null||Cn.focus())}),$e({focus:vn}),(kn,Cn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:wn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(Sn,xn)=>createBaseVNode("tr",{key:xn},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(En,Tn)=>(openBlock(),createElementBlock(Fragment,{key:xn+"_"+Tn},[xn*4+Tn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:An=>_n(unref(hn)+xn*4+Tn)&&(jt.value=An),class:normalizeClass(["available",bn(unref(hn)+xn*4+Tn)]),"aria-selected":`${_n(unref(hn)+xn*4+Tn)}`,tabindex:_n(unref(hn)+xn*4+Tn)?0:-1,onKeydown:[withKeys(withModifiers(wn,["prevent","stop"]),["space"]),withKeys(withModifiers(wn,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$f,toDisplayString(unref(hn)+xn*4+Tn),1)])],42,_hoisted_2$t)):(openBlock(),createElementBlock("td",_hoisted_4$9))],64))),64))])),64))],512)],10,_hoisted_1$L))}});var YearTable=_export_sfc(_sfc_main$1s,[["__file","basic-year-table.vue"]]);const _hoisted_1$K=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$e=["aria-label"],_hoisted_4$8=["aria-label"],_hoisted_5$6=["aria-label"],_sfc_main$1r=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=($r,Br,Tr)=>!0,Ue=useNamespace("picker-panel"),qe=useNamespace("date-picker"),At=useAttrs$1(),Dt=useSlots(),{t:Lt,lang:jt}=useLocale(),hn=inject("EP_PICKER_BASE"),vn=inject(TOOLTIP_INJECTION_KEY),{shortcuts:bn,disabledDate:_n,cellClassName:wn,defaultTime:kn}=hn.props,Cn=toRef(hn.props,"defaultValue"),Sn=ref(),xn=ref(dayjs().locale(jt.value)),En=ref(!1);let Tn=!1;const An=computed(()=>dayjs(kn).locale(jt.value)),$n=computed(()=>xn.value.month()),Pn=computed(()=>xn.value.year()),Nn=ref([]),Mn=ref(null),In=ref(null),On=$r=>Nn.value.length>0?Fe($r,Nn.value,Ie.format||"HH:mm:ss"):!0,Rn=$r=>kn&&!Zn.value&&!En.value&&!Tn?An.value.year($r.year()).month($r.month()).date($r.date()):Jn.value?$r.millisecond(0):$r.startOf("day"),Bn=($r,...Br)=>{if(!$r)$e("pick",$r,...Br);else if(isArray$6($r)){const Tr=$r.map(Rn);$e("pick",Tr,...Br)}else $e("pick",Rn($r),...Br);Mn.value=null,In.value=null,En.value=!1,Tn=!1},Vn=async($r,Br)=>{if(jn.value==="date"){$r=$r;let Tr=Ie.parsedValue?Ie.parsedValue.year($r.year()).month($r.month()).date($r.date()):$r;On(Tr)||(Tr=Nn.value[0][0].year($r.year()).month($r.month()).date($r.date())),xn.value=Tr,Bn(Tr,Jn.value||Br),Ie.type==="datetime"&&(await nextTick(),Rr())}else jn.value==="week"?Bn($r.date):jn.value==="dates"&&Bn($r,!0)},Ln=$r=>{const Br=$r?"add":"subtract";xn.value=xn.value[Br](1,"month"),Gr("month")},Dn=$r=>{const Br=xn.value,Tr=$r?"add":"subtract";xn.value=Hn.value==="year"?Br[Tr](10,"year"):Br[Tr](1,"year"),Gr("year")},Hn=ref("date"),Fn=computed(()=>{const $r=Lt("el.datepicker.year");if(Hn.value==="year"){const Br=Math.floor(Pn.value/10)*10;return $r?`${Br} ${$r} - ${Br+9} ${$r}`:`${Br} - ${Br+9}`}return`${Pn.value} ${$r}`}),zn=$r=>{const Br=isFunction$5($r.value)?$r.value():$r.value;if(Br){Tn=!0,Bn(dayjs(Br).locale(jt.value));return}$r.onClick&&$r.onClick({attrs:At,slots:Dt,emit:$e})},jn=computed(()=>{const{type:$r}=Ie;return["week","month","year","years","dates"].includes($r)?$r:"date"}),Gn=computed(()=>jn.value==="date"?Hn.value:jn.value),Wn=computed(()=>!!bn.length),Xn=async $r=>{xn.value=xn.value.startOf("month").month($r),jn.value==="month"?Bn(xn.value,!1):(Hn.value="date",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("month")},er=async($r,Br)=>{jn.value==="year"?(xn.value=xn.value.startOf("year").year($r),Bn(xn.value,!1)):jn.value==="years"?Bn($r,Br??!0):(xn.value=xn.value.year($r),Hn.value="month",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("year")},rr=async $r=>{Hn.value=$r,await nextTick(),Rr()},Jn=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),qn=computed(()=>{const $r=Jn.value||jn.value==="dates",Br=jn.value==="years",Tr=Hn.value==="date",cr=Hn.value==="year";return $r&&Tr||Br&&cr}),Yn=computed(()=>_n?Ie.parsedValue?isArray$6(Ie.parsedValue)?_n(Ie.parsedValue[0].toDate()):_n(Ie.parsedValue.toDate()):!0:!1),ar=()=>{if(jn.value==="dates"||jn.value==="years")Bn(Ie.parsedValue);else{let $r=Ie.parsedValue;if(!$r){const Br=dayjs(kn).locale(jt.value),Tr=xr();$r=Br.year(Tr.year()).month(Tr.month()).date(Tr.date())}xn.value=$r,Bn($r)}},tr=computed(()=>_n?_n(dayjs().locale(jt.value).toDate()):!1),or=()=>{const Br=dayjs().locale(jt.value).toDate();En.value=!0,(!_n||!_n(Br))&&On(Br)&&(xn.value=dayjs().locale(jt.value),Bn(xn.value))},sr=computed(()=>Ie.timeFormat||extractTimeFormat(Ie.format)),Kn=computed(()=>Ie.dateFormat||extractDateFormat(Ie.format)),Zn=computed(()=>{if(In.value)return In.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(sr.value)}),nr=computed(()=>{if(Mn.value)return Mn.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(Kn.value)}),lr=ref(!1),ir=()=>{lr.value=!0},kr=()=>{lr.value=!1},Cr=$r=>({hour:$r.hour(),minute:$r.minute(),second:$r.second(),year:$r.year(),month:$r.month(),date:$r.date()}),Er=($r,Br,Tr)=>{const{hour:cr,minute:Sr,second:Dr}=Cr($r),mr=Ie.parsedValue?Ie.parsedValue.hour(cr).minute(Sr).second(Dr):$r;xn.value=mr,Bn(xn.value,!0),Tr||(lr.value=Br)},dr=$r=>{const Br=dayjs($r,sr.value).locale(jt.value);if(Br.isValid()&&On(Br)){const{year:Tr,month:cr,date:Sr}=Cr(xn.value);xn.value=Br.year(Tr).month(cr).date(Sr),In.value=null,lr.value=!1,Bn(xn.value,!0)}},br=$r=>{const Br=dayjs($r,Kn.value).locale(jt.value);if(Br.isValid()){if(_n&&_n(Br.toDate()))return;const{hour:Tr,minute:cr,second:Sr}=Cr(xn.value);xn.value=Br.hour(Tr).minute(cr).second(Sr),Mn.value=null,Bn(xn.value,!0)}},_r=$r=>dayjs.isDayjs($r)&&$r.isValid()&&(_n?!_n($r.toDate()):!0),Pr=$r=>isArray$6($r)?$r.map(Br=>Br.format(Ie.format)):$r.format(Ie.format),vr=$r=>dayjs($r,Ie.format).locale(jt.value),xr=()=>{const $r=dayjs(Cn.value).locale(jt.value);if(!Cn.value){const Br=An.value;return dayjs().hour(Br.hour()).minute(Br.minute()).second(Br.second()).locale(jt.value)}return $r},Rr=async()=>{var $r;["week","month","year","date"].includes(jn.value)&&(($r=Sn.value)==null||$r.focus(),jn.value==="week"&&Jr(EVENT_CODE.down))},Hr=$r=>{const{code:Br}=$r;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(Br)&&(Jr(Br),$r.stopPropagation(),$r.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(Br)&&Mn.value===null&&In.value===null&&($r.preventDefault(),Bn(xn.value,!1))},Jr=$r=>{var Br;const{up:Tr,down:cr,left:Sr,right:Dr,home:mr,end:Lr,pageUp:zr,pageDown:Vr}=EVENT_CODE,Kr={year:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setFullYear(Ur.getFullYear()+uo)},month:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setMonth(Ur.getMonth()+uo)},week:{[Tr]:-1,[cr]:1,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo*7)},date:{[Tr]:-7,[cr]:7,[Sr]:-1,[Dr]:1,[mr]:Ur=>-Ur.getDay(),[Lr]:Ur=>-Ur.getDay()+6,[zr]:Ur=>-new Date(Ur.getFullYear(),Ur.getMonth(),0).getDate(),[Vr]:Ur=>new Date(Ur.getFullYear(),Ur.getMonth()+1,0).getDate(),offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo)}},Yr=xn.value.toDate();for(;Math.abs(xn.value.diff(Yr,"year",!0))<1;){const Ur=Kr[Gn.value];if(!Ur)return;if(Ur.offset(Yr,isFunction$5(Ur[$r])?Ur[$r](Yr):(Br=Ur[$r])!=null?Br:0),_n&&_n(Yr))break;const uo=dayjs(Yr).locale(jt.value);xn.value=uo,$e("pick",uo,!0);break}},Gr=$r=>{$e("panel-change",xn.value.toDate(),$r,Hn.value)};return watch(()=>jn.value,$r=>{if(["month","year"].includes($r)){Hn.value=$r;return}else if($r==="years"){Hn.value="year";return}Hn.value="date"},{immediate:!0}),watch(()=>Hn.value,()=>{vn==null||vn.updatePopper()}),watch(()=>Cn.value,$r=>{$r&&(xn.value=xr())},{immediate:!0}),watch(()=>Ie.parsedValue,$r=>{if($r){if(jn.value==="dates"||jn.value==="years"||Array.isArray($r))return;xn.value=$r}else xn.value=xr()},{immediate:!0}),$e("set-picker-option",["isValidValue",_r]),$e("set-picker-option",["formatToString",Pr]),$e("set-picker-option",["parseUserInput",vr]),$e("set-picker-option",["handleFocusPicker",Rr]),($r,Br)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ue).b(),unref(qe).b(),{"has-sidebar":$r.$slots.sidebar||unref(Wn),"has-time":unref(Jn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body-wrapper"))},[renderSlot($r.$slots,"sidebar",{class:normalizeClass(unref(Ue).e("sidebar"))}),unref(Wn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(Tr,cr)=>(openBlock(),createElementBlock("button",{key:cr,type:"button",class:normalizeClass(unref(Ue).e("shortcut")),onClick:Sr=>zn(Tr)},toDisplayString(Tr.text),11,_hoisted_1$K))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body"))},[unref(Jn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectDate"),"model-value":unref(nr),size:"small","validate-event":!1,onInput:Br[0]||(Br[0]=Tr=>Mn.value=Tr),onChange:br},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectTime"),"model-value":unref(Zn),size:"small","validate-event":!1,onFocus:ir,onInput:Br[1]||(Br[1]=Tr=>In.value=Tr),onChange:dr},null,8,["placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:lr.value,format:unref(sr),"parsed-value":xn.value,onPick:Er},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),kr]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).e("header"),(Hn.value==="year"||Hn.value==="month")&&unref(qe).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(Ue).e("icon-btn")]),onClick:Br[2]||(Br[2]=Tr=>Dn(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-left"]),onClick:Br[3]||(Br[3]=Tr=>Ln(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$e),[[vShow,Hn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(qe).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Br[4]||(Br[4]=withKeys(Tr=>rr("year"),["enter"])),onClick:Br[5]||(Br[5]=Tr=>rr("year"))},toDisplayString(unref(Fn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(qe).e("header-label"),{active:Hn.value==="month"}]),onKeydown:Br[6]||(Br[6]=withKeys(Tr=>rr("month"),["enter"])),onClick:Br[7]||(Br[7]=Tr=>rr("month"))},toDisplayString(unref(Lt)(`el.datepicker.month${unref($n)+1}`)),35),[[vShow,Hn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(qe).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-right"]),onClick:Br[8]||(Br[8]=Tr=>Ln(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_4$8),[[vShow,Hn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextYear"),class:normalizeClass([unref(Ue).e("icon-btn"),"d-arrow-right"]),onClick:Br[9]||(Br[9]=Tr=>Dn(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$6)],2)],2),[[vShow,Hn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content")),onKeydown:Hr},[Hn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),"cell-class-name":unref(wn),onPick:Vn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Hn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"disabled-date":unref(_n),"parsed-value":$r.parsedValue,onPick:er},null,8,["selection-mode","date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Hn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:Sn,date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),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$1(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(tr),onClick:or},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,unref(jn)!=="dates"&&unref(jn)!=="years"]]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(Yn),onClick:ar},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[vShow,unref(qn)]])],2))}});var DatePickPanel=_export_sfc(_sfc_main$1r,[["__file","panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=xe=>{const{emit:$e}=getCurrentInstance(),Ie=useAttrs$1(),Fe=useSlots();return qe=>{const At=isFunction$5(qe.value)?qe.value():qe.value;if(At){$e("pick",[dayjs(At[0]).locale(xe.value),dayjs(At[1]).locale(xe.value)]);return}qe.onClick&&qe.onClick({attrs:Ie,slots:Fe,emit:$e})}},useRangePicker=(xe,{defaultValue:$e,leftDate:Ie,rightDate:Fe,unit:Ue,onParsedValueChanged:qe})=>{const{emit:At}=getCurrentInstance(),{pickerNs:Dt}=inject(ROOT_PICKER_INJECTION_KEY),Lt=useNamespace("date-range-picker"),{t:jt,lang:hn}=useLocale(),vn=useShortcut(hn),bn=ref(),_n=ref(),wn=ref({endDate:null,selecting:!1}),kn=En=>{wn.value=En},Cn=(En=!1)=>{const Tn=unref(bn),An=unref(_n);isValidRange([Tn,An])&&At("pick",[Tn,An],En)},Sn=En=>{wn.value.selecting=En,En||(wn.value.endDate=null)},xn=()=>{const[En,Tn]=getDefaultValue(unref($e),{lang:unref(hn),unit:Ue,unlinkPanels:xe.unlinkPanels});bn.value=void 0,_n.value=void 0,Ie.value=En,Fe.value=Tn};return watch($e,En=>{En&&xn()},{immediate:!0}),watch(()=>xe.parsedValue,En=>{if(isArray$6(En)&&En.length===2){const[Tn,An]=En;bn.value=Tn,Ie.value=Tn,_n.value=An,qe(unref(bn),unref(_n))}else xn()},{immediate:!0}),{minDate:bn,maxDate:_n,rangeState:wn,lang:hn,ppNs:Dt,drpNs:Lt,handleChangeRange:kn,handleRangeConfirm:Cn,handleShortcutClick:vn,onSelect:Sn,t:jt}},_hoisted_1$J=["onClick"],_hoisted_2$r=["aria-label"],_hoisted_3$d=["aria-label"],_hoisted_4$7=["disabled","aria-label"],_hoisted_5$5=["disabled","aria-label"],_hoisted_6$3=["disabled","aria-label"],_hoisted_7$1=["disabled","aria-label"],_hoisted_8$1=["aria-label"],_hoisted_9$1=["aria-label"],unit$1="month",_sfc_main$1q=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{disabledDate:Ue,cellClassName:qe,format:At,defaultTime:Dt,clearable:Lt}=Fe.props,jt=toRef(Fe.props,"shortcuts"),hn=toRef(Fe.props,"defaultValue"),{lang:vn}=useLocale(),bn=ref(dayjs().locale(vn.value)),_n=ref(dayjs().locale(vn.value).add(1,unit$1)),{minDate:wn,maxDate:kn,rangeState:Cn,ppNs:Sn,drpNs:xn,handleChangeRange:En,handleRangeConfirm:Tn,handleShortcutClick:An,onSelect:$n,t:Pn}=useRangePicker(Ie,{defaultValue:hn,leftDate:bn,rightDate:_n,unit:unit$1,onParsedValueChanged:Br}),Nn=ref({min:null,max:null}),Mn=ref({min:null,max:null}),In=computed(()=>`${bn.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${bn.value.month()+1}`)}`),On=computed(()=>`${_n.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${_n.value.month()+1}`)}`),Rn=computed(()=>bn.value.year()),Bn=computed(()=>bn.value.month()),Vn=computed(()=>_n.value.year()),Ln=computed(()=>_n.value.month()),Dn=computed(()=>!!jt.value.length),Hn=computed(()=>Nn.value.min!==null?Nn.value.min:wn.value?wn.value.format(Wn.value):""),Fn=computed(()=>Nn.value.max!==null?Nn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Wn.value):""),zn=computed(()=>Mn.value.min!==null?Mn.value.min:wn.value?wn.value.format(Gn.value):""),jn=computed(()=>Mn.value.max!==null?Mn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Gn.value):""),Gn=computed(()=>Ie.timeFormat||extractTimeFormat(At)),Wn=computed(()=>Ie.dateFormat||extractDateFormat(At)),Xn=Tr=>isValidRange(Tr)&&(Ue?!Ue(Tr[0].toDate())&&!Ue(Tr[1].toDate()):!0),er=()=>{bn.value=bn.value.subtract(1,"year"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("year")},rr=()=>{bn.value=bn.value.subtract(1,"month"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("month")},Jn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"year"):(bn.value=bn.value.add(1,"year"),_n.value=bn.value.add(1,"month")),sr("year")},qn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"month"):(bn.value=bn.value.add(1,"month"),_n.value=bn.value.add(1,"month")),sr("month")},Yn=()=>{bn.value=bn.value.add(1,"year"),sr("year")},ar=()=>{bn.value=bn.value.add(1,"month"),sr("month")},tr=()=>{_n.value=_n.value.subtract(1,"year"),sr("year")},or=()=>{_n.value=_n.value.subtract(1,"month"),sr("month")},sr=Tr=>{$e("panel-change",[bn.value.toDate(),_n.value.toDate()],Tr)},Kn=computed(()=>{const Tr=(Bn.value+1)%12,cr=Bn.value+1>=12?1:0;return Ie.unlinkPanels&&new Date(Rn.value+cr,Tr)<new Date(Vn.value,Ln.value)}),Zn=computed(()=>Ie.unlinkPanels&&Vn.value*12+Ln.value-(Rn.value*12+Bn.value+1)>=12),nr=computed(()=>!(wn.value&&kn.value&&!Cn.value.selecting&&isValidRange([wn.value,kn.value]))),lr=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),ir=(Tr,cr)=>{if(Tr)return Dt?dayjs(Dt[cr]||Dt).locale(vn.value).year(Tr.year()).month(Tr.month()).date(Tr.date()):Tr},kr=(Tr,cr=!0)=>{const Sr=Tr.minDate,Dr=Tr.maxDate,mr=ir(Sr,0),Lr=ir(Dr,1);kn.value===Lr&&wn.value===mr||($e("calendar-change",[Sr.toDate(),Dr&&Dr.toDate()]),kn.value=Lr,wn.value=mr,!(!cr||lr.value)&&Tn())},Cr=ref(!1),Er=ref(!1),dr=()=>{Cr.value=!1},br=()=>{Er.value=!1},_r=(Tr,cr)=>{Nn.value[cr]=Tr;const Sr=dayjs(Tr,Wn.value).locale(vn.value);if(Sr.isValid()){if(Ue&&Ue(Sr.toDate()))return;cr==="min"?(bn.value=Sr,wn.value=(wn.value||bn.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!kn.value||kn.value.isBefore(wn.value))&&(_n.value=Sr.add(1,"month"),kn.value=wn.value.add(1,"month"))):(_n.value=Sr,kn.value=(kn.value||_n.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!wn.value||wn.value.isAfter(kn.value))&&(bn.value=Sr.subtract(1,"month"),wn.value=kn.value.subtract(1,"month")))}},Pr=(Tr,cr)=>{Nn.value[cr]=null},vr=(Tr,cr)=>{Mn.value[cr]=Tr;const Sr=dayjs(Tr,Gn.value).locale(vn.value);Sr.isValid()&&(cr==="min"?(Cr.value=!0,wn.value=(wn.value||bn.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value)):(Er.value=!0,kn.value=(kn.value||_n.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),_n.value=kn.value,kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value)))},xr=(Tr,cr)=>{Mn.value[cr]=null,cr==="min"?(bn.value=wn.value,Cr.value=!1):(_n.value=kn.value,Er.value=!1)},Rr=(Tr,cr,Sr)=>{Mn.value.min||(Tr&&(bn.value=Tr,wn.value=(wn.value||bn.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Cr.value=cr),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value,_n.value=Tr))},Hr=(Tr,cr,Sr)=>{Mn.value.max||(Tr&&(_n.value=Tr,kn.value=(kn.value||_n.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Er.value=cr),kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value))},Jr=()=>{bn.value=getDefaultValue(unref(hn),{lang:unref(vn),unit:"month",unlinkPanels:Ie.unlinkPanels})[0],_n.value=bn.value.add(1,"month"),kn.value=void 0,wn.value=void 0,$e("pick",null)},Gr=Tr=>isArray$6(Tr)?Tr.map(cr=>cr.format(At)):Tr.format(At),$r=Tr=>isArray$6(Tr)?Tr.map(cr=>dayjs(cr,At).locale(vn.value)):dayjs(Tr,At).locale(vn.value);function Br(Tr,cr){if(Ie.unlinkPanels&&cr){const Sr=(Tr==null?void 0:Tr.year())||0,Dr=(Tr==null?void 0:Tr.month())||0,mr=cr.year(),Lr=cr.month();_n.value=Sr===mr&&Dr===Lr?cr.add(1,unit$1):cr}else _n.value=bn.value.add(1,unit$1),cr&&(_n.value=_n.value.hour(cr.hour()).minute(cr.minute()).second(cr.second()))}return $e("set-picker-option",["isValidValue",Xn]),$e("set-picker-option",["parseUserInput",$r]),$e("set-picker-option",["formatToString",Gr]),$e("set-picker-option",["handleClear",Jr]),(Tr,cr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Sn).b(),unref(xn).b(),{"has-sidebar":Tr.$slots.sidebar||unref(Dn),"has-time":unref(lr)}])},[createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body-wrapper"))},[renderSlot(Tr.$slots,"sidebar",{class:normalizeClass(unref(Sn).e("sidebar"))}),unref(Dn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(jt),(Sr,Dr)=>(openBlock(),createElementBlock("button",{key:Dr,type:"button",class:normalizeClass(unref(Sn).e("shortcut")),onClick:mr=>unref(An)(Sr)},toDisplayString(Sr.text),11,_hoisted_1$J))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body"))},[unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(xn).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startDate"),class:normalizeClass(unref(xn).e("editor")),"model-value":unref(Hn),"validate-event":!1,onInput:cr[0]||(cr[0]=Sr=>_r(Sr,"min")),onChange:cr[1]||(cr[1]=Sr=>Pr(Sr,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startTime"),"model-value":unref(zn),"validate-event":!1,onFocus:cr[2]||(cr[2]=Sr=>Cr.value=!0),onInput:cr[3]||(cr[3]=Sr=>vr(Sr,"min")),onChange:cr[4]||(cr[4]=Sr=>xr(Sr,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:Cr.value,format:unref(Gn),"datetime-role":"start","parsed-value":bn.value,onPick:Rr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),dr]])],2),createBaseVNode("span",null,[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(xn).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endDate"),"model-value":unref(Fn),readonly:!unref(wn),"validate-event":!1,onInput:cr[5]||(cr[5]=Sr=>_r(Sr,"max")),onChange:cr[6]||(cr[6]=Sr=>Pr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endTime"),"model-value":unref(jn),readonly:!unref(wn),"validate-event":!1,onFocus:cr[7]||(cr[7]=Sr=>unref(wn)&&(Er.value=!0)),onInput:cr[8]||(cr[8]=Sr=>vr(Sr,"max")),onChange:cr[9]||(cr[9]=Sr=>xr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode$1(unref(TimePickPanel),{"datetime-role":"end",visible:Er.value,format:unref(Gn),"parsed-value":_n.value,onPick:Hr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),br]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:er},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$r),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:rr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$d),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextYear"),onClick:Yn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_4$7)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:ar},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_5$5)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:bn.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:tr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_6$3)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:or},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_7$1)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(Pn)("el.datepicker.nextYear"),class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-right"]),onClick:Jn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_8$1),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:qn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_9$1),createBaseVNode("div",null,toDisplayString(unref(On)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:_n.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("footer"))},[unref(Lt)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),onClick:Jr},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),disabled:unref(nr),onClick:cr[10]||(cr[10]=Sr=>unref(Tn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc(_sfc_main$1q,[["__file","panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option","calendar-change"],useMonthRangeHeader=({unlinkPanels:xe,leftDate:$e,rightDate:Ie})=>{const{t:Fe}=useLocale(),Ue=()=>{$e.value=$e.value.subtract(1,"year"),xe.value||(Ie.value=Ie.value.subtract(1,"year"))},qe=()=>{xe.value||($e.value=$e.value.add(1,"year")),Ie.value=Ie.value.add(1,"year")},At=()=>{$e.value=$e.value.add(1,"year")},Dt=()=>{Ie.value=Ie.value.subtract(1,"year")},Lt=computed(()=>`${$e.value.year()} ${Fe("el.datepicker.year")}`),jt=computed(()=>`${Ie.value.year()} ${Fe("el.datepicker.year")}`),hn=computed(()=>$e.value.year()),vn=computed(()=>Ie.value.year()===$e.value.year()?$e.value.year()+1:Ie.value.year());return{leftPrevYear:Ue,rightNextYear:qe,leftNextYear:At,rightPrevYear:Dt,leftLabel:Lt,rightLabel:jt,leftYear:hn,rightYear:vn}},_hoisted_1$I=["onClick"],_hoisted_2$q=["disabled"],_hoisted_3$c=["disabled"],unit="year",__default__$_=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1p=defineComponent({...__default__$_,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(xe,{emit:$e}){const Ie=xe,{lang:Fe}=useLocale(),Ue=inject("EP_PICKER_BASE"),{shortcuts:qe,disabledDate:At,format:Dt}=Ue.props,Lt=toRef(Ue.props,"defaultValue"),jt=ref(dayjs().locale(Fe.value)),hn=ref(dayjs().locale(Fe.value).add(1,unit)),{minDate:vn,maxDate:bn,rangeState:_n,ppNs:wn,drpNs:kn,handleChangeRange:Cn,handleRangeConfirm:Sn,handleShortcutClick:xn,onSelect:En}=useRangePicker(Ie,{defaultValue:Lt,leftDate:jt,rightDate:hn,unit,onParsedValueChanged:Dn}),Tn=computed(()=>!!qe.length),{leftPrevYear:An,rightNextYear:$n,leftNextYear:Pn,rightPrevYear:Nn,leftLabel:Mn,rightLabel:In,leftYear:On,rightYear:Rn}=useMonthRangeHeader({unlinkPanels:toRef(Ie,"unlinkPanels"),leftDate:jt,rightDate:hn}),Bn=computed(()=>Ie.unlinkPanels&&Rn.value>On.value+1),Vn=(Hn,Fn=!0)=>{const zn=Hn.minDate,jn=Hn.maxDate;bn.value===jn&&vn.value===zn||($e("calendar-change",[zn.toDate(),jn&&jn.toDate()]),bn.value=jn,vn.value=zn,Fn&&Sn())},Ln=Hn=>Hn.map(Fn=>Fn.format(Dt));function Dn(Hn,Fn){if(Ie.unlinkPanels&&Fn){const zn=(Hn==null?void 0:Hn.year())||0,jn=Fn.year();hn.value=zn===jn?Fn.add(1,unit):Fn}else hn.value=jt.value.add(1,unit)}return $e("set-picker-option",["formatToString",Ln]),(Hn,Fn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(wn).b(),unref(kn).b(),{"has-sidebar":!!Hn.$slots.sidebar||unref(Tn)}])},[createBaseVNode("div",{class:normalizeClass(unref(wn).e("body-wrapper"))},[renderSlot(Hn.$slots,"sidebar",{class:normalizeClass(unref(wn).e("sidebar"))}),unref(Tn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(wn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(zn,jn)=>(openBlock(),createElementBlock("button",{key:jn,type:"button",class:normalizeClass(unref(wn).e("shortcut")),onClick:Gn=>unref(xn)(zn)},toDisplayString(zn.text),11,_hoisted_1$I))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(wn).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-left"]),onClick:Fn[0]||(Fn[0]=(...zn)=>unref(An)&&unref(An)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],2),Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{[unref(wn).is("disabled")]:!unref(Bn)}],"d-arrow-right"]),onClick:Fn[1]||(Fn[1]=(...zn)=>unref(Pn)&&unref(Pn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$q)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(Mn)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:jt.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{"is-disabled":!unref(Bn)}],"d-arrow-left"]),onClick:Fn[2]||(Fn[2]=(...zn)=>unref(Nn)&&unref(Nn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$c)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-right"]),onClick:Fn[3]||(Fn[3]=(...zn)=>unref($n)&&unref($n)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:hn.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc(_sfc_main$1p,[["__file","panel-month-range.vue"]]);const getPanel=function(xe){switch(xe){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(xe,{expose:$e,emit:Ie,slots:Fe}){const Ue=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(xe,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:Fe,pickerNs:Ue});const qe=ref();$e({focus:(Lt=!0)=>{var jt;(jt=qe.value)==null||jt.focus(Lt)},handleOpen:()=>{var Lt;(Lt=qe.value)==null||Lt.handleOpen()},handleClose:()=>{var Lt;(Lt=qe.value)==null||Lt.handleClose()}});const Dt=Lt=>{Ie("update:modelValue",Lt)};return()=>{var Lt;const jt=(Lt=xe.format)!=null?Lt:DEFAULT_FORMATS_DATEPICKER[xe.type]||DEFAULT_FORMATS_DATE,hn=getPanel(xe.type);return createVNode$1(CommonPicker,mergeProps(xe,{format:jt,type:xe.type,ref:qe,"onUpdate:modelValue":Dt}),{default:vn=>createVNode$1(hn,vn,null),"range-separator":Fe["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=xe=>{xe.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var xe,$e,Ie,Fe,Ue,qe,At;const Dt=getNormalizedProps(this.cell),Lt=(((xe=this.cell)==null?void 0:xe.dirs)||[]).map(An=>{const{dir:$n,arg:Pn,modifiers:Nn,value:Mn}=An;return[$n,Mn,Pn,Nn]}),{border:jt,direction:hn}=this.descriptions,vn=hn==="vertical",bn=((Fe=(Ie=($e=this.cell)==null?void 0:$e.children)==null?void 0:Ie.label)==null?void 0:Fe.call(Ie))||Dt.label,_n=(At=(qe=(Ue=this.cell)==null?void 0:Ue.children)==null?void 0:qe.default)==null?void 0:At.call(qe),wn=Dt.span,kn=Dt.align?`is-${Dt.align}`:"",Cn=Dt.labelAlign?`is-${Dt.labelAlign}`:kn,Sn=Dt.className,xn=Dt.labelClassName,En={width:addUnit(Dt.width),minWidth:addUnit(Dt.minWidth)},Tn=useNamespace("descriptions");switch(this.type){case"label":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("label"),Tn.is("bordered-label",jt),Tn.is("vertical-label",vn),Cn,xn],colSpan:vn?wn:1},bn),Lt);case"content":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("content"),Tn.is("bordered-content",jt),Tn.is("vertical-content",vn),kn,Sn],colSpan:vn?wn:wn*2-1},_n),Lt);default:return withDirectives(h$5("td",{style:En,class:[Tn.e("cell"),kn],colSpan:wn},[isNil(bn)?void 0:h$5("span",{class:[Tn.e("label"),xn]},bn),h$5("span",{class:[Tn.e("content"),Sn]},_n)]),Lt)}}});const descriptionsRowProps=buildProps({row:{type:definePropType(Array),default:()=>[]}}),_hoisted_1$H={key:1},__default__$Z=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1o=defineComponent({...__default__$Z,props:descriptionsRowProps,setup(xe){const $e=inject(descriptionsKey,{});return(Ie,Fe)=>unref($e).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${qe}`,cell:Ue,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${qe}`,cell:Ue,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$H,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${qe}`},[unref($e).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(unref(ElDescriptionsCell),{cell:Ue,tag:"td",type:"label"},null,8,["cell"]),createVNode$1(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(_sfc_main$1o,[["__file","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__$Y=defineComponent({name:"ElDescriptions"}),_sfc_main$1n=defineComponent({...__default__$Y,props:descriptionProps,setup(xe){const $e=xe,Ie=useNamespace("descriptions"),Fe=useFormSize(),Ue=useSlots();provide(descriptionsKey,$e);const qe=computed(()=>[Ie.b(),Ie.m(Fe.value)]),At=(Lt,jt,hn,vn=!1)=>(Lt.props||(Lt.props={}),jt>hn&&(Lt.props.span=hn),vn&&(Lt.props.span=jt),Lt),Dt=()=>{if(!Ue.default)return[];const Lt=flattedChildren(Ue.default()).filter(_n=>{var wn;return((wn=_n==null?void 0:_n.type)==null?void 0:wn.name)==="ElDescriptionsItem"}),jt=[];let hn=[],vn=$e.column,bn=0;return Lt.forEach((_n,wn)=>{var kn;const Cn=((kn=_n.props)==null?void 0:kn.span)||1;if(wn<Lt.length-1&&(bn+=Cn>vn?vn:Cn),wn===Lt.length-1){const Sn=$e.column-bn%$e.column;hn.push(At(_n,Sn,vn,!0)),jt.push(hn);return}Cn<vn?(vn-=Cn,hn.push(_n)):(hn.push(At(_n,Cn,vn)),jt.push(hn),vn=$e.column,hn=[])}),jt};return(Lt,jt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Lt.title||Lt.extra||Lt.$slots.title||Lt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("title"))},[renderSlot(Lt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Lt.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("extra"))},[renderSlot(Lt.$slots,"extra",{},()=>[createTextVNode(toDisplayString(Lt.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",Lt.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dt(),(hn,vn)=>(openBlock(),createBlock(ElDescriptionsRow,{key:vn,row:hn},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc(_sfc_main$1n,[["__file","description.vue"]]);const descriptionItemProps=buildProps({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:""}}),DescriptionItem=defineComponent({name:"ElDescriptionsItem",props:descriptionItemProps}),ElDescriptions=withInstall(Descriptions,{DescriptionsItem:DescriptionItem}),ElDescriptionsItem=withNoopInstall(DescriptionItem),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:xe=>xe instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(xe,{slots:$e,emit:Ie}){const Fe=useNamespace(BLOCK),Ue=Lt=>{Ie("click",Lt)},{onClick:qe,onMousedown:At,onMouseup:Dt}=useSameTarget(xe.customMaskEvent?void 0:Ue);return()=>xe.mask?createVNode$1("div",{class:[Fe.b(),xe.overlayClass],style:{zIndex:xe.zIndex},onClick:qe,onMousedown:At,onMouseup:Dt},[renderSlot($e,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$5("div",{class:xe.overlayClass,style:{zIndex:xe.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot($e,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:iconPropType},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},_hoisted_1$G=["aria-level"],_hoisted_2$p=["aria-label"],_hoisted_3$b=["id"],__default__$X=defineComponent({name:"ElDialogContent"}),_sfc_main$1m=defineComponent({...__default__$X,props:dialogContentProps,emits:dialogContentEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),{Close:Fe}=CloseComponents,{dialogRef:Ue,headerRef:qe,bodyId:At,ns:Dt,style:Lt}=inject(dialogInjectionKey),{focusTrapRef:jt}=inject(FOCUS_TRAP_INJECTION_KEY),hn=computed(()=>[Dt.b(),Dt.is("fullscreen",$e.fullscreen),Dt.is("draggable",$e.draggable),Dt.is("align-center",$e.alignCenter),{[Dt.m("center")]:$e.center}]),vn=composeRefs(jt,Ue),bn=computed(()=>$e.draggable),_n=computed(()=>$e.overflow);return useDraggable(Ue,qe,bn,_n),(wn,kn)=>(openBlock(),createElementBlock("div",{ref:unref(vn),class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(Lt)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:qe,class:normalizeClass([unref(Dt).e("header"),{"show-close":wn.showClose}])},[renderSlot(wn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":wn.ariaLevel,class:normalizeClass(unref(Dt).e("title"))},toDisplayString(wn.title),11,_hoisted_1$G)]),wn.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(Ie)("el.dialog.close"),class:normalizeClass(unref(Dt).e("headerbtn")),type:"button",onClick:kn[0]||(kn[0]=Cn=>wn.$emit("close"))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.closeIcon||unref(Fe))))]),_:1},8,["class"])],10,_hoisted_2$p)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(At),class:normalizeClass(unref(Dt).e("body"))},[renderSlot(wn.$slots,"default")],10,_hoisted_3$b),wn.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(Dt).e("footer"))},[renderSlot(wn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc(_sfc_main$1m,[["__file","dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,appendTo:{type:definePropType(String),default:"body"},beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,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:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(xe,$e)=>{var Ie;const Ue=getCurrentInstance().emit,{nextZIndex:qe}=useZIndex();let At="";const Dt=useId(),Lt=useId(),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref((Ie=xe.zIndex)!=null?Ie:qe());let _n,wn;const kn=useGlobalConfig("namespace",defaultNamespace),Cn=computed(()=>{const Ln={},Dn=`--${kn.value}-dialog`;return xe.fullscreen||(xe.top&&(Ln[`${Dn}-margin-top`]=xe.top),xe.width&&(Ln[`${Dn}-width`]=addUnit(xe.width))),Ln}),Sn=computed(()=>xe.alignCenter?{display:"flex"}:{});function xn(){Ue("opened")}function En(){Ue("closed"),Ue(UPDATE_MODEL_EVENT,!1),xe.destroyOnClose&&(vn.value=!1)}function Tn(){Ue("close")}function An(){wn==null||wn(),_n==null||_n(),xe.openDelay&&xe.openDelay>0?{stop:_n}=useTimeoutFn(()=>Mn(),xe.openDelay):Mn()}function $n(){_n==null||_n(),wn==null||wn(),xe.closeDelay&&xe.closeDelay>0?{stop:wn}=useTimeoutFn(()=>In(),xe.closeDelay):In()}function Pn(){function Ln(Dn){Dn||(hn.value=!0,jt.value=!1)}xe.beforeClose?xe.beforeClose(Ln):$n()}function Nn(){xe.closeOnClickModal&&Pn()}function Mn(){isClient&&(jt.value=!0)}function In(){jt.value=!1}function On(){Ue("openAutoFocus")}function Rn(){Ue("closeAutoFocus")}function Bn(Ln){var Dn;((Dn=Ln.detail)==null?void 0:Dn.focusReason)==="pointer"&&Ln.preventDefault()}xe.lockScroll&&useLockscreen(jt);function Vn(){xe.closeOnPressEscape&&Pn()}return watch(()=>xe.modelValue,Ln=>{Ln?(hn.value=!1,An(),vn.value=!0,bn.value=isUndefined$2(xe.zIndex)?qe():bn.value++,nextTick(()=>{Ue("open"),$e.value&&($e.value.scrollTop=0)})):jt.value&&$n()}),watch(()=>xe.fullscreen,Ln=>{$e.value&&(Ln?(At=$e.value.style.transform,$e.value.style.transform=""):$e.value.style.transform=At)}),onMounted(()=>{xe.modelValue&&(jt.value=!0,vn.value=!0,An())}),{afterEnter:xn,afterLeave:En,beforeLeave:Tn,handleClose:Pn,onModalClick:Nn,close:$n,doClose:In,onOpenAutoFocus:On,onCloseAutoFocus:Rn,onCloseRequested:Vn,onFocusoutPrevented:Bn,titleId:Dt,bodyId:Lt,closed:hn,style:Cn,overlayDialogStyle:Sn,rendered:vn,visible:jt,zIndex:bn}},_hoisted_1$F=["aria-label","aria-labelledby","aria-describedby"],__default__$W=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1l=defineComponent({...__default__$W,props:dialogProps,emits:dialogEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=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(()=>!!Fe.title));const Ue=useNamespace("dialog"),qe=ref(),At=ref(),Dt=ref(),{visible:Lt,titleId:jt,bodyId:hn,style:vn,overlayDialogStyle:bn,rendered:_n,zIndex:wn,afterEnter:kn,afterLeave:Cn,beforeLeave:Sn,handleClose:xn,onModalClick:En,onOpenAutoFocus:Tn,onCloseAutoFocus:An,onCloseRequested:$n,onFocusoutPrevented:Pn}=useDialog(Ie,qe);provide(dialogInjectionKey,{dialogRef:qe,headerRef:At,bodyId:hn,ns:Ue,rendered:_n,style:vn});const Nn=useSameTarget(En),Mn=computed(()=>Ie.draggable&&!Ie.fullscreen);return $e({visible:Lt,dialogContentRef:Dt}),(In,On)=>(openBlock(),createBlock(Teleport,{to:In.appendTo,disabled:In.appendTo!=="body"?!1:!In.appendToBody},[createVNode$1(Transition,{name:"dialog-fade",onAfterEnter:unref(kn),onAfterLeave:unref(Cn),onBeforeLeave:unref(Sn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{"custom-mask-event":"",mask:In.modal,"overlay-class":In.modalClass,"z-index":unref(wn)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":In.title||void 0,"aria-labelledby":In.title?void 0:unref(jt),"aria-describedby":unref(hn),class:normalizeClass(`${unref(Ue).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(bn)),onClick:On[0]||(On[0]=(...Rn)=>unref(Nn).onClick&&unref(Nn).onClick(...Rn)),onMousedown:On[1]||(On[1]=(...Rn)=>unref(Nn).onMousedown&&unref(Nn).onMousedown(...Rn)),onMouseup:On[2]||(On[2]=(...Rn)=>unref(Nn).onMouseup&&unref(Nn).onMouseup(...Rn))},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(Lt),"focus-start-el":"container",onFocusAfterTrapped:unref(Tn),onFocusAfterReleased:unref(An),onFocusoutPrevented:unref(Pn),onReleaseRequested:unref($n)},{default:withCtx(()=>[unref(_n)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:Dt},In.$attrs,{center:In.center,"align-center":In.alignCenter,"close-icon":In.closeIcon,draggable:unref(Mn),overflow:In.overflow,fullscreen:In.fullscreen,"show-close":In.showClose,title:In.title,"aria-level":In.headerAriaLevel,onClose:unref(xn)}),createSlots({header:withCtx(()=>[In.$slots.title?renderSlot(In.$slots,"title",{key:1}):renderSlot(In.$slots,"header",{key:0,close:unref(xn),titleId:unref(jt),titleClass:unref(Ue).e("title")})]),default:withCtx(()=>[renderSlot(In.$slots,"default")]),_:2},[In.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(In.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$F)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(Lt)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var Dialog=_export_sfc(_sfc_main$1l,[["__file","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__$V=defineComponent({name:"ElDivider"}),_sfc_main$1k=defineComponent({...__default__$V,props:dividerProps,setup(xe){const $e=xe,Ie=useNamespace("divider"),Fe=computed(()=>Ie.cssVar({"border-style":$e.borderStyle}));return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ie).b(),unref(Ie).m(Ue.direction)]),style:normalizeStyle$1(unref(Fe)),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(_sfc_main$1k,[["__file","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},headerAriaLevel:{type:String,default:"2"}}),drawerEmits=dialogEmits,_hoisted_1$E=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$o=["id","aria-level"],_hoisted_3$a=["aria-label"],_hoisted_4$6=["id"],__default__$U=defineComponent({name:"ElDrawer",inheritAttrs:!1}),_sfc_main$1j=defineComponent({...__default__$U,props:drawerProps,emits:drawerEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots();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(()=>!!Fe.title));const Ue=ref(),qe=ref(),At=useNamespace("drawer"),{t:Dt}=useLocale(),{afterEnter:Lt,afterLeave:jt,beforeLeave:hn,visible:vn,rendered:bn,titleId:_n,bodyId:wn,zIndex:kn,onModalClick:Cn,onOpenAutoFocus:Sn,onCloseAutoFocus:xn,onFocusoutPrevented:En,onCloseRequested:Tn,handleClose:An}=useDialog(Ie,Ue),$n=computed(()=>Ie.direction==="rtl"||Ie.direction==="ltr"),Pn=computed(()=>addUnit(Ie.size));return $e({handleClose:An,afterEnter:Lt,afterLeave:jt}),(Nn,Mn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!Nn.appendToBody},[createVNode$1(Transition,{name:unref(At).b("fade"),onAfterEnter:unref(Lt),onAfterLeave:unref(jt),onBeforeLeave:unref(hn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{mask:Nn.modal,"overlay-class":Nn.modalClass,"z-index":unref(kn),onClick:unref(Cn)},{default:withCtx(()=>[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(vn),"focus-trap-el":Ue.value,"focus-start-el":qe.value,onFocusAfterTrapped:unref(Sn),onFocusAfterReleased:unref(xn),onFocusoutPrevented:unref(En),onReleaseRequested:unref(Tn)},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref_key:"drawerRef",ref:Ue,"aria-modal":"true","aria-label":Nn.title||void 0,"aria-labelledby":Nn.title?void 0:unref(_n),"aria-describedby":unref(wn)},Nn.$attrs,{class:[unref(At).b(),Nn.direction,unref(vn)&&"open"],style:unref($n)?"width: "+unref(Pn):"height: "+unref(Pn),role:"dialog",onClick:Mn[1]||(Mn[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref_key:"focusStartRef",ref:qe,class:normalizeClass(unref(At).e("sr-focus")),tabindex:"-1"},null,2),Nn.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(unref(At).e("header"))},[Nn.$slots.title?renderSlot(Nn.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(Nn.$slots,"header",{key:0,close:unref(An),titleId:unref(_n),titleClass:unref(At).e("title")},()=>[Nn.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:unref(_n),role:"heading","aria-level":Nn.headerAriaLevel,class:normalizeClass(unref(At).e("title"))},toDisplayString(Nn.title),11,_hoisted_2$o))]),Nn.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":unref(Dt)("el.drawer.close"),class:normalizeClass(unref(At).e("close-btn")),type:"button",onClick:Mn[0]||(Mn[0]=(...In)=>unref(An)&&unref(An)(...In))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(At).e("close"))},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])],10,_hoisted_3$a)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),unref(bn)?(openBlock(),createElementBlock("div",{key:1,id:unref(wn),class:normalizeClass(unref(At).e("body"))},[renderSlot(Nn.$slots,"default")],10,_hoisted_4$6)):createCommentVNode("v-if",!0),Nn.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(At).e("footer"))},[renderSlot(Nn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$E)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,unref(vn)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Drawer=_export_sfc(_sfc_main$1j,[["__file","drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1i=defineComponent({inheritAttrs:!1});function _sfc_render$n(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var Collection=_export_sfc(_sfc_main$1i,[["render",_sfc_render$n],["__file","collection.vue"]]);const _sfc_main$1h=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$m(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var CollectionItem=_export_sfc(_sfc_main$1h,[["render",_sfc_render$m],["__file","collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=xe=>{const $e=`El${xe}Collection`,Ie=`${$e}Item`,Fe=Symbol($e),Ue=Symbol(Ie),qe={...Collection,name:$e,setup(){const Dt=ref(null),Lt=new Map;provide(Fe,{itemMap:Lt,getItems:()=>{const hn=unref(Dt);if(!hn)return[];const vn=Array.from(hn.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...Lt.values()].sort((_n,wn)=>vn.indexOf(_n.ref)-vn.indexOf(wn.ref))},collectionRef:Dt})}},At={...CollectionItem,name:Ie,setup(Dt,{attrs:Lt}){const jt=ref(null),hn=inject(Fe,void 0);provide(Ue,{collectionItemRef:jt}),onMounted(()=>{const vn=unref(jt);vn&&hn.itemMap.set(vn,{ref:vn,...Lt})}),onBeforeUnmount(()=>{const vn=unref(jt);hn.itemMap.delete(vn)})}};return{COLLECTION_INJECTION_KEY:Fe,COLLECTION_ITEM_INJECTION_KEY:Ue,ElCollection:qe,ElCollectionItem:At}},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=(xe,$e)=>xe,getFocusIntent=(xe,$e,Ie)=>{const Fe=getDirectionAwareKey(xe.key);return MAP_KEY_TO_FOCUS_INTENT[Fe]},reorderArray=(xe,$e)=>xe.map((Ie,Fe)=>xe[(Fe+$e)%xe.length]),focusFirst=xe=>{const{activeElement:$e}=document;for(const Ie of xe)if(Ie===$e||(Ie.focus(),$e!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1g=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(xe,{emit:$e}){var Ie;const Fe=ref((Ie=xe.currentTabId||xe.defaultCurrentTabId)!=null?Ie:null),Ue=ref(!1),qe=ref(!1),At=ref(null),{getItems:Dt}=inject(COLLECTION_INJECTION_KEY$1,void 0),Lt=computed(()=>[{outline:"none"},xe.style]),jt=kn=>{$e(CURRENT_TAB_ID_CHANGE_EVT,kn)},hn=()=>{Ue.value=!0},vn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onMousedown)==null||Cn.call(xe,kn)},()=>{qe.value=!0}),bn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onFocus)==null||Cn.call(xe,kn)},kn=>{const Cn=!unref(qe),{target:Sn,currentTarget:xn}=kn;if(Sn===xn&&Cn&&!unref(Ue)){const En=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(xn==null||xn.dispatchEvent(En),!En.defaultPrevented){const Tn=Dt().filter(Mn=>Mn.focusable),An=Tn.find(Mn=>Mn.active),$n=Tn.find(Mn=>Mn.id===unref(Fe)),Nn=[An,$n,...Tn].filter(Boolean).map(Mn=>Mn.ref);focusFirst(Nn)}}qe.value=!1}),_n=composeEventHandlers(kn=>{var Cn;(Cn=xe.onBlur)==null||Cn.call(xe,kn)},()=>{Ue.value=!1}),wn=(...kn)=>{$e("entryFocus",...kn)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(Fe),loop:toRef(xe,"loop"),tabIndex:computed(()=>unref(Ue)?-1:0),rovingFocusGroupRef:At,rovingFocusGroupRootStyle:Lt,orientation:toRef(xe,"orientation"),dir:toRef(xe,"dir"),onItemFocus:jt,onItemShiftTab:hn,onBlur:_n,onFocus:bn,onMousedown:vn}),watch(()=>xe.currentTabId,kn=>{Fe.value=kn??null}),useEventListener(At,ENTRY_FOCUS_EVT,wn)}});function _sfc_render$l(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc(_sfc_main$1g,[["render",_sfc_render$l],["__file","roving-focus-group-impl.vue"]]);const _sfc_main$1f=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$k(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-group-impl"),Dt=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(Dt,null,{default:withCtx(()=>[createVNode$1(At,normalizeProps(guardReactiveProps(xe.$attrs)),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc(_sfc_main$1f,[["render",_sfc_render$k],["__file","roving-focus-group.vue"]]);const _sfc_main$1e=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(xe,{emit:$e}){const{currentTabbedId:Ie,loop:Fe,onItemFocus:Ue,onItemShiftTab:qe}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:At}=inject(COLLECTION_INJECTION_KEY$1,void 0),Dt=useId(),Lt=ref(null),jt=composeEventHandlers(_n=>{$e("mousedown",_n)},_n=>{xe.focusable?Ue(unref(Dt)):_n.preventDefault()}),hn=composeEventHandlers(_n=>{$e("focus",_n)},()=>{Ue(unref(Dt))}),vn=composeEventHandlers(_n=>{$e("keydown",_n)},_n=>{const{key:wn,shiftKey:kn,target:Cn,currentTarget:Sn}=_n;if(wn===EVENT_CODE.tab&&kn){qe();return}if(Cn!==Sn)return;const xn=getFocusIntent(_n);if(xn){_n.preventDefault();let Tn=At().filter(An=>An.focusable).map(An=>An.ref);switch(xn){case"last":{Tn.reverse();break}case"prev":case"next":{xn==="prev"&&Tn.reverse();const An=Tn.indexOf(Sn);Tn=Fe.value?reorderArray(Tn,An+1):Tn.slice(An+1);break}}nextTick(()=>{focusFirst(Tn)})}}),bn=computed(()=>Ie.value===unref(Dt));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:Lt,tabIndex:computed(()=>unref(bn)?0:-1),handleMousedown:jt,handleFocus:hn,handleKeydown:vn}),{id:Dt,handleKeydown:vn,handleFocus:hn,handleMousedown:jt}}});function _sfc_render$j(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(At,{id:xe.id,focusable:xe.focusable,active:xe.active},{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc(_sfc_main$1e,[["render",_sfc_render$j],["__file","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$1d=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(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=useNamespace("dropdown"),{t:Ue}=useLocale(),qe=ref(),At=ref(),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(!1),bn=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],_n=computed(()=>({maxHeight:addUnit(xe.maxHeight)})),wn=computed(()=>[Fe.m(An.value)]),kn=computed(()=>castArray$1(xe.trigger)),Cn=useId().value,Sn=computed(()=>xe.id||Cn);watch([qe,kn],([Hn,Fn],[zn])=>{var jn,Gn,Wn;(jn=zn==null?void 0:zn.$el)!=null&&jn.removeEventListener&&zn.$el.removeEventListener("pointerenter",Pn),(Gn=Hn==null?void 0:Hn.$el)!=null&&Gn.removeEventListener&&Hn.$el.removeEventListener("pointerenter",Pn),(Wn=Hn==null?void 0:Hn.$el)!=null&&Wn.addEventListener&&Fn.includes("hover")&&Hn.$el.addEventListener("pointerenter",Pn)},{immediate:!0}),onBeforeUnmount(()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)!=null&&Fn.removeEventListener&&qe.value.$el.removeEventListener("pointerenter",Pn)});function xn(){En()}function En(){var Hn;(Hn=Dt.value)==null||Hn.onClose()}function Tn(){var Hn;(Hn=Dt.value)==null||Hn.onOpen()}const An=useFormSize();function $n(...Hn){$e("command",...Hn)}function Pn(){var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)==null||Fn.focus()}function Nn(){}function Mn(){const Hn=unref(Lt);kn.value.includes("hover")&&(Hn==null||Hn.focus()),hn.value=null}function In(Hn){hn.value=Hn}function On(Hn){vn.value||(Hn.preventDefault(),Hn.stopImmediatePropagation())}function Rn(){$e("visible-change",!0)}function Bn(Hn){(Hn==null?void 0:Hn.type)==="keydown"&&Lt.value.focus()}function Vn(){$e("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:Lt,role:computed(()=>xe.role),triggerId:Sn,isUsingKeyboard:vn,onItemEnter:Nn,onItemLeave:Mn}),provide("elDropdown",{instance:Ie,dropdownSize:An,handleClick:xn,commandHandler:$n,trigger:toRef(xe,"trigger"),hideOnClick:toRef(xe,"hideOnClick")}),{t:Ue,ns:Fe,scrollbar:jt,wrapStyle:_n,dropdownTriggerKls:wn,dropdownSize:An,triggerId:Sn,triggerKeys:bn,currentTabId:hn,handleCurrentTabIdChange:In,handlerMainButtonClick:Hn=>{$e("click",Hn)},handleEntryFocus:On,handleClose:En,handleOpen:Tn,handleBeforeShowTooltip:Rn,handleShowTooltip:Bn,handleBeforeHideTooltip:Vn,onFocusAfterTrapped:Hn=>{var Fn,zn;Hn.preventDefault(),(zn=(Fn=Lt.value)==null?void 0:Fn.focus)==null||zn.call(Fn,{preventScroll:!0})},popperRef:Dt,contentRef:Lt,triggeringElementRef:qe,referenceElementRef:At}}});function _sfc_render$i(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-collection"),Lt=resolveComponent("el-roving-focus-group"),jt=resolveComponent("el-scrollbar"),hn=resolveComponent("el-only-child"),vn=resolveComponent("el-tooltip"),bn=resolveComponent("el-button"),_n=resolveComponent("arrow-down"),wn=resolveComponent("el-icon"),kn=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("disabled",xe.disabled)])},[createVNode$1(vn,{ref:"popperRef",role:xe.role,effect:xe.effect,"fallback-placements":["bottom","top"],"popper-options":xe.popperOptions,"gpu-acceleration":!1,"hide-after":xe.trigger==="hover"?xe.hideTimeout:0,"manual-mode":!0,placement:xe.placement,"popper-class":[xe.ns.e("popper"),xe.popperClass],"reference-element":(At=xe.referenceElementRef)==null?void 0:At.$el,trigger:xe.trigger,"trigger-keys":xe.triggerKeys,"trigger-target-el":xe.contentRef,"show-after":xe.trigger==="hover"?xe.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":xe.triggeringElementRef,"virtual-triggering":xe.splitButton,disabled:xe.disabled,transition:`${xe.ns.namespace.value}-zoom-in-top`,teleported:xe.teleported,pure:"",persistent:"",onBeforeShow:xe.handleBeforeShowTooltip,onShow:xe.handleShowTooltip,onBeforeHide:xe.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode$1(jt,{ref:"scrollbar","wrap-style":xe.wrapStyle,tag:"div","view-class":xe.ns.e("list")},{default:withCtx(()=>[createVNode$1(Lt,{loop:xe.loop,"current-tab-id":xe.currentTabId,orientation:"horizontal",onCurrentTabIdChange:xe.handleCurrentTabIdChange,onEntryFocus:xe.handleEntryFocus},{default:withCtx(()=>[createVNode$1(Dt,null,{default:withCtx(()=>[renderSlot(xe.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[xe.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode$1(hn,{id:xe.triggerId,ref:"triggeringElementRef",role:"button",tabindex:xe.tabindex},{default:withCtx(()=>[renderSlot(xe.$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"]),xe.splitButton?(openBlock(),createBlock(kn,{key:0},{default:withCtx(()=>[createVNode$1(bn,mergeProps({ref:"referenceElementRef"},xe.buttonProps,{size:xe.dropdownSize,type:xe.type,disabled:xe.disabled,tabindex:xe.tabindex,onClick:xe.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode$1(bn,mergeProps({id:xe.triggerId,ref:"triggeringElementRef"},xe.buttonProps,{role:"button",size:xe.dropdownSize,type:xe.type,class:xe.ns.e("caret-button"),disabled:xe.disabled,tabindex:xe.tabindex,"aria-label":xe.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode$1(wn,{class:normalizeClass(xe.ns.e("icon"))},{default:withCtx(()=>[createVNode$1(_n)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc(_sfc_main$1d,[["render",_sfc_render$i],["__file","dropdown.vue"]]);const _sfc_main$1c=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(xe,{emit:$e}){const Ie=useNamespace("dropdown"),{role:Fe}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:Ue}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:qe}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:At,tabIndex:Dt,handleFocus:Lt,handleKeydown:jt,handleMousedown:hn}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),vn=composeRefs(Ue,qe,At),bn=computed(()=>Fe.value==="menu"?"menuitem":Fe.value==="navigation"?"link":"button"),_n=composeEventHandlers(wn=>{const{code:kn}=wn;if(kn===EVENT_CODE.enter||kn===EVENT_CODE.space)return wn.preventDefault(),wn.stopImmediatePropagation(),$e("clickimpl",wn),!0},jt);return{ns:Ie,itemRef:vn,dataset:{[COLLECTION_ITEM_SIGN]:""},role:bn,tabIndex:Dt,handleFocus:Lt,handleKeydown:_n,handleMousedown:hn}}}),_hoisted_1$D=["aria-disabled","tabindex","role"];function _sfc_render$h(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[xe.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:xe.ns.bem("menu","item","divided")},xe.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:xe.itemRef},{...xe.dataset,...xe.$attrs},{"aria-disabled":xe.disabled,class:[xe.ns.be("menu","item"),xe.ns.is("disabled",xe.disabled)],tabindex:xe.tabIndex,role:xe.role,onClick:$e[0]||($e[0]=Dt=>xe.$emit("clickimpl",Dt)),onFocus:$e[1]||($e[1]=(...Dt)=>xe.handleFocus&&xe.handleFocus(...Dt)),onKeydown:$e[2]||($e[2]=withModifiers((...Dt)=>xe.handleKeydown&&xe.handleKeydown(...Dt),["self"])),onMousedown:$e[3]||($e[3]=(...Dt)=>xe.handleMousedown&&xe.handleMousedown(...Dt)),onPointermove:$e[4]||($e[4]=Dt=>xe.$emit("pointermove",Dt)),onPointerleave:$e[5]||($e[5]=Dt=>xe.$emit("pointerleave",Dt))}),[xe.icon?(openBlock(),createBlock(At,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default")],16,_hoisted_1$D)],64)}var ElDropdownItemImpl=_export_sfc(_sfc_main$1c,[["render",_sfc_render$h],["__file","dropdown-item-impl.vue"]]);const useDropdown=()=>{const xe=inject("elDropdown",{}),$e=computed(()=>xe==null?void 0:xe.dropdownSize);return{elDropdown:xe,_elDropdownSize:$e}},_sfc_main$1b=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(xe,{emit:$e,attrs:Ie}){const{elDropdown:Fe}=useDropdown(),Ue=getCurrentInstance(),qe=ref(null),At=computed(()=>{var _n,wn;return(wn=(_n=unref(qe))==null?void 0:_n.textContent)!=null?wn:""}),{onItemEnter:Dt,onItemLeave:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),jt=composeEventHandlers(_n=>($e("pointermove",_n),_n.defaultPrevented),whenMouse(_n=>{if(xe.disabled){Lt(_n);return}const wn=_n.currentTarget;wn===document.activeElement||wn.contains(document.activeElement)||(Dt(_n),_n.defaultPrevented||wn==null||wn.focus())})),hn=composeEventHandlers(_n=>($e("pointerleave",_n),_n.defaultPrevented),whenMouse(_n=>{Lt(_n)})),vn=composeEventHandlers(_n=>{if(!xe.disabled)return $e("click",_n),_n.type!=="keydown"&&_n.defaultPrevented},_n=>{var wn,kn,Cn;if(xe.disabled){_n.stopImmediatePropagation();return}(wn=Fe==null?void 0:Fe.hideOnClick)!=null&&wn.value&&((kn=Fe.handleClick)==null||kn.call(Fe)),(Cn=Fe.commandHandler)==null||Cn.call(Fe,xe.command,Ue,_n)}),bn=computed(()=>({...xe,...Ie}));return{handleClick:vn,handlePointerMove:jt,handlePointerLeave:hn,textContent:At,propsAndAttrs:bn}}});function _sfc_render$g(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-item-impl"),Lt=resolveComponent("el-roving-focus-item"),jt=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(jt,{disabled:xe.disabled,"text-value":(At=xe.textValue)!=null?At:xe.textContent},{default:withCtx(()=>[createVNode$1(Lt,{focusable:!xe.disabled},{default:withCtx(()=>[createVNode$1(Dt,mergeProps(xe.propsAndAttrs,{onPointerleave:xe.handlePointerLeave,onPointermove:xe.handlePointerMove,onClickimpl:xe.handleClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc(_sfc_main$1b,[["render",_sfc_render$g],["__file","dropdown-item.vue"]]);const _sfc_main$1a=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(xe){const $e=useNamespace("dropdown"),{_elDropdownSize:Ie}=useDropdown(),Fe=Ie.value,{focusTrapRef:Ue,onKeydown:qe}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:At,role:Dt,triggerId:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:jt,getItems:hn}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:vn,rovingFocusGroupRootStyle:bn,tabIndex:_n,onBlur:wn,onFocus:kn,onMousedown:Cn}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:Sn}=inject(COLLECTION_INJECTION_KEY$1,void 0),xn=computed(()=>[$e.b("menu"),$e.bm("menu",Fe==null?void 0:Fe.value)]),En=composeRefs(At,jt,Ue,vn,Sn),Tn=composeEventHandlers($n=>{var Pn;(Pn=xe.onKeydown)==null||Pn.call(xe,$n)},$n=>{const{currentTarget:Pn,code:Nn,target:Mn}=$n;if(Pn.contains(Mn),EVENT_CODE.tab===Nn&&$n.stopImmediatePropagation(),$n.preventDefault(),Mn!==unref(At)||!FIRST_LAST_KEYS.includes(Nn))return;const On=hn().filter(Rn=>!Rn.disabled).map(Rn=>Rn.ref);LAST_KEYS.includes(Nn)&&On.reverse(),focusFirst(On)});return{size:Fe,rovingFocusGroupRootStyle:bn,tabIndex:_n,dropdownKls:xn,role:Dt,triggerId:Lt,dropdownListWrapperRef:En,handleKeydown:$n=>{Tn($n),qe($n)},onBlur:wn,onFocus:kn,onMousedown:Cn}}}),_hoisted_1$C=["role","aria-labelledby"];function _sfc_render$f(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("ul",{ref:xe.dropdownListWrapperRef,class:normalizeClass(xe.dropdownKls),style:normalizeStyle$1(xe.rovingFocusGroupRootStyle),tabindex:-1,role:xe.role,"aria-labelledby":xe.triggerId,onBlur:$e[0]||($e[0]=(...At)=>xe.onBlur&&xe.onBlur(...At)),onFocus:$e[1]||($e[1]=(...At)=>xe.onFocus&&xe.onFocus(...At)),onKeydown:$e[2]||($e[2]=withModifiers((...At)=>xe.handleKeydown&&xe.handleKeydown(...At),["self"])),onMousedown:$e[3]||($e[3]=withModifiers((...At)=>xe.onMousedown&&xe.onMousedown(...At),["self"]))},[renderSlot(xe.$slots,"default")],46,_hoisted_1$C)}var DropdownMenu=_export_sfc(_sfc_main$1a,[["render",_sfc_render$f],["__file","dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$B={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$9=["stop-color"],_hoisted_4$5=["stop-color"],_hoisted_5$4=["id"],_hoisted_6$2=["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__$T=defineComponent({name:"ImgEmpty"}),_sfc_main$19=defineComponent({...__default__$T,setup(xe){const $e=useNamespace("empty"),Ie=useId();return(Fe,Ue)=>(openBlock(),createElementBlock("svg",_hoisted_1$B,[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($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$9),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$5)],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($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$2),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7)],8,_hoisted_5$4),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($e).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref($e).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($e).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($e).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($e).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($e).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($e).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($e).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(_sfc_main$19,[["__file","img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$A=["src"],_hoisted_2$m={key:1},__default__$S=defineComponent({name:"ElEmpty"}),_sfc_main$18=defineComponent({...__default__$S,props:emptyProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("empty"),Ue=computed(()=>$e.description||Ie("el.table.emptyText")),qe=computed(()=>({width:addUnit($e.imageSize)}));return(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("image")),style:normalizeStyle$1(unref(qe))},[At.image?(openBlock(),createElementBlock("img",{key:0,src:At.image,ondragstart:"return false"},null,8,_hoisted_1$A)):renderSlot(At.$slots,"image",{key:1},()=>[createVNode$1(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("description"))},[At.$slots.description?renderSlot(At.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$m,toDisplayString(unref(Ue)),1))],2),At.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("bottom"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc(_sfc_main$18,[["__file","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:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageViewerEmits={close:()=>!0,switch:xe=>isNumber(xe),rotate:xe=>isNumber(xe)},_hoisted_1$z=["src","crossorigin"],__default__$R=defineComponent({name:"ElImageViewer"}),_sfc_main$17=defineComponent({...__default__$R,props:imageViewerProps,emits:imageViewerEmits,setup(xe,{expose:$e,emit:Ie}){var Fe;const Ue=xe,qe={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:At}=useLocale(),Dt=useNamespace("image-viewer"),{nextZIndex:Lt}=useZIndex(),jt=ref(),hn=ref([]),vn=effectScope(),bn=ref(!0),_n=ref(Ue.initialIndex),wn=shallowRef(qe.CONTAIN),kn=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Cn=ref((Fe=Ue.zIndex)!=null?Fe:Lt()),Sn=computed(()=>{const{urlList:jn}=Ue;return jn.length<=1}),xn=computed(()=>_n.value===0),En=computed(()=>_n.value===Ue.urlList.length-1),Tn=computed(()=>Ue.urlList[_n.value]),An=computed(()=>[Dt.e("btn"),Dt.e("prev"),Dt.is("disabled",!Ue.infinite&&xn.value)]),$n=computed(()=>[Dt.e("btn"),Dt.e("next"),Dt.is("disabled",!Ue.infinite&&En.value)]),Pn=computed(()=>{const{scale:jn,deg:Gn,offsetX:Wn,offsetY:Xn,enableTransition:er}=kn.value;let rr=Wn/jn,Jn=Xn/jn;switch(Gn%360){case 90:case-270:[rr,Jn]=[Jn,-rr];break;case 180:case-180:[rr,Jn]=[-rr,-Jn];break;case 270:case-90:[rr,Jn]=[-Jn,rr];break}const qn={transform:`scale(${jn}) rotate(${Gn}deg) translate(${rr}px, ${Jn}px)`,transition:er?"transform .3s":""};return wn.value.name===qe.CONTAIN.name&&(qn.maxWidth=qn.maxHeight="100%"),qn});function Nn(){In(),Ie("close")}function Mn(){const jn=throttle$3(Wn=>{switch(Wn.code){case EVENT_CODE.esc:Ue.closeOnPressEscape&&Nn();break;case EVENT_CODE.space:Ln();break;case EVENT_CODE.left:Hn();break;case EVENT_CODE.up:zn("zoomIn");break;case EVENT_CODE.right:Fn();break;case EVENT_CODE.down:zn("zoomOut");break}}),Gn=throttle$3(Wn=>{const Xn=Wn.deltaY||Wn.deltaX;zn(Xn<0?"zoomIn":"zoomOut",{zoomRate:Ue.zoomRate,enableTransition:!1})});vn.run(()=>{useEventListener(document,"keydown",jn),useEventListener(document,"wheel",Gn)})}function In(){vn.stop()}function On(){bn.value=!1}function Rn(jn){bn.value=!1,jn.target.alt=At("el.image.error")}function Bn(jn){if(bn.value||jn.button!==0||!jt.value)return;kn.value.enableTransition=!1;const{offsetX:Gn,offsetY:Wn}=kn.value,Xn=jn.pageX,er=jn.pageY,rr=throttle$3(qn=>{kn.value={...kn.value,offsetX:Gn+qn.pageX-Xn,offsetY:Wn+qn.pageY-er}}),Jn=useEventListener(document,"mousemove",rr);useEventListener(document,"mouseup",()=>{Jn()}),jn.preventDefault()}function Vn(){kn.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Ln(){if(bn.value)return;const jn=keysOf(qe),Gn=Object.values(qe),Wn=wn.value.name,er=(Gn.findIndex(rr=>rr.name===Wn)+1)%jn.length;wn.value=qe[jn[er]],Vn()}function Dn(jn){const Gn=Ue.urlList.length;_n.value=(jn+Gn)%Gn}function Hn(){xn.value&&!Ue.infinite||Dn(_n.value-1)}function Fn(){En.value&&!Ue.infinite||Dn(_n.value+1)}function zn(jn,Gn={}){if(bn.value)return;const{minScale:Wn,maxScale:Xn}=Ue,{zoomRate:er,rotateDeg:rr,enableTransition:Jn}={zoomRate:Ue.zoomRate,rotateDeg:90,enableTransition:!0,...Gn};switch(jn){case"zoomOut":kn.value.scale>Wn&&(kn.value.scale=Number.parseFloat((kn.value.scale/er).toFixed(3)));break;case"zoomIn":kn.value.scale<Xn&&(kn.value.scale=Number.parseFloat((kn.value.scale*er).toFixed(3)));break;case"clockwise":kn.value.deg+=rr,Ie("rotate",kn.value.deg);break;case"anticlockwise":kn.value.deg-=rr,Ie("rotate",kn.value.deg);break}kn.value.enableTransition=Jn}return watch(Tn,()=>{nextTick(()=>{const jn=hn.value[0];jn!=null&&jn.complete||(bn.value=!0)})}),watch(_n,jn=>{Vn(),Ie("switch",jn)}),onMounted(()=>{var jn,Gn;Mn(),(Gn=(jn=jt.value)==null?void 0:jn.focus)==null||Gn.call(jn)}),$e({setActiveItem:Dn}),(jn,Gn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!jn.teleported},[createVNode$1(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:jt,tabindex:-1,class:normalizeClass(unref(Dt).e("wrapper")),style:normalizeStyle$1({zIndex:Cn.value})},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("mask")),onClick:Gn[0]||(Gn[0]=withModifiers(Wn=>jn.hideOnClickModal&&Nn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("close")]),onClick:Nn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Sn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(An)),onClick:Hn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref($n)),onClick:Fn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("actions__inner"))},[createVNode$1(unref(ElIcon),{onClick:Gn[1]||(Gn[1]=Wn=>zn("zoomOut"))},{default:withCtx(()=>[createVNode$1(unref(zoom_out_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[2]||(Gn[2]=Wn=>zn("zoomIn"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Ln},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Gn[3]||(Gn[3]=Wn=>zn("anticlockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_left_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[4]||(Gn[4]=Wn=>zn("clockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(Dt).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(jn.urlList,(Wn,Xn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:er=>hn.value[Xn]=er,key:Wn,src:Wn,style:normalizeStyle$1(unref(Pn)),class:normalizeClass(unref(Dt).e("img")),crossorigin:jn.crossorigin,onLoad:On,onError:Rn,onMousedown:Bn},null,46,_hoisted_1$z)),[[vShow,Xn===_n.value]])),128))],2),renderSlot(jn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc(_sfc_main$17,[["__file","image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageEmits={load:xe=>xe instanceof Event,error:xe=>xe instanceof Event,switch:xe=>isNumber(xe),close:()=>!0,show:()=>!0},_hoisted_1$y=["src","loading","crossorigin"],_hoisted_2$l={key:0},__default__$Q=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$16=defineComponent({...__default__$Q,props:imageProps,emits:imageEmits,setup(xe,{emit:$e}){const Ie=xe;let Fe="";const{t:Ue}=useLocale(),qe=useNamespace("image"),At=useAttrs$1(),Dt=useAttrs(),Lt=ref(),jt=ref(!1),hn=ref(!0),vn=ref(!1),bn=ref(),_n=ref(),wn=isClient&&"loading"in HTMLImageElement.prototype;let kn,Cn;const Sn=computed(()=>[qe.e("inner"),Tn.value&&qe.e("preview"),hn.value&&qe.is("loading")]),xn=computed(()=>At.style),En=computed(()=>{const{fit:Fn}=Ie;return isClient&&Fn?{objectFit:Fn}:{}}),Tn=computed(()=>{const{previewSrcList:Fn}=Ie;return Array.isArray(Fn)&&Fn.length>0}),An=computed(()=>{const{previewSrcList:Fn,initialIndex:zn}=Ie;let jn=zn;return zn>Fn.length-1&&(jn=0),jn}),$n=computed(()=>Ie.loading==="eager"?!1:!wn&&Ie.loading==="lazy"||Ie.lazy),Pn=()=>{isClient&&(hn.value=!0,jt.value=!1,Lt.value=Ie.src)};function Nn(Fn){hn.value=!1,jt.value=!1,$e("load",Fn)}function Mn(Fn){hn.value=!1,jt.value=!0,$e("error",Fn)}function In(){isInContainer(bn.value,_n.value)&&(Pn(),Bn())}const On=useThrottleFn(In,200,!0);async function Rn(){var Fn;if(!isClient)return;await nextTick();const{scrollContainer:zn}=Ie;isElement$1(zn)?_n.value=zn:isString$4(zn)&&zn!==""?_n.value=(Fn=document.querySelector(zn))!=null?Fn:void 0:bn.value&&(_n.value=getScrollContainer(bn.value)),_n.value&&(kn=useEventListener(_n,"scroll",On),setTimeout(()=>In(),100))}function Bn(){!isClient||!_n.value||!On||(kn==null||kn(),_n.value=void 0)}function Vn(Fn){if(Fn.ctrlKey){if(Fn.deltaY<0)return Fn.preventDefault(),!1;if(Fn.deltaY>0)return Fn.preventDefault(),!1}}function Ln(){Tn.value&&(Cn=useEventListener("wheel",Vn,{passive:!1}),Fe=document.body.style.overflow,document.body.style.overflow="hidden",vn.value=!0,$e("show"))}function Dn(){Cn==null||Cn(),document.body.style.overflow=Fe,vn.value=!1,$e("close")}function Hn(Fn){$e("switch",Fn)}return watch(()=>Ie.src,()=>{$n.value?(hn.value=!0,jt.value=!1,Bn(),Rn()):Pn()}),onMounted(()=>{$n.value?Rn():Pn()}),(Fn,zn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:bn,class:normalizeClass([unref(qe).b(),Fn.$attrs.class]),style:normalizeStyle$1(unref(xn))},[jt.value?renderSlot(Fn.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("error"))},toDisplayString(unref(Ue)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[Lt.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(Dt),{src:Lt.value,loading:Fn.loading,style:unref(En),class:unref(Sn),crossorigin:Fn.crossorigin,onClick:Ln,onLoad:Nn,onError:Mn}),null,16,_hoisted_1$y)):createCommentVNode("v-if",!0),hn.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(qe).e("wrapper"))},[renderSlot(Fn.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(Tn)?(openBlock(),createElementBlock(Fragment,{key:2},[vn.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":Fn.zIndex,"initial-index":unref(An),infinite:Fn.infinite,"zoom-rate":Fn.zoomRate,"min-scale":Fn.minScale,"max-scale":Fn.maxScale,"url-list":Fn.previewSrcList,"hide-on-click-modal":Fn.hideOnClickModal,teleported:Fn.previewTeleported,"close-on-press-escape":Fn.closeOnPressEscape,onClose:Dn,onSwitch:Hn},{default:withCtx(()=>[Fn.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$l,[renderSlot(Fn.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","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(_sfc_main$16,[["__file","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:xe=>xe===null||isNumber(xe)||["min","max"].includes(xe),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:xe=>xe>=0&&xe===Number.parseInt(`${xe}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),inputNumberEmits={[CHANGE_EVENT]:(xe,$e)=>$e!==xe,blur:xe=>xe instanceof FocusEvent,focus:xe=>xe instanceof FocusEvent,[INPUT_EVENT]:xe=>isNumber(xe)||isNil(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber(xe)||isNil(xe)},_hoisted_1$x=["aria-label","onKeydown"],_hoisted_2$k=["aria-label","onKeydown"],__default__$P=defineComponent({name:"ElInputNumber"}),_sfc_main$15=defineComponent({...__default__$P,props:inputNumberProps,emits:inputNumberEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("input-number"),At=ref(),Dt=reactive({currentValue:Fe.modelValue,userInput:null}),{formItem:Lt}=useFormItem(),jt=computed(()=>isNumber(Fe.modelValue)&&Fe.modelValue<=Fe.min),hn=computed(()=>isNumber(Fe.modelValue)&&Fe.modelValue>=Fe.max),vn=computed(()=>{const Ln=Sn(Fe.step);return isUndefined(Fe.precision)?Math.max(Sn(Fe.modelValue),Ln):(Ln>Fe.precision,Fe.precision)}),bn=computed(()=>Fe.controls&&Fe.controlsPosition==="right"),_n=useFormSize(),wn=useFormDisabled(),kn=computed(()=>{if(Dt.userInput!==null)return Dt.userInput;let Ln=Dt.currentValue;if(isNil(Ln))return"";if(isNumber(Ln)){if(Number.isNaN(Ln))return"";isUndefined(Fe.precision)||(Ln=Ln.toFixed(Fe.precision))}return Ln}),Cn=(Ln,Dn)=>{if(isUndefined(Dn)&&(Dn=vn.value),Dn===0)return Math.round(Ln);let Hn=String(Ln);const Fn=Hn.indexOf(".");if(Fn===-1||!Hn.replace(".","").split("")[Fn+Dn])return Ln;const Gn=Hn.length;return Hn.charAt(Gn-1)==="5"&&(Hn=`${Hn.slice(0,Math.max(0,Gn-1))}6`),Number.parseFloat(Number(Hn).toFixed(Dn))},Sn=Ln=>{if(isNil(Ln))return 0;const Dn=Ln.toString(),Hn=Dn.indexOf(".");let Fn=0;return Hn!==-1&&(Fn=Dn.length-Hn-1),Fn},xn=(Ln,Dn=1)=>isNumber(Ln)?Cn(Ln+Fe.step*Dn):Dt.currentValue,En=()=>{if(Fe.readonly||wn.value||hn.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},Tn=()=>{if(Fe.readonly||wn.value||jt.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln,-1);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},An=(Ln,Dn)=>{const{max:Hn,min:Fn,step:zn,precision:jn,stepStrictly:Gn,valueOnClear:Wn}=Fe;Hn<Fn&&throwError("InputNumber","min should not be greater than max.");let Xn=Number(Ln);if(isNil(Ln)||Number.isNaN(Xn))return null;if(Ln===""){if(Wn===null)return null;Xn=isString$4(Wn)?{min:Fn,max:Hn}[Wn]:Wn}return Gn&&(Xn=Cn(Math.round(Xn/zn)*zn,jn)),isUndefined(jn)||(Xn=Cn(Xn,jn)),(Xn>Hn||Xn<Fn)&&(Xn=Xn>Hn?Hn:Fn,Dn&&Ie(UPDATE_MODEL_EVENT,Xn)),Xn},$n=(Ln,Dn=!0)=>{var Hn;const Fn=Dt.currentValue,zn=An(Ln);if(!Dn){Ie(UPDATE_MODEL_EVENT,zn);return}Fn===zn&&Ln||(Dt.userInput=null,Ie(UPDATE_MODEL_EVENT,zn),Fn!==zn&&Ie(CHANGE_EVENT,zn,Fn),Fe.validateEvent&&((Hn=Lt==null?void 0:Lt.validate)==null||Hn.call(Lt,"change").catch(jn=>void 0)),Dt.currentValue=zn)},Pn=Ln=>{Dt.userInput=Ln;const Dn=Ln===""?null:Number(Ln);Ie(INPUT_EVENT,Dn),$n(Dn,!1)},Nn=Ln=>{const Dn=Ln!==""?Number(Ln):"";(isNumber(Dn)&&!Number.isNaN(Dn)||Ln==="")&&$n(Dn),Bn(),Dt.userInput=null},Mn=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.focus)==null||Dn.call(Ln)},In=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.blur)==null||Dn.call(Ln)},On=Ln=>{Ie("focus",Ln)},Rn=Ln=>{var Dn;Dt.userInput=null,Ie("blur",Ln),Fe.validateEvent&&((Dn=Lt==null?void 0:Lt.validate)==null||Dn.call(Lt,"blur").catch(Hn=>void 0))},Bn=()=>{Dt.currentValue!==Fe.modelValue&&(Dt.currentValue=Fe.modelValue)},Vn=Ln=>{document.activeElement===Ln.target&&Ln.preventDefault()};return watch(()=>Fe.modelValue,(Ln,Dn)=>{const Hn=An(Ln,!0);Dt.userInput===null&&Hn!==Dn&&(Dt.currentValue=Hn)},{immediate:!0}),onMounted(()=>{var Ln;const{min:Dn,max:Hn,modelValue:Fn}=Fe,zn=(Ln=At.value)==null?void 0:Ln.input;if(zn.setAttribute("role","spinbutton"),Number.isFinite(Hn)?zn.setAttribute("aria-valuemax",String(Hn)):zn.removeAttribute("aria-valuemax"),Number.isFinite(Dn)?zn.setAttribute("aria-valuemin",String(Dn)):zn.removeAttribute("aria-valuemin"),zn.setAttribute("aria-valuenow",Dt.currentValue||Dt.currentValue===0?String(Dt.currentValue):""),zn.setAttribute("aria-disabled",String(wn.value)),!isNumber(Fn)&&Fn!=null){let jn=Number(Fn);Number.isNaN(jn)&&(jn=null),Ie(UPDATE_MODEL_EVENT,jn)}zn.addEventListener("wheel",Vn,{passive:!1})}),onUpdated(()=>{var Ln,Dn;const Hn=(Ln=At.value)==null?void 0:Ln.input;Hn==null||Hn.setAttribute("aria-valuenow",`${(Dn=Dt.currentValue)!=null?Dn:""}`)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input-number",ref:"https://element-plus.org/en-US/component/input-number.html"},computed(()=>!!Fe.label)),$e({focus:Mn,blur:In}),(Ln,Dn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(unref(_n)),unref(qe).is("disabled",unref(wn)),unref(qe).is("without-controls",!Ln.controls),unref(qe).is("controls-right",unref(bn))]),onDragstart:Dn[0]||(Dn[0]=withModifiers(()=>{},["prevent"]))},[Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(Ue)("el.inputNumber.decrease"),class:normalizeClass([unref(qe).e("decrease"),unref(qe).is("disabled",unref(jt))]),onKeydown:withKeys(Tn,["enter"])},[renderSlot(Ln.$slots,"decrease-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})])],42,_hoisted_1$x)),[[unref(vRepeatClick),Tn]]):createCommentVNode("v-if",!0),Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(Ue)("el.inputNumber.increase"),class:normalizeClass([unref(qe).e("increase"),unref(qe).is("disabled",unref(hn))]),onKeydown:withKeys(En,["enter"])},[renderSlot(Ln.$slots,"increase-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})])],42,_hoisted_2$k)),[[unref(vRepeatClick),En]]):createCommentVNode("v-if",!0),createVNode$1(unref(ElInput),{id:Ln.id,ref_key:"input",ref:At,type:"number",step:Ln.step,"model-value":unref(kn),placeholder:Ln.placeholder,readonly:Ln.readonly,disabled:unref(wn),size:unref(_n),max:Ln.max,min:Ln.min,name:Ln.name,"aria-label":Ln.label||Ln.ariaLabel,"validate-event":!1,onKeydown:[withKeys(withModifiers(En,["prevent"]),["up"]),withKeys(withModifiers(Tn,["prevent"]),["down"])],onBlur:Rn,onFocus:On,onInput:Pn,onChange:Nn},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],34))}});var InputNumber=_export_sfc(_sfc_main$15,[["__file","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:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:xe=>xe instanceof MouseEvent},_hoisted_1$w=["href","target"],__default__$O=defineComponent({name:"ElLink"}),_sfc_main$14=defineComponent({...__default__$O,props:linkProps,emits:linkEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("link"),Ue=computed(()=>[Fe.b(),Fe.m(Ie.type),Fe.is("disabled",Ie.disabled),Fe.is("underline",Ie.underline&&!Ie.disabled)]);function qe(At){Ie.disabled||$e("click",At)}return(At,Dt)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(Ue)),href:At.disabled||!At.href?void 0:At.href,target:At.disabled||!At.href?void 0:At.target,onClick:qe},[At.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(At.icon)))]),_:1})):createCommentVNode("v-if",!0),At.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Fe).e("inner"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0),At.$slots.icon?renderSlot(At.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$w))}});var Link=_export_sfc(_sfc_main$14,[["__file","link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor($e,Ie){this.parent=$e,this.domNode=Ie,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex($e){$e===this.subMenuItems.length?$e=0:$e<0&&($e=this.subMenuItems.length-1),this.subMenuItems[$e].focus(),this.subIndex=$e}addListeners(){const $e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,Ie=>{Ie.addEventListener("keydown",Fe=>{let Ue=!1;switch(Fe.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($e,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ue=!0,Fe.currentTarget.click();break}}return Ue&&(Fe.preventDefault(),Fe.stopPropagation()),!1})})}},MenuItem$1=class{constructor($e,Ie){this.domNode=$e,this.submenu=null,this.submenu=null,this.init(Ie)}init($e){this.domNode.setAttribute("tabindex","0");const Ie=this.domNode.querySelector(`.${$e}-menu`);Ie&&(this.submenu=new SubMenu$1(this,Ie)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",$e=>{let Ie=!1;switch($e.code){case EVENT_CODE.down:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),Ie=!0;break}case EVENT_CODE.up:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),Ie=!0;break}case EVENT_CODE.tab:{triggerEvent($e.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ie=!0,$e.currentTarget.click();break}}Ie&&$e.preventDefault()})}},Menu$1=class{constructor($e,Ie){this.domNode=$e,this.init(Ie)}init($e){const Ie=this.domNode.childNodes;Array.from(Ie).forEach(Fe=>{Fe.nodeType===1&&new MenuItem$1(Fe,$e)})}};const _sfc_main$13=defineComponent({name:"ElMenuCollapseTransition",setup(){const xe=useNamespace("menu");return{listeners:{onBeforeEnter:Ie=>Ie.style.opacity="0.2",onEnter(Ie,Fe){addClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity="1",Fe()},onAfterEnter(Ie){removeClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity=""},onBeforeLeave(Ie){Ie.dataset||(Ie.dataset={}),hasClass(Ie,xe.m("collapse"))?(removeClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),addClass(Ie,xe.m("collapse"))):(addClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),removeClass(Ie,xe.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$e(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},xe.listeners),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc(_sfc_main$13,[["render",_sfc_render$e],["__file","menu-collapse-transition.vue"]]);function useMenu(xe,$e){const Ie=computed(()=>{let Ue=xe.parent;const qe=[$e.value];for(;Ue.type.name!=="ElMenu";)Ue.props.index&&qe.unshift(Ue.props.index),Ue=Ue.parent;return qe});return{parentMenu:computed(()=>{let Ue=xe.parent;for(;Ue&&!["ElMenu","ElSubMenu"].includes(Ue.type.name);)Ue=Ue.parent;return Ue}),indexPath:Ie}}function useMenuColor(xe){return computed(()=>{const Ie=xe.backgroundColor;return Ie?new TinyColor(Ie).shade(20).toString():""})}const useMenuCssVar=(xe,$e)=>{const Ie=useNamespace("menu");return computed(()=>Ie.cssVarBlock({"text-color":xe.textColor||"","hover-text-color":xe.textColor||"","bg-color":xe.backgroundColor||"","hover-bg-color":useMenuColor(xe).value||"","active-color":xe.activeTextColor||"",level:`${$e}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,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(xe,{slots:$e,expose:Ie}){const Fe=getCurrentInstance(),{indexPath:Ue,parentMenu:qe}=useMenu(Fe,computed(()=>xe.index)),At=useNamespace("menu"),Dt=useNamespace("sub-menu"),Lt=inject("rootMenu");Lt||throwError(COMPONENT_NAME$c,"can not inject root menu");const jt=inject(`subMenu:${qe.value.uid}`);jt||throwError(COMPONENT_NAME$c,"can not inject sub menu");const hn=ref({}),vn=ref({});let bn;const _n=ref(!1),wn=ref(),kn=ref(null),Cn=computed(()=>Nn.value==="horizontal"&&xn.value?"bottom-start":"right-start"),Sn=computed(()=>Nn.value==="horizontal"&&xn.value||Nn.value==="vertical"&&!Lt.props.collapse?xe.expandCloseIcon&&xe.expandOpenIcon?$n.value?xe.expandOpenIcon:xe.expandCloseIcon:arrow_down_default:xe.collapseCloseIcon&&xe.collapseOpenIcon?$n.value?xe.collapseOpenIcon:xe.collapseCloseIcon:arrow_right_default),xn=computed(()=>jt.level===0),En=computed(()=>{const jn=xe.teleported;return jn===void 0?xn.value:jn}),Tn=computed(()=>Lt.props.collapse?`${At.namespace.value}-zoom-in-left`:`${At.namespace.value}-zoom-in-top`),An=computed(()=>Nn.value==="horizontal"&&xn.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),$n=computed(()=>Lt.openedMenus.includes(xe.index)),Pn=computed(()=>{let jn=!1;return Object.values(hn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),Object.values(vn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),jn}),Nn=computed(()=>Lt.props.mode),Mn=reactive({index:xe.index,indexPath:Ue,active:Pn}),In=useMenuCssVar(Lt.props,jt.level+1),On=computed(()=>{var jn;return(jn=xe.popperOffset)!=null?jn:Lt.props.popperOffset}),Rn=computed(()=>{var jn;return(jn=xe.popperClass)!=null?jn:Lt.props.popperClass}),Bn=computed(()=>{var jn;return(jn=xe.showTimeout)!=null?jn:Lt.props.showTimeout}),Vn=computed(()=>{var jn;return(jn=xe.hideTimeout)!=null?jn:Lt.props.hideTimeout}),Ln=()=>{var jn,Gn,Wn;return(Wn=(Gn=(jn=kn.value)==null?void 0:jn.popperRef)==null?void 0:Gn.popperInstanceRef)==null?void 0:Wn.destroy()},Dn=jn=>{jn||Ln()},Hn=()=>{Lt.props.menuTrigger==="hover"&&Lt.props.mode==="horizontal"||Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled||Lt.handleSubMenuClick({index:xe.index,indexPath:Ue.value,active:Pn.value})},Fn=(jn,Gn=Bn.value)=>{var Wn;if(jn.type!=="focus"){if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled){jt.mouseInChild.value=!0;return}jt.mouseInChild.value=!0,bn==null||bn(),{stop:bn}=useTimeoutFn(()=>{Lt.openMenu(xe.index,Ue.value)},Gn),En.value&&((Wn=qe.value.vnode.el)==null||Wn.dispatchEvent(new MouseEvent("mouseenter")))}},zn=(jn=!1)=>{var Gn;if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"){jt.mouseInChild.value=!1;return}bn==null||bn(),jt.mouseInChild.value=!1,{stop:bn}=useTimeoutFn(()=>!_n.value&&Lt.closeMenu(xe.index,Ue.value),Vn.value),En.value&&jn&&((Gn=jt.handleMouseleave)==null||Gn.call(jt,!0))};watch(()=>Lt.props.collapse,jn=>Dn(!!jn));{const jn=Wn=>{vn.value[Wn.index]=Wn},Gn=Wn=>{delete vn.value[Wn.index]};provide(`subMenu:${Fe.uid}`,{addSubMenu:jn,removeSubMenu:Gn,handleMouseleave:zn,mouseInChild:_n,level:jt.level+1})}return Ie({opened:$n}),onMounted(()=>{Lt.addSubMenu(Mn),jt.addSubMenu(Mn)}),onBeforeUnmount(()=>{jt.removeSubMenu(Mn),Lt.removeSubMenu(Mn)}),()=>{var jn;const Gn=[(jn=$e.title)==null?void 0:jn.call($e),h$5(ElIcon,{class:Dt.e("icon-arrow"),style:{transform:$n.value?xe.expandCloseIcon&&xe.expandOpenIcon||xe.collapseCloseIcon&&xe.collapseOpenIcon&&Lt.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$4(Sn.value)?h$5(Fe.appContext.components[Sn.value]):h$5(Sn.value)})],Wn=Lt.isMenuPopup?h$5(ElTooltip,{ref:kn,visible:$n.value,effect:"light",pure:!0,offset:On.value,showArrow:!1,persistent:!0,popperClass:Rn.value,placement:Cn.value,teleported:En.value,fallbackPlacements:An.value,transition:Tn.value,gpuAcceleration:!1},{content:()=>{var Xn;return h$5("div",{class:[At.m(Nn.value),At.m("popup-container"),Rn.value],onMouseenter:er=>Fn(er,100),onMouseleave:()=>zn(!0),onFocus:er=>Fn(er,100)},[h$5("ul",{class:[At.b(),At.m("popup"),At.m(`popup-${Cn.value}`)],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)])])},default:()=>h$5("div",{class:Dt.e("title"),onClick:Hn},Gn)}):h$5(Fragment,{},[h$5("div",{class:Dt.e("title"),ref:wn,onClick:Hn},Gn),h$5(_CollapseTransition,{},{default:()=>{var Xn;return withDirectives(h$5("ul",{role:"menu",class:[At.b(),At.m("inline")],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)]),[[vShow,$n.value]])}})]);return h$5("li",{class:[Dt.b(),Dt.is("active",Pn.value),Dt.is("opened",$n.value),Dt.is("disabled",xe.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:$n.value,onMouseenter:Fn,onMouseleave:()=>zn(),onFocus:Fn},[Wn])}}});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,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:iconPropType,default:()=>more_default},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),checkIndexPath=xe=>Array.isArray(xe)&&xe.every($e=>isString$4($e)),menuEmits={close:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),open:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),select:(xe,$e,Ie,Fe)=>isString$4(xe)&&checkIndexPath($e)&&isObject$8(Ie)&&(Fe===void 0||Fe instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){const Ue=getCurrentInstance(),qe=Ue.appContext.config.globalProperties.$router,At=ref(),Dt=useNamespace("menu"),Lt=useNamespace("sub-menu"),jt=ref(-1),hn=ref(xe.defaultOpeneds&&!xe.collapse?xe.defaultOpeneds.slice(0):[]),vn=ref(xe.defaultActive),bn=ref({}),_n=ref({}),wn=computed(()=>xe.mode==="horizontal"||xe.mode==="vertical"&&xe.collapse),kn=()=>{const Vn=vn.value&&bn.value[vn.value];if(!Vn||xe.mode==="horizontal"||xe.collapse)return;Vn.indexPath.forEach(Dn=>{const Hn=_n.value[Dn];Hn&&Cn(Dn,Hn.indexPath)})},Cn=(Vn,Ln)=>{hn.value.includes(Vn)||(xe.uniqueOpened&&(hn.value=hn.value.filter(Dn=>Ln.includes(Dn))),hn.value.push(Vn),$e("open",Vn,Ln))},Sn=Vn=>{const Ln=hn.value.indexOf(Vn);Ln!==-1&&hn.value.splice(Ln,1)},xn=(Vn,Ln)=>{Sn(Vn),$e("close",Vn,Ln)},En=({index:Vn,indexPath:Ln})=>{hn.value.includes(Vn)?xn(Vn,Ln):Cn(Vn,Ln)},Tn=Vn=>{(xe.mode==="horizontal"||xe.collapse)&&(hn.value=[]);const{index:Ln,indexPath:Dn}=Vn;if(!(isNil(Ln)||isNil(Dn)))if(xe.router&&qe){const Hn=Vn.route||Ln,Fn=qe.push(Hn).then(zn=>(zn||(vn.value=Ln),zn));$e("select",Ln,Dn,{index:Ln,indexPath:Dn,route:Hn},Fn)}else vn.value=Ln,$e("select",Ln,Dn,{index:Ln,indexPath:Dn})},An=Vn=>{const Ln=bn.value,Dn=Ln[Vn]||vn.value&&Ln[vn.value]||Ln[xe.defaultActive];Dn?vn.value=Dn.index:vn.value=Vn},$n=Vn=>{const Ln=getComputedStyle(Vn),Dn=Number.parseInt(Ln.marginLeft,10),Hn=Number.parseInt(Ln.marginRight,10);return Vn.offsetWidth+Dn+Hn||0},Pn=()=>{var Vn,Ln;if(!At.value)return-1;const Dn=Array.from((Ln=(Vn=At.value)==null?void 0:Vn.childNodes)!=null?Ln:[]).filter(er=>er.nodeName!=="#comment"&&(er.nodeName!=="#text"||er.nodeValue)),Hn=64,Fn=getComputedStyle(At.value),zn=Number.parseInt(Fn.paddingLeft,10),jn=Number.parseInt(Fn.paddingRight,10),Gn=At.value.clientWidth-zn-jn;let Wn=0,Xn=0;return Dn.forEach((er,rr)=>{Wn+=$n(er),Wn<=Gn-Hn&&(Xn=rr+1)}),Xn===Dn.length?-1:Xn},Nn=Vn=>_n.value[Vn].indexPath,Mn=(Vn,Ln=33.34)=>{let Dn;return()=>{Dn&&clearTimeout(Dn),Dn=setTimeout(()=>{Vn()},Ln)}};let In=!0;const On=()=>{if(jt.value===Pn())return;const Vn=()=>{jt.value=-1,nextTick(()=>{jt.value=Pn()})};In?Vn():Mn(Vn)(),In=!1};watch(()=>xe.defaultActive,Vn=>{bn.value[Vn]||(vn.value=""),An(Vn)}),watch(()=>xe.collapse,Vn=>{Vn&&(hn.value=[])}),watch(bn.value,kn);let Rn;watchEffect(()=>{xe.mode==="horizontal"&&xe.ellipsis?Rn=useResizeObserver(At,On).stop:Rn==null||Rn()});const Bn=ref(!1);{const Vn=Fn=>{_n.value[Fn.index]=Fn},Ln=Fn=>{delete _n.value[Fn.index]};provide("rootMenu",reactive({props:xe,openedMenus:hn,items:bn,subMenus:_n,activeIndex:vn,isMenuPopup:wn,addMenuItem:Fn=>{bn.value[Fn.index]=Fn},removeMenuItem:Fn=>{delete bn.value[Fn.index]},addSubMenu:Vn,removeSubMenu:Ln,openMenu:Cn,closeMenu:xn,handleMenuItemClick:Tn,handleSubMenuClick:En})),provide(`subMenu:${Ue.uid}`,{addSubMenu:Vn,removeSubMenu:Ln,mouseInChild:Bn,level:0})}return onMounted(()=>{xe.mode==="horizontal"&&new Menu$1(Ue.vnode.el,Dt.namespace.value)}),Fe({open:Ln=>{const{indexPath:Dn}=_n.value[Ln];Dn.forEach(Hn=>Cn(Hn,Dn))},close:Sn,handleResize:On}),()=>{var Vn,Ln;let Dn=(Ln=(Vn=Ie.default)==null?void 0:Vn.call(Ie))!=null?Ln:[];const Hn=[];if(xe.mode==="horizontal"&&At.value){const Gn=flattedChildren(Dn),Wn=jt.value===-1?Gn:Gn.slice(0,jt.value),Xn=jt.value===-1?[]:Gn.slice(jt.value);Xn!=null&&Xn.length&&xe.ellipsis&&(Dn=Wn,Hn.push(h$5(SubMenu,{index:"sub-menu-more",class:Lt.e("hide-arrow"),popperOffset:xe.popperOffset},{title:()=>h$5(ElIcon,{class:Lt.e("icon-more")},{default:()=>h$5(xe.ellipsisIcon)}),default:()=>Xn})))}const Fn=useMenuCssVar(xe,0),zn=xe.closeOnClickOutside?[[ClickOutside,()=>{hn.value.length&&(Bn.value||(hn.value.forEach(Gn=>$e("close",Gn,Nn(Gn))),hn.value=[]))}]]:[],jn=withDirectives(h$5("ul",{key:String(xe.collapse),role:"menubar",ref:At,style:Fn.value,class:{[Dt.b()]:!0,[Dt.m(xe.mode)]:!0,[Dt.m("collapse")]:xe.collapse}},[...Dn,...Hn]),zn);return xe.collapseTransition&&xe.mode==="vertical"?h$5(ElMenuCollapseTransition,()=>jn):jn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:xe=>isString$4(xe.index)&&Array.isArray(xe.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$12=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject("rootMenu"),Ue=useNamespace("menu"),qe=useNamespace("menu-item");Fe||throwError(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:At,indexPath:Dt}=useMenu(Ie,toRef(xe,"index")),Lt=inject(`subMenu:${At.value.uid}`);Lt||throwError(COMPONENT_NAME$b,"can not inject sub menu");const jt=computed(()=>xe.index===Fe.activeIndex),hn=reactive({index:xe.index,indexPath:Dt,active:jt}),vn=()=>{xe.disabled||(Fe.handleMenuItemClick({index:xe.index,indexPath:Dt.value,route:xe.route}),$e("click",hn))};return onMounted(()=>{Lt.addSubMenu(hn),Fe.addMenuItem(hn)}),onBeforeUnmount(()=>{Lt.removeSubMenu(hn),Fe.removeMenuItem(hn)}),{parentMenu:At,rootMenu:Fe,active:jt,nsMenu:Ue,nsMenuItem:qe,handleClick:vn}}});function _sfc_render$d(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([xe.nsMenuItem.b(),xe.nsMenuItem.is("active",xe.active),xe.nsMenuItem.is("disabled",xe.disabled)]),role:"menuitem",tabindex:"-1",onClick:$e[0]||($e[0]=(...Dt)=>xe.handleClick&&xe.handleClick(...Dt))},[xe.parentMenu.type.name==="ElMenu"&&xe.rootMenu.props.collapse&&xe.$slots.title?(openBlock(),createBlock(At,{key:0,effect:xe.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(xe.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsMenu.be("tooltip","trigger"))},[renderSlot(xe.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(xe.$slots,"default"),renderSlot(xe.$slots,"title")],64))],2)}var MenuItem=_export_sfc(_sfc_main$12,[["render",_sfc_render$d],["__file","menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$11=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$c(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.$slots.title?renderSlot(xe.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(xe.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(xe.$slots,"default")])],2)}var MenuItemGroup=_export_sfc(_sfc_main$11,[["render",_sfc_render$c],["__file","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$v=["aria-label"],__default__$N=defineComponent({name:"ElPageHeader"}),_sfc_main$10=defineComponent({...__default__$N,props:pageHeaderProps,emits:pageHeaderEmits,setup(xe,{emit:$e}){const Ie=useSlots(),{t:Fe}=useLocale(),Ue=useNamespace("page-header"),qe=computed(()=>[Ue.b(),{[Ue.m("has-breadcrumb")]:!!Ie.breadcrumb,[Ue.m("has-extra")]:!!Ie.extra,[Ue.is("contentful")]:!!Ie.default}]);function At(){$e("back")}return(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Dt.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("breadcrumb"))},[renderSlot(Dt.$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:At},[Dt.icon||Dt.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":Dt.title||unref(Fe)("el.pageHeader.title"),class:normalizeClass(unref(Ue).e("icon"))},[renderSlot(Dt.$slots,"icon",{},()=>[Dt.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Dt.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$v)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},[renderSlot(Dt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Dt.title||unref(Fe)("el.pageHeader.title")),1)])],2)],2),createVNode$1(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Dt.$slots,"content",{},()=>[createTextVNode(toDisplayString(Dt.content),1)])],2)],2),Dt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("extra"))},[renderSlot(Dt.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),Dt.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).e("main"))},[renderSlot(Dt.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc(_sfc_main$10,[["__file","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:xe=>xe instanceof MouseEvent},_hoisted_1$u=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$M=defineComponent({name:"ElPaginationPrev"}),_sfc_main$$=defineComponent({...__default__$M,props:paginationPrevProps,emits:paginationPrevEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage<=1);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(Fe),"aria-label":Ue.prevText||unref(Ie)("el.pagination.prev"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.prevText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString(Ue.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.prevIcon)))]),_:1}))],8,_hoisted_1$u))}});var Prev=_export_sfc(_sfc_main$$,[["__file","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$t=["disabled","aria-label","aria-disabled"],_hoisted_2$i={key:0},__default__$L=defineComponent({name:"ElPaginationNext"}),_sfc_main$_=defineComponent({...__default__$L,props:paginationNextProps,emits:["click"],setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage===$e.pageCount||$e.pageCount===0);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(Fe),"aria-label":Ue.nextText||unref(Ie)("el.pagination.next"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.nextText?(openBlock(),createElementBlock("span",_hoisted_2$i,toDisplayString(Ue.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.nextIcon)))]),_:1}))],8,_hoisted_1$t))}});var Next=_export_sfc(_sfc_main$_,[["__file","next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1(xe,$e){const Ie=inject(selectKey),Fe=inject(selectGroupKey,{disabled:!1}),Ue=computed(()=>Ie.props.multiple?hn(Ie.props.modelValue,xe.value):hn([Ie.props.modelValue],xe.value)),qe=computed(()=>{if(Ie.props.multiple){const _n=Ie.props.modelValue||[];return!Ue.value&&_n.length>=Ie.props.multipleLimit&&Ie.props.multipleLimit>0}else return!1}),At=computed(()=>xe.label||(isObject$8(xe.value)?"":xe.value)),Dt=computed(()=>xe.value||xe.label||""),Lt=computed(()=>xe.disabled||$e.groupDisabled||qe.value),jt=getCurrentInstance(),hn=(_n=[],wn)=>{if(isObject$8(xe.value)){const kn=Ie.props.valueKey;return _n&&_n.some(Cn=>toRaw(get$1(Cn,kn))===get$1(wn,kn))}else return _n&&_n.includes(wn)},vn=()=>{!xe.disabled&&!Fe.disabled&&(Ie.states.hoveringIndex=Ie.optionsArray.indexOf(jt.proxy))},bn=_n=>{const wn=new RegExp(escapeStringRegexp(_n),"i");$e.visible=wn.test(At.value)||xe.created};return watch(()=>At.value,()=>{!xe.created&&!Ie.props.remote&&Ie.setSelected()}),watch(()=>xe.value,(_n,wn)=>{const{remote:kn,valueKey:Cn}=Ie.props;if(isEqual$1(_n,wn)||(Ie.onOptionDestroy(wn,jt.proxy),Ie.onOptionCreate(jt.proxy)),!xe.created&&!kn){if(Cn&&isObject$8(_n)&&isObject$8(wn)&&_n[Cn]===wn[Cn])return;Ie.setSelected()}}),watch(()=>Fe.disabled,()=>{$e.groupDisabled=Fe.disabled},{immediate:!0}),{select:Ie,currentLabel:At,currentValue:Dt,itemSelected:Ue,isDisabled:Lt,hoverItem:vn,updateOption:bn}}const _sfc_main$Z=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=useId(),Fe=computed(()=>[$e.be("dropdown","item"),$e.is("disabled",unref(Dt)),$e.is("selected",unref(At)),$e.is("hovering",unref(bn))]),Ue=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn}=useOption$1(xe,Ue),{visible:vn,hover:bn}=toRefs(Ue),_n=getCurrentInstance().proxy;Lt.onOptionCreate(_n),onBeforeUnmount(()=>{const kn=_n.value,{selected:Cn}=Lt.states,xn=(Lt.props.multiple?Cn:[Cn]).some(En=>En.value===_n.value);nextTick(()=>{Lt.states.cachedOptions.get(kn)===_n&&!xn&&Lt.states.cachedOptions.delete(kn)}),Lt.onOptionDestroy(kn,_n)});function wn(){xe.disabled!==!0&&Ue.groupDisabled!==!0&&Lt.handleOptionSelect(_n)}return{ns:$e,id:Ie,containerKls:Fe,currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn,visible:vn,hover:bn,selectOptionClick:wn,states:Ue}}}),_hoisted_1$s=["id","aria-disabled","aria-selected"];function _sfc_render$b(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("li",{id:xe.id,class:normalizeClass(xe.containerKls),role:"option","aria-disabled":xe.isDisabled||void 0,"aria-selected":xe.itemSelected,onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(xe.currentLabel),1)])],42,_hoisted_1$s)),[[vShow,xe.visible]])}var Option=_export_sfc(_sfc_main$Z,[["render",_sfc_render$b],["__file","option.vue"]]);const _sfc_main$Y=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const xe=inject(selectKey),$e=useNamespace("select"),Ie=computed(()=>xe.props.popperClass),Fe=computed(()=>xe.props.multiple),Ue=computed(()=>xe.props.fitInputWidth),qe=ref("");function At(){var Dt;qe.value=`${(Dt=xe.selectRef)==null?void 0:Dt.offsetWidth}px`}return onMounted(()=>{At(),useResizeObserver(xe.selectRef,At)}),{ns:$e,minWidth:qe,popperClass:Ie,isMultiple:Fe,isFitInputWidth:Ue}}});function _sfc_render$a(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("dropdown"),xe.ns.is("multiple",xe.isMultiple),xe.popperClass]),style:normalizeStyle$1({[xe.isFitInputWidth?"width":"minWidth"]:xe.minWidth})},[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default"),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu$1=_export_sfc(_sfc_main$Y,[["render",_sfc_render$a],["__file","select-dropdown.vue"]]);function useInput(xe){const $e=ref(!1);return{handleCompositionStart:()=>{$e.value=!0},handleCompositionUpdate:qe=>{const At=qe.target.value,Dt=At[At.length-1]||"";$e.value=!isKorean(Dt)},handleCompositionEnd:qe=>{$e.value&&($e.value=!1,isFunction$5(xe)&&xe(qe))}}}const MINIMUM_INPUT_WIDTH$1=11,useSelect$2=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useId(),Ue=useNamespace("select"),qe=useNamespace("input"),At=reactive({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:xe.multiple?[]:{},selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(null),bn=ref(null),_n=ref(null),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),{wrapperRef:En,isFocused:Tn,handleFocus:An,handleBlur:$n}=useFocusController(vn,{afterFocus(){xe.automaticDropdown&&!Pn.value&&(Pn.value=!0,At.menuVisibleOnFocus=!0)},beforeBlur(Mr){var Or,yr;return((Or=jt.value)==null?void 0:Or.isFocusInsideContent(Mr))||((yr=hn.value)==null?void 0:yr.isFocusInsideContent(Mr))},afterBlur(){Pn.value=!1,At.menuVisibleOnFocus=!1}}),Pn=ref(!1),Nn=ref(),{form:Mn,formItem:In}=useFormItem(),{inputId:On}=useFormItemInputId(xe,{formItemContext:In}),{valueOnClear:Rn,isEmptyValue:Bn}=useEmptyValues(xe),Vn=computed(()=>xe.disabled||(Mn==null?void 0:Mn.disabled)),Ln=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!Bn(xe.modelValue)),Dn=computed(()=>xe.clearable&&!Vn.value&&At.inputHovering&&Ln.value),Hn=computed(()=>xe.remote&&xe.filterable&&!xe.remoteShowSuffix?"":xe.suffixIcon),Fn=computed(()=>Ue.is("reverse",Hn.value&&Pn.value)),zn=computed(()=>(In==null?void 0:In.validateState)||""),jn=computed(()=>ValidateComponentsMap[zn.value]),Gn=computed(()=>xe.remote?300:0),Wn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!At.inputValue&&At.options.size===0?!1:xe.filterable&&At.inputValue&&At.options.size>0&&Xn.value===0?xe.noMatchText||Ie("el.select.noMatch"):At.options.size===0?xe.noDataText||Ie("el.select.noData"):null),Xn=computed(()=>er.value.filter(Mr=>Mr.visible).length),er=computed(()=>{const Mr=Array.from(At.options.values()),Or=[];return At.optionValues.forEach(yr=>{const so=Mr.findIndex($o=>$o.value===yr);so>-1&&Or.push(Mr[so])}),Or.length>=Mr.length?Or:Mr}),rr=computed(()=>Array.from(At.cachedOptions.values())),Jn=computed(()=>{const Mr=er.value.filter(Or=>!Or.created).some(Or=>Or.currentLabel===At.inputValue);return xe.filterable&&xe.allowCreate&&At.inputValue!==""&&!Mr}),qn=()=>{xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)||er.value.forEach(Mr=>{var Or;(Or=Mr.updateOption)==null||Or.call(Mr,At.inputValue)})},Yn=useFormSize(),ar=computed(()=>["small"].includes(Yn.value)?"small":"default"),tr=computed({get(){return Pn.value&&Wn.value!==!1},set(Mr){Pn.value=Mr}}),or=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!At.inputValue:xe.filterable?!At.inputValue:!0),sr=computed(()=>{var Mr;const Or=(Mr=xe.placeholder)!=null?Mr:Ie("el.select.placeholder");return xe.multiple||!Ln.value?Or:At.selectedLabel});watch(()=>xe.modelValue,(Mr,Or)=>{xe.multiple&&xe.filterable&&!xe.reserveKeyword&&(At.inputValue="",Kn("")),nr(),!isEqual$1(Mr,Or)&&xe.validateEvent&&(In==null||In.validate("change").catch(yr=>void 0))},{flush:"post",deep:!0}),watch(()=>Pn.value,Mr=>{Mr?Kn(At.inputValue):(At.inputValue="",At.previousQuery=null,At.isBeforeHide=!0),$e("visible-change",Mr)}),watch(()=>At.options.entries(),()=>{var Mr;if(!isClient)return;const Or=((Mr=Dt.value)==null?void 0:Mr.querySelectorAll("input"))||[];(!xe.filterable&&!xe.defaultFirstOption&&!isUndefined(xe.modelValue)||!Array.from(Or).includes(document.activeElement))&&nr(),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value&&Zn()},{flush:"post"}),watch(()=>At.hoveringIndex,Mr=>{isNumber(Mr)&&Mr>-1?Nn.value=er.value[Mr]||{}:Nn.value={},er.value.forEach(Or=>{Or.hover=Nn.value===Or})}),watchEffect(()=>{At.isBeforeHide||qn()});const Kn=Mr=>{At.previousQuery!==Mr&&(At.previousQuery=Mr,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Mr):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Mr),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value?nextTick(Zn):nextTick(ir))},Zn=()=>{const Mr=er.value.filter(so=>so.visible&&!so.disabled&&!so.states.groupDisabled),Or=Mr.find(so=>so.created),yr=Mr[0];At.hoveringIndex=Br(er.value,Or||yr)},nr=()=>{if(xe.multiple)At.selectedLabel="";else{const Or=lr(xe.modelValue);At.selectedLabel=Or.currentLabel,At.selected=Or;return}const Mr=[];isArray$6(xe.modelValue)&&xe.modelValue.forEach(Or=>{Mr.push(lr(Or))}),At.selected=Mr},lr=Mr=>{let Or;const yr=toRawType(Mr).toLowerCase()==="object",so=toRawType(Mr).toLowerCase()==="null",$o=toRawType(Mr).toLowerCase()==="undefined";for(let po=At.cachedOptions.size-1;po>=0;po--){const ro=rr.value[po];if(yr?get$1(ro.value,xe.valueKey)===get$1(Mr,xe.valueKey):ro.value===Mr){Or={value:Mr,currentLabel:ro.currentLabel,get isDisabled(){return ro.isDisabled}};break}}if(Or)return Or;const xo=yr?Mr.label:!so&&!$o?Mr:"";return{value:Mr,currentLabel:xo}},ir=()=>{xe.multiple?At.hoveringIndex=er.value.findIndex(Mr=>At.selected.some(Or=>ko(Or)===ko(Mr))):At.hoveringIndex=er.value.findIndex(Mr=>ko(Mr)===ko(At.selected))},kr=()=>{At.selectionWidth=Lt.value.getBoundingClientRect().width},Cr=()=>{At.calculatorWidth=bn.value.getBoundingClientRect().width},Er=()=>{At.collapseItemWidth=Sn.value.getBoundingClientRect().width},dr=()=>{var Mr,Or;(Or=(Mr=jt.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},br=()=>{var Mr,Or;(Or=(Mr=hn.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},_r=()=>{At.inputValue.length>0&&!Pn.value&&(Pn.value=!0),Kn(At.inputValue)},Pr=Mr=>{if(At.inputValue=Mr.target.value,xe.remote)vr();else return _r()},vr=debounce(()=>{_r()},Gn.value),xr=Mr=>{isEqual$1(xe.modelValue,Mr)||$e(CHANGE_EVENT,Mr)},Rr=Mr=>findLastIndex(Mr,Or=>!At.disabledOptions.has(Or)),Hr=Mr=>{if(xe.multiple&&Mr.code!==EVENT_CODE.delete&&Mr.target.value.length<=0){const Or=xe.modelValue.slice(),yr=Rr(Or);if(yr<0)return;const so=Or[yr];Or.splice(yr,1),$e(UPDATE_MODEL_EVENT,Or),xr(Or),$e("remove-tag",so)}},Jr=(Mr,Or)=>{const yr=At.selected.indexOf(Or);if(yr>-1&&!Vn.value){const so=xe.modelValue.slice();so.splice(yr,1),$e(UPDATE_MODEL_EVENT,so),xr(so),$e("remove-tag",Or.value)}Mr.stopPropagation(),Kr()},Gr=Mr=>{Mr.stopPropagation();const Or=xe.multiple?[]:Rn.value;if(xe.multiple)for(const yr of At.selected)yr.isDisabled&&Or.push(yr.value);$e(UPDATE_MODEL_EVENT,Or),xr(Or),At.hoveringIndex=-1,Pn.value=!1,$e("clear"),Kr()},$r=Mr=>{if(xe.multiple){const Or=(xe.modelValue||[]).slice(),yr=Br(Or,Mr.value);yr>-1?Or.splice(yr,1):(xe.multipleLimit<=0||Or.length<xe.multipleLimit)&&Or.push(Mr.value),$e(UPDATE_MODEL_EVENT,Or),xr(Or),Mr.created&&Kn(""),xe.filterable&&!xe.reserveKeyword&&(At.inputValue="")}else $e(UPDATE_MODEL_EVENT,Mr.value),xr(Mr.value),Pn.value=!1;Kr(),!Pn.value&&nextTick(()=>{Tr(Mr)})},Br=(Mr=[],Or)=>{if(!isObject$8(Or))return Mr.indexOf(Or);const yr=xe.valueKey;let so=-1;return Mr.some(($o,xo)=>toRaw(get$1($o,yr))===get$1(Or,yr)?(so=xo,!0):!1),so},Tr=Mr=>{var Or,yr,so,$o,xo;const ho=isArray$6(Mr)?Mr[0]:Mr;let po=null;if(ho!=null&&ho.value){const ro=er.value.filter(qr=>qr.value===ho.value);ro.length>0&&(po=ro[0].$el)}if(jt.value&&po){const ro=($o=(so=(yr=(Or=jt.value)==null?void 0:Or.popperRef)==null?void 0:yr.contentRef)==null?void 0:so.querySelector)==null?void 0:$o.call(so,`.${Ue.be("dropdown","wrap")}`);ro&&scrollIntoView(ro,po)}(xo=xn.value)==null||xo.handleScroll()},cr=Mr=>{At.options.set(Mr.value,Mr),At.cachedOptions.set(Mr.value,Mr),Mr.disabled&&At.disabledOptions.set(Mr.value,Mr)},Sr=(Mr,Or)=>{At.options.get(Mr)===Or&&At.options.delete(Mr)},{handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr}=useInput(Mr=>Pr(Mr)),zr=computed(()=>{var Mr,Or;return(Or=(Mr=jt.value)==null?void 0:Mr.popperRef)==null?void 0:Or.contentRef}),Vr=()=>{At.isBeforeHide=!1,nextTick(()=>Tr(At.selected))},Kr=()=>{var Mr;(Mr=vn.value)==null||Mr.focus()},Yr=()=>{uo()},Ur=Mr=>{Gr(Mr)},uo=Mr=>{if(Pn.value=!1,Tn.value){const Or=new FocusEvent("focus",Mr);nextTick(()=>$n(Or))}},go=()=>{At.inputValue.length>0?At.inputValue="":Pn.value=!1},_o=()=>{Vn.value||(At.menuVisibleOnFocus?At.menuVisibleOnFocus=!1:Pn.value=!Pn.value)},Ao=()=>{Pn.value?er.value[At.hoveringIndex]&&$r(er.value[At.hoveringIndex]):_o()},ko=Mr=>isObject$8(Mr.value)?get$1(Mr.value,xe.valueKey):Mr.value,Do=computed(()=>er.value.filter(Mr=>Mr.visible).every(Mr=>Mr.disabled)),Ro=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(0,xe.maxCollapseTags):At.selected:[]),Ko=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(xe.maxCollapseTags):[]:[]),Yo=Mr=>{if(!Pn.value){Pn.value=!0;return}if(!(At.options.size===0||Xn.value===0)&&!Do.value){Mr==="next"?(At.hoveringIndex++,At.hoveringIndex===At.options.size&&(At.hoveringIndex=0)):Mr==="prev"&&(At.hoveringIndex--,At.hoveringIndex<0&&(At.hoveringIndex=At.options.size-1));const Or=er.value[At.hoveringIndex];(Or.disabled===!0||Or.states.groupDisabled===!0||!Or.visible)&&Yo(Mr),nextTick(()=>Tr(Nn.value))}},To=()=>{if(!Lt.value)return 0;const Mr=window.getComputedStyle(Lt.value);return Number.parseFloat(Mr.gap||"6px")},So=computed(()=>{const Mr=To();return{maxWidth:`${Sn.value&&xe.maxCollapseTags===1?At.selectionWidth-At.collapseItemWidth-Mr:At.selectionWidth}px`}}),yo=computed(()=>({maxWidth:`${At.selectionWidth}px`})),Zr=computed(()=>({width:`${Math.max(At.calculatorWidth,MINIMUM_INPUT_WIDTH$1)}px`}));return xe.multiple&&!isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,[]),!xe.multiple&&isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,""),useResizeObserver(Lt,kr),useResizeObserver(bn,Cr),useResizeObserver(kn,dr),useResizeObserver(En,dr),useResizeObserver(Cn,br),useResizeObserver(Sn,Er),onMounted(()=>{nr()}),{inputId:On,contentId:Fe,nsSelect:Ue,nsInput:qe,states:At,isFocused:Tn,expanded:Pn,optionsArray:er,hoverOption:Nn,selectSize:Yn,filteredOptionsCount:Xn,resetCalculatorWidth:Cr,updateTooltip:dr,updateTagTooltip:br,debouncedOnInputChange:vr,onInput:Pr,deletePrevTag:Hr,deleteTag:Jr,deleteSelected:Gr,handleOptionSelect:$r,scrollToOption:Tr,hasModelValue:Ln,shouldShowPlaceholder:or,currentPlaceholder:sr,showClose:Dn,iconComponent:Hn,iconReverse:Fn,validateState:zn,validateIcon:jn,showNewOption:Jn,updateOptions:qn,collapseTagSize:ar,setSelected:nr,selectDisabled:Vn,emptyText:Wn,handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr,onOptionCreate:cr,onOptionDestroy:Sr,handleMenuEnter:Vr,handleFocus:An,focus:Kr,blur:Yr,handleBlur:$n,handleClearClick:Ur,handleClickOutside:uo,handleEsc:go,toggleMenu:_o,selectOption:Ao,getValueKey:ko,navigateOptions:Yo,dropdownMenuVisible:tr,showTagList:Ro,collapseTagList:Ko,tagStyle:So,collapseTagStyle:yo,inputStyle:Zr,popperRef:zr,inputRef:vn,tooltipRef:jt,tagTooltipRef:hn,calculatorRef:bn,prefixRef:_n,suffixRef:wn,selectRef:Dt,wrapperRef:En,selectionRef:Lt,scrollbarRef:xn,menuRef:kn,tagMenuRef:Cn,collapseItemRef:Sn}};var ElOptions=defineComponent({name:"ElOptions",setup(xe,{slots:$e}){const Ie=inject(selectKey);let Fe=[];return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];function Lt(jt){isArray$6(jt)&&jt.forEach(hn=>{var vn,bn,_n,wn;const kn=(vn=(hn==null?void 0:hn.type)||{})==null?void 0:vn.name;kn==="ElOptionGroup"?Lt(!isString$4(hn.children)&&!isArray$6(hn.children)&&isFunction$5((bn=hn.children)==null?void 0:bn.default)?(_n=hn.children)==null?void 0:_n.default():hn.children):kn==="ElOption"?Dt.push((wn=hn.props)==null?void 0:wn.value):isArray$6(hn.children)&&Lt(hn.children)})}return At.length&&Lt((qe=At[0])==null?void 0:qe.children),isEqual$1(Dt,Fe)||(Fe=Dt,Ie&&(Ie.states.optionValues=Dt)),At}}});const SelectProps$1=buildProps({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(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:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),COMPONENT_NAME$9="ElSelect",_sfc_main$X=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps$1,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=useSelect$2(xe,$e);return provide(selectKey,reactive({props:xe,states:Ie.states,optionsArray:Ie.optionsArray,handleOptionSelect:Ie.handleOptionSelect,onOptionCreate:Ie.onOptionCreate,onOptionDestroy:Ie.onOptionDestroy,selectRef:Ie.selectRef,setSelected:Ie.setSelected})),{...Ie}}}),_hoisted_1$r=["id","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],_hoisted_2$h=["textContent"],_hoisted_3$8={key:1};function _sfc_render$9(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-option"),hn=resolveComponent("el-options"),vn=resolveComponent("el-scrollbar"),bn=resolveComponent("el-select-menu"),_n=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[16]||($e[16]=wn=>xe.states.inputHovering=!0),onMouseleave:$e[17]||($e[17]=wn=>xe.states.inputHovering=!1),onClick:$e[18]||($e[18]=withModifiers((...wn)=>xe.toggleMenu&&xe.toggleMenu(...wn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,placement:xe.placement,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,pure:"",trigger:"click",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[15]||($e[15]=wn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>{var wn;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.states.selected.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.states.selected.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.collapseTagStyle)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.states.selected.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=kn=>xe.states.inputValue=kn),type:"text",class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,autocomplete:xe.autocomplete,style:normalizeStyle$1(xe.inputStyle),role:"combobox",readonly:!xe.filterable,spellcheck:"false","aria-activedescendant":((wn=xe.hoverOption)==null?void 0:wn.id)||"","aria-controls":xe.contentId,"aria-expanded":xe.dropdownMenuVisible,"aria-label":xe.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:$e[1]||($e[1]=(...kn)=>xe.handleFocus&&xe.handleFocus(...kn)),onBlur:$e[2]||($e[2]=(...kn)=>xe.handleBlur&&xe.handleBlur(...kn)),onKeydown:[$e[3]||($e[3]=withKeys(withModifiers(kn=>xe.navigateOptions("next"),["stop","prevent"]),["down"])),$e[4]||($e[4]=withKeys(withModifiers(kn=>xe.navigateOptions("prev"),["stop","prevent"]),["up"])),$e[5]||($e[5]=withKeys(withModifiers((...kn)=>xe.handleEsc&&xe.handleEsc(...kn),["stop","prevent"]),["esc"])),$e[6]||($e[6]=withKeys(withModifiers((...kn)=>xe.selectOption&&xe.selectOption(...kn),["stop","prevent"]),["enter"])),$e[7]||($e[7]=withKeys(withModifiers((...kn)=>xe.deletePrevTag&&xe.deletePrevTag(...kn),["stop"]),["delete"]))],onCompositionstart:$e[8]||($e[8]=(...kn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...kn)),onCompositionupdate:$e[9]||($e[9]=(...kn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...kn)),onCompositionend:$e[10]||($e[10]=(...kn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...kn)),onInput:$e[11]||($e[11]=(...kn)=>xe.onInput&&xe.onInput(...kn)),onClick:$e[12]||($e[12]=withModifiers((...kn)=>xe.toggleMenu&&xe.toggleMenu(...kn),["stop"]))},null,46,_hoisted_1$r),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$h)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$8,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent&&!xe.showClose?(openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.showClose&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon")]),onClick:xe.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]}),content:withCtx(()=>[createVNode$1(bn,{ref:"menuRef"},{default:withCtx(()=>[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.nsSelect.be("dropdown","header")),onClick:$e[13]||($e[13]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(vn,{id:xe.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":xe.nsSelect.be("dropdown","wrap"),"view-class":xe.nsSelect.be("dropdown","list"),class:normalizeClass([xe.nsSelect.is("empty",xe.filteredOptionsCount===0)]),role:"listbox","aria-label":xe.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[xe.showNewOption?(openBlock(),createBlock(jt,{key:0,value:xe.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode$1(hn,null,{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[vShow,xe.states.options.size>0&&!xe.loading]]),xe.$slots.loading&&xe.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)):xe.loading||xe.filteredOptionsCount===0?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)):createCommentVNode("v-if",!0),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(xe.nsSelect.be("dropdown","footer")),onClick:$e[14]||($e[14]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow"])],34)),[[_n,xe.handleClickOutside,xe.popperRef]])}var Select$1=_export_sfc(_sfc_main$X,[["render",_sfc_render$9],["__file","select.vue"]]);const _sfc_main$W=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=ref(null),Fe=getCurrentInstance(),Ue=ref([]);provide(selectGroupKey,reactive({...toRefs(xe)}));const qe=computed(()=>Ue.value.some(jt=>jt.visible===!0)),At=jt=>{var hn,vn;return((hn=jt.type)==null?void 0:hn.name)==="ElOption"&&!!((vn=jt.component)!=null&&vn.proxy)},Dt=jt=>{const hn=castArray$1(jt),vn=[];return hn.forEach(bn=>{var _n,wn;At(bn)?vn.push(bn.component.proxy):(_n=bn.children)!=null&&_n.length?vn.push(...Dt(bn.children)):(wn=bn.component)!=null&&wn.subTree&&vn.push(...Dt(bn.component.subTree))}),vn},Lt=()=>{Ue.value=Dt(Fe.subTree)};return onMounted(()=>{Lt()}),useMutationObserver(Ie,Lt,{attributes:!0,subtree:!0,childList:!0}),{groupRef:Ie,visible:qe,ns:$e}}});function _sfc_render$8(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(xe.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(xe.ns.be("group","title"))},toDisplayString(xe.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(xe.ns.b("group"))},[renderSlot(xe.$slots,"default")],2)])],2)),[[vShow,xe.visible]])}var OptionGroup=_export_sfc(_sfc_main$W,[["render",_sfc_render$8],["__file","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,teleported:Boolean,size:{type:String,values:componentSizes}}),__default__$K=defineComponent({name:"ElPaginationSizes"}),_sfc_main$V=defineComponent({...__default__$K,props:paginationSizesProps,emits:["page-size-change"],setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=usePagination(),At=ref(Ie.pageSize);watch(()=>Ie.pageSizes,(jt,hn)=>{if(!isEqual$1(jt,hn)&&Array.isArray(jt)){const vn=jt.includes(Ie.pageSize)?Ie.pageSize:Ie.pageSizes[0];$e("page-size-change",vn)}}),watch(()=>Ie.pageSize,jt=>{At.value=jt});const Dt=computed(()=>Ie.pageSizes);function Lt(jt){var hn;jt!==At.value&&(At.value=jt,(hn=qe.handleSizeChange)==null||hn.call(qe,Number(jt)))}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("sizes"))},[createVNode$1(unref(ElSelect),{"model-value":At.value,disabled:jt.disabled,"popper-class":jt.popperClass,size:jt.size,teleported:jt.teleported,"validate-event":!1,onChange:Lt},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),vn=>(openBlock(),createBlock(unref(ElOption),{key:vn,value:vn,label:vn+unref(Fe)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var Sizes=_export_sfc(_sfc_main$V,[["__file","sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$q=["disabled"],__default__$J=defineComponent({name:"ElPaginationJumper"}),_sfc_main$U=defineComponent({...__default__$J,props:paginationJumperProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{pageCount:Fe,disabled:Ue,currentPage:qe,changeEvent:At}=usePagination(),Dt=ref(),Lt=computed(()=>{var vn;return(vn=Dt.value)!=null?vn:qe==null?void 0:qe.value});function jt(vn){Dt.value=vn?+vn:""}function hn(vn){vn=Math.trunc(+vn),At==null||At(vn),Dt.value=void 0}return(vn,bn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("jump")),disabled:unref(Ue)},[createBaseVNode("span",{class:normalizeClass([unref(Ie).e("goto")])},toDisplayString(unref($e)("el.pagination.goto")),3),createVNode$1(unref(ElInput),{size:vn.size,class:normalizeClass([unref(Ie).e("editor"),unref(Ie).is("in-pagination")]),min:1,max:unref(Fe),disabled:unref(Ue),"model-value":unref(Lt),"validate-event":!1,"aria-label":unref($e)("el.pagination.page"),type:"number","onUpdate:modelValue":jt,onChange:hn},null,8,["size","class","max","disabled","model-value","aria-label"]),createBaseVNode("span",{class:normalizeClass([unref(Ie).e("classifier")])},toDisplayString(unref($e)("el.pagination.pageClassifier")),3)],10,_hoisted_1$q))}});var Jumper=_export_sfc(_sfc_main$U,[["__file","jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$p=["disabled"],__default__$I=defineComponent({name:"ElPaginationTotal"}),_sfc_main$T=defineComponent({...__default__$I,props:paginationTotalProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{disabled:Fe}=usePagination();return(Ue,qe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("total")),disabled:unref(Fe)},toDisplayString(unref($e)("el.pagination.total",{total:Ue.total})),11,_hoisted_1$p))}});var Total=_export_sfc(_sfc_main$T,[["__file","total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$o=["onKeyup"],_hoisted_2$g=["aria-current","aria-label","tabindex"],_hoisted_3$7=["tabindex","aria-label"],_hoisted_4$4=["aria-current","aria-label","tabindex"],_hoisted_5$3=["tabindex","aria-label"],_hoisted_6$1=["aria-current","aria-label","tabindex"],__default__$H=defineComponent({name:"ElPaginationPager"}),_sfc_main$S=defineComponent({...__default__$H,props:paginationPagerProps,emits:["change"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("pager"),Ue=useNamespace("icon"),{t:qe}=useLocale(),At=ref(!1),Dt=ref(!1),Lt=ref(!1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=computed(()=>{const Tn=Ie.pagerCount,An=(Tn-1)/2,$n=Number(Ie.currentPage),Pn=Number(Ie.pageCount);let Nn=!1,Mn=!1;Pn>Tn&&($n>Tn-An&&(Nn=!0),$n<Pn-An&&(Mn=!0));const In=[];if(Nn&&!Mn){const On=Pn-(Tn-2);for(let Rn=On;Rn<Pn;Rn++)In.push(Rn)}else if(!Nn&&Mn)for(let On=2;On<Tn;On++)In.push(On);else if(Nn&&Mn){const On=Math.floor(Tn/2)-1;for(let Rn=$n-On;Rn<=$n+On;Rn++)In.push(Rn)}else for(let On=2;On<Pn;On++)In.push(On);return In}),_n=computed(()=>["more","btn-quickprev",Ue.b(),Fe.is("disabled",Ie.disabled)]),wn=computed(()=>["more","btn-quicknext",Ue.b(),Fe.is("disabled",Ie.disabled)]),kn=computed(()=>Ie.disabled?-1:0);watchEffect(()=>{const Tn=(Ie.pagerCount-1)/2;At.value=!1,Dt.value=!1,Ie.pageCount>Ie.pagerCount&&(Ie.currentPage>Ie.pagerCount-Tn&&(At.value=!0),Ie.currentPage<Ie.pageCount-Tn&&(Dt.value=!0))});function Cn(Tn=!1){Ie.disabled||(Tn?Lt.value=!0:jt.value=!0)}function Sn(Tn=!1){Tn?hn.value=!0:vn.value=!0}function xn(Tn){const An=Tn.target;if(An.tagName.toLowerCase()==="li"&&Array.from(An.classList).includes("number")){const $n=Number(An.textContent);$n!==Ie.currentPage&&$e("change",$n)}else An.tagName.toLowerCase()==="li"&&Array.from(An.classList).includes("more")&&En(Tn)}function En(Tn){const An=Tn.target;if(An.tagName.toLowerCase()==="ul"||Ie.disabled)return;let $n=Number(An.textContent);const Pn=Ie.pageCount,Nn=Ie.currentPage,Mn=Ie.pagerCount-2;An.className.includes("more")&&(An.className.includes("quickprev")?$n=Nn-Mn:An.className.includes("quicknext")&&($n=Nn+Mn)),Number.isNaN(+$n)||($n<1&&($n=1),$n>Pn&&($n=Pn)),$n!==Nn&&$e("change",$n)}return(Tn,An)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(Fe).b()),onClick:En,onKeyup:withKeys(xn,["enter"])},[Tn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===1),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===1,"aria-label":unref(qe)("el.pagination.currentPage",{pager:1}),tabindex:unref(kn)}," 1 ",10,_hoisted_2$g)):createCommentVNode("v-if",!0),At.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(_n)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.prevPages",{pager:Tn.pagerCount-2}),onMouseenter:An[0]||(An[0]=$n=>Cn(!0)),onMouseleave:An[1]||(An[1]=$n=>Lt.value=!1),onFocus:An[2]||(An[2]=$n=>Sn(!0)),onBlur:An[3]||(An[3]=$n=>hn.value=!1)},[(Lt.value||hn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$7)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),$n=>(openBlock(),createElementBlock("li",{key:$n,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===$n),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===$n,"aria-label":unref(qe)("el.pagination.currentPage",{pager:$n}),tabindex:unref(kn)},toDisplayString($n),11,_hoisted_4$4))),128)),Dt.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(wn)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.nextPages",{pager:Tn.pagerCount-2}),onMouseenter:An[4]||(An[4]=$n=>Cn()),onMouseleave:An[5]||(An[5]=$n=>jt.value=!1),onFocus:An[6]||(An[6]=$n=>Sn()),onBlur:An[7]||(An[7]=$n=>vn.value=!1)},[(jt.value||vn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$3)):createCommentVNode("v-if",!0),Tn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===Tn.pageCount),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===Tn.pageCount,"aria-label":unref(qe)("el.pagination.currentPage",{pager:Tn.pageCount}),tabindex:unref(kn)},toDisplayString(Tn.pageCount),11,_hoisted_6$1)):createCommentVNode("v-if",!0)],42,_hoisted_1$o))}});var Pager=_export_sfc(_sfc_main$S,[["__file","pager.vue"]]);const isAbsent=xe=>typeof xe!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:xe=>isNumber(xe)&&Math.trunc(xe)===xe&&xe>4&&xe<22&&xe%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},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":xe=>isNumber(xe),"update:page-size":xe=>isNumber(xe),"size-change":xe=>isNumber(xe),change:(xe,$e)=>isNumber(xe)&&isNumber($e),"current-change":xe=>isNumber(xe),"prev-click":xe=>isNumber(xe),"next-click":xe=>isNumber(xe)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(xe,{emit:$e,slots:Ie}){const{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=getCurrentInstance().vnode.props||{},At="onUpdate:currentPage"in qe||"onUpdate:current-page"in qe||"onCurrentChange"in qe,Dt="onUpdate:pageSize"in qe||"onUpdate:page-size"in qe||"onSizeChange"in qe,Lt=computed(()=>{if(isAbsent(xe.total)&&isAbsent(xe.pageCount)||!isAbsent(xe.currentPage)&&!At)return!1;if(xe.layout.includes("sizes")){if(isAbsent(xe.pageCount)){if(!isAbsent(xe.total)&&!isAbsent(xe.pageSize)&&!Dt)return!1}else if(!Dt)return!1}return!0}),jt=ref(isAbsent(xe.defaultPageSize)?10:xe.defaultPageSize),hn=ref(isAbsent(xe.defaultCurrentPage)?1:xe.defaultCurrentPage),vn=computed({get(){return isAbsent(xe.pageSize)?jt.value:xe.pageSize},set(En){isAbsent(xe.pageSize)&&(jt.value=En),Dt&&($e("update:page-size",En),$e("size-change",En))}}),bn=computed(()=>{let En=0;return isAbsent(xe.pageCount)?isAbsent(xe.total)||(En=Math.max(1,Math.ceil(xe.total/vn.value))):En=xe.pageCount,En}),_n=computed({get(){return isAbsent(xe.currentPage)?hn.value:xe.currentPage},set(En){let Tn=En;En<1?Tn=1:En>bn.value&&(Tn=bn.value),isAbsent(xe.currentPage)&&(hn.value=Tn),At&&($e("update:current-page",Tn),$e("current-change",Tn))}});watch(bn,En=>{_n.value>En&&(_n.value=En)}),watch([_n,vn],En=>{$e("change",...En)},{flush:"post"});function wn(En){_n.value=En}function kn(En){vn.value=En;const Tn=bn.value;_n.value>Tn&&(_n.value=Tn)}function Cn(){xe.disabled||(_n.value-=1,$e("prev-click",_n.value))}function Sn(){xe.disabled||(_n.value+=1,$e("next-click",_n.value))}function xn(En,Tn){En&&(En.props||(En.props={}),En.props.class=[En.props.class,Tn].join(" "))}return provide(elPaginationKey,{pageCount:bn,disabled:computed(()=>xe.disabled),currentPage:_n,changeEvent:wn,handleSizeChange:kn}),()=>{var En,Tn;if(!Lt.value)return Fe("el.pagination.deprecationWarning"),null;if(!xe.layout||xe.hideOnSinglePage&&bn.value<=1)return null;const An=[],$n=[],Pn=h$5("div",{class:Ue.e("rightwrapper")},$n),Nn={prev:h$5(Prev,{disabled:xe.disabled,currentPage:_n.value,prevText:xe.prevText,prevIcon:xe.prevIcon,onClick:Cn}),jumper:h$5(Jumper,{size:xe.small?"small":"default"}),pager:h$5(Pager,{currentPage:_n.value,pageCount:bn.value,pagerCount:xe.pagerCount,onChange:wn,disabled:xe.disabled}),next:h$5(Next,{disabled:xe.disabled,currentPage:_n.value,pageCount:bn.value,nextText:xe.nextText,nextIcon:xe.nextIcon,onClick:Sn}),sizes:h$5(Sizes,{pageSize:vn.value,pageSizes:xe.pageSizes,popperClass:xe.popperClass,disabled:xe.disabled,teleported:xe.teleported,size:xe.small?"small":"default"}),slot:(Tn=(En=Ie==null?void 0:Ie.default)==null?void 0:En.call(Ie))!=null?Tn:null,total:h$5(Total,{total:isAbsent(xe.total)?0:xe.total})},Mn=xe.layout.split(",").map(On=>On.trim());let In=!1;return Mn.forEach(On=>{if(On==="->"){In=!0;return}In?$n.push(Nn[On]):An.push(Nn[On])}),xn(An[0],Ue.is("first")),xn(An[An.length-1],Ue.is("last")),In&&$n.length>0&&(xn($n[0],Ue.is("first")),xn($n[$n.length-1],Ue.is("last")),An.push(Pn)),h$5("div",{class:[Ue.b(),Ue.is("background",xe.background),{[Ue.m("small")]:xe.small}]},An)}}});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:xe=>xe instanceof MouseEvent,cancel:xe=>xe instanceof MouseEvent},__default__$G=defineComponent({name:"ElPopconfirm"}),_sfc_main$R=defineComponent({...__default__$G,props:popconfirmProps,emits:popconfirmEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("popconfirm"),qe=ref(),At=()=>{var bn,_n;(_n=(bn=qe.value)==null?void 0:bn.onClose)==null||_n.call(bn)},Dt=computed(()=>({width:addUnit(Ie.width)})),Lt=bn=>{$e("confirm",bn),At()},jt=bn=>{$e("cancel",bn),At()},hn=computed(()=>Ie.confirmButtonText||Fe("el.popconfirm.confirmButtonText")),vn=computed(()=>Ie.cancelButtonText||Fe("el.popconfirm.cancelButtonText"));return(bn,_n)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:qe,trigger:"click",effect:"light"},bn.$attrs,{"popper-class":`${unref(Ue).namespace.value}-popover`,"popper-style":unref(Dt),teleported:bn.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":bn.hideAfter,persistent:bn.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("main"))},[!bn.hideIcon&&bn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("icon")),style:normalizeStyle$1({color:bn.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(bn.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("action"))},[createVNode$1(unref(ElButton),{size:"small",type:bn.cancelButtonType==="text"?"":bn.cancelButtonType,text:bn.cancelButtonType==="text",onClick:jt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)),1)]),_:1},8,["type","text"]),createVNode$1(unref(ElButton),{size:"small",type:bn.confirmButtonType==="text"?"":bn.confirmButtonType,text:bn.confirmButtonType==="text",onClick:Lt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(hn)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[bn.$slots.reference?renderSlot(bn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc(_sfc_main$R,[["__file","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":xe=>isBoolean(xe),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$F=defineComponent({name:"ElPopover"}),_sfc_main$Q=defineComponent({...__default__$F,props:popoverProps,emits:popoverEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=computed(()=>Fe[updateEventKeyRaw]),qe=useNamespace("popover"),At=ref(),Dt=computed(()=>{var Cn;return(Cn=unref(At))==null?void 0:Cn.popperRef}),Lt=computed(()=>[{width:addUnit(Fe.width)},Fe.popperStyle]),jt=computed(()=>[qe.b(),Fe.popperClass,{[qe.m("plain")]:!!Fe.content}]),hn=computed(()=>Fe.transition===`${qe.namespace.value}-fade-in-linear`),vn=()=>{var Cn;(Cn=At.value)==null||Cn.hide()},bn=()=>{Ie("before-enter")},_n=()=>{Ie("before-leave")},wn=()=>{Ie("after-enter")},kn=()=>{Ie("update:visible",!1),Ie("after-leave")};return $e({popperRef:Dt,hide:vn}),(Cn,Sn)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:At},Cn.$attrs,{trigger:Cn.trigger,placement:Cn.placement,disabled:Cn.disabled,visible:Cn.visible,transition:Cn.transition,"popper-options":Cn.popperOptions,tabindex:Cn.tabindex,content:Cn.content,offset:Cn.offset,"show-after":Cn.showAfter,"hide-after":Cn.hideAfter,"auto-close":Cn.autoClose,"show-arrow":Cn.showArrow,"aria-label":Cn.title,effect:Cn.effect,enterable:Cn.enterable,"popper-class":unref(jt),"popper-style":unref(Lt),teleported:Cn.teleported,persistent:Cn.persistent,"gpu-acceleration":unref(hn),"onUpdate:visible":unref(Ue),onBeforeShow:bn,onBeforeHide:_n,onShow:wn,onHide:kn}),{content:withCtx(()=>[Cn.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("title")),role:"title"},toDisplayString(Cn.title),3)):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default",{},()=>[createTextVNode(toDisplayString(Cn.content),1)])]),default:withCtx(()=>[Cn.$slots.reference?renderSlot(Cn.$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(_sfc_main$Q,[["__file","popover.vue"]]);const attachEvents=(xe,$e)=>{const Ie=$e.arg||$e.value,Fe=Ie==null?void 0:Ie.popperRef;Fe&&(Fe.triggerRef=xe)};var PopoverDirective={mounted(xe,$e){attachEvents(xe,$e)},updated(xe,$e){attachEvents(xe,$e)}};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:xe=>xe>=0&&xe<=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:xe=>`${xe}%`}}),_hoisted_1$n=["aria-valuenow"],_hoisted_2$f={viewBox:"0 0 100 100"},_hoisted_3$6=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$3=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$2={key:0},__default__$E=defineComponent({name:"ElProgress"}),_sfc_main$P=defineComponent({...__default__$E,props:progressProps,setup(xe){const $e=xe,Ie={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},Fe=useNamespace("progress"),Ue=computed(()=>({width:`${$e.percentage}%`,animationDuration:`${$e.duration}s`,background:xn($e.percentage)})),qe=computed(()=>($e.strokeWidth/$e.width*100).toFixed(1)),At=computed(()=>["circle","dashboard"].includes($e.type)?Number.parseInt(`${50-Number.parseFloat(qe.value)/2}`,10):0),Dt=computed(()=>{const En=At.value,Tn=$e.type==="dashboard";return`
          M 50 50
          m 0 ${Tn?"":"-"}${En}
          a ${En} ${En} 0 1 1 0 ${Tn?"-":""}${En*2}
          a ${En} ${En} 0 1 1 0 ${Tn?"":"-"}${En*2}
          `}),Lt=computed(()=>2*Math.PI*At.value),jt=computed(()=>$e.type==="dashboard"?.75:1),hn=computed(()=>`${-1*Lt.value*(1-jt.value)/2}px`),vn=computed(()=>({strokeDasharray:`${Lt.value*jt.value}px, ${Lt.value}px`,strokeDashoffset:hn.value})),bn=computed(()=>({strokeDasharray:`${Lt.value*jt.value*($e.percentage/100)}px, ${Lt.value}px`,strokeDashoffset:hn.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),_n=computed(()=>{let En;return $e.color?En=xn($e.percentage):En=Ie[$e.status]||Ie.default,En}),wn=computed(()=>$e.status==="warning"?warning_filled_default:$e.type==="line"?$e.status==="success"?circle_check_default:circle_close_default:$e.status==="success"?check_default:close_default),kn=computed(()=>$e.type==="line"?12+$e.strokeWidth*.4:$e.width*.111111+2),Cn=computed(()=>$e.format($e.percentage));function Sn(En){const Tn=100/En.length;return En.map(($n,Pn)=>isString$4($n)?{color:$n,percentage:(Pn+1)*Tn}:$n).sort(($n,Pn)=>$n.percentage-Pn.percentage)}const xn=En=>{var Tn;const{color:An}=$e;if(isFunction$5(An))return An(En);if(isString$4(An))return An;{const $n=Sn(An);for(const Pn of $n)if(Pn.percentage>En)return Pn.color;return(Tn=$n[$n.length-1])==null?void 0:Tn.color}};return(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(En.type),unref(Fe).is(En.status),{[unref(Fe).m("without-text")]:!En.showText,[unref(Fe).m("text-inside")]:En.textInside}]),role:"progressbar","aria-valuenow":En.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[En.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(Fe).be("bar","outer")),style:normalizeStyle$1({height:`${En.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(Fe).be("bar","inner"),{[unref(Fe).bem("bar","inner","indeterminate")]:En.indeterminate},{[unref(Fe).bem("bar","inner","striped")]:En.striped},{[unref(Fe).bem("bar","inner","striped-flow")]:En.stripedFlow}]),style:normalizeStyle$1(unref(Ue))},[(En.showText||En.$slots.default)&&En.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).be("bar","innerText"))},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Cn)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).b("circle")),style:normalizeStyle$1({height:`${En.width}px`,width:`${En.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$f,[createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","track")),d:unref(Dt),stroke:`var(${unref(Fe).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),fill:"none",style:normalizeStyle$1(unref(vn))},null,14,_hoisted_3$6),createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","path")),d:unref(Dt),stroke:unref(_n),fill:"none",opacity:En.percentage?1:0,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),style:normalizeStyle$1(unref(bn))},null,14,_hoisted_4$3)]))],6)),(En.showText||En.$slots.default)&&!En.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(Fe).e("text")),style:normalizeStyle$1({fontSize:`${unref(kn)}px`})},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[En.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$2,toDisplayString(unref(Cn)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$n))}});var Progress=_export_sfc(_sfc_main$P,[["__file","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},...useAriaProps(["ariaLabel"])}),rateEmits={[CHANGE_EVENT]:xe=>isNumber(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber(xe)},_hoisted_1$m=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$e=["onMousemove","onClick"],__default__$D=defineComponent({name:"ElRate"}),_sfc_main$O=defineComponent({...__default__$D,props:rateProps,emits:rateEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;function Ue(Dn,Hn){const Fn=Gn=>isObject$8(Gn),zn=Object.keys(Hn).map(Gn=>+Gn).filter(Gn=>{const Wn=Hn[Gn];return(Fn(Wn)?Wn.excluded:!1)?Dn<Gn:Dn<=Gn}).sort((Gn,Wn)=>Gn-Wn),jn=Hn[zn[0]];return Fn(jn)&&jn.value||jn}const qe=inject(formContextKey,void 0),At=inject(formItemContextKey,void 0),Dt=useFormSize(),Lt=useNamespace("rate"),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(Fe.modelValue),bn=ref(-1),_n=ref(!0),wn=computed(()=>[Lt.b(),Lt.m(Dt.value)]),kn=computed(()=>Fe.disabled||(qe==null?void 0:qe.disabled)),Cn=computed(()=>Lt.cssVarBlock({"void-color":Fe.voidColor,"disabled-void-color":Fe.disabledVoidColor,"fill-color":Tn.value})),Sn=computed(()=>{let Dn="";return Fe.showScore?Dn=Fe.scoreTemplate.replace(/\{\s*value\s*\}/,kn.value?`${Fe.modelValue}`:`${vn.value}`):Fe.showText&&(Dn=Fe.texts[Math.ceil(vn.value)-1]),Dn}),xn=computed(()=>Fe.modelValue*100-Math.floor(Fe.modelValue)*100),En=computed(()=>isArray$6(Fe.colors)?{[Fe.lowThreshold]:Fe.colors[0],[Fe.highThreshold]:{value:Fe.colors[1],excluded:!0},[Fe.max]:Fe.colors[2]}:Fe.colors),Tn=computed(()=>{const Dn=Ue(vn.value,En.value);return isObject$8(Dn)?"":Dn}),An=computed(()=>{let Dn="";return kn.value?Dn=`${xn.value}%`:Fe.allowHalf&&(Dn="50%"),{color:Tn.value,width:Dn}}),$n=computed(()=>{let Dn=isArray$6(Fe.icons)?[...Fe.icons]:{...Fe.icons};return Dn=markRaw(Dn),isArray$6(Dn)?{[Fe.lowThreshold]:Dn[0],[Fe.highThreshold]:{value:Dn[1],excluded:!0},[Fe.max]:Dn[2]}:Dn}),Pn=computed(()=>Ue(Fe.modelValue,$n.value)),Nn=computed(()=>kn.value?isString$4(Fe.disabledVoidIcon)?Fe.disabledVoidIcon:markRaw(Fe.disabledVoidIcon):isString$4(Fe.voidIcon)?Fe.voidIcon:markRaw(Fe.voidIcon)),Mn=computed(()=>Ue(vn.value,$n.value));function In(Dn){const Hn=kn.value&&xn.value>0&&Dn-1<Fe.modelValue&&Dn>Fe.modelValue,Fn=Fe.allowHalf&&_n.value&&Dn-.5<=vn.value&&Dn>vn.value;return Hn||Fn}function On(Dn){Fe.clearable&&Dn===Fe.modelValue&&(Dn=0),Ie(UPDATE_MODEL_EVENT,Dn),Fe.modelValue!==Dn&&Ie("change",Dn)}function Rn(Dn){kn.value||(Fe.allowHalf&&_n.value?On(vn.value):On(Dn))}function Bn(Dn){if(kn.value)return;let Hn=vn.value;const Fn=Dn.code;return Fn===EVENT_CODE.up||Fn===EVENT_CODE.right?(Fe.allowHalf?Hn+=.5:Hn+=1,Dn.stopPropagation(),Dn.preventDefault()):(Fn===EVENT_CODE.left||Fn===EVENT_CODE.down)&&(Fe.allowHalf?Hn-=.5:Hn-=1,Dn.stopPropagation(),Dn.preventDefault()),Hn=Hn<0?0:Hn,Hn=Hn>Fe.max?Fe.max:Hn,Ie(UPDATE_MODEL_EVENT,Hn),Ie("change",Hn),Hn}function Vn(Dn,Hn){if(!kn.value){if(Fe.allowHalf&&Hn){let Fn=Hn.target;hasClass(Fn,Lt.e("item"))&&(Fn=Fn.querySelector(`.${Lt.e("icon")}`)),(Fn.clientWidth===0||hasClass(Fn,Lt.e("decimal")))&&(Fn=Fn.parentNode),_n.value=Hn.offsetX*2<=Fn.clientWidth,vn.value=_n.value?Dn-.5:Dn}else vn.value=Dn;bn.value=Dn}}function Ln(){kn.value||(Fe.allowHalf&&(_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)),vn.value=Fe.modelValue,bn.value=-1)}return watch(()=>Fe.modelValue,Dn=>{vn.value=Dn,_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)}),Fe.modelValue||Ie(UPDATE_MODEL_EVENT,0),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-rate",ref:"https://element-plus.org/en-US/component/rate.html"},computed(()=>!!Fe.label)),$e({setCurrentValue:Vn,resetCurrentValue:Ln}),(Dn,Hn)=>{var Fn;return openBlock(),createElementBlock("div",{id:unref(jt),class:normalizeClass([unref(wn),unref(Lt).is("disabled",unref(kn))]),role:"slider","aria-label":unref(hn)?void 0:Dn.label||Dn.ariaLabel||"rating","aria-labelledby":unref(hn)?(Fn=unref(At))==null?void 0:Fn.labelId:void 0,"aria-valuenow":vn.value,"aria-valuetext":unref(Sn)||void 0,"aria-valuemin":"0","aria-valuemax":Dn.max,tabindex:"0",style:normalizeStyle$1(unref(Cn)),onKeydown:Bn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dn.max,(zn,jn)=>(openBlock(),createElementBlock("span",{key:jn,class:normalizeClass(unref(Lt).e("item")),onMousemove:Gn=>Vn(zn,Gn),onMouseleave:Ln,onClick:Gn=>Rn(zn)},[createVNode$1(unref(ElIcon),{class:normalizeClass([unref(Lt).e("icon"),{hover:bn.value===zn},unref(Lt).is("active",zn<=vn.value)])},{default:withCtx(()=>[In(zn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Mn)),null,null,512)),[[vShow,zn<=vn.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),null,null,512)),[[vShow,!(zn<=vn.value)]])],64)),In(zn)?(openBlock(),createElementBlock(Fragment,{key:1},[(openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),{class:normalizeClass([unref(Lt).em("decimal","box")])},null,8,["class"])),createVNode$1(unref(ElIcon),{style:normalizeStyle$1(unref(An)),class:normalizeClass([unref(Lt).e("icon"),unref(Lt).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Pn))))]),_:1},8,["style","class"])],64)):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$e))),128)),Dn.showText||Dn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Lt).e("text")),style:normalizeStyle$1({color:Dn.textColor})},toDisplayString(unref(Sn)),7)):createCommentVNode("v-if",!0)],46,_hoisted_1$m)}}});var Rate=_export_sfc(_sfc_main$O,[["__file","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__$C=defineComponent({name:"ElResult"}),_sfc_main$N=defineComponent({...__default__$C,props:resultProps,setup(xe){const $e=xe,Ie=useNamespace("result"),Fe=computed(()=>{const Ue=$e.icon,qe=Ue&&IconMap[Ue]?IconMap[Ue]:"icon-info",At=IconComponentMap[qe]||IconComponentMap["icon-info"];return{class:qe,component:At}});return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("icon"))},[renderSlot(Ue.$slots,"icon",{},()=>[unref(Fe).component?(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).component),{key:0,class:normalizeClass(unref(Fe).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(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(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(_sfc_main$N,[["__file","result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function xe($e){return typeof $e=="number"&&$e!==$e};function isEqual(xe,$e){return!!(xe===$e||safeIsNaN(xe)&&safeIsNaN($e))}function areInputsEqual(xe,$e){if(xe.length!==$e.length)return!1;for(var Ie=0;Ie<xe.length;Ie++)if(!isEqual(xe[Ie],$e[Ie]))return!1;return!0}function memoizeOne(xe,$e){$e===void 0&&($e=areInputsEqual);var Ie=null;function Fe(){for(var Ue=[],qe=0;qe<arguments.length;qe++)Ue[qe]=arguments[qe];if(Ie&&Ie.lastThis===this&&$e(Ue,Ie.lastArgs))return Ie.lastResult;var At=xe.apply(this,Ue);return Ie={lastResult:At,lastArgs:Ue,lastThis:this},At}return Fe.clear=function(){Ie=null},Fe}const useCache=()=>{const $e=getCurrentInstance().proxy.$props;return computed(()=>{const Ie=(Fe,Ue,qe)=>({});return $e.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="horizontal",VERTICAL="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL]:"left",[VERTICAL]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL]:"deltaX",[VERTICAL]:"deltaY"},useWheel=({atEndEdge:xe,atStartEdge:$e,layout:Ie},Fe)=>{let Ue,qe=0;const At=Lt=>Lt<0&&$e.value||Lt>0&&xe.value;return{hasReachedEdge:At,onWheel:Lt=>{cAF(Ue);const jt=Lt[LayoutKeys[Ie.value]];At(qe)&&At(qe+jt)||(qe+=jt,isFirefox()||Lt.preventDefault(),Ue=rAF(()=>{Fe(qe),qe=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=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=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL}),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,estimatedItemSize,layout,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,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:xe,rowIndex:$e})=>`${$e}:${xe}`},rowCache:cache,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,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(xe,$e)=>xe<$e?FORWARD:BACKWARD,isHorizontal=xe=>xe===LTR||xe===RTL||xe===HORIZONTAL,isRTL=xe=>xe===RTL;let cachedRTLResult=null;function getRTLOffsetType(xe=!1){if(cachedRTLResult===null||xe){const $e=document.createElement("div"),Ie=$e.style;Ie.width="50px",Ie.height="50px",Ie.overflow="scroll",Ie.direction="rtl";const Fe=document.createElement("div"),Ue=Fe.style;return Ue.width="100px",Ue.height="100px",$e.appendChild(Fe),document.body.appendChild($e),$e.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:($e.scrollLeft=1,$e.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild($e),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:xe,size:$e,bar:Ie},Fe){const Ue={},qe=`translate${Ie.axis}(${xe}px)`;return Ue[Ie.size]=$e,Ue.transform=qe,Ue.msTransform=qe,Ue.webkitTransform=qe,Fe==="horizontal"?Ue.height="100%":Ue.width="100%",Ue}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(xe,{emit:$e}){const Ie=computed(()=>xe.startGap+xe.endGap),Fe=useNamespace("virtual-scrollbar"),Ue=useNamespace("scrollbar"),qe=ref(),At=ref();let Dt=null,Lt=null;const jt=reactive({isDragging:!1,traveled:0}),hn=computed(()=>BAR_MAP[xe.layout]),vn=computed(()=>xe.clientSize-unref(Ie)),bn=computed(()=>({position:"absolute",width:`${HORIZONTAL===xe.layout?vn.value:xe.scrollbarSize}px`,height:`${HORIZONTAL===xe.layout?xe.scrollbarSize:vn.value}px`,[ScrollbarDirKey[xe.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),_n=computed(()=>{const $n=xe.ratio,Pn=xe.clientSize;if($n>=100)return Number.POSITIVE_INFINITY;if($n>=50)return $n*Pn/100;const Nn=Pn/3;return Math.floor(Math.min(Math.max($n*Pn,SCROLLBAR_MIN_SIZE),Nn))}),wn=computed(()=>{if(!Number.isFinite(_n.value))return{display:"none"};const $n=`${_n.value}px`;return renderThumbStyle({bar:hn.value,size:$n,move:jt.traveled},xe.layout)}),kn=computed(()=>Math.floor(xe.clientSize-_n.value-unref(Ie))),Cn=()=>{window.addEventListener("mousemove",Tn),window.addEventListener("mouseup",En);const $n=unref(At);$n&&(Lt=document.onselectstart,document.onselectstart=()=>!1,$n.addEventListener("touchmove",Tn),$n.addEventListener("touchend",En))},Sn=()=>{window.removeEventListener("mousemove",Tn),window.removeEventListener("mouseup",En),document.onselectstart=Lt,Lt=null;const $n=unref(At);$n&&($n.removeEventListener("touchmove",Tn),$n.removeEventListener("touchend",En))},xn=$n=>{$n.stopImmediatePropagation(),!($n.ctrlKey||[1,2].includes($n.button))&&(jt.isDragging=!0,jt[hn.value.axis]=$n.currentTarget[hn.value.offset]-($n[hn.value.client]-$n.currentTarget.getBoundingClientRect()[hn.value.direction]),$e("start-move"),Cn())},En=()=>{jt.isDragging=!1,jt[hn.value.axis]=0,$e("stop-move"),Sn()},Tn=$n=>{const{isDragging:Pn}=jt;if(!Pn||!At.value||!qe.value)return;const Nn=jt[hn.value.axis];if(!Nn)return;cAF(Dt);const Mn=(qe.value.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client])*-1,In=At.value[hn.value.offset]-Nn,On=Mn-In;Dt=rAF(()=>{jt.traveled=Math.max(xe.startGap,Math.min(On,kn.value)),$e("scroll",On,kn.value)})},An=$n=>{const Pn=Math.abs($n.target.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client]),Nn=At.value[hn.value.offset]/2,Mn=Pn-Nn;jt.traveled=Math.max(0,Math.min(Mn,kn.value)),$e("scroll",Mn,kn.value)};return watch(()=>xe.scrollFrom,$n=>{jt.isDragging||(jt.traveled=Math.ceil($n*kn.value))}),onBeforeUnmount(()=>{Sn()}),()=>h$5("div",{role:"presentation",ref:qe,class:[Fe.b(),xe.class,(xe.alwaysOn||jt.isDragging)&&"always-on"],style:bn.value,onMousedown:withModifiers(An,["stop","prevent"]),onTouchstartPrevent:xn},h$5("div",{ref:At,class:Ue.e("thumb"),style:wn.value,onMousedown:xn},[]))}}),createList=({name:xe,getOffset:$e,getItemSize:Ie,getItemOffset:Fe,getEstimatedTotalSize:Ue,getStartIndexForOffset:qe,getStopIndexForStartIndex:At,initCache:Dt,clearCache:Lt,validateProps:jt})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(hn,{emit:vn,expose:bn}){jt(hn);const _n=getCurrentInstance(),wn=useNamespace("vl"),kn=ref(Dt(hn,_n)),Cn=useCache(),Sn=ref(),xn=ref(),En=ref(),Tn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber(hn.initScrollOffset)?hn.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:hn.scrollbarAlwaysOn}),An=computed(()=>{const{total:Xn,cache:er}=hn,{isScrolling:rr,scrollDir:Jn,scrollOffset:qn}=unref(Tn);if(Xn===0)return[0,0,0,0];const Yn=qe(hn,qn,unref(kn)),ar=At(hn,Yn,qn,unref(kn)),tr=!rr||Jn===BACKWARD?Math.max(1,er):1,or=!rr||Jn===FORWARD?Math.max(1,er):1;return[Math.max(0,Yn-tr),Math.max(0,Math.min(Xn-1,ar+or)),Yn,ar]}),$n=computed(()=>Ue(hn,unref(kn))),Pn=computed(()=>isHorizontal(hn.layout)),Nn=computed(()=>[{position:"relative",[`overflow-${Pn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:hn.direction,height:isNumber(hn.height)?`${hn.height}px`:hn.height,width:isNumber(hn.width)?`${hn.width}px`:hn.width},hn.style]),Mn=computed(()=>{const Xn=unref($n),er=unref(Pn);return{height:er?"100%":`${Xn}px`,pointerEvents:unref(Tn).isScrolling?"none":void 0,width:er?`${Xn}px`:"100%"}}),In=computed(()=>Pn.value?hn.width:hn.height),{onWheel:On}=useWheel({atStartEdge:computed(()=>Tn.value.scrollOffset<=0),atEndEdge:computed(()=>Tn.value.scrollOffset>=$n.value),layout:computed(()=>hn.layout)},Xn=>{var er,rr;(rr=(er=En.value).onMouseUp)==null||rr.call(er),Hn(Math.min(Tn.value.scrollOffset+Xn,$n.value-In.value))}),Rn=()=>{const{total:Xn}=hn;if(Xn>0){const[qn,Yn,ar,tr]=unref(An);vn(ITEM_RENDER_EVT,qn,Yn,ar,tr)}const{scrollDir:er,scrollOffset:rr,updateRequested:Jn}=unref(Tn);vn(SCROLL_EVT,er,rr,Jn)},Bn=Xn=>{const{clientHeight:er,scrollHeight:rr,scrollTop:Jn}=Xn.currentTarget,qn=unref(Tn);if(qn.scrollOffset===Jn)return;const Yn=Math.max(0,Math.min(Jn,rr-er));Tn.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,Yn),scrollOffset:Yn,updateRequested:!1},nextTick(jn)},Vn=Xn=>{const{clientWidth:er,scrollLeft:rr,scrollWidth:Jn}=Xn.currentTarget,qn=unref(Tn);if(qn.scrollOffset===rr)return;const{direction:Yn}=hn;let ar=rr;if(Yn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{ar=-rr;break}case RTL_OFFSET_POS_DESC:{ar=Jn-er-rr;break}}ar=Math.max(0,Math.min(ar,Jn-er)),Tn.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,ar),scrollOffset:ar,updateRequested:!1},nextTick(jn)},Ln=Xn=>{unref(Pn)?Vn(Xn):Bn(Xn),Rn()},Dn=(Xn,er)=>{const rr=($n.value-In.value)/er*Xn;Hn(Math.min($n.value-In.value,rr))},Hn=Xn=>{Xn=Math.max(Xn,0),Xn!==unref(Tn).scrollOffset&&(Tn.value={...unref(Tn),scrollOffset:Xn,scrollDir:getScrollDir(unref(Tn).scrollOffset,Xn),updateRequested:!0},nextTick(jn))},Fn=(Xn,er=AUTO_ALIGNMENT)=>{const{scrollOffset:rr}=unref(Tn);Xn=Math.max(0,Math.min(Xn,hn.total-1)),Hn($e(hn,Xn,er,rr,unref(kn)))},zn=Xn=>{const{direction:er,itemSize:rr,layout:Jn}=hn,qn=Cn.value(Lt&&rr,Lt&&Jn,Lt&&er);let Yn;if(hasOwn$1(qn,String(Xn)))Yn=qn[Xn];else{const ar=Fe(hn,Xn,unref(kn)),tr=Ie(hn,Xn,unref(kn)),or=unref(Pn),sr=er===RTL,Kn=or?ar:0;qn[Xn]=Yn={position:"absolute",left:sr?void 0:`${Kn}px`,right:sr?`${Kn}px`:void 0,top:or?0:`${ar}px`,height:or?"100%":`${tr}px`,width:or?`${tr}px`:"100%"}}return Yn},jn=()=>{Tn.value.isScrolling=!1,nextTick(()=>{Cn.value(-1,null,null)})},Gn=()=>{const Xn=Sn.value;Xn&&(Xn.scrollTop=0)};onMounted(()=>{if(!isClient)return;const{initScrollOffset:Xn}=hn,er=unref(Sn);isNumber(Xn)&&er&&(unref(Pn)?er.scrollLeft=Xn:er.scrollTop=Xn),Rn()}),onUpdated(()=>{const{direction:Xn,layout:er}=hn,{scrollOffset:rr,updateRequested:Jn}=unref(Tn),qn=unref(Sn);if(Jn&&qn)if(er===HORIZONTAL)if(Xn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{qn.scrollLeft=-rr;break}case RTL_OFFSET_POS_ASC:{qn.scrollLeft=rr;break}default:{const{clientWidth:Yn,scrollWidth:ar}=qn;qn.scrollLeft=ar-Yn-rr;break}}else qn.scrollLeft=rr;else qn.scrollTop=rr});const Wn={ns:wn,clientSize:In,estimatedTotalSize:$n,windowStyle:Nn,windowRef:Sn,innerRef:xn,innerStyle:Mn,itemsToRender:An,scrollbarRef:En,states:Tn,getItemStyle:zn,onScroll:Ln,onScrollbarScroll:Dn,onWheel:On,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn};return bn({windowRef:Sn,innerRef:xn,getItemStyleCache:Cn,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn,states:Tn}),Wn},render(hn){var vn;const{$slots:bn,className:_n,clientSize:wn,containerElement:kn,data:Cn,getItemStyle:Sn,innerElement:xn,itemsToRender:En,innerStyle:Tn,layout:An,total:$n,onScroll:Pn,onScrollbarScroll:Nn,onWheel:Mn,states:In,useIsScrolling:On,windowStyle:Rn,ns:Bn}=hn,[Vn,Ln]=En,Dn=resolveDynamicComponent(kn),Hn=resolveDynamicComponent(xn),Fn=[];if($n>0)for(let Wn=Vn;Wn<=Ln;Wn++)Fn.push((vn=bn.default)==null?void 0:vn.call(bn,{data:Cn,key:Wn,index:Wn,isScrolling:On?In.isScrolling:void 0,style:Sn(Wn)}));const zn=[h$5(Hn,{style:Tn,ref:"innerRef"},isString$4(Hn)?Fn:{default:()=>Fn})],jn=h$5(ScrollBar,{ref:"scrollbarRef",clientSize:wn,layout:An,onScroll:Nn,ratio:wn*100/this.estimatedTotalSize,scrollFrom:In.scrollOffset/(this.estimatedTotalSize-wn),total:$n}),Gn=h$5(Dn,{class:[Bn.e("window"),_n],style:Rn,onScroll:Pn,onWheel:Mn,ref:"windowRef",key:0},isString$4(Dn)?[zn]:{default:()=>[zn]});return h$5("div",{key:0,class:[Bn.e("wrapper"),In.scrollbarAlwaysOn?"always-on":""]},[Gn,jn])}}),FixedSizeList=createList({name:"ElFixedSizeList",getItemOffset:({itemSize:xe},$e)=>$e*xe,getItemSize:({itemSize:xe})=>xe,getEstimatedTotalSize:({total:xe,itemSize:$e})=>$e*xe,getOffset:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At,Dt)=>{const Lt=isHorizontal(Fe)?Ue:xe,jt=Math.max(0,$e*Ie-Lt),hn=Math.min(jt,qe*Ie),vn=Math.max(0,(qe+1)*Ie-Lt);switch(At===SMART_ALIGNMENT&&(Dt>=vn-Lt&&Dt<=hn+Lt?At=AUTO_ALIGNMENT:At=CENTERED_ALIGNMENT),At){case START_ALIGNMENT:return hn;case END_ALIGNMENT:return vn;case CENTERED_ALIGNMENT:{const bn=Math.round(vn+(hn-vn)/2);return bn<Math.ceil(Lt/2)?0:bn>jt+Math.floor(Lt/2)?jt:bn}case AUTO_ALIGNMENT:default:return Dt>=vn&&Dt<=hn?Dt:Dt<vn?vn:hn}},getStartIndexForOffset:({total:xe,itemSize:$e},Ie)=>Math.max(0,Math.min(xe-1,Math.floor(Ie/$e))),getStopIndexForStartIndex:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At)=>{const Dt=qe*Ie,Lt=isHorizontal(Fe)?Ue:xe,jt=Math.ceil((Lt+At-Dt)/Ie);return Math.max(0,Math.min($e-1,qe+jt-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(xe,$e,Ie)=>{const{itemSize:Fe}=xe,{items:Ue,lastVisitedIndex:qe}=Ie;if($e>qe){let At=0;if(qe>=0){const Dt=Ue[qe];At=Dt.offset+Dt.size}for(let Dt=qe+1;Dt<=$e;Dt++){const Lt=Fe(Dt);Ue[Dt]={offset:At,size:Lt},At+=Lt}Ie.lastVisitedIndex=$e}return Ue[$e]},findItem$1=(xe,$e,Ie)=>{const{items:Fe,lastVisitedIndex:Ue}=$e;return(Ue>0?Fe[Ue].offset:0)>=Ie?bs$1(xe,$e,0,Ue,Ie):es$1(xe,$e,Math.max(0,Ue),Ie)},bs$1=(xe,$e,Ie,Fe,Ue)=>{for(;Ie<=Fe;){const qe=Ie+Math.floor((Fe-Ie)/2),At=getItemFromCache$1(xe,qe,$e).offset;if(At===Ue)return qe;At<Ue?Ie=qe+1:At>Ue&&(Fe=qe-1)}return Math.max(0,Ie-1)},es$1=(xe,$e,Ie,Fe)=>{const{total:Ue}=xe;let qe=1;for(;Ie<Ue&&getItemFromCache$1(xe,Ie,$e).offset<Fe;)Ie+=qe,qe*=2;return bs$1(xe,$e,Math.floor(Ie/2),Math.min(Ie,Ue-1),Fe)},getEstimatedTotalSize=({total:xe},{items:$e,estimatedItemSize:Ie,lastVisitedIndex:Fe})=>{let Ue=0;if(Fe>=xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},DynamicSizeList=createList({name:"ElDynamicSizeList",getItemOffset:(xe,$e,Ie)=>getItemFromCache$1(xe,$e,Ie).offset,getItemSize:(xe,$e,{items:Ie})=>Ie[$e].size,getEstimatedTotalSize,getOffset:(xe,$e,Ie,Fe,Ue)=>{const{height:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:qe,jt=getItemFromCache$1(xe,$e,Ue),hn=getEstimatedTotalSize(xe,Ue),vn=Math.max(0,Math.min(hn-Lt,jt.offset)),bn=Math.max(0,jt.offset-Lt+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Lt&&Fe<=vn+Lt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:Fe<bn?bn:vn}},getStartIndexForOffset:(xe,$e,Ie)=>findItem$1(xe,Ie,$e),getStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{height:Ue,total:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:Ue,jt=getItemFromCache$1(xe,$e,Fe),hn=Ie+Lt;let vn=jt.offset+jt.size,bn=$e;for(;bn<qe-1&&vn<hn;)bn++,vn+=getItemFromCache$1(xe,bn,Fe).size;return bn},initCache({estimatedItemSize:xe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE},$e){const Ie={items:{},estimatedItemSize:xe,lastVisitedIndex:-1};return Ie.clearCacheAfterIndex=(Fe,Ue=!0)=>{var qe,At;Ie.lastVisitedIndex=Math.min(Ie.lastVisitedIndex,Fe-1),(qe=$e.exposed)==null||qe.getItemStyleCache(-1),Ue&&((At=$e.proxy)==null||At.$forceUpdate())},Ie},clearCache:!1,validateProps:({itemSize:xe})=>{}}),useGridWheel=({atXEndEdge:xe,atXStartEdge:$e,atYEndEdge:Ie,atYStartEdge:Fe},Ue)=>{let qe=null,At=0,Dt=0;const Lt=(hn,vn)=>{const bn=hn<=0&&$e.value||hn>=0&&xe.value,_n=vn<=0&&Fe.value||vn>=0&&Ie.value;return bn&&_n};return{hasReachedEdge:Lt,onWheel:hn=>{cAF(qe);let vn=hn.deltaX,bn=hn.deltaY;Math.abs(vn)>Math.abs(bn)?bn=0:vn=0,hn.shiftKey&&bn!==0&&(vn=bn,bn=0),!(Lt(At,Dt)&&Lt(At+vn,Dt+bn))&&(At+=vn,Dt+=bn,hn.preventDefault(),qe=rAF(()=>{Ue(At,Dt),At=0,Dt=0}))}}},createGrid=({name:xe,clearCache:$e,getColumnPosition:Ie,getColumnStartIndexForOffset:Fe,getColumnStopIndexForStartIndex:Ue,getEstimatedTotalHeight:qe,getEstimatedTotalWidth:At,getColumnOffset:Dt,getRowOffset:Lt,getRowPosition:jt,getRowStartIndexForOffset:hn,getRowStopIndexForStartIndex:vn,initCache:bn,injectToInstance:_n,validateProps:wn})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(kn,{emit:Cn,expose:Sn,slots:xn}){const En=useNamespace("vl");wn(kn);const Tn=getCurrentInstance(),An=ref(bn(kn,Tn));_n==null||_n(Tn,An);const $n=ref(),Pn=ref(),Nn=ref(),Mn=ref(null),In=ref({isScrolling:!1,scrollLeft:isNumber(kn.initScrollLeft)?kn.initScrollLeft:0,scrollTop:isNumber(kn.initScrollTop)?kn.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),On=useCache(),Rn=computed(()=>Number.parseInt(`${kn.height}`,10)),Bn=computed(()=>Number.parseInt(`${kn.width}`,10)),Vn=computed(()=>{const{totalColumn:ir,totalRow:kr,columnCache:Cr}=kn,{isScrolling:Er,xAxisScrollDir:dr,scrollLeft:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=Fe(kn,br,unref(An)),Pr=Ue(kn,_r,br,unref(An)),vr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-vr),Math.max(0,Math.min(ir-1,Pr+xr)),_r,Pr]}),Ln=computed(()=>{const{totalColumn:ir,totalRow:kr,rowCache:Cr}=kn,{isScrolling:Er,yAxisScrollDir:dr,scrollTop:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=hn(kn,br,unref(An)),Pr=vn(kn,_r,br,unref(An)),vr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-vr),Math.max(0,Math.min(kr-1,Pr+xr)),_r,Pr]}),Dn=computed(()=>qe(kn,unref(An))),Hn=computed(()=>At(kn,unref(An))),Fn=computed(()=>{var ir;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:kn.direction,height:isNumber(kn.height)?`${kn.height}px`:kn.height,width:isNumber(kn.width)?`${kn.width}px`:kn.width},(ir=kn.style)!=null?ir:{}]}),zn=computed(()=>{const ir=`${unref(Hn)}px`;return{height:`${unref(Dn)}px`,pointerEvents:unref(In).isScrolling?"none":void 0,width:ir}}),jn=()=>{const{totalColumn:ir,totalRow:kr}=kn;if(ir>0&&kr>0){const[Pr,vr,xr,Rr]=unref(Vn),[Hr,Jr,Gr,$r]=unref(Ln);Cn(ITEM_RENDER_EVT,{columnCacheStart:Pr,columnCacheEnd:vr,rowCacheStart:Hr,rowCacheEnd:Jr,columnVisibleStart:xr,columnVisibleEnd:Rr,rowVisibleStart:Gr,rowVisibleEnd:$r})}const{scrollLeft:Cr,scrollTop:Er,updateRequested:dr,xAxisScrollDir:br,yAxisScrollDir:_r}=unref(In);Cn(SCROLL_EVT,{xAxisScrollDir:br,scrollLeft:Cr,yAxisScrollDir:_r,scrollTop:Er,updateRequested:dr})},Gn=ir=>{const{clientHeight:kr,clientWidth:Cr,scrollHeight:Er,scrollLeft:dr,scrollTop:br,scrollWidth:_r}=ir.currentTarget,Pr=unref(In);if(Pr.scrollTop===br&&Pr.scrollLeft===dr)return;let vr=dr;if(isRTL(kn.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:vr=-dr;break;case RTL_OFFSET_POS_DESC:vr=_r-Cr-dr;break}In.value={...Pr,isScrolling:!0,scrollLeft:vr,scrollTop:Math.max(0,Math.min(br,Er-kr)),updateRequested:!0,xAxisScrollDir:getScrollDir(Pr.scrollLeft,vr),yAxisScrollDir:getScrollDir(Pr.scrollTop,br)},nextTick(()=>Yn()),ar(),jn()},Wn=(ir,kr)=>{const Cr=unref(Rn),Er=(Dn.value-Cr)/kr*ir;rr({scrollTop:Math.min(Dn.value-Cr,Er)})},Xn=(ir,kr)=>{const Cr=unref(Bn),Er=(Hn.value-Cr)/kr*ir;rr({scrollLeft:Math.min(Hn.value-Cr,Er)})},{onWheel:er}=useGridWheel({atXStartEdge:computed(()=>In.value.scrollLeft<=0),atXEndEdge:computed(()=>In.value.scrollLeft>=Hn.value-unref(Bn)),atYStartEdge:computed(()=>In.value.scrollTop<=0),atYEndEdge:computed(()=>In.value.scrollTop>=Dn.value-unref(Rn))},(ir,kr)=>{var Cr,Er,dr,br;(Er=(Cr=Pn.value)==null?void 0:Cr.onMouseUp)==null||Er.call(Cr),(br=(dr=Nn.value)==null?void 0:dr.onMouseUp)==null||br.call(dr);const _r=unref(Bn),Pr=unref(Rn);rr({scrollLeft:Math.min(In.value.scrollLeft+ir,Hn.value-_r),scrollTop:Math.min(In.value.scrollTop+kr,Dn.value-Pr)})}),rr=({scrollLeft:ir=In.value.scrollLeft,scrollTop:kr=In.value.scrollTop})=>{ir=Math.max(ir,0),kr=Math.max(kr,0);const Cr=unref(In);kr===Cr.scrollTop&&ir===Cr.scrollLeft||(In.value={...Cr,xAxisScrollDir:getScrollDir(Cr.scrollLeft,ir),yAxisScrollDir:getScrollDir(Cr.scrollTop,kr),scrollLeft:ir,scrollTop:kr,updateRequested:!0},nextTick(()=>Yn()),ar(),jn())},Jn=(ir=0,kr=0,Cr=AUTO_ALIGNMENT)=>{const Er=unref(In);kr=Math.max(0,Math.min(kr,kn.totalColumn-1)),ir=Math.max(0,Math.min(ir,kn.totalRow-1));const dr=getScrollBarWidth(En.namespace.value),br=unref(An),_r=qe(kn,br),Pr=At(kn,br);rr({scrollLeft:Dt(kn,kr,Cr,Er.scrollLeft,br,Pr>kn.width?dr:0),scrollTop:Lt(kn,ir,Cr,Er.scrollTop,br,_r>kn.height?dr:0)})},qn=(ir,kr)=>{const{columnWidth:Cr,direction:Er,rowHeight:dr}=kn,br=On.value($e&&Cr,$e&&dr,$e&&Er),_r=`${ir},${kr}`;if(hasOwn$1(br,_r))return br[_r];{const[,Pr]=Ie(kn,kr,unref(An)),vr=unref(An),xr=isRTL(Er),[Rr,Hr]=jt(kn,ir,vr),[Jr]=Ie(kn,kr,vr);return br[_r]={position:"absolute",left:xr?void 0:`${Pr}px`,right:xr?`${Pr}px`:void 0,top:`${Hr}px`,height:`${Rr}px`,width:`${Jr}px`},br[_r]}},Yn=()=>{In.value.isScrolling=!1,nextTick(()=>{On.value(-1,null,null)})};onMounted(()=>{if(!isClient)return;const{initScrollLeft:ir,initScrollTop:kr}=kn,Cr=unref($n);Cr&&(isNumber(ir)&&(Cr.scrollLeft=ir),isNumber(kr)&&(Cr.scrollTop=kr)),jn()});const ar=()=>{const{direction:ir}=kn,{scrollLeft:kr,scrollTop:Cr,updateRequested:Er}=unref(In),dr=unref($n);if(Er&&dr){if(ir===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{dr.scrollLeft=-kr;break}case RTL_OFFSET_POS_ASC:{dr.scrollLeft=kr;break}default:{const{clientWidth:br,scrollWidth:_r}=dr;dr.scrollLeft=_r-br-kr;break}}else dr.scrollLeft=Math.max(0,kr);dr.scrollTop=Math.max(0,Cr)}},{resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr}=Tn.proxy;Sn({windowRef:$n,innerRef:Mn,getItemStyleCache:On,scrollTo:rr,scrollToItem:Jn,states:In,resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr});const Kn=()=>{const{scrollbarAlwaysOn:ir,scrollbarStartGap:kr,scrollbarEndGap:Cr,totalColumn:Er,totalRow:dr}=kn,br=unref(Bn),_r=unref(Rn),Pr=unref(Hn),vr=unref(Dn),{scrollLeft:xr,scrollTop:Rr}=unref(In),Hr=h$5(ScrollBar,{ref:Pn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("horizontal"),clientSize:br,layout:"horizontal",onScroll:Xn,ratio:br*100/Pr,scrollFrom:xr/(Pr-br),total:dr,visible:!0}),Jr=h$5(ScrollBar,{ref:Nn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("vertical"),clientSize:_r,layout:"vertical",onScroll:Wn,ratio:_r*100/vr,scrollFrom:Rr/(vr-_r),total:Er,visible:!0});return{horizontalScrollbar:Hr,verticalScrollbar:Jr}},Zn=()=>{var ir;const[kr,Cr]=unref(Vn),[Er,dr]=unref(Ln),{data:br,totalColumn:_r,totalRow:Pr,useIsScrolling:vr,itemKey:xr}=kn,Rr=[];if(Pr>0&&_r>0)for(let Hr=Er;Hr<=dr;Hr++)for(let Jr=kr;Jr<=Cr;Jr++)Rr.push((ir=xn.default)==null?void 0:ir.call(xn,{columnIndex:Jr,data:br,key:xr({columnIndex:Jr,data:br,rowIndex:Hr}),isScrolling:vr?unref(In).isScrolling:void 0,style:qn(Hr,Jr),rowIndex:Hr}));return Rr},nr=()=>{const ir=resolveDynamicComponent(kn.innerElement),kr=Zn();return[h$5(ir,{style:unref(zn),ref:Mn},isString$4(ir)?kr:{default:()=>kr})]};return()=>{const ir=resolveDynamicComponent(kn.containerElement),{horizontalScrollbar:kr,verticalScrollbar:Cr}=Kn(),Er=nr();return h$5("div",{key:0,class:En.e("wrapper"),role:kn.role},[h$5(ir,{class:kn.className,style:unref(Fn),onScroll:Gn,onWheel:er,ref:$n},isString$4(ir)?Er:{default:()=>Er}),kr,Cr])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:xe},$e)=>[xe,$e*xe],getRowPosition:({rowHeight:xe},$e)=>[xe,$e*xe],getEstimatedTotalHeight:({totalRow:xe,rowHeight:$e})=>$e*xe,getEstimatedTotalWidth:({totalColumn:xe,columnWidth:$e})=>$e*xe,getColumnOffset:({totalColumn:xe,columnWidth:$e,width:Ie},Fe,Ue,qe,At,Dt)=>{Ie=Number(Ie);const Lt=Math.max(0,xe*$e-Ie),jt=Math.min(Lt,Fe*$e),hn=Math.max(0,Fe*$e-Ie+Dt+$e);switch(Ue==="smart"&&(qe>=hn-Ie&&qe<=jt+Ie?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vn<Math.ceil(Ie/2)?0:vn>Lt+Math.floor(Ie/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qe<hn?hn:jt}},getRowOffset:({rowHeight:xe,height:$e,totalRow:Ie},Fe,Ue,qe,At,Dt)=>{$e=Number($e);const Lt=Math.max(0,Ie*xe-$e),jt=Math.min(Lt,Fe*xe),hn=Math.max(0,Fe*xe-$e+Dt+xe);switch(Ue===SMART_ALIGNMENT&&(qe>=hn-$e&&qe<=jt+$e?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vn<Math.ceil($e/2)?0:vn>Lt+Math.floor($e/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qe<hn?hn:jt}},getColumnStartIndexForOffset:({columnWidth:xe,totalColumn:$e},Ie)=>Math.max(0,Math.min($e-1,Math.floor(Ie/xe))),getColumnStopIndexForStartIndex:({columnWidth:xe,totalColumn:$e,width:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},getRowStartIndexForOffset:({rowHeight:xe,totalRow:$e},Ie)=>Math.max(0,Math.min($e-1,Math.floor(Ie/xe))),getRowStopIndexForStartIndex:({rowHeight:xe,totalRow:$e,height:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),{max,min,floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(xe,$e,Ie,Fe)=>{const[Ue,qe,At]=[Ie[Fe],xe[ACCESS_SIZER_KEY_MAP[Fe]],Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];if($e>At){let Dt=0;if(At>=0){const Lt=Ue[At];Dt=Lt.offset+Lt.size}for(let Lt=At+1;Lt<=$e;Lt++){const jt=qe(Lt);Ue[Lt]={offset:Dt,size:jt},Dt+=jt}Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]=$e}return Ue[$e]},bs=(xe,$e,Ie,Fe,Ue,qe)=>{for(;Ie<=Fe;){const At=Ie+floor((Fe-Ie)/2),Dt=getItemFromCache(xe,At,$e,qe).offset;if(Dt===Ue)return At;Dt<Ue?Ie=At+1:Fe=At-1}return max(0,Ie-1)},es=(xe,$e,Ie,Fe,Ue)=>{const qe=Ue==="column"?xe.totalColumn:xe.totalRow;let At=1;for(;Ie<qe&&getItemFromCache(xe,Ie,$e,Ue).offset<Fe;)Ie+=At,At*=2;return bs(xe,$e,floor(Ie/2),min(Ie,qe-1),Fe,Ue)},findItem=(xe,$e,Ie,Fe)=>{const[Ue,qe]=[$e[Fe],$e[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];return(qe>0?Ue[qe].offset:0)>=Ie?bs(xe,$e,0,qe,Ie,Fe):es(xe,$e,max(0,qe),Ie,Fe)},getEstimatedTotalHeight=({totalRow:xe},{estimatedRowHeight:$e,lastVisitedRowIndex:Ie,row:Fe})=>{let Ue=0;if(Ie>=xe&&(Ie=xe-1),Ie>=0){const Dt=Fe[Ie];Ue=Dt.offset+Dt.size}const At=(xe-Ie-1)*$e;return Ue+At},getEstimatedTotalWidth=({totalColumn:xe},{column:$e,estimatedColumnWidth:Ie,lastVisitedColumnIndex:Fe})=>{let Ue=0;if(Fe>xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(xe,$e,Ie,Fe,Ue,qe,At)=>{const[Dt,Lt]=[qe==="row"?xe.height:xe.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[qe]],jt=getItemFromCache(xe,$e,Ue,qe),hn=Lt(xe,Ue),vn=max(0,min(hn-Dt,jt.offset)),bn=max(0,jt.offset-Dt+At+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Dt&&Fe<=vn+Dt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:bn>vn||Fe<bn?bn:vn}},DynamicSizeGrid=createGrid({name:"ElDynamicSizeGrid",getColumnPosition:(xe,$e,Ie)=>{const Fe=getItemFromCache(xe,$e,Ie,"column");return[Fe.size,Fe.offset]},getRowPosition:(xe,$e,Ie)=>{const Fe=getItemFromCache(xe,$e,Ie,"row");return[Fe.size,Fe.offset]},getColumnOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"column",qe),getRowOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"row",qe),getColumnStartIndexForOffset:(xe,$e,Ie)=>findItem(xe,Ie,$e,"column"),getColumnStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const Ue=getItemFromCache(xe,$e,Fe,"column"),qe=Ie+xe.width;let At=Ue.offset+Ue.size,Dt=$e;for(;Dt<xe.totalColumn-1&&At<qe;)Dt++,At+=getItemFromCache(xe,$e,Fe,"column").size;return Dt},getEstimatedTotalHeight,getEstimatedTotalWidth,getRowStartIndexForOffset:(xe,$e,Ie)=>findItem(xe,Ie,$e,"row"),getRowStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{totalRow:Ue,height:qe}=xe,At=getItemFromCache(xe,$e,Fe,"row"),Dt=Ie+qe;let Lt=At.size+At.offset,jt=$e;for(;jt<Ue-1&&Lt<Dt;)jt++,Lt+=getItemFromCache(xe,jt,Fe,"row").size;return jt},injectToInstance:(xe,$e)=>{const Ie=({columnIndex:qe,rowIndex:At},Dt)=>{var Lt,jt;Dt=isUndefined(Dt)?!0:Dt,isNumber(qe)&&($e.value.lastVisitedColumnIndex=Math.min($e.value.lastVisitedColumnIndex,qe-1)),isNumber(At)&&($e.value.lastVisitedRowIndex=Math.min($e.value.lastVisitedRowIndex,At-1)),(Lt=xe.exposed)==null||Lt.getItemStyleCache.value(-1,null,null),Dt&&((jt=xe.proxy)==null||jt.$forceUpdate())},Fe=(qe,At)=>{Ie({columnIndex:qe},At)},Ue=(qe,At)=>{Ie({rowIndex:qe},At)};Object.assign(xe.proxy,{resetAfterColumnIndex:Fe,resetAfterRowIndex:Ue,resetAfter:Ie})},initCache:({estimatedColumnWidth:xe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:$e=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:xe,estimatedRowHeight:$e,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),_sfc_main$M=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$7(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.be("group","title")),style:normalizeStyle$1([xe.style,{lineHeight:`${xe.height}px`}])},toDisplayString(xe.item.label),7)}var GroupItem=_export_sfc(_sfc_main$M,[["render",_sfc_render$7],["__file","group-item.vue"]]);function useOption(xe,{emit:$e}){return{hoverItem:()=>{xe.disabled||$e("hover",xe.index)},selectOptionClick:()=>{xe.disabled||$e("select",xe.item,xe.index)}}}const defaultProps$3={label:"label",value:"value",disabled:"disabled",options:"options"};function useProps(xe){const $e=computed(()=>({...defaultProps$3,...xe.props}));return{aliasProps:$e,getLabel:At=>get$1(At,$e.value.label),getValue:At=>get$1(At,$e.value.value),getDisabled:At=>get$1(At,$e.value.disabled),getOptions:At=>get$1(At,$e.value.options)}}const SelectProps=buildProps({allowCreate:Boolean,autocomplete:{type:definePropType(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},effect:{type:definePropType(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:definePropType([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:definePropType(Array),required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,size:useSizeProp,props:{type:definePropType(Object),default:()=>defaultProps$3},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tagType:{...tagProps.type,default:"info"},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),OptionProps=buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),selectV2InjectionKey=Symbol("ElSelectV2Injection"),_sfc_main$L=defineComponent({props:OptionProps,emits:["select","hover"],setup(xe,{emit:$e}){const Ie=inject(selectV2InjectionKey),Fe=useNamespace("select"),{hoverItem:Ue,selectOptionClick:qe}=useOption(xe,{emit:$e}),{getLabel:At}=useProps(Ie.props);return{ns:Fe,hoverItem:Ue,selectOptionClick:qe,getLabel:At}}}),_hoisted_1$l=["aria-selected"];function _sfc_render$6(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{"aria-selected":xe.selected,style:normalizeStyle$1(xe.style),class:normalizeClass([xe.ns.be("dropdown","item"),xe.ns.is("selected",xe.selected),xe.ns.is("disabled",xe.disabled),xe.ns.is("created",xe.created),xe.ns.is("hovering",xe.hovering)]),onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{item:xe.item,index:xe.index,disabled:xe.disabled},()=>[createBaseVNode("span",null,toDisplayString(xe.getLabel(xe.item)),1)])],46,_hoisted_1$l)}var OptionItem=_export_sfc(_sfc_main$L,[["render",_sfc_render$6],["__file","option-item.vue"]]),ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(xe,{slots:$e,expose:Ie}){const Fe=inject(selectV2InjectionKey),Ue=useNamespace("select"),{getLabel:qe,getValue:At,getDisabled:Dt}=useProps(Fe.props),Lt=ref([]),jt=ref(),hn=computed(()=>xe.data.length);watch(()=>hn.value,()=>{var On,Rn;(Rn=(On=Fe.tooltipRef.value).updatePopper)==null||Rn.call(On)});const vn=computed(()=>isUndefined(Fe.props.estimatedOptionHeight)),bn=computed(()=>vn.value?{itemSize:Fe.props.itemHeight}:{estimatedSize:Fe.props.estimatedOptionHeight,itemSize:On=>Lt.value[On]}),_n=(On=[],Rn)=>{const{props:{valueKey:Bn}}=Fe;return isObject$8(Rn)?On&&On.some(Vn=>toRaw(get$1(Vn,Bn))===get$1(Rn,Bn)):On.includes(Rn)},wn=(On,Rn)=>{if(isObject$8(Rn)){const{valueKey:Bn}=Fe.props;return get$1(On,Bn)===get$1(Rn,Bn)}else return On===Rn},kn=(On,Rn)=>Fe.props.multiple?_n(On,At(Rn)):wn(On,At(Rn)),Cn=(On,Rn)=>{const{disabled:Bn,multiple:Vn,multipleLimit:Ln}=Fe.props;return Bn||!Rn&&(Vn?Ln>0&&On.length>=Ln:!1)},Sn=On=>xe.hoveringIndex===On;Ie({listRef:jt,isSized:vn,isItemDisabled:Cn,isItemHovering:Sn,isItemSelected:kn,scrollToItem:On=>{const Rn=jt.value;Rn&&Rn.scrollToItem(On)},resetScrollTop:()=>{const On=jt.value;On&&On.resetScrollTop()}});const Tn=On=>{const{index:Rn,data:Bn,style:Vn}=On,Ln=unref(vn),{itemSize:Dn,estimatedSize:Hn}=unref(bn),{modelValue:Fn}=Fe.props,{onSelect:zn,onHover:jn}=Fe,Gn=Bn[Rn];if(Gn.type==="Group")return createVNode$1(GroupItem,{item:Gn,style:Vn,height:Ln?Dn:Hn},null);const Wn=kn(Fn,Gn),Xn=Cn(Fn,Wn),er=Sn(Rn);return createVNode$1(OptionItem,mergeProps(On,{selected:Wn,disabled:Dt(Gn)||Xn,created:!!Gn.created,hovering:er,item:Gn,onSelect:zn,onHover:jn}),{default:rr=>{var Jn;return((Jn=$e.default)==null?void 0:Jn.call($e,rr))||createVNode$1("span",null,[qe(Gn)])}})},{onKeyboardNavigate:An,onKeyboardSelect:$n}=Fe,Pn=()=>{An("forward")},Nn=()=>{An("backward")},Mn=()=>{Fe.expanded=!1},In=On=>{const{code:Rn}=On,{tab:Bn,esc:Vn,down:Ln,up:Dn,enter:Hn}=EVENT_CODE;switch(Rn!==Bn&&(On.preventDefault(),On.stopPropagation()),Rn){case Bn:case Vn:{Mn();break}case Ln:{Pn();break}case Dn:{Nn();break}case Hn:{$n();break}}};return()=>{var On,Rn,Bn,Vn;const{data:Ln,width:Dn}=xe,{height:Hn,multiple:Fn,scrollbarAlwaysOn:zn}=Fe.props,jn=unref(vn)?FixedSizeList:DynamicSizeList;return createVNode$1("div",{class:[Ue.b("dropdown"),Ue.is("multiple",Fn)],style:{width:`${Dn}px`}},[(On=$e.header)==null?void 0:On.call($e),((Rn=$e.loading)==null?void 0:Rn.call($e))||((Bn=$e.empty)==null?void 0:Bn.call($e))||createVNode$1(jn,mergeProps({ref:jt},unref(bn),{className:Ue.be("dropdown","list"),scrollbarAlwaysOn:zn,data:Ln,height:Hn,width:Dn,total:Ln.length,onKeydown:In}),{default:Gn=>createVNode$1(Tn,Gn,null)}),(Vn=$e.footer)==null?void 0:Vn.call($e)])}}});function useAllowCreate(xe,$e){const{aliasProps:Ie,getLabel:Fe,getValue:Ue}=useProps(xe),qe=ref(0),At=ref(null),Dt=computed(()=>xe.allowCreate&&xe.filterable);function Lt(_n){const wn=kn=>Fe(kn)===_n;return xe.options&&xe.options.some(wn)||$e.createdOptions.some(wn)}function jt(_n){Dt.value&&(xe.multiple&&_n.created?qe.value++:At.value=_n)}function hn(_n){if(Dt.value)if(_n&&_n.length>0){if(Lt(_n))return;const wn={[Ie.value.value]:_n,[Ie.value.label]:_n,created:!0,[Ie.value.disabled]:!1};$e.createdOptions.length>=qe.value?$e.createdOptions[qe.value]=wn:$e.createdOptions.push(wn)}else if(xe.multiple)$e.createdOptions.length=qe.value;else{const wn=At.value;$e.createdOptions.length=0,wn&&wn.created&&$e.createdOptions.push(wn)}}function vn(_n){if(!Dt.value||!_n||!_n.created||_n.created&&xe.reserveKeyword&&$e.inputValue===Fe(_n))return;const wn=$e.createdOptions.findIndex(kn=>Ue(kn)===Ue(_n));~wn&&($e.createdOptions.splice(wn,1),qe.value--)}function bn(){Dt.value&&($e.createdOptions.length=0,qe.value=0)}return{createNewOption:hn,removeNewOption:vn,selectNewOption:jt,clearAllNewOption:bn}}const MINIMUM_INPUT_WIDTH=11,useSelect$1=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useNamespace("select"),Ue=useNamespace("input"),{form:qe,formItem:At}=useFormItem(),{inputId:Dt}=useFormItemInputId(xe,{formItemContext:At}),{aliasProps:Lt,getLabel:jt,getValue:hn,getDisabled:vn,getOptions:bn}=useProps(xe),{valueOnClear:_n,isEmptyValue:wn}=useEmptyValues(xe),kn=reactive({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),Cn=ref(-1),Sn=ref(null),xn=ref(null),En=ref(null),Tn=ref(null),An=ref(null),$n=ref(null),Pn=ref(null),Nn=ref(null),Mn=ref(null),In=ref(null),On=ref(null),{wrapperRef:Rn,isFocused:Bn,handleFocus:Vn,handleBlur:Ln}=useFocusController(An,{afterFocus(){xe.automaticDropdown&&!Fn.value&&(Fn.value=!0,kn.menuVisibleOnFocus=!0)},beforeBlur(Ir){var Xr,to;return((Xr=En.value)==null?void 0:Xr.isFocusInsideContent(Ir))||((to=Tn.value)==null?void 0:to.isFocusInsideContent(Ir))},afterBlur(){Fn.value=!1,kn.menuVisibleOnFocus=!1}}),Dn=ref([]),Hn=ref([]),Fn=ref(!1),zn=computed(()=>xe.disabled||(qe==null?void 0:qe.disabled)),jn=computed(()=>{const Ir=Hn.value.length*xe.itemHeight;return Ir>xe.height?xe.height:Ir}),Gn=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!wn(xe.modelValue)),Wn=computed(()=>xe.clearable&&!zn.value&&kn.inputHovering&&Gn.value),Xn=computed(()=>xe.remote&&xe.filterable?"":arrow_down_default),er=computed(()=>Xn.value&&Fe.is("reverse",Fn.value)),rr=computed(()=>(At==null?void 0:At.validateState)||""),Jn=computed(()=>ValidateComponentsMap[rr.value]),qn=computed(()=>xe.remote?300:0),Yn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!kn.inputValue&&Dn.value.length===0?!1:xe.filterable&&kn.inputValue&&Dn.value.length>0&&Hn.value.length===0?xe.noMatchText||Ie("el.select.noMatch"):Dn.value.length===0?xe.noDataText||Ie("el.select.noData"):null),ar=Ir=>{const Xr=to=>{if(xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod))return!0;const oo=new RegExp(escapeStringRegexp(Ir),"i");return Ir?oo.test(jt(to)||""):!0};return xe.loading?[]:[...kn.createdOptions,...xe.options].reduce((to,oo)=>{const co=bn(oo);if(isArray$6(co)){const wo=co.filter(Xr);wo.length>0&&to.push({label:jt(oo),type:"Group"},...wo)}else(xe.remote||Xr(oo))&&to.push(oo);return to},[])},tr=()=>{Dn.value=ar(""),Hn.value=ar(kn.inputValue)},or=computed(()=>{const Ir=new Map;return Dn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),sr=computed(()=>{const Ir=new Map;return Hn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),Kn=computed(()=>Hn.value.every(Ir=>vn(Ir))),Zn=useFormSize(),nr=computed(()=>Zn.value==="small"?"small":"default"),lr=()=>{var Ir;Cn.value=((Ir=Sn.value)==null?void 0:Ir.offsetWidth)||200},ir=()=>{if(!xn.value)return 0;const Ir=window.getComputedStyle(xn.value);return Number.parseFloat(Ir.gap||"6px")},kr=computed(()=>{const Ir=ir();return{maxWidth:`${On.value&&xe.maxCollapseTags===1?kn.selectionWidth-kn.collapseItemWidth-Ir:kn.selectionWidth}px`}}),Cr=computed(()=>({maxWidth:`${kn.selectionWidth}px`})),Er=computed(()=>({width:`${Math.max(kn.calculatorWidth,MINIMUM_INPUT_WIDTH)}px`})),dr=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!kn.inputValue:xe.filterable?!kn.inputValue:!0),br=computed(()=>{var Ir;const Xr=(Ir=xe.placeholder)!=null?Ir:Ie("el.select.placeholder");return xe.multiple||!Gn.value?Xr:kn.selectedLabel}),_r=computed(()=>{var Ir,Xr;return(Xr=(Ir=En.value)==null?void 0:Ir.popperRef)==null?void 0:Xr.contentRef}),Pr=computed(()=>{if(xe.multiple){const Ir=xe.modelValue.length;if(xe.modelValue.length>0&&sr.value.has(xe.modelValue[Ir-1])){const{index:Xr}=sr.value.get(xe.modelValue[Ir-1]);return Xr}}else if(xe.modelValue&&sr.value.has(xe.modelValue)){const{index:Ir}=sr.value.get(xe.modelValue);return Ir}return-1}),vr=computed({get(){return Fn.value&&Yn.value!==!1},set(Ir){Fn.value=Ir}}),xr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(0,xe.maxCollapseTags):kn.cachedOptions:[]),Rr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(xe.maxCollapseTags):[]:[]),{createNewOption:Hr,removeNewOption:Jr,selectNewOption:Gr,clearAllNewOption:$r}=useAllowCreate(xe,kn),{handleCompositionStart:Br,handleCompositionUpdate:Tr,handleCompositionEnd:cr}=useInput(Ir=>xo(Ir)),Sr=()=>{zn.value||(kn.menuVisibleOnFocus?kn.menuVisibleOnFocus=!1:Fn.value=!Fn.value)},Dr=()=>{kn.inputValue.length>0&&!Fn.value&&(Fn.value=!0),Hr(kn.inputValue),Lr(kn.inputValue)},mr=debounce(Dr,qn.value),Lr=Ir=>{kn.previousQuery!==Ir&&(kn.previousQuery=Ir,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Ir):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Ir),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Hn.value.length?nextTick(zr):nextTick($o))},zr=()=>{const Ir=Hn.value.filter(oo=>!oo.disabled&&oo.type!=="Group"),Xr=Ir.find(oo=>oo.created),to=Ir[0];kn.hoveringIndex=Yr(Hn.value,Xr||to)},Vr=Ir=>{isEqual$1(xe.modelValue,Ir)||$e(CHANGE_EVENT,Ir)},Kr=Ir=>{$e(UPDATE_MODEL_EVENT,Ir),Vr(Ir),kn.previousValue=xe.multiple?String(Ir):Ir},Yr=(Ir=[],Xr)=>{if(!isObject$8(Xr))return Ir.indexOf(Xr);const to=xe.valueKey;let oo=-1;return Ir.some((co,wo)=>get$1(co,to)===get$1(Xr,to)?(oo=wo,!0):!1),oo},Ur=Ir=>isObject$8(Ir)?get$1(Ir,xe.valueKey):Ir,uo=()=>{lr()},go=()=>{kn.selectionWidth=xn.value.getBoundingClientRect().width},_o=()=>{kn.calculatorWidth=$n.value.getBoundingClientRect().width},Ao=()=>{kn.collapseItemWidth=On.value.getBoundingClientRect().width},ko=()=>{var Ir,Xr;(Xr=(Ir=En.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Do=()=>{var Ir,Xr;(Xr=(Ir=Tn.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Ro=Ir=>{if(xe.multiple){let Xr=xe.modelValue.slice();const to=Yr(Xr,hn(Ir));to>-1?(Xr=[...Xr.slice(0,to),...Xr.slice(to+1)],kn.cachedOptions.splice(to,1),Jr(Ir)):(xe.multipleLimit<=0||Xr.length<xe.multipleLimit)&&(Xr=[...Xr,hn(Ir)],kn.cachedOptions.push(Ir),Gr(Ir)),Kr(Xr),Ir.created&&Lr(""),xe.filterable&&!xe.reserveKeyword&&(kn.inputValue="")}else kn.selectedLabel=jt(Ir),Kr(hn(Ir)),Fn.value=!1,Gr(Ir),Ir.created||$r();Yo()},Ko=(Ir,Xr)=>{let to=xe.modelValue.slice();const oo=Yr(to,hn(Xr));oo>-1&&!zn.value&&(to=[...xe.modelValue.slice(0,oo),...xe.modelValue.slice(oo+1)],kn.cachedOptions.splice(oo,1),Kr(to),$e("remove-tag",hn(Xr)),Jr(Xr)),Ir.stopPropagation(),Yo()},Yo=()=>{var Ir;(Ir=An.value)==null||Ir.focus()},To=()=>{var Ir;(Ir=An.value)==null||Ir.blur()},So=()=>{kn.inputValue.length>0?kn.inputValue="":Fn.value=!1},yo=Ir=>findLastIndex(Ir,Xr=>!kn.cachedOptions.some(to=>hn(to)===Xr&&vn(to))),Zr=Ir=>{if(xe.multiple&&Ir.code!==EVENT_CODE.delete&&kn.inputValue.length===0){Ir.preventDefault();const Xr=xe.modelValue.slice(),to=yo(Xr);if(to<0)return;const oo=Xr[to];Xr.splice(to,1);const co=kn.cachedOptions[to];kn.cachedOptions.splice(to,1),Jr(co),Kr(Xr),$e("remove-tag",oo)}},Mr=()=>{let Ir;isArray$6(xe.modelValue)?Ir=[]:Ir=_n.value,xe.multiple?kn.cachedOptions=[]:kn.selectedLabel="",Fn.value=!1,Kr(Ir),$e("clear"),$r(),Yo()},Or=(Ir,Xr=void 0)=>{const to=Hn.value;if(!["forward","backward"].includes(Ir)||zn.value||to.length<=0||Kn.value)return;if(!Fn.value)return Sr();Xr===void 0&&(Xr=kn.hoveringIndex);let oo=-1;Ir==="forward"?(oo=Xr+1,oo>=to.length&&(oo=0)):Ir==="backward"&&(oo=Xr-1,(oo<0||oo>=to.length)&&(oo=to.length-1));const co=to[oo];if(vn(co)||co.type==="Group")return Or(Ir,oo);kn.hoveringIndex=oo,ro(oo)},yr=()=>{if(Fn.value)~kn.hoveringIndex&&Hn.value[kn.hoveringIndex]&&Ro(Hn.value[kn.hoveringIndex]);else return Sr()},so=Ir=>{kn.hoveringIndex=Ir},$o=()=>{xe.multiple?kn.hoveringIndex=Hn.value.findIndex(Ir=>xe.modelValue.some(Xr=>Ur(Xr)===Ur(Ir))):kn.hoveringIndex=Hn.value.findIndex(Ir=>Ur(Ir)===Ur(xe.modelValue))},xo=Ir=>{if(kn.inputValue=Ir.target.value,xe.remote)mr();else return Dr()},ho=Ir=>{if(Fn.value=!1,Bn.value){const Xr=new FocusEvent("focus",Ir);Ln(Xr)}},po=()=>(kn.isBeforeHide=!1,nextTick(()=>{~Pr.value&&ro(kn.hoveringIndex)})),ro=Ir=>{Mn.value.scrollToItem(Ir)},qr=Ir=>{const Xr=Ur(Ir);if(or.value.has(Xr)){const{option:to}=or.value.get(Xr);return to}return{[Lt.value.value]:Ir,[Lt.value.label]:Ir}},Qr=()=>{if(xe.multiple)if(xe.modelValue.length>0){kn.cachedOptions.length=0,kn.previousValue=xe.modelValue.toString();for(const Ir of xe.modelValue){const Xr=qr(Ir);kn.cachedOptions.push(Xr)}}else kn.cachedOptions=[],kn.previousValue=void 0;else if(Gn.value){kn.previousValue=xe.modelValue;const Ir=Hn.value,Xr=Ir.findIndex(to=>Ur(hn(to))===Ur(xe.modelValue));~Xr?kn.selectedLabel=jt(Ir[Xr]):kn.selectedLabel=Ur(xe.modelValue)}else kn.selectedLabel="",kn.previousValue=void 0;$r(),lr()};return watch(Fn,Ir=>{Ir?Lr(""):(kn.inputValue="",kn.previousQuery=null,kn.isBeforeHide=!0,Hr("")),$e("visible-change",Ir)}),watch(()=>xe.modelValue,(Ir,Xr)=>{var to;(!Ir||xe.multiple&&Ir.toString()!==kn.previousValue||!xe.multiple&&Ur(Ir)!==Ur(kn.previousValue))&&Qr(),!isEqual$1(Ir,Xr)&&xe.validateEvent&&((to=At==null?void 0:At.validate)==null||to.call(At,"change").catch(oo=>void 0))},{deep:!0}),watch(()=>xe.options,()=>{const Ir=An.value;(!Ir||Ir&&document.activeElement!==Ir)&&Qr()},{deep:!0,flush:"post"}),watch(()=>Hn.value,()=>Mn.value&&nextTick(Mn.value.resetScrollTop)),watchEffect(()=>{kn.isBeforeHide||tr()}),watchEffect(()=>{const{valueKey:Ir,options:Xr}=xe,to=new Map;for(const oo of Xr){const co=hn(oo);let wo=co;if(isObject$8(wo)&&(wo=get$1(co,Ir)),to.get(wo))break;to.set(wo,!0)}}),onMounted(()=>{Qr()}),useResizeObserver(Sn,uo),useResizeObserver(xn,go),useResizeObserver($n,_o),useResizeObserver(Mn,ko),useResizeObserver(Rn,ko),useResizeObserver(In,Do),useResizeObserver(On,Ao),{inputId:Dt,collapseTagSize:nr,currentPlaceholder:br,expanded:Fn,emptyText:Yn,popupHeight:jn,debounce:qn,allOptions:Dn,filteredOptions:Hn,iconComponent:Xn,iconReverse:er,tagStyle:kr,collapseTagStyle:Cr,inputStyle:Er,popperSize:Cn,dropdownMenuVisible:vr,hasModelValue:Gn,shouldShowPlaceholder:dr,selectDisabled:zn,selectSize:Zn,showClearBtn:Wn,states:kn,isFocused:Bn,nsSelect:Fe,nsInput:Ue,calculatorRef:$n,inputRef:An,menuRef:Mn,tagMenuRef:In,tooltipRef:En,tagTooltipRef:Tn,selectRef:Sn,wrapperRef:Rn,selectionRef:xn,prefixRef:Pn,suffixRef:Nn,collapseItemRef:On,popperRef:_r,validateState:rr,validateIcon:Jn,showTagList:xr,collapseTagList:Rr,debouncedOnInputChange:mr,deleteTag:Ko,getLabel:jt,getValue:hn,getDisabled:vn,getValueKey:Ur,handleBlur:Ln,handleClear:Mr,handleClickOutside:ho,handleDel:Zr,handleEsc:So,handleFocus:Vn,focus:Yo,blur:To,handleMenuEnter:po,handleResize:uo,resetSelectionWidth:go,resetCalculatorWidth:_o,updateTooltip:ko,updateTagTooltip:Do,updateOptions:tr,toggleMenu:Sr,scrollTo:ro,onInput:xo,onKeyboardNavigate:Or,onKeyboardSelect:yr,onSelect:Ro,onHover:so,handleCompositionStart:Br,handleCompositionEnd:cr,handleCompositionUpdate:Tr}},_sfc_main$K=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=computed(()=>{const{modelValue:Ue,multiple:qe}=xe,At=qe?[]:void 0;return isArray$6(Ue)?qe?Ue:At:qe?At:Ue}),Fe=useSelect$1(reactive({...toRefs(xe),modelValue:Ie}),$e);return provide(selectV2InjectionKey,{props:reactive({...toRefs(xe),height:Fe.popupHeight,modelValue:Ie}),tooltipRef:Fe.tooltipRef,onSelect:Fe.onSelect,onHover:Fe.onHover,onKeyboardNavigate:Fe.onKeyboardNavigate,onKeyboardSelect:Fe.onKeyboardSelect}),{...Fe,modelValue:Ie}}}),_hoisted_1$k=["id","autocomplete","aria-expanded","aria-label","disabled","readonly","name"],_hoisted_2$d=["textContent"],_hoisted_3$5={key:1};function _sfc_render$5(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-select-menu"),hn=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[14]||($e[14]=vn=>xe.states.inputHovering=!0),onMouseleave:$e[15]||($e[15]=vn=>xe.states.inputHovering=!1),onClick:$e[16]||($e[16]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,placement:xe.placement,pure:"",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[13]||($e[13]=vn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.modelValue.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.modelValue.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,style:normalizeStyle$1(xe.collapseTagStyle),"disable-transitions":""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.modelValue.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=vn=>xe.states.inputValue=vn),style:normalizeStyle$1(xe.inputStyle),autocomplete:xe.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":xe.expanded,"aria-label":xe.ariaLabel,class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,role:"combobox",readonly:!xe.filterable,spellcheck:"false",type:"text",name:xe.name,onFocus:$e[1]||($e[1]=(...vn)=>xe.handleFocus&&xe.handleFocus(...vn)),onBlur:$e[2]||($e[2]=(...vn)=>xe.handleBlur&&xe.handleBlur(...vn)),onInput:$e[3]||($e[3]=(...vn)=>xe.onInput&&xe.onInput(...vn)),onCompositionstart:$e[4]||($e[4]=(...vn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...vn)),onCompositionupdate:$e[5]||($e[5]=(...vn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...vn)),onCompositionend:$e[6]||($e[6]=(...vn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...vn)),onKeydown:[$e[7]||($e[7]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),$e[8]||($e[8]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),$e[9]||($e[9]=withKeys(withModifiers((...vn)=>xe.onKeyboardSelect&&xe.onKeyboardSelect(...vn),["stop","prevent"]),["enter"])),$e[10]||($e[10]=withKeys(withModifiers((...vn)=>xe.handleEsc&&xe.handleEsc(...vn),["stop","prevent"]),["esc"])),$e[11]||($e[11]=withKeys(withModifiers((...vn)=>xe.handleDel&&xe.handleDel(...vn),["stop"]),["delete"]))],onClick:$e[12]||($e[12]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["stop"]))},null,46,_hoisted_1$k),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$d)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$5,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent?withDirectives((openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])),[[vShow,!xe.showClearBtn]]):createCommentVNode("v-if",!0),xe.showClearBtn&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon")]),onClick:withModifiers(xe.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode$1(jt,{ref:"menuRef",data:xe.filteredOptions,width:xe.popperSize,"hovering-index":xe.states.hoveringIndex,"scrollbar-always-on":xe.scrollbarAlwaysOn},createSlots({default:withCtx(vn=>[renderSlot(xe.$slots,"default",normalizeProps(guardReactiveProps(vn)))]),_:2},[xe.$slots.header?{name:"header",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)])}:void 0,xe.$slots.loading&&xe.loading?{name:"loading",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)])}:xe.loading||xe.filteredOptions.length===0?{name:"empty",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)])}:void 0,xe.$slots.footer?{name:"footer",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","onBeforeShow"])],34)),[[hn,xe.handleClickOutside,xe.popperRef]])}var Select=_export_sfc(_sfc_main$K,[["render",_sfc_render$5],["__file","select.vue"]]);Select.install=xe=>{xe.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__$B=defineComponent({name:"ElSkeletonItem"}),_sfc_main$J=defineComponent({...__default__$B,props:skeletonItemProps,setup(xe){const $e=useNamespace("skeleton");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).e("item"),unref($e).e(Ie.variant)])},[Ie.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc(_sfc_main$J,[["__file","skeleton-item.vue"]]);const __default__$A=defineComponent({name:"ElSkeleton"}),_sfc_main$I=defineComponent({...__default__$A,props:skeletonProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("skeleton"),Ue=useThrottleRender(toRef(Ie,"loading"),Ie.throttle);return $e({uiLoading:Ue}),(qe,At)=>unref(Ue)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(Fe).b(),unref(Fe).is("animated",qe.animated)]},qe.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.count,Dt=>(openBlock(),createElementBlock(Fragment,{key:Dt},[qe.loading?renderSlot(qe.$slots,"template",{key:Dt},()=>[createVNode$1(SkeletonItem,{class:normalizeClass(unref(Fe).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.rows,Lt=>(openBlock(),createBlock(SkeletonItem,{key:Lt,class:normalizeClass([unref(Fe).e("paragraph"),unref(Fe).is("last",Lt===qe.rows&&qe.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(qe.$slots,"default",normalizeProps(mergeProps({key:1},qe.$attrs)))}});var Skeleton=_export_sfc(_sfc_main$I,[["__file","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},...useAriaProps(["ariaLabel"])}),isValidValue$1=xe=>isNumber(xe)||isArray$6(xe)&&xe.every(isNumber),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(xe,$e,Ie)=>{const Fe=ref();return onMounted(async()=>{xe.range?(Array.isArray(xe.modelValue)?($e.firstValue=Math.max(xe.min,xe.modelValue[0]),$e.secondValue=Math.min(xe.max,xe.modelValue[1])):($e.firstValue=xe.min,$e.secondValue=xe.max),$e.oldValue=[$e.firstValue,$e.secondValue]):(typeof xe.modelValue!="number"||Number.isNaN(xe.modelValue)?$e.firstValue=xe.min:$e.firstValue=Math.min(xe.max,Math.max(xe.min,xe.modelValue)),$e.oldValue=$e.firstValue),useEventListener(window,"resize",Ie),await nextTick(),Ie()}),{sliderWrapper:Fe}},useMarks=xe=>computed(()=>xe.marks?Object.keys(xe.marks).map(Number.parseFloat).sort((Ie,Fe)=>Ie-Fe).filter(Ie=>Ie<=xe.max&&Ie>=xe.min).map(Ie=>({point:Ie,position:(Ie-xe.min)*100/(xe.max-xe.min),mark:xe.marks[Ie]})):[]),useSlide=(xe,$e,Ie)=>{const{form:Fe,formItem:Ue}=useFormItem(),qe=shallowRef(),At=ref(),Dt=ref(),Lt={firstButton:At,secondButton:Dt},jt=computed(()=>xe.disabled||(Fe==null?void 0:Fe.disabled)||!1),hn=computed(()=>Math.min($e.firstValue,$e.secondValue)),vn=computed(()=>Math.max($e.firstValue,$e.secondValue)),bn=computed(()=>xe.range?`${100*(vn.value-hn.value)/(xe.max-xe.min)}%`:`${100*($e.firstValue-xe.min)/(xe.max-xe.min)}%`),_n=computed(()=>xe.range?`${100*(hn.value-xe.min)/(xe.max-xe.min)}%`:"0%"),wn=computed(()=>xe.vertical?{height:xe.height}:{}),kn=computed(()=>xe.vertical?{height:bn.value,bottom:_n.value}:{width:bn.value,left:_n.value}),Cn=()=>{qe.value&&($e.sliderSize=qe.value[`client${xe.vertical?"Height":"Width"}`])},Sn=On=>{const Rn=xe.min+On*(xe.max-xe.min)/100;if(!xe.range)return At;let Bn;return Math.abs(hn.value-Rn)<Math.abs(vn.value-Rn)?Bn=$e.firstValue<$e.secondValue?"firstButton":"secondButton":Bn=$e.firstValue>$e.secondValue?"firstButton":"secondButton",Lt[Bn]},xn=On=>{const Rn=Sn(On);return Rn.value.setPosition(On),Rn},En=On=>{$e.firstValue=On,An(xe.range?[hn.value,vn.value]:On)},Tn=On=>{$e.secondValue=On,xe.range&&An([hn.value,vn.value])},An=On=>{Ie(UPDATE_MODEL_EVENT,On),Ie(INPUT_EVENT,On)},$n=async()=>{await nextTick(),Ie(CHANGE_EVENT,xe.range?[hn.value,vn.value]:xe.modelValue)},Pn=On=>{var Rn,Bn,Vn,Ln,Dn,Hn;if(jt.value||$e.dragging)return;Cn();let Fn=0;if(xe.vertical){const zn=(Vn=(Bn=(Rn=On.touches)==null?void 0:Rn.item(0))==null?void 0:Bn.clientY)!=null?Vn:On.clientY;Fn=(qe.value.getBoundingClientRect().bottom-zn)/$e.sliderSize*100}else{const zn=(Hn=(Dn=(Ln=On.touches)==null?void 0:Ln.item(0))==null?void 0:Dn.clientX)!=null?Hn:On.clientX,jn=qe.value.getBoundingClientRect().left;Fn=(zn-jn)/$e.sliderSize*100}if(!(Fn<0||Fn>100))return xn(Fn)};return{elFormItem:Ue,slider:qe,firstButton:At,secondButton:Dt,sliderDisabled:jt,minValue:hn,maxValue:vn,runwayStyle:wn,barStyle:kn,resetSize:Cn,setPosition:xn,emitChange:$n,onSliderWrapperPrevent:On=>{var Rn,Bn;((Rn=Lt.firstButton.value)!=null&&Rn.dragging||(Bn=Lt.secondButton.value)!=null&&Bn.dragging)&&On.preventDefault()},onSliderClick:On=>{Pn(On)&&$n()},onSliderDown:async On=>{const Rn=Pn(On);Rn&&(await nextTick(),Rn.value.onButtonDown(On))},setFirstValue:En,setSecondValue:Tn}},{left,down,right,up,home,end,pageUp,pageDown}=EVENT_CODE,useTooltip=(xe,$e,Ie)=>{const Fe=ref(),Ue=ref(!1),qe=computed(()=>$e.value instanceof Function),At=computed(()=>qe.value&&$e.value(xe.modelValue)||xe.modelValue),Dt=debounce(()=>{Ie.value&&(Ue.value=!0)},50),Lt=debounce(()=>{Ie.value&&(Ue.value=!1)},50);return{tooltip:Fe,tooltipVisible:Ue,formatValue:At,displayTooltip:Dt,hideTooltip:Lt}},useSliderButton=(xe,$e,Ie)=>{const{disabled:Fe,min:Ue,max:qe,step:At,showTooltip:Dt,precision:Lt,sliderSize:jt,formatTooltip:hn,emitChange:vn,resetSize:bn,updateDragging:_n}=inject(sliderContextKey),{tooltip:wn,tooltipVisible:kn,formatValue:Cn,displayTooltip:Sn,hideTooltip:xn}=useTooltip(xe,hn,Dt),En=ref(),Tn=computed(()=>`${(xe.modelValue-Ue.value)/(qe.value-Ue.value)*100}%`),An=computed(()=>xe.vertical?{bottom:Tn.value}:{left:Tn.value}),$n=()=>{$e.hovering=!0,Sn()},Pn=()=>{$e.hovering=!1,$e.dragging||xn()},Nn=Wn=>{Fe.value||(Wn.preventDefault(),Fn(Wn),window.addEventListener("mousemove",zn),window.addEventListener("touchmove",zn),window.addEventListener("mouseup",jn),window.addEventListener("touchend",jn),window.addEventListener("contextmenu",jn),En.value.focus())},Mn=Wn=>{Fe.value||($e.newPosition=Number.parseFloat(Tn.value)+Wn/(qe.value-Ue.value)*100,Gn($e.newPosition),vn())},In=()=>{Mn(-At.value)},On=()=>{Mn(At.value)},Rn=()=>{Mn(-At.value*4)},Bn=()=>{Mn(At.value*4)},Vn=()=>{Fe.value||(Gn(0),vn())},Ln=()=>{Fe.value||(Gn(100),vn())},Dn=Wn=>{let Xn=!0;[left,down].includes(Wn.key)?In():[right,up].includes(Wn.key)?On():Wn.key===home?Vn():Wn.key===end?Ln():Wn.key===pageDown?Rn():Wn.key===pageUp?Bn():Xn=!1,Xn&&Wn.preventDefault()},Hn=Wn=>{let Xn,er;return Wn.type.startsWith("touch")?(er=Wn.touches[0].clientY,Xn=Wn.touches[0].clientX):(er=Wn.clientY,Xn=Wn.clientX),{clientX:Xn,clientY:er}},Fn=Wn=>{$e.dragging=!0,$e.isClick=!0;const{clientX:Xn,clientY:er}=Hn(Wn);xe.vertical?$e.startY=er:$e.startX=Xn,$e.startPosition=Number.parseFloat(Tn.value),$e.newPosition=$e.startPosition},zn=Wn=>{if($e.dragging){$e.isClick=!1,Sn(),bn();let Xn;const{clientX:er,clientY:rr}=Hn(Wn);xe.vertical?($e.currentY=rr,Xn=($e.startY-$e.currentY)/jt.value*100):($e.currentX=er,Xn=($e.currentX-$e.startX)/jt.value*100),$e.newPosition=$e.startPosition+Xn,Gn($e.newPosition)}},jn=()=>{$e.dragging&&(setTimeout(()=>{$e.dragging=!1,$e.hovering||xn(),$e.isClick||Gn($e.newPosition),vn()},0),window.removeEventListener("mousemove",zn),window.removeEventListener("touchmove",zn),window.removeEventListener("mouseup",jn),window.removeEventListener("touchend",jn),window.removeEventListener("contextmenu",jn))},Gn=async Wn=>{if(Wn===null||Number.isNaN(+Wn))return;Wn<0?Wn=0:Wn>100&&(Wn=100);const Xn=100/((qe.value-Ue.value)/At.value);let rr=Math.round(Wn/Xn)*Xn*(qe.value-Ue.value)*.01+Ue.value;rr=Number.parseFloat(rr.toFixed(Lt.value)),rr!==xe.modelValue&&Ie(UPDATE_MODEL_EVENT,rr),!$e.dragging&&xe.modelValue!==$e.oldValue&&($e.oldValue=xe.modelValue),await nextTick(),$e.dragging&&Sn(),wn.value.updatePopper()};return watch(()=>$e.dragging,Wn=>{_n(Wn)}),{disabled:Fe,button:En,tooltip:wn,tooltipVisible:kn,showTooltip:Dt,wrapperStyle:An,formatValue:Cn,handleMouseEnter:$n,handleMouseLeave:Pn,onButtonDown:Nn,onKeyDown:Dn,setPosition:Gn}},useStops=(xe,$e,Ie,Fe)=>({stops:computed(()=>{if(!xe.showStops||xe.min>xe.max)return[];if(xe.step===0)return[];const At=(xe.max-xe.min)/xe.step,Dt=100*xe.step/(xe.max-xe.min),Lt=Array.from({length:At-1}).map((jt,hn)=>(hn+1)*Dt);return xe.range?Lt.filter(jt=>jt<100*(Ie.value-xe.min)/(xe.max-xe.min)||jt>100*(Fe.value-xe.min)/(xe.max-xe.min)):Lt.filter(jt=>jt>100*($e.firstValue-xe.min)/(xe.max-xe.min))}),getStopStyle:At=>xe.vertical?{bottom:`${At}%`}:{left:`${At}%`}}),useWatch=(xe,$e,Ie,Fe,Ue,qe)=>{const At=jt=>{Ue(UPDATE_MODEL_EVENT,jt),Ue(INPUT_EVENT,jt)},Dt=()=>xe.range?![Ie.value,Fe.value].every((jt,hn)=>jt===$e.oldValue[hn]):xe.modelValue!==$e.oldValue,Lt=()=>{var jt,hn;xe.min>xe.max&&throwError("Slider","min should not be greater than max.");const vn=xe.modelValue;xe.range&&Array.isArray(vn)?vn[1]<xe.min?At([xe.min,xe.min]):vn[0]>xe.max?At([xe.max,xe.max]):vn[0]<xe.min?At([xe.min,vn[1]]):vn[1]>xe.max?At([vn[0],xe.max]):($e.firstValue=vn[0],$e.secondValue=vn[1],Dt()&&(xe.validateEvent&&((jt=qe==null?void 0:qe.validate)==null||jt.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn.slice())):!xe.range&&typeof vn=="number"&&!Number.isNaN(vn)&&(vn<xe.min?At(xe.min):vn>xe.max?At(xe.max):($e.firstValue=vn,Dt()&&(xe.validateEvent&&((hn=qe==null?void 0:qe.validate)==null||hn.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn)))};Lt(),watch(()=>$e.dragging,jt=>{jt||Lt()}),watch(()=>xe.modelValue,(jt,hn)=>{$e.dragging||Array.isArray(jt)&&Array.isArray(hn)&&jt.every((vn,bn)=>vn===hn[bn])&&$e.firstValue===jt[0]&&$e.secondValue===jt[1]||Lt()},{deep:!0}),watch(()=>[xe.min,xe.max],()=>{Lt()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:xe=>isNumber(xe)},_hoisted_1$j=["tabindex"],__default__$z=defineComponent({name:"ElSliderButton"}),_sfc_main$H=defineComponent({...__default__$z,props:sliderButtonProps,emits:sliderButtonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),qe=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:Fe.modelValue}),{disabled:At,button:Dt,tooltip:Lt,showTooltip:jt,tooltipVisible:hn,wrapperStyle:vn,formatValue:bn,handleMouseEnter:_n,handleMouseLeave:wn,onButtonDown:kn,onKeyDown:Cn,setPosition:Sn}=useSliderButton(Fe,qe,Ie),{hovering:xn,dragging:En}=toRefs(qe);return $e({onButtonDown:kn,onKeyDown:Cn,setPosition:Sn,hovering:xn,dragging:En}),(Tn,An)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:Dt,class:normalizeClass([unref(Ue).e("button-wrapper"),{hover:unref(xn),dragging:unref(En)}]),style:normalizeStyle$1(unref(vn)),tabindex:unref(At)?-1:0,onMouseenter:An[0]||(An[0]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onMouseleave:An[1]||(An[1]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onMousedown:An[2]||(An[2]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onTouchstart:An[3]||(An[3]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onFocus:An[4]||(An[4]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onBlur:An[5]||(An[5]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onKeydown:An[6]||(An[6]=(...$n)=>unref(Cn)&&unref(Cn)(...$n))},[createVNode$1(unref(ElTooltip),{ref_key:"tooltip",ref:Lt,visible:unref(hn),placement:Tn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Tn.tooltipClass,disabled:!unref(jt),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(bn)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(Ue).e("button"),{hover:unref(xn),dragging:unref(En)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$j))}});var SliderButton=_export_sfc(_sfc_main$H,[["__file","button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(xe){const $e=useNamespace("slider"),Ie=computed(()=>isString$4(xe.mark)?xe.mark:xe.mark.label),Fe=computed(()=>isString$4(xe.mark)?void 0:xe.mark.style);return()=>h$5("div",{class:$e.e("marks-text"),style:Fe.value},Ie.value)}});const _hoisted_1$i=["id","role","aria-label","aria-labelledby"],_hoisted_2$c={key:1},__default__$y=defineComponent({name:"ElSlider"}),_sfc_main$G=defineComponent({...__default__$y,props:sliderProps,emits:sliderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),{t:qe}=useLocale(),At=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:Dt,slider:Lt,firstButton:jt,secondButton:hn,sliderDisabled:vn,minValue:bn,maxValue:_n,runwayStyle:wn,barStyle:kn,resetSize:Cn,emitChange:Sn,onSliderWrapperPrevent:xn,onSliderClick:En,onSliderDown:Tn,setFirstValue:An,setSecondValue:$n}=useSlide(Fe,At,Ie),{stops:Pn,getStopStyle:Nn}=useStops(Fe,At,bn,_n),{inputId:Mn,isLabeledByFormItem:In}=useFormItemInputId(Fe,{formItemContext:Dt}),On=useFormSize(),Rn=computed(()=>Fe.inputSize||On.value),Bn=computed(()=>Fe.label||Fe.ariaLabel||qe("el.slider.defaultLabel",{min:Fe.min,max:Fe.max})),Vn=computed(()=>Fe.range?Fe.rangeStartLabel||qe("el.slider.defaultRangeStartLabel"):Bn.value),Ln=computed(()=>Fe.formatValueText?Fe.formatValueText(Wn.value):`${Wn.value}`),Dn=computed(()=>Fe.rangeEndLabel||qe("el.slider.defaultRangeEndLabel")),Hn=computed(()=>Fe.formatValueText?Fe.formatValueText(Xn.value):`${Xn.value}`),Fn=computed(()=>[Ue.b(),Ue.m(On.value),Ue.is("vertical",Fe.vertical),{[Ue.m("with-input")]:Fe.showInput}]),zn=useMarks(Fe);useWatch(Fe,At,bn,_n,Ie,Dt);const jn=computed(()=>{const Jn=[Fe.min,Fe.max,Fe.step].map(qn=>{const Yn=`${qn}`.split(".")[1];return Yn?Yn.length:0});return Math.max.apply(null,Jn)}),{sliderWrapper:Gn}=useLifecycle(Fe,At,Cn),{firstValue:Wn,secondValue:Xn,sliderSize:er}=toRefs(At),rr=Jn=>{At.dragging=Jn};return provide(sliderContextKey,{...toRefs(Fe),sliderSize:er,disabled:vn,precision:jn,emitChange:Sn,resetSize:Cn,updateDragging:rr}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-slider",ref:"https://element-plus.org/en-US/component/slider.html"},computed(()=>!!Fe.label)),$e({onSliderClick:En}),(Jn,qn)=>{var Yn,ar;return openBlock(),createElementBlock("div",{id:Jn.range?unref(Mn):void 0,ref_key:"sliderWrapper",ref:Gn,class:normalizeClass(unref(Fn)),role:Jn.range?"group":void 0,"aria-label":Jn.range&&!unref(In)?unref(Bn):void 0,"aria-labelledby":Jn.range&&unref(In)?(Yn=unref(Dt))==null?void 0:Yn.labelId:void 0,onTouchstart:qn[2]||(qn[2]=(...tr)=>unref(xn)&&unref(xn)(...tr)),onTouchmove:qn[3]||(qn[3]=(...tr)=>unref(xn)&&unref(xn)(...tr))},[createBaseVNode("div",{ref_key:"slider",ref:Lt,class:normalizeClass([unref(Ue).e("runway"),{"show-input":Jn.showInput&&!Jn.range},unref(Ue).is("disabled",unref(vn))]),style:normalizeStyle$1(unref(wn)),onMousedown:qn[0]||(qn[0]=(...tr)=>unref(Tn)&&unref(Tn)(...tr)),onTouchstart:qn[1]||(qn[1]=(...tr)=>unref(Tn)&&unref(Tn)(...tr))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("bar")),style:normalizeStyle$1(unref(kn))},null,6),createVNode$1(SliderButton,{id:Jn.range?void 0:unref(Mn),ref_key:"firstButton",ref:jt,"model-value":unref(Wn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":Jn.range||!unref(In)?unref(Vn):void 0,"aria-labelledby":!Jn.range&&unref(In)?(ar=unref(Dt))==null?void 0:ar.labelId:void 0,"aria-valuemin":Jn.min,"aria-valuemax":Jn.range?unref(Xn):Jn.max,"aria-valuenow":unref(Wn),"aria-valuetext":unref(Ln),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref(An)},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"]),Jn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:hn,"model-value":unref(Xn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":unref(Dn),"aria-valuemin":unref(Wn),"aria-valuemax":Jn.max,"aria-valuenow":unref(Xn),"aria-valuetext":unref(Hn),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref($n)},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),Jn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Pn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,class:normalizeClass(unref(Ue).e("stop")),style:normalizeStyle$1(unref(Nn)(tr))},null,6))),128))])):createCommentVNode("v-if",!0),unref(zn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(zn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,style:normalizeStyle$1(unref(Nn)(tr.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(zn),(tr,or)=>(openBlock(),createBlock(unref(SliderMarker),{key:or,mark:tr.mark,style:normalizeStyle$1(unref(Nn)(tr.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Jn.showInput&&!Jn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Wn),class:normalizeClass(unref(Ue).e("input")),step:Jn.step,disabled:unref(vn),controls:Jn.showInputControls,min:Jn.min,max:Jn.max,debounce:Jn.debounce,size:unref(Rn),"onUpdate:modelValue":unref(An),onChange:unref(Sn)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$i)}}});var Slider=_export_sfc(_sfc_main$G,[["__file","slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(xe,{slots:$e}){const Ie=useNamespace("space"),Fe=computed(()=>`${xe.prefixCls||Ie.b()}__item`);return()=>h$5("div",{class:Fe.value},renderSlot($e,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(xe){const $e=useNamespace("space"),Ie=computed(()=>[$e.b(),$e.m(xe.direction),xe.class]),Fe=ref(0),Ue=ref(0),qe=computed(()=>{const Dt=xe.wrap||xe.fill?{flexWrap:"wrap"}:{},Lt={alignItems:xe.alignment},jt={rowGap:`${Ue.value}px`,columnGap:`${Fe.value}px`};return[Dt,Lt,jt,xe.style]}),At=computed(()=>xe.fill?{flexGrow:1,minWidth:`${xe.fillRatio}%`}:{});return watchEffect(()=>{const{size:Dt="small",wrap:Lt,direction:jt,fill:hn}=xe;if(isArray$6(Dt)){const[vn=0,bn=0]=Dt;Fe.value=vn,Ue.value=bn}else{let vn;isNumber(Dt)?vn=Dt:vn=SIZE_MAP[Dt||"small"]||SIZE_MAP.small,(Lt||hn)&&jt==="horizontal"?Fe.value=Ue.value=vn:jt==="horizontal"?(Fe.value=vn,Ue.value=0):(Ue.value=vn,Fe.value=0)}}),{classes:Ie,containerStyle:qe,itemStyle:At}}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:xe=>isVNode(xe)||isNumber(xe)||isString$4(xe)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:xe=>isNumber(xe)||isArray$6(xe)&&xe.length===2&&xe.every(isNumber)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(xe,{slots:$e}){const{classes:Ie,containerStyle:Fe,itemStyle:Ue}=useSpace(xe);function qe(At,Dt="",Lt=[]){const{prefixCls:jt}=xe;return At.forEach((hn,vn)=>{isFragment(hn)?isArray$6(hn.children)&&hn.children.forEach((bn,_n)=>{isFragment(bn)&&isArray$6(bn.children)?qe(bn.children,`${Dt+_n}-`,Lt):Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`nested-${Dt+_n}`},{default:()=>[bn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(hn)&&Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`LoopKey${Dt+vn}`},{default:()=>[hn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),Lt}return()=>{var At;const{spacer:Dt,direction:Lt}=xe,jt=renderSlot($e,"default",{key:0},()=>[]);if(((At=jt.children)!=null?At:[]).length===0)return null;if(isArray$6(jt.children)){let hn=qe(jt.children);if(Dt){const vn=hn.length-1;hn=hn.reduce((bn,_n,wn)=>{const kn=[...bn,_n];return wn!==vn&&kn.push(createVNode$1("span",{style:[Ue.value,Lt==="vertical"?"width: 100%":null],key:wn},[isVNode(Dt)?Dt:createTextVNode(Dt,PatchFlags.TEXT)],PatchFlags.STYLE)),kn},[])}return createVNode$1("div",{class:Ie.value,style:Fe.value},hn,PatchFlags.STYLE|PatchFlags.CLASS)}return jt.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__$x=defineComponent({name:"ElStatistic"}),_sfc_main$F=defineComponent({...__default__$x,props:statisticProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("statistic"),Ue=computed(()=>{const{value:qe,formatter:At,precision:Dt,decimalSeparator:Lt,groupSeparator:jt}=Ie;if(isFunction$5(At))return At(qe);if(!isNumber(qe))return qe;let[hn,vn=""]=String(qe).split(".");return vn=vn.padEnd(Dt,"0").slice(0,Dt>0?Dt:0),hn=hn.replace(/\B(?=(\d{3})+(?!\d))/g,jt),[hn,vn].join(vn?Lt:"")});return $e({displayValue:Ue}),(qe,At)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[qe.$slots.title||qe.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("head"))},[renderSlot(qe.$slots,"title",{},()=>[createTextVNode(toDisplayString(qe.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content"))},[qe.$slots.prefix||qe.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("prefix"))},[renderSlot(qe.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("number")),style:normalizeStyle$1(qe.valueStyle)},toDisplayString(unref(Ue)),7),qe.$slots.suffix||qe.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).e("suffix"))},[renderSlot(qe.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc(_sfc_main$F,[["__file","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]:xe=>isNumber(xe)},timeUnits=[["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=xe=>isNumber(xe)?new Date(xe).getTime():xe.valueOf(),formatTime$1=(xe,$e)=>{let Ie=xe;const Fe=/\[([^\]]*)]/g;return timeUnits.reduce((qe,[At,Dt])=>{const Lt=new RegExp(`${At}+(?![^\\[\\]]*\\])`,"g");if(Lt.test(qe)){const jt=Math.floor(Ie/Dt);return Ie-=jt*Dt,qe.replace(Lt,hn=>String(jt).padStart(hn.length,"0"))}return qe},$e).replace(Fe,"$1")},__default__$w=defineComponent({name:"ElCountdown"}),_sfc_main$E=defineComponent({...__default__$w,props:countdownProps,emits:countdownEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;let Ue;const qe=ref(getTime(Fe.value)-Date.now()),At=computed(()=>formatTime$1(qe.value,Fe.format)),Dt=hn=>formatTime$1(hn,Fe.format),Lt=()=>{Ue&&(cAF(Ue),Ue=void 0)},jt=()=>{const hn=getTime(Fe.value),vn=()=>{let bn=hn-Date.now();Ie("change",bn),bn<=0?(bn=0,Lt(),Ie("finish")):Ue=rAF(vn),qe.value=bn};Ue=rAF(vn)};return watch(()=>[Fe.value,Fe.format],()=>{Lt(),jt()},{immediate:!0}),onBeforeUnmount(()=>{Lt()}),$e({displayValue:At}),(hn,vn)=>(openBlock(),createBlock(unref(ElStatistic),{value:qe.value,title:hn.title,prefix:hn.prefix,suffix:hn.suffix,"value-style":hn.valueStyle,formatter:Dt},createSlots({_:2},[renderList(hn.$slots,(bn,_n)=>({name:_n,fn:withCtx(()=>[renderSlot(hn.$slots,_n)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc(_sfc_main$E,[["__file","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]:(xe,$e)=>[xe,$e].every(isNumber)},__default__$v=defineComponent({name:"ElSteps"}),_sfc_main$D=defineComponent({...__default__$v,props:stepsProps,emits:stepsEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("steps"),{children:Ue,addChild:qe,removeChild:At}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(Ue,()=>{Ue.value.forEach((Dt,Lt)=>{Dt.setIndex(Lt)})}),provide("ElSteps",{props:Ie,steps:Ue,addStep:qe,removeStep:At}),watch(()=>Ie.active,(Dt,Lt)=>{$e(CHANGE_EVENT,Dt,Lt)}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(Dt.simple?"simple":Dt.direction)])},[renderSlot(Dt.$slots,"default")],2))}});var Steps=_export_sfc(_sfc_main$D,[["__file","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__$u=defineComponent({name:"ElStep"}),_sfc_main$C=defineComponent({...__default__$u,props:stepProps,setup(xe){const $e=xe,Ie=useNamespace("step"),Fe=ref(-1),Ue=ref({}),qe=ref(""),At=inject("ElSteps"),Dt=getCurrentInstance();onMounted(()=>{watch([()=>At.props.active,()=>At.props.processStatus,()=>At.props.finishStatus],([$n])=>{Tn($n)},{immediate:!0})}),onBeforeUnmount(()=>{At.removeStep(An.uid)});const Lt=computed(()=>$e.status||qe.value),jt=computed(()=>{const $n=At.steps.value[Fe.value-1];return $n?$n.currentStatus:"wait"}),hn=computed(()=>At.props.alignCenter),vn=computed(()=>At.props.direction==="vertical"),bn=computed(()=>At.props.simple),_n=computed(()=>At.steps.value.length),wn=computed(()=>{var $n;return(($n=At.steps.value[_n.value-1])==null?void 0:$n.uid)===(Dt==null?void 0:Dt.uid)}),kn=computed(()=>bn.value?"":At.props.space),Cn=computed(()=>[Ie.b(),Ie.is(bn.value?"simple":At.props.direction),Ie.is("flex",wn.value&&!kn.value&&!hn.value),Ie.is("center",hn.value&&!vn.value&&!bn.value)]),Sn=computed(()=>{const $n={flexBasis:isNumber(kn.value)?`${kn.value}px`:kn.value?kn.value:`${100/(_n.value-(hn.value?0:1))}%`};return vn.value||wn.value&&($n.maxWidth=`${100/_n.value}%`),$n}),xn=$n=>{Fe.value=$n},En=$n=>{const Pn=$n==="wait",Nn={transitionDelay:`${Pn?"-":""}${150*Fe.value}ms`},Mn=$n===At.props.processStatus||Pn?0:100;Nn.borderWidth=Mn&&!bn.value?"1px":0,Nn[At.props.direction==="vertical"?"height":"width"]=`${Mn}%`,Ue.value=Nn},Tn=$n=>{$n>Fe.value?qe.value=At.props.finishStatus:$n===Fe.value&&jt.value!=="error"?qe.value=At.props.processStatus:qe.value="wait";const Pn=At.steps.value[Fe.value-1];Pn&&Pn.calcProgress(qe.value)},An=reactive({uid:Dt.uid,currentStatus:Lt,setIndex:xn,calcProgress:En});return At.addStep(An),($n,Pn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(Sn)),class:normalizeClass(unref(Cn))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(Ie).e("head"),unref(Ie).is(unref(Lt))])},[unref(bn)?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($n.icon||$n.$slots.icon?"icon":"text")])},[renderSlot($n.$slots,"icon",{},()=>[$n.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ie).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($n.icon)))]),_:1},8,["class"])):unref(Lt)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):unref(Lt)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])):unref(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(Ie).e("icon-inner"))},toDisplayString(Fe.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(Lt))])},[renderSlot($n.$slots,"title",{},()=>[createTextVNode(toDisplayString($n.title),1)])],2),unref(bn)?(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(Lt))])},[renderSlot($n.$slots,"description",{},()=>[createTextVNode(toDisplayString($n.description),1)])],2))],2)],6))}});var Step=_export_sfc(_sfc_main$C,[["__file","item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},label:{type:String,default:void 0},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber(xe),[INPUT_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber(xe)},_hoisted_1$h=["onClick"],_hoisted_2$b=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$4=["aria-hidden"],_hoisted_4$2=["aria-hidden"],_hoisted_5$1=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$t=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$B=defineComponent({...__default__$t,props:switchProps,emits:switchEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{formItem:Ue}=useFormItem(),qe=useFormSize(),At=useNamespace("switch"),{inputId:Dt}=useFormItemInputId(Fe,{formItemContext:Ue}),Lt=useFormDisabled(computed(()=>Fe.loading)),jt=ref(Fe.modelValue!==!1),hn=ref(),vn=ref(),bn=computed(()=>[At.b(),At.m(qe.value),At.is("disabled",Lt.value),At.is("checked",Sn.value)]),_n=computed(()=>[At.e("label"),At.em("label","left"),At.is("active",!Sn.value)]),wn=computed(()=>[At.e("label"),At.em("label","right"),At.is("active",Sn.value)]),kn=computed(()=>({width:addUnit(Fe.width)}));watch(()=>Fe.modelValue,()=>{jt.value=!0});const Cn=computed(()=>jt.value?Fe.modelValue:!1),Sn=computed(()=>Cn.value===Fe.activeValue);[Fe.activeValue,Fe.inactiveValue].includes(Cn.value)||(Ie(UPDATE_MODEL_EVENT,Fe.inactiveValue),Ie(CHANGE_EVENT,Fe.inactiveValue),Ie(INPUT_EVENT,Fe.inactiveValue)),watch(Sn,An=>{var $n;hn.value.checked=An,Fe.validateEvent&&(($n=Ue==null?void 0:Ue.validate)==null||$n.call(Ue,"change").catch(Pn=>void 0))});const xn=()=>{const An=Sn.value?Fe.inactiveValue:Fe.activeValue;Ie(UPDATE_MODEL_EVENT,An),Ie(CHANGE_EVENT,An),Ie(INPUT_EVENT,An),nextTick(()=>{hn.value.checked=Sn.value})},En=()=>{if(Lt.value)return;const{beforeChange:An}=Fe;if(!An){xn();return}const $n=An();[isPromise($n),isBoolean($n)].includes(!0)||throwError(COMPONENT_NAME$8,"beforeChange must return type `Promise<boolean>` or `boolean`"),isPromise($n)?$n.then(Nn=>{Nn&&xn()}).catch(Nn=>{}):$n&&xn()},Tn=()=>{var An,$n;($n=(An=hn.value)==null?void 0:An.focus)==null||$n.call(An)};return onMounted(()=>{hn.value.checked=Sn.value}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-switch",ref:"https://element-plus.org/en-US/component/switch.html"},computed(()=>!!Fe.label)),$e({focus:Tn,checked:Sn}),(An,$n)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(bn)),onClick:withModifiers(En,["prevent"])},[createBaseVNode("input",{id:unref(Dt),ref_key:"input",ref:hn,class:normalizeClass(unref(At).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Sn),"aria-disabled":unref(Lt),"aria-label":An.label||An.ariaLabel,name:An.name,"true-value":An.activeValue,"false-value":An.inactiveValue,disabled:unref(Lt),tabindex:An.tabindex,onChange:xn,onKeydown:withKeys(En,["enter"])},null,42,_hoisted_2$b),!An.inlinePrompt&&(An.inactiveIcon||An.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(_n))},[An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.inactiveIcon&&An.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Sn)},toDisplayString(An.inactiveText),9,_hoisted_3$4)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:vn,class:normalizeClass(unref(At).e("core")),style:normalizeStyle$1(unref(kn))},[An.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(At).e("inner"))},[An.activeIcon||An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Sn)?An.activeIcon:An.inactiveIcon)))]),_:1},8,["class"])):An.activeText||An.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(At).is("text")),"aria-hidden":!unref(Sn)},toDisplayString(unref(Sn)?An.activeText:An.inactiveText),11,_hoisted_4$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(At).e("action"))},[An.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])):unref(Sn)?renderSlot(An.$slots,"active-action",{key:1},()=>[An.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeActionIcon)))]),_:1})):createCommentVNode("v-if",!0)]):unref(Sn)?createCommentVNode("v-if",!0):renderSlot(An.$slots,"inactive-action",{key:2},()=>[An.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)])],2)],6),!An.inlinePrompt&&(An.activeIcon||An.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(wn))},[An.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.activeIcon&&An.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Sn)},toDisplayString(An.activeText),9,_hoisted_5$1)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],10,_hoisted_1$h))}});var Switch=_export_sfc(_sfc_main$B,[["__file","switch.vue"]]);const ElSwitch=withInstall(Switch),getCell=function(xe){var $e;return($e=xe.target)==null?void 0:$e.closest("td")},orderBy=function(xe,$e,Ie,Fe,Ue){if(!$e&&!Fe&&(!Ue||Array.isArray(Ue)&&!Ue.length))return xe;typeof Ie=="string"?Ie=Ie==="descending"?-1:1:Ie=Ie&&Ie<0?-1:1;const qe=Fe?null:function(Dt,Lt){return Ue?(Array.isArray(Ue)||(Ue=[Ue]),Ue.map(jt=>typeof jt=="string"?get$1(Dt,jt):jt(Dt,Lt,xe))):($e!=="$key"&&isObject$8(Dt)&&"$value"in Dt&&(Dt=Dt.$value),[isObject$8(Dt)?get$1(Dt,$e):Dt])},At=function(Dt,Lt){if(Fe)return Fe(Dt.value,Lt.value);for(let jt=0,hn=Dt.key.length;jt<hn;jt++){if(Dt.key[jt]<Lt.key[jt])return-1;if(Dt.key[jt]>Lt.key[jt])return 1}return 0};return xe.map((Dt,Lt)=>({value:Dt,index:Lt,key:qe?qe(Dt,Lt):null})).sort((Dt,Lt)=>{let jt=At(Dt,Lt);return jt||(jt=Dt.index-Lt.index),jt*+Ie}).map(Dt=>Dt.value)},getColumnById=function(xe,$e){let Ie=null;return xe.columns.forEach(Fe=>{Fe.id===$e&&(Ie=Fe)}),Ie},getColumnByKey=function(xe,$e){let Ie=null;for(let Fe=0;Fe<xe.columns.length;Fe++){const Ue=xe.columns[Fe];if(Ue.columnKey===$e){Ie=Ue;break}}return Ie||throwError("ElTable",`No column matching with column-key: ${$e}`),Ie},getColumnByCell=function(xe,$e,Ie){const Fe=($e.className||"").match(new RegExp(`${Ie}-table_[^\\s]+`,"gm"));return Fe?getColumnById(xe,Fe[0]):null},getRowIdentity=(xe,$e)=>{if(!xe)throw new Error("Row is required when get row identity");if(typeof $e=="string"){if(!$e.includes("."))return`${xe[$e]}`;const Ie=$e.split(".");let Fe=xe;for(const Ue of Ie)Fe=Fe[Ue];return`${Fe}`}else if(typeof $e=="function")return $e.call(null,xe)},getKeysMap=function(xe,$e){const Ie={};return(xe||[]).forEach((Fe,Ue)=>{Ie[getRowIdentity(Fe,$e)]={row:Fe,index:Ue}}),Ie};function mergeOptions(xe,$e){const Ie={};let Fe;for(Fe in xe)Ie[Fe]=xe[Fe];for(Fe in $e)if(hasOwn$1($e,Fe)){const Ue=$e[Fe];typeof Ue<"u"&&(Ie[Fe]=Ue)}return Ie}function parseWidth(xe){return xe===""||xe!==void 0&&(xe=Number.parseInt(xe,10),Number.isNaN(xe)&&(xe="")),xe}function parseMinWidth(xe){return xe===""||xe!==void 0&&(xe=parseWidth(xe),Number.isNaN(xe)&&(xe=80)),xe}function parseHeight(xe){return typeof xe=="number"?xe:typeof xe=="string"?/^\d+(?:px)?$/.test(xe)?Number.parseInt(xe,10):xe:null}function compose(...xe){return xe.length===0?$e=>$e:xe.length===1?xe[0]:xe.reduce(($e,Ie)=>(...Fe)=>$e(Ie(...Fe)))}function toggleRowStatus(xe,$e,Ie){let Fe=!1;const Ue=xe.indexOf($e),qe=Ue!==-1,At=Dt=>{Dt==="add"?xe.push($e):xe.splice(Ue,1),Fe=!0,isArray$6($e.children)&&$e.children.forEach(Lt=>{toggleRowStatus(xe,Lt,Ie??!qe)})};return isBoolean(Ie)?Ie&&!qe?At("add"):!Ie&&qe&&At("remove"):At(qe?"remove":"add"),Fe}function walkTreeNode(xe,$e,Ie="children",Fe="hasChildren"){const Ue=At=>!(Array.isArray(At)&&At.length);function qe(At,Dt,Lt){$e(At,Dt,Lt),Dt.forEach(jt=>{if(jt[Fe]){$e(jt,null,Lt+1);return}const hn=jt[Ie];Ue(hn)||qe(jt,hn,Lt+1)})}xe.forEach(At=>{if(At[Fe]){$e(At,null,0);return}const Dt=At[Ie];Ue(Dt)||qe(At,Dt,0)})}let removePopper=null;function createTablePopper(xe,$e,Ie,Fe){if((removePopper==null?void 0:removePopper.trigger)===Ie)return;removePopper==null||removePopper();const Ue=Fe==null?void 0:Fe.refs.tableWrapper,qe=Ue==null?void 0:Ue.dataset.prefix,At={strategy:"fixed",...xe.popperOptions},Dt=createVNode$1(ElTooltip,{content:$e,virtualTriggering:!0,virtualRef:Ie,appendTo:Ue,placement:"top",transition:"none",offset:0,hideAfter:0,...xe,popperOptions:At,onHide:()=>{removePopper==null||removePopper()}});Dt.appContext={...Fe.appContext,...Fe};const Lt=document.createElement("div");render$2(Dt,Lt),Dt.component.exposed.onOpen();const jt=Ue==null?void 0:Ue.querySelector(`.${qe}-scrollbar__wrap`);removePopper=()=>{render$2(null,Lt),jt==null||jt.removeEventListener("scroll",removePopper),removePopper=null},removePopper.trigger=Ie,jt==null||jt.addEventListener("scroll",removePopper)}function getCurrentColumns(xe){return xe.children?flatMap(xe.children,getCurrentColumns):[xe]}function getColSpan(xe,$e){return xe+$e.colSpan}const isFixedColumn=(xe,$e,Ie,Fe)=>{let Ue=0,qe=xe;const At=Ie.states.columns.value;if(Fe){const Lt=getCurrentColumns(Fe[xe]);Ue=At.slice(0,At.indexOf(Lt[0])).reduce(getColSpan,0),qe=Ue+Lt.reduce(getColSpan,0)-1}else Ue=xe;let Dt;switch($e){case"left":qe<Ie.states.fixedLeafColumnsLength.value&&(Dt="left");break;case"right":Ue>=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right");break;default:qe<Ie.states.fixedLeafColumnsLength.value?Dt="left":Ue>=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right")}return Dt?{direction:Dt,start:Ue,after:qe}:{}},getFixedColumnsClass=(xe,$e,Ie,Fe,Ue,qe=0)=>{const At=[],{direction:Dt,start:Lt,after:jt}=isFixedColumn($e,Ie,Fe,Ue);if(Dt){const hn=Dt==="left";At.push(`${xe}-fixed-column--${Dt}`),hn&&jt+qe===Fe.states.fixedLeafColumnsLength.value-1?At.push("is-last-column"):!hn&&Lt-qe===Fe.states.columns.value.length-Fe.states.rightFixedLeafColumnsLength.value&&At.push("is-first-column")}return At};function getOffset(xe,$e){return xe+($e.realWidth===null||Number.isNaN($e.realWidth)?Number($e.width):$e.realWidth)}const getFixedColumnOffset=(xe,$e,Ie,Fe)=>{const{direction:Ue,start:qe=0,after:At=0}=isFixedColumn(xe,$e,Ie,Fe);if(!Ue)return;const Dt={},Lt=Ue==="left",jt=Ie.states.columns.value;return Lt?Dt.left=jt.slice(0,qe).reduce(getOffset,0):Dt.right=jt.slice(At+1).reverse().reduce(getOffset,0),Dt},ensurePosition=(xe,$e)=>{xe&&(Number.isNaN(xe[$e])||(xe[$e]=`${xe[$e]}px`))};function useExpand(xe){const $e=getCurrentInstance(),Ie=ref(!1),Fe=ref([]);return{updateExpandRows:()=>{const Lt=xe.data.value||[],jt=xe.rowKey.value;if(Ie.value)Fe.value=Lt.slice();else if(jt){const hn=getKeysMap(Fe.value,jt);Fe.value=Lt.reduce((vn,bn)=>{const _n=getRowIdentity(bn,jt);return hn[_n]&&vn.push(bn),vn},[])}else Fe.value=[]},toggleRowExpansion:(Lt,jt)=>{toggleRowStatus(Fe.value,Lt,jt)&&$e.emit("expand-change",Lt,Fe.value.slice())},setExpandRowKeys:Lt=>{$e.store.assertRowKey();const jt=xe.data.value||[],hn=xe.rowKey.value,vn=getKeysMap(jt,hn);Fe.value=Lt.reduce((bn,_n)=>{const wn=vn[_n];return wn&&bn.push(wn.row),bn},[])},isRowExpanded:Lt=>{const jt=xe.rowKey.value;return jt?!!getKeysMap(Fe.value,jt)[getRowIdentity(Lt,jt)]:Fe.value.includes(Lt)},states:{expandRows:Fe,defaultExpandAll:Ie}}}function useCurrent(xe){const $e=getCurrentInstance(),Ie=ref(null),Fe=ref(null),Ue=jt=>{$e.store.assertRowKey(),Ie.value=jt,At(jt)},qe=()=>{Ie.value=null},At=jt=>{const{data:hn,rowKey:vn}=xe;let bn=null;vn.value&&(bn=(unref(hn)||[]).find(_n=>getRowIdentity(_n,vn.value)===jt)),Fe.value=bn,$e.emit("current-change",Fe.value,null)};return{setCurrentRowKey:Ue,restoreCurrentRowKey:qe,setCurrentRowByKey:At,updateCurrentRow:jt=>{const hn=Fe.value;if(jt&&jt!==hn){Fe.value=jt,$e.emit("current-change",Fe.value,hn);return}!jt&&hn&&(Fe.value=null,$e.emit("current-change",null,hn))},updateCurrentRowData:()=>{const jt=xe.rowKey.value,hn=xe.data.value||[],vn=Fe.value;if(!hn.includes(vn)&&vn){if(jt){const bn=getRowIdentity(vn,jt);At(bn)}else Fe.value=null;Fe.value===null&&$e.emit("current-change",null,vn)}else Ie.value&&(At(Ie.value),qe())},states:{_currentRowKey:Ie,currentRow:Fe}}}function useTree$2(xe){const $e=ref([]),Ie=ref({}),Fe=ref(16),Ue=ref(!1),qe=ref({}),At=ref("hasChildren"),Dt=ref("children"),Lt=getCurrentInstance(),jt=computed(()=>{if(!xe.rowKey.value)return{};const Sn=xe.data.value||[];return vn(Sn)}),hn=computed(()=>{const Sn=xe.rowKey.value,xn=Object.keys(qe.value),En={};return xn.length&&xn.forEach(Tn=>{if(qe.value[Tn].length){const An={children:[]};qe.value[Tn].forEach($n=>{const Pn=getRowIdentity($n,Sn);An.children.push(Pn),$n[At.value]&&!En[Pn]&&(En[Pn]={children:[]})}),En[Tn]=An}}),En}),vn=Sn=>{const xn=xe.rowKey.value,En={};return walkTreeNode(Sn,(Tn,An,$n)=>{const Pn=getRowIdentity(Tn,xn);Array.isArray(An)?En[Pn]={children:An.map(Nn=>getRowIdentity(Nn,xn)),level:$n}:Ue.value&&(En[Pn]={children:[],lazy:!0,level:$n})},Dt.value,At.value),En},bn=(Sn=!1,xn=(En=>(En=Lt.store)==null?void 0:En.states.defaultExpandAll.value)())=>{var En;const Tn=jt.value,An=hn.value,$n=Object.keys(Tn),Pn={};if($n.length){const Nn=unref(Ie),Mn=[],In=(Rn,Bn)=>{if(Sn)return $e.value?xn||$e.value.includes(Bn):!!(xn||Rn!=null&&Rn.expanded);{const Vn=xn||$e.value&&$e.value.includes(Bn);return!!(Rn!=null&&Rn.expanded||Vn)}};$n.forEach(Rn=>{const Bn=Nn[Rn],Vn={...Tn[Rn]};if(Vn.expanded=In(Bn,Rn),Vn.lazy){const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Vn.loaded=!!Ln,Vn.loading=!!Dn,Mn.push(Rn)}Pn[Rn]=Vn});const On=Object.keys(An);Ue.value&&On.length&&Mn.length&&On.forEach(Rn=>{const Bn=Nn[Rn],Vn=An[Rn].children;if(Mn.includes(Rn)){if(Pn[Rn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Pn[Rn].children=Vn}else{const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Pn[Rn]={lazy:!0,loaded:!!Ln,loading:!!Dn,expanded:In(Bn,Rn),children:Vn,level:""}}})}Ie.value=Pn,(En=Lt.store)==null||En.updateTableScrollY()};watch(()=>$e.value,()=>{bn(!0)}),watch(()=>jt.value,()=>{bn()}),watch(()=>hn.value,()=>{bn()});const _n=Sn=>{$e.value=Sn,bn()},wn=(Sn,xn)=>{Lt.store.assertRowKey();const En=xe.rowKey.value,Tn=getRowIdentity(Sn,En),An=Tn&&Ie.value[Tn];if(Tn&&An&&"expanded"in An){const $n=An.expanded;xn=typeof xn>"u"?!An.expanded:xn,Ie.value[Tn].expanded=xn,$n!==xn&&Lt.emit("expand-change",Sn,xn),Lt.store.updateTableScrollY()}},kn=Sn=>{Lt.store.assertRowKey();const xn=xe.rowKey.value,En=getRowIdentity(Sn,xn),Tn=Ie.value[En];Ue.value&&Tn&&"loaded"in Tn&&!Tn.loaded?Cn(Sn,En,Tn):wn(Sn,void 0)},Cn=(Sn,xn,En)=>{const{load:Tn}=Lt.props;Tn&&!Ie.value[xn].loaded&&(Ie.value[xn].loading=!0,Tn(Sn,En,An=>{if(!Array.isArray(An))throw new TypeError("[ElTable] data must be an array");Ie.value[xn].loading=!1,Ie.value[xn].loaded=!0,Ie.value[xn].expanded=!0,An.length&&(qe.value[xn]=An),Lt.emit("expand-change",Sn,!0)}))};return{loadData:Cn,loadOrToggle:kn,toggleTreeExpansion:wn,updateTreeExpandKeys:_n,updateTreeData:bn,normalize:vn,states:{expandRowKeys:$e,treeData:Ie,indent:Fe,lazy:Ue,lazyTreeNodeMap:qe,lazyColumnIdentifier:At,childrenColumnName:Dt}}}const sortData=(xe,$e)=>{const Ie=$e.sortingColumn;return!Ie||typeof Ie.sortable=="string"?xe:orderBy(xe,$e.sortProp,$e.sortOrder,Ie.sortMethod,Ie.sortBy)},doFlattenColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children&&Ie.children.length>0?$e.push.apply($e,doFlattenColumns(Ie.children)):$e.push(Ie)}),$e};function useWatcher$1(){var xe;const $e=getCurrentInstance(),{size:Ie}=toRefs((xe=$e.proxy)==null?void 0:xe.$props),Fe=ref(null),Ue=ref([]),qe=ref([]),At=ref(!1),Dt=ref([]),Lt=ref([]),jt=ref([]),hn=ref([]),vn=ref([]),bn=ref([]),_n=ref([]),wn=ref([]),kn=[],Cn=ref(0),Sn=ref(0),xn=ref(0),En=ref(!1),Tn=ref([]),An=ref(!1),$n=ref(!1),Pn=ref(null),Nn=ref({}),Mn=ref(null),In=ref(null),On=ref(null),Rn=ref(null),Bn=ref(null);watch(Ue,()=>$e.state&&Hn(!1),{deep:!0});const Vn=()=>{if(!Fe.value)throw new Error("[ElTable] prop row-key is required")},Ln=Gr=>{var $r;($r=Gr.children)==null||$r.forEach(Br=>{Br.fixed=Gr.fixed,Ln(Br)})},Dn=()=>{Dt.value.forEach(cr=>{Ln(cr)}),hn.value=Dt.value.filter(cr=>cr.fixed===!0||cr.fixed==="left"),vn.value=Dt.value.filter(cr=>cr.fixed==="right"),hn.value.length>0&&Dt.value[0]&&Dt.value[0].type==="selection"&&!Dt.value[0].fixed&&(Dt.value[0].fixed=!0,hn.value.unshift(Dt.value[0]));const Gr=Dt.value.filter(cr=>!cr.fixed);Lt.value=[].concat(hn.value).concat(Gr).concat(vn.value);const $r=doFlattenColumns(Gr),Br=doFlattenColumns(hn.value),Tr=doFlattenColumns(vn.value);Cn.value=$r.length,Sn.value=Br.length,xn.value=Tr.length,jt.value=[].concat(Br).concat($r).concat(Tr),At.value=hn.value.length>0||vn.value.length>0},Hn=(Gr,$r=!1)=>{Gr&&Dn(),$r?$e.state.doLayout():$e.state.debouncedUpdateLayout()},Fn=Gr=>Tn.value.includes(Gr),zn=()=>{En.value=!1;const Gr=Tn.value;Tn.value=[],Gr.length&&$e.emit("selection-change",[])},jn=()=>{let Gr;if(Fe.value){Gr=[];const $r=getKeysMap(Tn.value,Fe.value),Br=getKeysMap(Ue.value,Fe.value);for(const Tr in $r)hasOwn$1($r,Tr)&&!Br[Tr]&&Gr.push($r[Tr].row)}else Gr=Tn.value.filter($r=>!Ue.value.includes($r));if(Gr.length){const $r=Tn.value.filter(Br=>!Gr.includes(Br));Tn.value=$r,$e.emit("selection-change",$r.slice())}},Gn=()=>(Tn.value||[]).slice(),Wn=(Gr,$r=void 0,Br=!0)=>{if(toggleRowStatus(Tn.value,Gr,$r)){const cr=(Tn.value||[]).slice();Br&&$e.emit("select",cr,Gr),$e.emit("selection-change",cr)}},Xn=()=>{var Gr,$r;const Br=$n.value?!En.value:!(En.value||Tn.value.length);En.value=Br;let Tr=!1,cr=0;const Sr=($r=(Gr=$e==null?void 0:$e.store)==null?void 0:Gr.states)==null?void 0:$r.rowKey.value;Ue.value.forEach((Dr,mr)=>{const Lr=mr+cr;Pn.value?Pn.value.call(null,Dr,Lr)&&toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0):toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0),cr+=Jn(getRowIdentity(Dr,Sr))}),Tr&&$e.emit("selection-change",Tn.value?Tn.value.slice():[]),$e.emit("select-all",(Tn.value||[]).slice())},er=()=>{const Gr=getKeysMap(Tn.value,Fe.value);Ue.value.forEach($r=>{const Br=getRowIdentity($r,Fe.value),Tr=Gr[Br];Tr&&(Tn.value[Tr.index]=$r)})},rr=()=>{var Gr,$r,Br;if(((Gr=Ue.value)==null?void 0:Gr.length)===0){En.value=!1;return}let Tr;Fe.value&&(Tr=getKeysMap(Tn.value,Fe.value));const cr=function(Lr){return Tr?!!Tr[getRowIdentity(Lr,Fe.value)]:Tn.value.includes(Lr)};let Sr=!0,Dr=0,mr=0;for(let Lr=0,zr=(Ue.value||[]).length;Lr<zr;Lr++){const Vr=(Br=($r=$e==null?void 0:$e.store)==null?void 0:$r.states)==null?void 0:Br.rowKey.value,Kr=Lr+mr,Yr=Ue.value[Lr],Ur=Pn.value&&Pn.value.call(null,Yr,Kr);if(cr(Yr))Dr++;else if(!Pn.value||Ur){Sr=!1;break}mr+=Jn(getRowIdentity(Yr,Vr))}Dr===0&&(Sr=!1),En.value=Sr},Jn=Gr=>{var $r;if(!$e||!$e.store)return 0;const{treeData:Br}=$e.store.states;let Tr=0;const cr=($r=Br.value[Gr])==null?void 0:$r.children;return cr&&(Tr+=cr.length,cr.forEach(Sr=>{Tr+=Jn(Sr)})),Tr},qn=(Gr,$r)=>{Array.isArray(Gr)||(Gr=[Gr]);const Br={};return Gr.forEach(Tr=>{Nn.value[Tr.id]=$r,Br[Tr.columnKey||Tr.id]=$r}),Br},Yn=(Gr,$r,Br)=>{In.value&&In.value!==Gr&&(In.value.order=null),In.value=Gr,On.value=$r,Rn.value=Br},ar=()=>{let Gr=unref(qe);Object.keys(Nn.value).forEach($r=>{const Br=Nn.value[$r];if(!Br||Br.length===0)return;const Tr=getColumnById({columns:jt.value},$r);Tr&&Tr.filterMethod&&(Gr=Gr.filter(cr=>Br.some(Sr=>Tr.filterMethod.call(null,Sr,cr,Tr))))}),Mn.value=Gr},tr=()=>{Ue.value=sortData(Mn.value,{sortingColumn:In.value,sortProp:On.value,sortOrder:Rn.value})},or=(Gr=void 0)=>{Gr&&Gr.filter||ar(),tr()},sr=Gr=>{const{tableHeaderRef:$r}=$e.refs;if(!$r)return;const Br=Object.assign({},$r.filterPanels),Tr=Object.keys(Br);if(Tr.length)if(typeof Gr=="string"&&(Gr=[Gr]),Array.isArray(Gr)){const cr=Gr.map(Sr=>getColumnByKey({columns:jt.value},Sr));Tr.forEach(Sr=>{const Dr=cr.find(mr=>mr.id===Sr);Dr&&(Dr.filteredValue=[])}),$e.store.commit("filterChange",{column:cr,values:[],silent:!0,multi:!0})}else Tr.forEach(cr=>{const Sr=jt.value.find(Dr=>Dr.id===cr);Sr&&(Sr.filteredValue=[])}),Nn.value={},$e.store.commit("filterChange",{column:{},values:[],silent:!0})},Kn=()=>{In.value&&(Yn(null,null,null),$e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Zn,toggleRowExpansion:nr,updateExpandRows:lr,states:ir,isRowExpanded:kr}=useExpand({data:Ue,rowKey:Fe}),{updateTreeExpandKeys:Cr,toggleTreeExpansion:Er,updateTreeData:dr,loadOrToggle:br,states:_r}=useTree$2({data:Ue,rowKey:Fe}),{updateCurrentRowData:Pr,updateCurrentRow:vr,setCurrentRowKey:xr,states:Rr}=useCurrent({data:Ue,rowKey:Fe});return{assertRowKey:Vn,updateColumns:Dn,scheduleLayout:Hn,isSelected:Fn,clearSelection:zn,cleanSelection:jn,getSelectionRows:Gn,toggleRowSelection:Wn,_toggleAllSelection:Xn,toggleAllSelection:null,updateSelectionByRowKey:er,updateAllSelected:rr,updateFilters:qn,updateCurrentRow:vr,updateSort:Yn,execFilter:ar,execSort:tr,execQuery:or,clearFilter:sr,clearSort:Kn,toggleRowExpansion:nr,setExpandRowKeysAdapter:Gr=>{Zn(Gr),Cr(Gr)},setCurrentRowKey:xr,toggleRowExpansionAdapter:(Gr,$r)=>{jt.value.some(({type:Tr})=>Tr==="expand")?nr(Gr,$r):Er(Gr,$r)},isRowExpanded:kr,updateExpandRows:lr,updateCurrentRowData:Pr,loadOrToggle:br,updateTreeData:dr,states:{tableSize:Ie,rowKey:Fe,data:Ue,_data:qe,isComplex:At,_columns:Dt,originColumns:Lt,columns:jt,fixedColumns:hn,rightFixedColumns:vn,leafColumns:bn,fixedLeafColumns:_n,rightFixedLeafColumns:wn,updateOrderFns:kn,leafColumnsLength:Cn,fixedLeafColumnsLength:Sn,rightFixedLeafColumnsLength:xn,isAllSelected:En,selection:Tn,reserveSelection:An,selectOnIndeterminate:$n,selectable:Pn,filters:Nn,filteredData:Mn,sortingColumn:In,sortProp:On,sortOrder:Rn,hoverRow:Bn,...ir,..._r,...Rr}}}function replaceColumn(xe,$e){return xe.map(Ie=>{var Fe;return Ie.id===$e.id?$e:((Fe=Ie.children)!=null&&Fe.length&&(Ie.children=replaceColumn(Ie.children,$e)),Ie)})}function sortColumn(xe){xe.forEach($e=>{var Ie,Fe;$e.no=(Ie=$e.getColumnIndex)==null?void 0:Ie.call($e),(Fe=$e.children)!=null&&Fe.length&&sortColumn($e.children)}),xe.sort(($e,Ie)=>$e.no-Ie.no)}function useStore(){const xe=getCurrentInstance(),$e=useWatcher$1();return{ns:useNamespace("table"),...$e,mutations:{setData(At,Dt){const Lt=unref(At._data)!==Dt;At.data.value=Dt,At._data.value=Dt,xe.store.execQuery(),xe.store.updateCurrentRowData(),xe.store.updateExpandRows(),xe.store.updateTreeData(xe.store.states.defaultExpandAll.value),unref(At.reserveSelection)?(xe.store.assertRowKey(),xe.store.updateSelectionByRowKey()):Lt?xe.store.clearSelection():xe.store.cleanSelection(),xe.store.updateAllSelected(),xe.$ready&&xe.store.scheduleLayout()},insertColumn(At,Dt,Lt,jt){const hn=unref(At._columns);let vn=[];Lt?(Lt&&!Lt.children&&(Lt.children=[]),Lt.children.push(Dt),vn=replaceColumn(hn,Lt)):(hn.push(Dt),vn=hn),sortColumn(vn),At._columns.value=vn,At.updateOrderFns.push(jt),Dt.type==="selection"&&(At.selectable.value=Dt.selectable,At.reserveSelection.value=Dt.reserveSelection),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},updateColumnOrder(At,Dt){var Lt;((Lt=Dt.getColumnIndex)==null?void 0:Lt.call(Dt))!==Dt.no&&(sortColumn(At._columns.value),xe.$ready&&xe.store.updateColumns())},removeColumn(At,Dt,Lt,jt){const hn=unref(At._columns)||[];if(Lt)Lt.children.splice(Lt.children.findIndex(bn=>bn.id===Dt.id),1),nextTick(()=>{var bn;((bn=Lt.children)==null?void 0:bn.length)===0&&delete Lt.children}),At._columns.value=replaceColumn(hn,Lt);else{const bn=hn.indexOf(Dt);bn>-1&&(hn.splice(bn,1),At._columns.value=hn)}const vn=At.updateOrderFns.indexOf(jt);vn>-1&&At.updateOrderFns.splice(vn,1),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},sort(At,Dt){const{prop:Lt,order:jt,init:hn}=Dt;if(Lt){const vn=unref(At.columns).find(bn=>bn.property===Lt);vn&&(vn.order=jt,xe.store.updateSort(vn,Lt,jt),xe.store.commit("changeSortCondition",{init:hn}))}},changeSortCondition(At,Dt){const{sortingColumn:Lt,sortProp:jt,sortOrder:hn}=At,vn=unref(Lt),bn=unref(jt),_n=unref(hn);_n===null&&(At.sortingColumn.value=null,At.sortProp.value=null);const wn={filter:!0};xe.store.execQuery(wn),(!Dt||!(Dt.silent||Dt.init))&&xe.emit("sort-change",{column:vn,prop:bn,order:_n}),xe.store.updateTableScrollY()},filterChange(At,Dt){const{column:Lt,values:jt,silent:hn}=Dt,vn=xe.store.updateFilters(Lt,jt);xe.store.execQuery(),hn||xe.emit("filter-change",vn),xe.store.updateTableScrollY()},toggleAllSelection(){xe.store.toggleAllSelection()},rowSelectedChanged(At,Dt){xe.store.toggleRowSelection(Dt),xe.store.updateAllSelected()},setHoverRow(At,Dt){At.hoverRow.value=Dt},setCurrentRow(At,Dt){xe.store.updateCurrentRow(Dt)}},commit:function(At,...Dt){const Lt=xe.store.mutations;if(Lt[At])Lt[At].apply(xe,[xe.store.states].concat(Dt));else throw new Error(`Action not found: ${At}`)},updateTableScrollY:function(){nextTick(()=>xe.layout.updateScrollY.apply(xe.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(xe,$e){if(!xe)throw new Error("Table is required.");const Ie=useStore();return Ie.toggleAllSelection=debounce(Ie._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(Fe=>{handleValue(getArrKeysValue($e,Fe),Fe,Ie)}),proxyTableProps(Ie,$e),Ie}function proxyTableProps(xe,$e){Object.keys(InitialStateMap).forEach(Ie=>{watch(()=>getArrKeysValue($e,Ie),Fe=>{handleValue(Fe,Ie,xe)})})}function handleValue(xe,$e,Ie){let Fe=xe,Ue=InitialStateMap[$e];typeof InitialStateMap[$e]=="object"&&(Ue=Ue.key,Fe=Fe||InitialStateMap[$e].default),Ie.states[Ue].value=Fe}function getArrKeysValue(xe,$e){if($e.includes(".")){const Ie=$e.split(".");let Fe=xe;return Ie.forEach(Ue=>{Fe=Fe[Ue]}),Fe}else return xe[$e]}class TableLayout{constructor($e){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 $e)hasOwn$1($e,Ie)&&(isRef(this[Ie])?this[Ie].value=$e[Ie]:this[Ie]=$e[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 Fe=!0;const Ue=this.scrollY.value;return Fe=Ie.wrapRef.scrollHeight>Ie.wrapRef.clientHeight,this.scrollY.value=Fe,Ue!==Fe}return!1}setHeight($e,Ie="height"){if(!isClient)return;const Fe=this.table.vnode.el;if($e=parseHeight($e),this.height.value=Number($e),!Fe&&($e||$e===0))return nextTick(()=>this.setHeight($e,Ie));typeof $e=="number"?(Fe.style[Ie]=`${$e}px`,this.updateElsHeight()):typeof $e=="string"&&(Fe.style[Ie]=$e,this.updateElsHeight())}setMaxHeight($e){this.setHeight($e,"max-height")}getFlattenColumns(){const $e=[];return this.table.store.states.columns.value.forEach(Fe=>{Fe.isColumnGroup?$e.push.apply($e,Fe.columns):$e.push(Fe)}),$e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone($e){if(!$e)return!0;let Ie=$e;for(;Ie.tagName!=="DIV";){if(getComputedStyle(Ie).display==="none")return!0;Ie=Ie.parentElement}return!1}updateColumnsWidth(){if(!isClient)return;const $e=this.fit,Ie=this.table.vnode.el.clientWidth;let Fe=0;const Ue=this.getFlattenColumns(),qe=Ue.filter(Lt=>typeof Lt.width!="number");if(Ue.forEach(Lt=>{typeof Lt.width=="number"&&Lt.realWidth&&(Lt.realWidth=null)}),qe.length>0&&$e){if(Ue.forEach(Lt=>{Fe+=Number(Lt.width||Lt.minWidth||80)}),Fe<=Ie){this.scrollX.value=!1;const Lt=Ie-Fe;if(qe.length===1)qe[0].realWidth=Number(qe[0].minWidth||80)+Lt;else{const jt=qe.reduce((bn,_n)=>bn+Number(_n.minWidth||80),0),hn=Lt/jt;let vn=0;qe.forEach((bn,_n)=>{if(_n===0)return;const wn=Math.floor(Number(bn.minWidth||80)*hn);vn+=wn,bn.realWidth=Number(bn.minWidth||80)+wn}),qe[0].realWidth=Number(qe[0].minWidth||80)+Lt-vn}}else this.scrollX.value=!0,qe.forEach(Lt=>{Lt.realWidth=Number(Lt.minWidth)});this.bodyWidth.value=Math.max(Fe,Ie),this.table.state.resizeState.value.width=this.bodyWidth.value}else Ue.forEach(Lt=>{!Lt.width&&!Lt.minWidth?Lt.realWidth=80:Lt.realWidth=Number(Lt.width||Lt.minWidth),Fe+=Lt.realWidth}),this.scrollX.value=Fe>Ie,this.bodyWidth.value=Fe;const At=this.store.states.fixedColumns.value;if(At.length>0){let Lt=0;At.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.fixedWidth.value=Lt}const Dt=this.store.states.rightFixedColumns.value;if(Dt.length>0){let Lt=0;Dt.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.rightFixedWidth.value=Lt}this.notifyObservers("columns")}addObserver($e){this.observers.push($e)}removeObserver($e){const Ie=this.observers.indexOf($e);Ie!==-1&&this.observers.splice(Ie,1)}notifyObservers($e){this.observers.forEach(Fe=>{var Ue,qe;switch($e){case"columns":(Ue=Fe.state)==null||Ue.onColumnsChange(this);break;case"scrollable":(qe=Fe.state)==null||qe.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${$e}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$A=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(xe){const $e=getCurrentInstance(),{t:Ie}=useLocale(),Fe=useNamespace("table-filter"),Ue=$e==null?void 0:$e.parent;Ue.filterPanels.value[xe.column.id]||(Ue.filterPanels.value[xe.column.id]=$e);const qe=ref(!1),At=ref(null),Dt=computed(()=>xe.column&&xe.column.filters),Lt=computed(()=>xe.column.filterClassName?`${Fe.b()} ${xe.column.filterClassName}`:Fe.b()),jt=computed({get:()=>{var An;return(((An=xe.column)==null?void 0:An.filteredValue)||[])[0]},set:An=>{hn.value&&(typeof An<"u"&&An!==null?hn.value.splice(0,1,An):hn.value.splice(0,1))}}),hn=computed({get(){return xe.column?xe.column.filteredValue||[]:[]},set(An){xe.column&&xe.upDataColumn("filteredValue",An)}}),vn=computed(()=>xe.column?xe.column.filterMultiple:!0),bn=An=>An.value===jt.value,_n=()=>{qe.value=!1},wn=An=>{An.stopPropagation(),qe.value=!qe.value},kn=()=>{qe.value=!1},Cn=()=>{En(hn.value),_n()},Sn=()=>{hn.value=[],En(hn.value),_n()},xn=An=>{jt.value=An,En(typeof An<"u"&&An!==null?hn.value:[]),_n()},En=An=>{xe.store.commit("filterChange",{column:xe.column,values:An}),xe.store.updateAllSelected()};watch(qe,An=>{xe.column&&xe.upDataColumn("filterOpened",An)},{immediate:!0});const Tn=computed(()=>{var An,$n;return($n=(An=At.value)==null?void 0:An.popperRef)==null?void 0:$n.contentRef});return{tooltipVisible:qe,multiple:vn,filterClassName:Lt,filteredValue:hn,filterValue:jt,filters:Dt,handleConfirm:Cn,handleReset:Sn,handleSelect:xn,isActive:bn,t:Ie,ns:Fe,showFilterPanel:wn,hideFilterPanel:kn,popperPaneRef:Tn,tooltip:At}}}),_hoisted_1$g={key:0},_hoisted_2$a=["disabled"],_hoisted_3$3=["label","onClick"];function _sfc_render$4(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-checkbox-group"),Lt=resolveComponent("el-scrollbar"),jt=resolveComponent("arrow-up"),hn=resolveComponent("arrow-down"),vn=resolveComponent("el-icon"),bn=resolveComponent("el-tooltip"),_n=resolveDirective("click-outside");return openBlock(),createBlock(bn,{ref:"tooltip",visible:xe.tooltipVisible,offset:0,placement:xe.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":xe.filterClassName,persistent:""},{content:withCtx(()=>[xe.multiple?(openBlock(),createElementBlock("div",_hoisted_1$g,[createBaseVNode("div",{class:normalizeClass(xe.ns.e("content"))},[createVNode$1(Lt,{"wrap-class":xe.ns.e("wrap")},{default:withCtx(()=>[createVNode$1(Dt,{modelValue:xe.filteredValue,"onUpdate:modelValue":$e[0]||($e[0]=wn=>xe.filteredValue=wn),class:normalizeClass(xe.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createBlock(At,{key:wn.value,value:wn.value},{default:withCtx(()=>[createTextVNode(toDisplayString(wn.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[xe.ns.is("disabled")]:xe.filteredValue.length===0}),disabled:xe.filteredValue.length===0,type:"button",onClick:$e[1]||($e[1]=(...wn)=>xe.handleConfirm&&xe.handleConfirm(...wn))},toDisplayString(xe.t("el.table.confirmFilter")),11,_hoisted_2$a),createBaseVNode("button",{type:"button",onClick:$e[2]||($e[2]=(...wn)=>xe.handleReset&&xe.handleReset(...wn))},toDisplayString(xe.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(xe.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([xe.ns.e("list-item"),{[xe.ns.is("active")]:xe.filterValue===void 0||xe.filterValue===null}]),onClick:$e[3]||($e[3]=wn=>xe.handleSelect(null))},toDisplayString(xe.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createElementBlock("li",{key:wn.value,class:normalizeClass([xe.ns.e("list-item"),xe.ns.is("active",xe.isActive(wn))]),label:wn.value,onClick:kn=>xe.handleSelect(wn.value)},toDisplayString(wn.text),11,_hoisted_3$3))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${xe.ns.namespace.value}-table__column-filter-trigger`,`${xe.ns.namespace.value}-none-outline`]),onClick:$e[4]||($e[4]=(...wn)=>xe.showFilterPanel&&xe.showFilterPanel(...wn))},[createVNode$1(vn,null,{default:withCtx(()=>[xe.column.filterOpened?(openBlock(),createBlock(jt,{key:0})):(openBlock(),createBlock(hn,{key:1}))]),_:1})],2)),[[_n,xe.hideFilterPanel,xe.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc(_sfc_main$A,[["render",_sfc_render$4],["__file","filter-panel.vue"]]);function useLayoutObserver(xe){const $e=getCurrentInstance();onBeforeMount(()=>{Ie.value.addObserver($e)}),onMounted(()=>{Fe(Ie.value),Ue(Ie.value)}),onUpdated(()=>{Fe(Ie.value),Ue(Ie.value)}),onUnmounted(()=>{Ie.value.removeObserver($e)});const Ie=computed(()=>{const qe=xe.layout;if(!qe)throw new Error("Can not find table layout.");return qe}),Fe=qe=>{var At;const Dt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col"))||[];if(!Dt.length)return;const Lt=qe.getFlattenColumns(),jt={};Lt.forEach(hn=>{jt[hn.id]=hn});for(let hn=0,vn=Dt.length;hn<vn;hn++){const bn=Dt[hn],_n=bn.getAttribute("name"),wn=jt[_n];wn&&bn.setAttribute("width",wn.realWidth||wn.width)}},Ue=qe=>{var At,Dt;const Lt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let hn=0,vn=Lt.length;hn<vn;hn++)Lt[hn].setAttribute("width",qe.scrollY.value?qe.gutterWidth:"0");const jt=((Dt=xe.vnode.el)==null?void 0:Dt.querySelectorAll("th.gutter"))||[];for(let hn=0,vn=jt.length;hn<vn;hn++){const bn=jt[hn];bn.style.width=qe.scrollY.value?`${qe.gutterWidth}px`:"0",bn.style.display=qe.scrollY.value?"":"none"}};return{tableLayout:Ie.value,onColumnsChange:Fe,onScrollableChange:Ue}}const TABLE_INJECTION_KEY=Symbol("ElTable");function useEvent(xe,$e){const Ie=getCurrentInstance(),Fe=inject(TABLE_INJECTION_KEY),Ue=kn=>{kn.stopPropagation()},qe=(kn,Cn)=>{!Cn.filters&&Cn.sortable?wn(kn,Cn,!1):Cn.filterable&&!Cn.sortable&&Ue(kn),Fe==null||Fe.emit("header-click",Cn,kn)},At=(kn,Cn)=>{Fe==null||Fe.emit("header-contextmenu",Cn,kn)},Dt=ref(null),Lt=ref(!1),jt=ref({}),hn=(kn,Cn)=>{if(isClient&&!(Cn.children&&Cn.children.length>0)&&Dt.value&&xe.border){Lt.value=!0;const Sn=Fe;$e("set-drag-visible",!0);const En=(Sn==null?void 0:Sn.vnode.el).getBoundingClientRect().left,Tn=Ie.vnode.el.querySelector(`th.${Cn.id}`),An=Tn.getBoundingClientRect(),$n=An.left-En+30;addClass(Tn,"noclick"),jt.value={startMouseLeft:kn.clientX,startLeft:An.right-En,startColumnLeft:An.left-En,tableLeft:En};const Pn=Sn==null?void 0:Sn.refs.resizeProxy;Pn.style.left=`${jt.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const Nn=In=>{const On=In.clientX-jt.value.startMouseLeft,Rn=jt.value.startLeft+On;Pn.style.left=`${Math.max($n,Rn)}px`},Mn=()=>{if(Lt.value){const{startColumnLeft:In,startLeft:On}=jt.value,Bn=Number.parseInt(Pn.style.left,10)-In;Cn.width=Cn.realWidth=Bn,Sn==null||Sn.emit("header-dragend",Cn.width,On-In,Cn,kn),requestAnimationFrame(()=>{xe.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",Lt.value=!1,Dt.value=null,jt.value={},$e("set-drag-visible",!1)}document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(Tn,"noclick")},0)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)}},vn=(kn,Cn)=>{if(Cn.children&&Cn.children.length>0)return;const Sn=kn.target;if(!isElement$1(Sn))return;const xn=Sn==null?void 0:Sn.closest("th");if(!(!Cn||!Cn.resizable)&&!Lt.value&&xe.border){const En=xn.getBoundingClientRect(),Tn=document.body.style;En.width>12&&En.right-kn.pageX<8?(Tn.cursor="col-resize",hasClass(xn,"is-sortable")&&(xn.style.cursor="col-resize"),Dt.value=Cn):Lt.value||(Tn.cursor="",hasClass(xn,"is-sortable")&&(xn.style.cursor="pointer"),Dt.value=null)}},bn=()=>{isClient&&(document.body.style.cursor="")},_n=({order:kn,sortOrders:Cn})=>{if(kn==="")return Cn[0];const Sn=Cn.indexOf(kn||null);return Cn[Sn>Cn.length-2?0:Sn+1]},wn=(kn,Cn,Sn)=>{var xn;kn.stopPropagation();const En=Cn.order===Sn?null:Sn||_n(Cn),Tn=(xn=kn.target)==null?void 0:xn.closest("th");if(Tn&&hasClass(Tn,"noclick")){removeClass(Tn,"noclick");return}if(!Cn.sortable)return;const An=xe.store.states;let $n=An.sortProp.value,Pn;const Nn=An.sortingColumn.value;(Nn!==Cn||Nn===Cn&&Nn.order===null)&&(Nn&&(Nn.order=null),An.sortingColumn.value=Cn,$n=Cn.property),En?Pn=Cn.order=En:Pn=Cn.order=null,An.sortProp.value=$n,An.sortOrder.value=Pn,Fe==null||Fe.store.commit("changeSortCondition")};return{handleHeaderClick:qe,handleHeaderContextMenu:At,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:wn,handleFilterClick:Ue}}function useStyle$2(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getHeaderRowStyle:Dt=>{const Lt=$e==null?void 0:$e.props.headerRowStyle;return typeof Lt=="function"?Lt.call(null,{rowIndex:Dt}):Lt},getHeaderRowClass:Dt=>{const Lt=[],jt=$e==null?void 0:$e.props.headerRowClassName;return typeof jt=="string"?Lt.push(jt):typeof jt=="function"&&Lt.push(jt.call(null,{rowIndex:Dt})),Lt.join(" ")},getHeaderCellStyle:(Dt,Lt,jt,hn)=>{var vn;let bn=(vn=$e==null?void 0:$e.props.headerCellStyle)!=null?vn:{};typeof bn=="function"&&(bn=bn.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn}));const _n=getFixedColumnOffset(Lt,hn.fixed,xe.store,jt);return ensurePosition(_n,"left"),ensurePosition(_n,"right"),Object.assign({},bn,_n)},getHeaderCellClass:(Dt,Lt,jt,hn)=>{const vn=getFixedColumnsClass(Ie.b(),Lt,hn.fixed,xe.store,jt),bn=[hn.id,hn.order,hn.headerAlign,hn.className,hn.labelClassName,...vn];hn.children||bn.push("is-leaf"),hn.sortable&&bn.push("is-sortable");const _n=$e==null?void 0:$e.props.headerCellClassName;return typeof _n=="string"?bn.push(_n):typeof _n=="function"&&bn.push(_n.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn})),bn.push(Ie.e("cell")),bn.filter(wn=>!!wn).join(" ")}}}const getAllColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children?($e.push(Ie),$e.push.apply($e,getAllColumns(Ie.children))):$e.push(Ie)}),$e},convertToRows=xe=>{let $e=1;const Ie=(qe,At)=>{if(At&&(qe.level=At.level+1,$e<qe.level&&($e=qe.level)),qe.children){let Dt=0;qe.children.forEach(Lt=>{Ie(Lt,qe),Dt+=Lt.colSpan}),qe.colSpan=Dt}else qe.colSpan=1};xe.forEach(qe=>{qe.level=1,Ie(qe,void 0)});const Fe=[];for(let qe=0;qe<$e;qe++)Fe.push([]);return getAllColumns(xe).forEach(qe=>{qe.children?(qe.rowSpan=1,qe.children.forEach(At=>At.isSubColumn=!0)):qe.rowSpan=$e-qe.level+1,Fe[qe.level-1].push(qe)}),Fe};function useUtils$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=computed(()=>convertToRows(xe.store.states.originColumns.value));return{isGroup:computed(()=>{const qe=Ie.value.length>1;return qe&&$e&&($e.state.isGroup.value=!0),qe}),toggleAllSelection:qe=>{qe.stopPropagation(),$e==null||$e.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(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject(TABLE_INJECTION_KEY),Ue=useNamespace("table"),qe=ref({}),{onColumnsChange:At,onScrollableChange:Dt}=useLayoutObserver(Fe);onMounted(async()=>{await nextTick(),await nextTick();const{prop:$n,order:Pn}=xe.defaultSort;Fe==null||Fe.store.commit("sort",{prop:$n,order:Pn,init:!0})});const{handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn}=useEvent(xe,$e),{getHeaderRowStyle:kn,getHeaderRowClass:Cn,getHeaderCellStyle:Sn,getHeaderCellClass:xn}=useStyle$2(xe),{isGroup:En,toggleAllSelection:Tn,columnRows:An}=useUtils$1(xe);return Ie.state={onColumnsChange:At,onScrollableChange:Dt},Ie.filterPanels=qe,{ns:Ue,filterPanels:qe,onColumnsChange:At,onScrollableChange:Dt,columnRows:An,getHeaderRowClass:Cn,getHeaderRowStyle:kn,getHeaderCellClass:xn,getHeaderCellStyle:Sn,handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn,isGroup:En,toggleAllSelection:Tn}},render(){const{ns:xe,isGroup:$e,columnRows:Ie,getHeaderCellStyle:Fe,getHeaderCellClass:Ue,getHeaderRowClass:qe,getHeaderRowStyle:At,handleHeaderClick:Dt,handleHeaderContextMenu:Lt,handleMouseDown:jt,handleMouseMove:hn,handleSortClick:vn,handleMouseOut:bn,store:_n,$parent:wn}=this;let kn=1;return h$5("thead",{class:{[xe.is("group")]:$e}},Ie.map((Cn,Sn)=>h$5("tr",{class:qe(Sn),key:Sn,style:At(Sn)},Cn.map((xn,En)=>(xn.rowSpan>kn&&(kn=xn.rowSpan),h$5("th",{class:Ue(Sn,En,Cn,xn),colspan:xn.colSpan,key:`${xn.id}-thead`,rowspan:xn.rowSpan,style:Fe(Sn,En,Cn,xn),onClick:Tn=>Dt(Tn,xn),onContextmenu:Tn=>Lt(Tn,xn),onMousedown:Tn=>jt(Tn,xn),onMousemove:Tn=>hn(Tn,xn),onMouseout:bn},[h$5("div",{class:["cell",xn.filteredValue&&xn.filteredValue.length>0?"highlight":""]},[xn.renderHeader?xn.renderHeader({column:xn,$index:En,store:_n,_self:wn}):xn.label,xn.sortable&&h$5("span",{onClick:Tn=>vn(Tn,xn),class:"caret-wrapper"},[h$5("i",{onClick:Tn=>vn(Tn,xn,"ascending"),class:"sort-caret ascending"}),h$5("i",{onClick:Tn=>vn(Tn,xn,"descending"),class:"sort-caret descending"})]),xn.filterable&&h$5(FilterPanel,{store:_n,placement:xn.filterPlacement||"bottom-start",column:xn,upDataColumn:(Tn,An)=>{xn[Tn]=An}})])]))))))}});function isGreaterThan(xe,$e,Ie=.01){return xe-$e>Ie}function useEvents(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=ref(""),Fe=ref(h$5("div")),Ue=(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn);let Tn;const An=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;En&&(Tn=getColumnByCell({columns:xe.store.states.columns.value},En,An),Tn&&(xn==null||xn.emit(`cell-${Cn}`,kn,Tn,En,wn))),xn==null||xn.emit(`row-${Cn}`,kn,Tn,wn)},qe=(wn,kn)=>{Ue(wn,kn,"dblclick")},At=(wn,kn)=>{xe.store.commit("setCurrentRow",kn),Ue(wn,kn,"click")},Dt=(wn,kn)=>{Ue(wn,kn,"contextmenu")},Lt=debounce(wn=>{xe.store.commit("setHoverRow",wn)},30),jt=debounce(()=>{xe.store.commit("setHoverRow",null)},30),hn=wn=>{const kn=window.getComputedStyle(wn,null),Cn=Number.parseInt(kn.paddingLeft,10)||0,Sn=Number.parseInt(kn.paddingRight,10)||0,xn=Number.parseInt(kn.paddingTop,10)||0,En=Number.parseInt(kn.paddingBottom,10)||0;return{left:Cn,right:Sn,top:xn,bottom:En}},vn=(wn,kn,Cn)=>{let Sn=kn.target.parentNode;for(;wn>1&&(Sn=Sn==null?void 0:Sn.nextSibling,!(!Sn||Sn.nodeName!=="TR"));)Cn(Sn,"hover-row hover-fixed-row"),wn--};return{handleDoubleClick:qe,handleClick:At,handleContextMenu:Dt,handleMouseEnter:Lt,handleMouseLeave:jt,handleCellMouseEnter:(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn),Tn=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;if(En){const zn=getColumnByCell({columns:xe.store.states.columns.value},En,Tn);En.rowSpan>1&&vn(En.rowSpan,wn,addClass);const jn=xn.hoverState={cell:En,column:zn,row:kn};xn==null||xn.emit("cell-mouse-enter",jn.row,jn.column,jn.cell,wn)}if(!Cn)return;const An=wn.target.querySelector(".cell");if(!(hasClass(An,`${Tn}-tooltip`)&&An.childNodes.length))return;const $n=document.createRange();$n.setStart(An,0),$n.setEnd(An,An.childNodes.length);let{width:Pn,height:Nn}=$n.getBoundingClientRect();const Mn=Pn-Math.floor(Pn),{width:In,height:On}=An.getBoundingClientRect();Mn<.001&&(Pn=Math.floor(Pn)),Nn-Math.floor(Nn)<.001&&(Nn=Math.floor(Nn));const{top:Bn,left:Vn,right:Ln,bottom:Dn}=hn(An),Hn=Vn+Ln,Fn=Bn+Dn;(isGreaterThan(Pn+Hn,In)||isGreaterThan(Nn+Fn,On)||isGreaterThan(An.scrollWidth,In))&&createTablePopper(Cn,En.innerText||En.textContent,En,xn)},handleCellMouseLeave:wn=>{const kn=getCell(wn);if(!kn)return;kn.rowSpan>1&&vn(kn.rowSpan,wn,removeClass);const Cn=$e==null?void 0:$e.hoverState;$e==null||$e.emit("cell-mouse-leave",Cn==null?void 0:Cn.row,Cn==null?void 0:Cn.column,Cn==null?void 0:Cn.cell,wn)},tooltipContent:Ie,tooltipTrigger:Fe}}function useStyles$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getRowStyle:(jt,hn)=>{const vn=$e==null?void 0:$e.props.rowStyle;return typeof vn=="function"?vn.call(null,{row:jt,rowIndex:hn}):vn||null},getRowClass:(jt,hn)=>{const vn=[Ie.e("row")];$e!=null&&$e.props.highlightCurrentRow&&jt===xe.store.states.currentRow.value&&vn.push("current-row"),xe.stripe&&hn%2===1&&vn.push(Ie.em("row","striped"));const bn=$e==null?void 0:$e.props.rowClassName;return typeof bn=="string"?vn.push(bn):typeof bn=="function"&&vn.push(bn.call(null,{row:jt,rowIndex:hn})),vn},getCellStyle:(jt,hn,vn,bn)=>{const _n=$e==null?void 0:$e.props.cellStyle;let wn=_n??{};typeof _n=="function"&&(wn=_n.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn}));const kn=getFixedColumnOffset(hn,xe==null?void 0:xe.fixed,xe.store);return ensurePosition(kn,"left"),ensurePosition(kn,"right"),Object.assign({},wn,kn)},getCellClass:(jt,hn,vn,bn,_n)=>{const wn=getFixedColumnsClass(Ie.b(),hn,xe==null?void 0:xe.fixed,xe.store,void 0,_n),kn=[bn.id,bn.align,bn.className,...wn],Cn=$e==null?void 0:$e.props.cellClassName;return typeof Cn=="string"?kn.push(Cn):typeof Cn=="function"&&kn.push(Cn.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn})),kn.push(Ie.e("cell")),kn.filter(Sn=>!!Sn).join(" ")},getSpan:(jt,hn,vn,bn)=>{let _n=1,wn=1;const kn=$e==null?void 0:$e.props.spanMethod;if(typeof kn=="function"){const Cn=kn({row:jt,column:hn,rowIndex:vn,columnIndex:bn});Array.isArray(Cn)?(_n=Cn[0],wn=Cn[1]):typeof Cn=="object"&&(_n=Cn.rowspan,wn=Cn.colspan)}return{rowspan:_n,colspan:wn}},getColspanRealWidth:(jt,hn,vn)=>{if(hn<1)return jt[vn].realWidth;const bn=jt.map(({realWidth:_n,width:wn})=>_n||wn).slice(vn,vn+hn);return Number(bn.reduce((_n,wn)=>Number(_n)+Number(wn),-1))}}}function useRender$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table"),{handleDoubleClick:Fe,handleClick:Ue,handleContextMenu:qe,handleMouseEnter:At,handleMouseLeave:Dt,handleCellMouseEnter:Lt,handleCellMouseLeave:jt,tooltipContent:hn,tooltipTrigger:vn}=useEvents(xe),{getRowStyle:bn,getRowClass:_n,getCellStyle:wn,getCellClass:kn,getSpan:Cn,getColspanRealWidth:Sn}=useStyles$1(xe),xn=computed(()=>xe.store.states.columns.value.findIndex(({type:Pn})=>Pn==="default")),En=(Pn,Nn)=>{const Mn=$e.props.rowKey;return Mn?getRowIdentity(Pn,Mn):Nn},Tn=(Pn,Nn,Mn,In=!1)=>{const{tooltipEffect:On,tooltipOptions:Rn,store:Bn}=xe,{indent:Vn,columns:Ln}=Bn.states,Dn=_n(Pn,Nn);let Hn=!0;return Mn&&(Dn.push(Ie.em("row",`level-${Mn.level}`)),Hn=Mn.display),h$5("tr",{style:[Hn?null:{display:"none"},bn(Pn,Nn)],class:Dn,key:En(Pn,Nn),onDblclick:zn=>Fe(zn,Pn),onClick:zn=>Ue(zn,Pn),onContextmenu:zn=>qe(zn,Pn),onMouseenter:()=>At(Nn),onMouseleave:Dt},Ln.value.map((zn,jn)=>{const{rowspan:Gn,colspan:Wn}=Cn(Pn,zn,Nn,jn);if(!Gn||!Wn)return null;const Xn=Object.assign({},zn);Xn.realWidth=Sn(Ln.value,Wn,jn);const er={store:xe.store,_self:xe.context||$e,column:Xn,row:Pn,$index:Nn,cellIndex:jn,expanded:In};jn===xn.value&&Mn&&(er.treeNode={indent:Mn.level*Vn.value,level:Mn.level},typeof Mn.expanded=="boolean"&&(er.treeNode.expanded=Mn.expanded,"loading"in Mn&&(er.treeNode.loading=Mn.loading),"noLazyChildren"in Mn&&(er.treeNode.noLazyChildren=Mn.noLazyChildren)));const rr=`${En(Pn,Nn)},${jn}`,Jn=Xn.columnKey||Xn.rawColumnKey||"",qn=An(jn,zn,er),Yn=zn.showOverflowTooltip&&merge$2({effect:On},Rn,zn.showOverflowTooltip);return h$5("td",{style:wn(Nn,jn,Pn,zn),class:kn(Nn,jn,Pn,zn,Wn-1),key:`${Jn}${rr}`,rowspan:Gn,colspan:Wn,onMouseenter:ar=>Lt(ar,Pn,Yn),onMouseleave:jt},[qn])}))},An=(Pn,Nn,Mn)=>Nn.renderCell(Mn);return{wrappedRowRender:(Pn,Nn)=>{const Mn=xe.store,{isRowExpanded:In,assertRowKey:On}=Mn,{treeData:Rn,lazyTreeNodeMap:Bn,childrenColumnName:Vn,rowKey:Ln}=Mn.states,Dn=Mn.states.columns.value;if(Dn.some(({type:Fn})=>Fn==="expand")){const Fn=In(Pn),zn=Tn(Pn,Nn,void 0,Fn),jn=$e.renderExpanded;return Fn?jn?[[zn,h$5("tr",{key:`expanded-row__${zn.key}`},[h$5("td",{colspan:Dn.length,class:`${Ie.e("cell")} ${Ie.e("expanded-cell")}`},[jn({row:Pn,$index:Nn,store:Mn,expanded:Fn})])])]]:(console.error("[Element Error]renderExpanded is required."),zn):[[zn]]}else if(Object.keys(Rn.value).length){On();const Fn=getRowIdentity(Pn,Ln.value);let zn=Rn.value[Fn],jn=null;zn&&(jn={expanded:zn.expanded,level:zn.level,display:!0},typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(jn.noLazyChildren=!(zn.children&&zn.children.length)),jn.loading=zn.loading));const Gn=[Tn(Pn,Nn,jn)];if(zn){let Wn=0;const Xn=(rr,Jn)=>{rr&&rr.length&&Jn&&rr.forEach(qn=>{const Yn={display:Jn.display&&Jn.expanded,level:Jn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ar=getRowIdentity(qn,Ln.value);if(ar==null)throw new Error("For nested data item, row-key is required.");if(zn={...Rn.value[ar]},zn&&(Yn.expanded=zn.expanded,zn.level=zn.level||Yn.level,zn.display=!!(zn.expanded&&Yn.display),typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(Yn.noLazyChildren=!(zn.children&&zn.children.length)),Yn.loading=zn.loading)),Wn++,Gn.push(Tn(qn,Nn+Wn,Yn)),zn){const tr=Bn.value[ar]||qn[Vn.value];Xn(tr,zn)}})};zn.display=!0;const er=Bn.value[Fn]||Pn[Vn.value];Xn(er,zn)}return Gn}else return Tn(Pn,Nn,void 0)},tooltipContent:hn,tooltipTrigger:vn}}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(xe){const $e=getCurrentInstance(),Ie=inject(TABLE_INJECTION_KEY),Fe=useNamespace("table"),{wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}=useRender$1(xe),{onColumnsChange:Dt,onScrollableChange:Lt}=useLayoutObserver(Ie),jt=[];return watch(xe.store.states.hoverRow,(hn,vn)=>{var bn;const _n=$e==null?void 0:$e.vnode.el,wn=Array.from((_n==null?void 0:_n.children)||[]).filter(Sn=>Sn==null?void 0:Sn.classList.contains(`${Fe.e("row")}`));let kn=hn;const Cn=(bn=wn[kn])==null?void 0:bn.childNodes;if(Cn!=null&&Cn.length){let Sn=0;Array.from(Cn).reduce((En,Tn,An)=>{var $n,Pn;return(($n=Cn[An])==null?void 0:$n.colSpan)>1&&(Sn=(Pn=Cn[An])==null?void 0:Pn.colSpan),Tn.nodeName!=="TD"&&Sn===0&&En.push(An),Sn>0&&Sn--,En},[]).forEach(En=>{var Tn;for(kn=hn;kn>0;){const An=(Tn=wn[kn-1])==null?void 0:Tn.childNodes;if(An[En]&&An[En].nodeName==="TD"&&An[En].rowSpan>1){addClass(An[En],"hover-cell"),jt.push(An[En]);break}kn--}})}else jt.forEach(Sn=>removeClass(Sn,"hover-cell")),jt.length=0;!xe.store.states.isComplex.value||!isClient||rAF(()=>{const Sn=wn[vn],xn=wn[hn];Sn&&!Sn.classList.contains("hover-fixed-row")&&removeClass(Sn,"hover-row"),xn&&addClass(xn,"hover-row")})}),onUnmounted(()=>{var hn;(hn=removePopper)==null||hn()}),{ns:Fe,onColumnsChange:Dt,onScrollableChange:Lt,wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}},render(){const{wrappedRowRender:xe,store:$e}=this,Ie=$e.states.data.value||[];return h$5("tbody",{tabIndex:-1},[Ie.reduce((Fe,Ue)=>Fe.concat(xe(Ue,Fe.length)),[])])}});function useMapState(){const xe=inject(TABLE_INJECTION_KEY),$e=xe==null?void 0:xe.store,Ie=computed(()=>$e.states.fixedLeafColumnsLength.value),Fe=computed(()=>$e.states.rightFixedColumns.value.length),Ue=computed(()=>$e.states.columns.value.length),qe=computed(()=>$e.states.fixedColumns.value.length),At=computed(()=>$e.states.rightFixedColumns.value.length);return{leftFixedLeafCount:Ie,rightFixedLeafCount:Fe,columnsCount:Ue,leftFixedCount:qe,rightFixedCount:At,columns:$e.states.columns}}function useStyle$1(xe){const{columns:$e}=useMapState(),Ie=useNamespace("table");return{getCellClasses:(qe,At)=>{const Dt=qe[At],Lt=[Ie.e("cell"),Dt.id,Dt.align,Dt.labelClassName,...getFixedColumnsClass(Ie.b(),At,Dt.fixed,xe.store)];return Dt.className&&Lt.push(Dt.className),Dt.children||Lt.push(Ie.is("leaf")),Lt},getCellStyles:(qe,At)=>{const Dt=getFixedColumnOffset(At,qe.fixed,xe.store);return ensurePosition(Dt,"left"),ensurePosition(Dt,"right"),Dt},columns:$e}}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(xe){const{getCellClasses:$e,getCellStyles:Ie,columns:Fe}=useStyle$1(xe);return{ns:useNamespace("table"),getCellClasses:$e,getCellStyles:Ie,columns:Fe}},render(){const{columns:xe,getCellStyles:$e,getCellClasses:Ie,summaryMethod:Fe,sumText:Ue}=this,qe=this.store.states.data.value;let At=[];return Fe?At=Fe({columns:xe,data:qe}):xe.forEach((Dt,Lt)=>{if(Lt===0){At[Lt]=Ue;return}const jt=qe.map(_n=>Number(_n[Dt.property])),hn=[];let vn=!0;jt.forEach(_n=>{if(!Number.isNaN(+_n)){vn=!1;const wn=`${_n}`.split(".")[1];hn.push(wn?wn.length:0)}});const bn=Math.max.apply(null,hn);vn?At[Lt]="":At[Lt]=jt.reduce((_n,wn)=>{const kn=Number(wn);return Number.isNaN(+kn)?_n:Number.parseFloat((_n+wn).toFixed(Math.min(bn,20)))},0)}),h$5(h$5("tfoot",[h$5("tr",{},[...xe.map((Dt,Lt)=>h$5("td",{key:Lt,colspan:Dt.colSpan,rowspan:Dt.rowSpan,class:Ie(xe,Lt),style:$e(Dt,Lt)},[h$5("div",{class:["cell",Dt.labelClassName]},[At[Lt]])]))])]))}});function useUtils(xe){return{setCurrentRow:hn=>{xe.commit("setCurrentRow",hn)},getSelectionRows:()=>xe.getSelectionRows(),toggleRowSelection:(hn,vn)=>{xe.toggleRowSelection(hn,vn,!1),xe.updateAllSelected()},clearSelection:()=>{xe.clearSelection()},clearFilter:hn=>{xe.clearFilter(hn)},toggleAllSelection:()=>{xe.commit("toggleAllSelection")},toggleRowExpansion:(hn,vn)=>{xe.toggleRowExpansionAdapter(hn,vn)},clearSort:()=>{xe.clearSort()},sort:(hn,vn)=>{xe.commit("sort",{prop:hn,order:vn})}}}function useStyle(xe,$e,Ie,Fe){const Ue=ref(!1),qe=ref(null),At=ref(!1),Dt=zn=>{At.value=zn},Lt=ref({width:null,height:null,headerHeight:null}),jt=ref(!1),hn={display:"inline-block",verticalAlign:"middle"},vn=ref(),bn=ref(0),_n=ref(0),wn=ref(0),kn=ref(0),Cn=ref(0);watchEffect(()=>{$e.setHeight(xe.height)}),watchEffect(()=>{$e.setMaxHeight(xe.maxHeight)}),watch(()=>[xe.currentRowKey,Ie.states.rowKey],([zn,jn])=>{!unref(jn)||!unref(zn)||Ie.setCurrentRowKey(`${zn}`)},{immediate:!0}),watch(()=>xe.data,zn=>{Fe.store.commit("setData",zn)},{immediate:!0,deep:!0}),watchEffect(()=>{xe.expandRowKeys&&Ie.setExpandRowKeysAdapter(xe.expandRowKeys)});const Sn=()=>{Fe.store.commit("setHoverRow",null),Fe.hoverState&&(Fe.hoverState=null)},xn=(zn,jn)=>{const{pixelX:Gn,pixelY:Wn}=jn;Math.abs(Gn)>=Math.abs(Wn)&&(Fe.refs.bodyWrapper.scrollLeft+=jn.pixelX/5)},En=computed(()=>xe.height||xe.maxHeight||Ie.states.fixedColumns.value.length>0||Ie.states.rightFixedColumns.value.length>0),Tn=computed(()=>({width:$e.bodyWidth.value?`${$e.bodyWidth.value}px`:""})),An=()=>{En.value&&$e.updateElsHeight(),$e.updateColumnsWidth(),requestAnimationFrame(Mn)};onMounted(async()=>{await nextTick(),Ie.updateColumns(),In(),requestAnimationFrame(An);const zn=Fe.vnode.el,jn=Fe.refs.headerWrapper;xe.flexible&&zn&&zn.parentElement&&(zn.parentElement.style.minWidth="0"),Lt.value={width:vn.value=zn.offsetWidth,height:zn.offsetHeight,headerHeight:xe.showHeader&&jn?jn.offsetHeight:null},Ie.states.columns.value.forEach(Gn=>{Gn.filteredValue&&Gn.filteredValue.length&&Fe.store.commit("filterChange",{column:Gn,values:Gn.filteredValue,silent:!0})}),Fe.$ready=!0});const $n=(zn,jn)=>{if(!zn)return;const Gn=Array.from(zn.classList).filter(Wn=>!Wn.startsWith("is-scrolling-"));Gn.push($e.scrollX.value?jn:"is-scrolling-none"),zn.className=Gn.join(" ")},Pn=zn=>{const{tableWrapper:jn}=Fe.refs;$n(jn,zn)},Nn=zn=>{const{tableWrapper:jn}=Fe.refs;return!!(jn&&jn.classList.contains(zn))},Mn=function(){if(!Fe.refs.scrollBarRef)return;if(!$e.scrollX.value){const Jn="is-scrolling-none";Nn(Jn)||Pn(Jn);return}const zn=Fe.refs.scrollBarRef.wrapRef;if(!zn)return;const{scrollLeft:jn,offsetWidth:Gn,scrollWidth:Wn}=zn,{headerWrapper:Xn,footerWrapper:er}=Fe.refs;Xn&&(Xn.scrollLeft=jn),er&&(er.scrollLeft=jn);const rr=Wn-Gn-1;jn>=rr?Pn("is-scrolling-right"):Pn(jn===0?"is-scrolling-left":"is-scrolling-middle")},In=()=>{Fe.refs.scrollBarRef&&(Fe.refs.scrollBarRef.wrapRef&&useEventListener(Fe.refs.scrollBarRef.wrapRef,"scroll",Mn,{passive:!0}),xe.fit?useResizeObserver(Fe.vnode.el,On):useEventListener(window,"resize",On),useResizeObserver(Fe.refs.bodyWrapper,()=>{var zn,jn;On(),(jn=(zn=Fe.refs)==null?void 0:zn.scrollBarRef)==null||jn.update()}))},On=()=>{var zn,jn,Gn,Wn;const Xn=Fe.vnode.el;if(!Fe.$ready||!Xn)return;let er=!1;const{width:rr,height:Jn,headerHeight:qn}=Lt.value,Yn=vn.value=Xn.offsetWidth;rr!==Yn&&(er=!0);const ar=Xn.offsetHeight;(xe.height||En.value)&&Jn!==ar&&(er=!0);const tr=xe.tableLayout==="fixed"?Fe.refs.headerWrapper:(zn=Fe.refs.tableHeaderRef)==null?void 0:zn.$el;xe.showHeader&&(tr==null?void 0:tr.offsetHeight)!==qn&&(er=!0),bn.value=((jn=Fe.refs.tableWrapper)==null?void 0:jn.scrollHeight)||0,wn.value=(tr==null?void 0:tr.scrollHeight)||0,kn.value=((Gn=Fe.refs.footerWrapper)==null?void 0:Gn.offsetHeight)||0,Cn.value=((Wn=Fe.refs.appendWrapper)==null?void 0:Wn.offsetHeight)||0,_n.value=bn.value-wn.value-kn.value-Cn.value,er&&(Lt.value={width:Yn,height:ar,headerHeight:xe.showHeader&&(tr==null?void 0:tr.offsetHeight)||0},An())},Rn=useFormSize(),Bn=computed(()=>{const{bodyWidth:zn,scrollY:jn,gutterWidth:Gn}=$e;return zn.value?`${zn.value-(jn.value?Gn:0)}px`:""}),Vn=computed(()=>xe.maxHeight?"fixed":xe.tableLayout),Ln=computed(()=>{if(xe.data&&xe.data.length)return null;let zn="100%";xe.height&&_n.value&&(zn=`${_n.value}px`);const jn=vn.value;return{width:jn?`${jn}px`:"",height:zn}}),Dn=computed(()=>xe.height?{height:Number.isNaN(Number(xe.height))?xe.height:`${xe.height}px`}:xe.maxHeight?{maxHeight:Number.isNaN(Number(xe.maxHeight))?xe.maxHeight:`${xe.maxHeight}px`}:{}),Hn=computed(()=>xe.height?{height:"100%"}:xe.maxHeight?Number.isNaN(Number(xe.maxHeight))?{maxHeight:`calc(${xe.maxHeight} - ${wn.value+kn.value}px)`}:{maxHeight:`${xe.maxHeight-wn.value-kn.value}px`}:{});return{isHidden:Ue,renderExpanded:qe,setDragVisible:Dt,isGroup:jt,handleMouseLeave:Sn,handleHeaderFooterMousewheel:xn,tableSize:Rn,emptyBlockStyle:Ln,handleFixedMousewheel:(zn,jn)=>{const Gn=Fe.refs.bodyWrapper;if(Math.abs(jn.spinY)>0){const Wn=Gn.scrollTop;jn.pixelY<0&&Wn!==0&&zn.preventDefault(),jn.pixelY>0&&Gn.scrollHeight-Gn.clientHeight>Wn&&zn.preventDefault(),Gn.scrollTop+=Math.ceil(jn.pixelY/5)}else Gn.scrollLeft+=Math.ceil(jn.pixelX/5)},resizeProxyVisible:At,bodyWidth:Bn,resizeState:Lt,doLayout:An,tableBodyStyles:Tn,tableLayout:Vn,scrollbarViewStyle:hn,tableInnerStyle:Dn,scrollbarStyle:Hn}}function useKeyRender(xe){const $e=ref(),Ie=()=>{const Ue=xe.vnode.el.querySelector(".hidden-columns"),qe={childList:!0,subtree:!0},At=xe.store.states.updateOrderFns;$e.value=new MutationObserver(()=>{At.forEach(Dt=>Dt())}),$e.value.observe(Ue,qe)};onMounted(()=>{Ie()}),onUnmounted(()=>{var Fe;(Fe=$e.value)==null||Fe.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:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object]};function hColgroup(xe){const $e=xe.tableLayout==="auto";let Ie=xe.columns||[];$e&&Ie.every(Ue=>Ue.width===void 0)&&(Ie=[]);const Fe=Ue=>{const qe={key:`${xe.tableLayout}_${Ue.id}`,style:{},name:void 0};return $e?qe.style={width:`${Ue.width}px`}:qe.name=Ue.id,qe};return h$5("colgroup",{},Ie.map(Ue=>h$5("col",Fe(Ue))))}hColgroup.props=["columns","tableLayout"];const useScrollbar$1=()=>{const xe=ref(),$e=(qe,At)=>{const Dt=xe.value;Dt&&Dt.scrollTo(qe,At)},Ie=(qe,At)=>{const Dt=xe.value;Dt&&isNumber(At)&&["Top","Left"].includes(qe)&&Dt[`setScroll${qe}`](At)};return{scrollBarRef:xe,scrollTo:$e,setScrollTop:qe=>Ie("Top",qe),setScrollLeft:qe=>Ie("Left",qe)}};let tableIdSeed=1;const _sfc_main$z=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(xe){const{t:$e}=useLocale(),Ie=useNamespace("table"),Fe=getCurrentInstance();provide(TABLE_INJECTION_KEY,Fe);const Ue=createStore(Fe,xe);Fe.store=Ue;const qe=new TableLayout({store:Fe.store,table:Fe,fit:xe.fit,showHeader:xe.showHeader});Fe.layout=qe;const At=computed(()=>(Ue.states.data.value||[]).length===0),{setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,sort:kn}=useUtils(Ue),{isHidden:Cn,renderExpanded:Sn,setDragVisible:xn,isGroup:En,handleMouseLeave:Tn,handleHeaderFooterMousewheel:An,tableSize:$n,emptyBlockStyle:Pn,handleFixedMousewheel:Nn,resizeProxyVisible:Mn,bodyWidth:In,resizeState:On,doLayout:Rn,tableBodyStyles:Bn,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn}=useStyle(xe,qe,Ue,Fe),{scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}=useScrollbar$1(),Wn=debounce(Rn,50),Xn=`${Ie.namespace.value}-table_${tableIdSeed++}`;Fe.tableId=Xn,Fe.state={isGroup:En,resizeState:On,doLayout:Rn,debouncedUpdateLayout:Wn};const er=computed(()=>xe.sumText||$e("el.table.sumText")),rr=computed(()=>xe.emptyText||$e("el.table.emptyText"));return useKeyRender(Fe),{ns:Ie,layout:qe,store:Ue,handleHeaderFooterMousewheel:An,handleMouseLeave:Tn,tableId:Xn,tableSize:$n,isHidden:Cn,isEmpty:At,renderExpanded:Sn,resizeProxyVisible:Mn,resizeState:On,isGroup:En,bodyWidth:In,tableBodyStyles:Bn,emptyBlockStyle:Pn,debouncedUpdateLayout:Wn,handleFixedMousewheel:Nn,setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,doLayout:Rn,sort:kn,t:$e,setDragVisible:xn,context:Fe,computedSumText:er,computedEmptyText:rr,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn,scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}}}),_hoisted_1$f=["data-prefix"],_hoisted_2$9={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$3(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("hColgroup"),Dt=resolveComponent("table-header"),Lt=resolveComponent("table-body"),jt=resolveComponent("table-footer"),hn=resolveComponent("el-scrollbar"),vn=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[xe.ns.m("fit")]:xe.fit,[xe.ns.m("striped")]:xe.stripe,[xe.ns.m("border")]:xe.border||xe.isGroup,[xe.ns.m("hidden")]:xe.isHidden,[xe.ns.m("group")]:xe.isGroup,[xe.ns.m("fluid-height")]:xe.maxHeight,[xe.ns.m("scrollable-x")]:xe.layout.scrollX.value,[xe.ns.m("scrollable-y")]:xe.layout.scrollY.value,[xe.ns.m("enable-row-hover")]:!xe.store.states.isComplex.value,[xe.ns.m("enable-row-transition")]:(xe.store.states.data.value||[]).length!==0&&(xe.store.states.data.value||[]).length<100,"has-footer":xe.showSummary},xe.ns.m(xe.tableSize),xe.className,xe.ns.b(),xe.ns.m(`layout-${xe.tableLayout}`)]),style:normalizeStyle$1(xe.style),"data-prefix":xe.ns.namespace.value,onMouseleave:$e[0]||($e[0]=(...bn)=>xe.handleMouseLeave&&xe.handleMouseLeave(...bn))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("inner-wrapper")),style:normalizeStyle$1(xe.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$9,[renderSlot(xe.$slots,"default")],512),xe.showHeader&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(xe.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(xe.ns.e("header")),style:normalizeStyle$1(xe.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(Dt,{ref:"tableHeaderRef",border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(xe.ns.e("body-wrapper"))},[createVNode$1(hn,{ref:"scrollBarRef","view-style":xe.scrollbarViewStyle,"wrap-style":xe.scrollbarStyle,always:xe.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(xe.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:xe.bodyWidth,tableLayout:xe.tableLayout})},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),xe.showHeader&&xe.tableLayout==="auto"?(openBlock(),createBlock(Dt,{key:0,ref:"tableHeaderRef",class:normalizeClass(xe.ns.e("body-header")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode$1(Lt,{context:xe.context,highlight:xe.highlightCurrentRow,"row-class-name":xe.rowClassName,"tooltip-effect":xe.tooltipEffect,"tooltip-options":xe.tooltipOptions,"row-style":xe.rowStyle,store:xe.store,stripe:xe.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),xe.showSummary&&xe.tableLayout==="auto"?(openBlock(),createBlock(jt,{key:1,class:normalizeClass(xe.ns.e("body-footer")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):createCommentVNode("v-if",!0)],6),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(xe.emptyBlockStyle),class:normalizeClass(xe.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},[renderSlot(xe.$slots,"empty",{},()=>[createTextVNode(toDisplayString(xe.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),xe.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(xe.ns.e("append-wrapper"))},[renderSlot(xe.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),xe.showSummary&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(xe.ns.e("footer-wrapper"))},[createBaseVNode("table",{class:normalizeClass(xe.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1(xe.tableBodyStyles)},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(jt,{border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[vShow,!xe.isEmpty],[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),xe.border||xe.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(xe.ns.e("column-resize-proxy"))},null,2),[[vShow,xe.resizeProxyVisible]])],46,_hoisted_1$f)}var Table=_export_sfc(_sfc_main$z,[["render",_sfc_render$3],["__file","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=xe=>defaultClassNames[xe]||"",cellForced={selection:{renderHeader({store:xe,column:$e}){function Ie(){return xe.states.data.value&&xe.states.data.value.length===0}return h$5(ElCheckbox,{disabled:Ie(),size:xe.states.tableSize.value,indeterminate:xe.states.selection.value.length>0&&!xe.states.isAllSelected.value,"onUpdate:modelValue":xe.toggleAllSelection,modelValue:xe.states.isAllSelected.value,ariaLabel:$e.label})},renderCell({row:xe,column:$e,store:Ie,$index:Fe}){return h$5(ElCheckbox,{disabled:$e.selectable?!$e.selectable.call(null,xe,Fe):!1,size:Ie.states.tableSize.value,onChange:()=>{Ie.commit("rowSelectedChanged",xe)},onClick:Ue=>Ue.stopPropagation(),modelValue:Ie.isSelected(xe),ariaLabel:$e.label})},sortable:!1,resizable:!1},index:{renderHeader({column:xe}){return xe.label||"#"},renderCell({column:xe,$index:$e}){let Ie=$e+1;const Fe=xe.index;return typeof Fe=="number"?Ie=$e+Fe:typeof Fe=="function"&&(Ie=Fe($e)),h$5("div",{},[Ie])},sortable:!1},expand:{renderHeader({column:xe}){return xe.label||""},renderCell({row:xe,store:$e,expanded:Ie}){const{ns:Fe}=$e,Ue=[Fe.e("expand-icon")];return Ie&&Ue.push(Fe.em("expand-icon","expanded")),h$5("div",{class:Ue,onClick:function(At){At.stopPropagation(),$e.toggleRowExpansion(xe)}},{default:()=>[h$5(ElIcon,null,{default:()=>[h$5(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:xe,column:$e,$index:Ie}){var Fe;const Ue=$e.property,qe=Ue&&getProp(xe,Ue).value;return $e&&$e.formatter?$e.formatter(xe,$e,qe,Ie):((Fe=qe==null?void 0:qe.toString)==null?void 0:Fe.call(qe))||""}function treeCellPrefix({row:xe,treeNode:$e,store:Ie},Fe=!1){const{ns:Ue}=Ie;if(!$e)return Fe?[h$5("span",{class:Ue.e("placeholder")})]:null;const qe=[],At=function(Dt){Dt.stopPropagation(),!$e.loading&&Ie.loadOrToggle(xe)};if($e.indent&&qe.push(h$5("span",{class:Ue.e("indent"),style:{"padding-left":`${$e.indent}px`}})),typeof $e.expanded=="boolean"&&!$e.noLazyChildren){const Dt=[Ue.e("expand-icon"),$e.expanded?Ue.em("expand-icon","expanded"):""];let Lt=arrow_right_default;$e.loading&&(Lt=loading_default),qe.push(h$5("div",{class:Dt,onClick:At},{default:()=>[h$5(ElIcon,{class:{[Ue.is("loading")]:$e.loading}},{default:()=>[h$5(Lt)]})]}))}else qe.push(h$5("span",{class:Ue.e("placeholder")}));return qe}function getAllAliases(xe,$e){return xe.reduce((Ie,Fe)=>(Ie[Fe]=Fe,Ie),$e)}function useWatcher(xe,$e){const Ie=getCurrentInstance();return{registerComplexWatchers:()=>{const qe=["fixed"],At={realWidth:"width",realMinWidth:"minWidth"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{let vn=hn;jt==="width"&&Lt==="realWidth"&&(vn=parseWidth(hn)),jt==="minWidth"&&Lt==="realMinWidth"&&(vn=parseMinWidth(hn)),Ie.columnConfig.value[jt]=vn,Ie.columnConfig.value[Lt]=vn;const bn=jt==="fixed";xe.value.store.scheduleLayout(bn)})})},registerNormalWatchers:()=>{const qe=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],At={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{Ie.columnConfig.value[Lt]=hn})})}}}function useRender(xe,$e,Ie){const Fe=getCurrentInstance(),Ue=ref(""),qe=ref(!1),At=ref(),Dt=ref(),Lt=useNamespace("table");watchEffect(()=>{At.value=xe.align?`is-${xe.align}`:null,At.value}),watchEffect(()=>{Dt.value=xe.headerAlign?`is-${xe.headerAlign}`:At.value,Dt.value});const jt=computed(()=>{let Tn=Fe.vnode.vParent||Fe.parent;for(;Tn&&!Tn.tableId&&!Tn.columnId;)Tn=Tn.vnode.vParent||Tn.parent;return Tn}),hn=computed(()=>{const{store:Tn}=Fe.parent;if(!Tn)return!1;const{treeData:An}=Tn.states,$n=An.value;return $n&&Object.keys($n).length>0}),vn=ref(parseWidth(xe.width)),bn=ref(parseMinWidth(xe.minWidth)),_n=Tn=>(vn.value&&(Tn.width=vn.value),bn.value&&(Tn.minWidth=bn.value),!vn.value&&bn.value&&(Tn.width=void 0),Tn.minWidth||(Tn.minWidth=80),Tn.realWidth=Number(Tn.width===void 0?Tn.minWidth:Tn.width),Tn),wn=Tn=>{const An=Tn.type,$n=cellForced[An]||{};Object.keys($n).forEach(Nn=>{const Mn=$n[Nn];Nn!=="className"&&Mn!==void 0&&(Tn[Nn]=Mn)});const Pn=getDefaultClassName(An);if(Pn){const Nn=`${unref(Lt.namespace)}-${Pn}`;Tn.className=Tn.className?`${Tn.className} ${Nn}`:Nn}return Tn},kn=Tn=>{Array.isArray(Tn)?Tn.forEach($n=>An($n)):An(Tn);function An($n){var Pn;((Pn=$n==null?void 0:$n.type)==null?void 0:Pn.name)==="ElTableColumn"&&($n.vParent=Fe)}};return{columnId:Ue,realAlign:At,isSubColumn:qe,realHeaderAlign:Dt,columnOrTableParent:jt,setColumnWidth:_n,setColumnForcedProps:wn,setColumnRenders:Tn=>{xe.renderHeader||Tn.type!=="selection"&&(Tn.renderHeader=$n=>(Fe.columnConfig.value.label,renderSlot($e,"header",$n,()=>[Tn.label])));let An=Tn.renderCell;return Tn.type==="expand"?(Tn.renderCell=$n=>h$5("div",{class:"cell"},[An($n)]),Ie.value.renderExpanded=$n=>$e.default?$e.default($n):$e.default):(An=An||defaultRenderCell,Tn.renderCell=$n=>{let Pn=null;if($e.default){const Bn=$e.default($n);Pn=Bn.some(Vn=>Vn.type!==Comment$1)?Bn:An($n)}else Pn=An($n);const{columns:Nn}=Ie.value.store.states,Mn=Nn.value.findIndex(Bn=>Bn.type==="default"),In=hn.value&&$n.cellIndex===Mn,On=treeCellPrefix($n,In),Rn={class:"cell",style:{}};return Tn.showOverflowTooltip&&(Rn.class=`${Rn.class} ${unref(Lt.namespace)}-tooltip`,Rn.style={width:`${($n.column.realWidth||Number($n.column.width))-1}px`}),kn(Pn),h$5("div",Rn,[On,Pn])}),Tn},getPropsData:(...Tn)=>Tn.reduce((An,$n)=>(Array.isArray($n)&&$n.forEach(Pn=>{An[Pn]=xe[Pn]}),An),{}),getColumnElIndex:(Tn,An)=>Array.prototype.indexOf.call(Tn,An),updateColumnOrder:()=>{Ie.value.store.commit("updateColumnOrder",Fe.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:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:xe=>xe.every($e=>["ascending","descending",null].includes($e))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=ref({}),Ue=computed(()=>{let En=Ie.parent;for(;En&&!En.tableId;)En=En.parent;return En}),{registerNormalWatchers:qe,registerComplexWatchers:At}=useWatcher(Ue,xe),{columnId:Dt,isSubColumn:Lt,realHeaderAlign:jt,columnOrTableParent:hn,setColumnWidth:vn,setColumnForcedProps:bn,setColumnRenders:_n,getPropsData:wn,getColumnElIndex:kn,realAlign:Cn,updateColumnOrder:Sn}=useRender(xe,$e,Ue),xn=hn.value;Dt.value=`${xn.tableId||xn.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{Lt.value=Ue.value!==xn;const En=xe.type||"default",Tn=xe.sortable===""?!0:xe.sortable,An=isUndefined(xe.showOverflowTooltip)?xn.props.showOverflowTooltip:xe.showOverflowTooltip,$n={...cellStarts[En],id:Dt.value,type:En,property:xe.prop||xe.property,align:Cn,headerAlign:jt,showOverflowTooltip:An,filterable:xe.filters||xe.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Tn,index:xe.index,rawColumnKey:Ie.vnode.key};let On=wn(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);On=mergeOptions($n,On),On=compose(_n,vn,bn)(On),Fe.value=On,qe(),At()}),onMounted(()=>{var En;const Tn=hn.value,An=Lt.value?Tn.vnode.el.children:(En=Tn.refs.hiddenColumns)==null?void 0:En.children,$n=()=>kn(An||[],Ie.vnode.el);Fe.value.getColumnIndex=$n,$n()>-1&&Ue.value.store.commit("insertColumn",Fe.value,Lt.value?Tn.columnConfig.value:null,Sn)}),onBeforeUnmount(()=>{Fe.value.getColumnIndex()>-1&&Ue.value.store.commit("removeColumn",Fe.value,Lt.value?xn.columnConfig.value:null,Sn)}),Ie.columnId=Dt.value,Ie.columnConfig=Fe},render(){var xe,$e,Ie;try{const Fe=($e=(xe=this.$slots).default)==null?void 0:$e.call(xe,{row:{},column:{},$index:-1}),Ue=[];if(Array.isArray(Fe))for(const At of Fe)((Ie=At.type)==null?void 0:Ie.name)==="ElTableColumn"||At.shapeFlag&2?Ue.push(At):At.type===Fragment&&Array.isArray(At.children)&&At.children.forEach(Dt=>{(Dt==null?void 0:Dt.patchFlag)!==1024&&!isString$4(Dt==null?void 0:Dt.children)&&Ue.push(Dt)});return h$5("div",Ue)}catch{return h$5("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(xe=>(xe.ASC="asc",xe.DESC="desc",xe))(SortOrder||{}),Alignment=(xe=>(xe.CENTER="center",xe.RIGHT="right",xe))(Alignment||{}),FixedDir=(xe=>(xe.LEFT="left",xe.RIGHT="right",xe))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(xe,$e,Ie)=>{var Fe;const Ue={flexGrow:0,flexShrink:0,...Ie?{}:{flexGrow:xe.flexGrow||0,flexShrink:xe.flexShrink||1}};Ie||(Ue.flexShrink=1);const qe={...(Fe=xe.style)!=null?Fe:{},...Ue,flexBasis:"auto",width:xe.width};return $e||(xe.maxWidth&&(qe.maxWidth=xe.maxWidth),xe.minWidth&&(qe.minWidth=xe.minWidth)),qe};function useColumns(xe,$e,Ie){const Fe=computed(()=>unref($e).filter(kn=>!kn.hidden)),Ue=computed(()=>unref(Fe).filter(kn=>kn.fixed==="left"||kn.fixed===!0)),qe=computed(()=>unref(Fe).filter(kn=>kn.fixed==="right")),At=computed(()=>unref(Fe).filter(kn=>!kn.fixed)),Dt=computed(()=>{const kn=[];return unref(Ue).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),unref(At).forEach(Cn=>{kn.push(Cn)}),unref(qe).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),kn}),Lt=computed(()=>unref(Ue).length||unref(qe).length),jt=computed(()=>unref($e).reduce((Cn,Sn)=>(Cn[Sn.key]=calcColumnStyle(Sn,unref(Ie),xe.fixed),Cn),{})),hn=computed(()=>unref(Fe).reduce((kn,Cn)=>kn+Cn.width,0)),vn=kn=>unref($e).find(Cn=>Cn.key===kn),bn=kn=>unref(jt)[kn],_n=(kn,Cn)=>{kn.width=Cn};function wn(kn){var Cn;const{key:Sn}=kn.currentTarget.dataset;if(!Sn)return;const{sortState:xn,sortBy:En}=xe;let Tn=SortOrder.ASC;isObject$8(xn)?Tn=oppositeOrderMap[xn[Sn]]:Tn=oppositeOrderMap[En.order],(Cn=xe.onColumnSort)==null||Cn.call(xe,{column:vn(Sn),key:Sn,order:Tn})}return{columns:$e,columnsStyles:jt,columnsTotalWidth:hn,fixedColumnsOnLeft:Ue,fixedColumnsOnRight:qe,hasFixedColumns:Lt,mainColumns:Dt,normalColumns:At,visibleColumns:Fe,getColumn:vn,getColumnStyle:bn,updateColumnWidth:_n,onColumnSorted:wn}}const useScrollbar=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Ue})=>{const qe=ref({scrollLeft:0,scrollTop:0});function At(_n){var wn,kn,Cn;const{scrollTop:Sn}=_n;(wn=$e.value)==null||wn.scrollTo(_n),(kn=Ie.value)==null||kn.scrollToTop(Sn),(Cn=Fe.value)==null||Cn.scrollToTop(Sn)}function Dt(_n){qe.value=_n,At(_n)}function Lt(_n){qe.value.scrollTop=_n,At(unref(qe))}function jt(_n){var wn,kn;qe.value.scrollLeft=_n,(kn=(wn=$e.value)==null?void 0:wn.scrollTo)==null||kn.call(wn,unref(qe))}function hn(_n){var wn;Dt(_n),(wn=xe.onScroll)==null||wn.call(xe,_n)}function vn({scrollTop:_n}){const{scrollTop:wn}=unref(qe);_n!==wn&&Lt(_n)}function bn(_n,wn="auto"){var kn;(kn=$e.value)==null||kn.scrollToRow(_n,wn)}return watch(()=>unref(qe).scrollTop,(_n,wn)=>{_n>wn&&Ue()}),{scrollPos:qe,scrollTo:Dt,scrollToLeft:jt,scrollToTop:Lt,scrollToRow:bn,onScroll:hn,onVerticalScroll:vn}},useRow=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Ue,ns:qe,isScrolling:At})=>{const Dt=getCurrentInstance(),{emit:Lt}=Dt,jt=shallowRef(!1),hn=ref(xe.defaultExpandedRowKeys||[]),vn=ref(-1),bn=shallowRef(null),_n=ref({}),wn=ref({}),kn=shallowRef({}),Cn=shallowRef({}),Sn=shallowRef({}),xn=computed(()=>isNumber(xe.estimatedRowHeight));function En(In){var On;(On=xe.onRowsRendered)==null||On.call(xe,In),In.rowCacheEnd>unref(vn)&&(vn.value=In.rowCacheEnd)}function Tn({hovered:In,rowKey:On}){if(At.value)return;Ue.vnode.el.querySelectorAll(`[rowkey=${On}]`).forEach(Vn=>{In?Vn.classList.add(qe.is("hovered")):Vn.classList.remove(qe.is("hovered"))})}function An({expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}){var Vn,Ln;const Dn=[...unref(hn)],Hn=Dn.indexOf(Bn);In?Hn===-1&&Dn.push(Bn):Hn>-1&&Dn.splice(Hn,1),hn.value=Dn,Lt("update:expandedRowKeys",Dn),(Vn=xe.onRowExpand)==null||Vn.call(xe,{expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}),(Ln=xe.onExpandedRowsChange)==null||Ln.call(xe,Dn)}const $n=debounce(()=>{var In,On,Rn,Bn;jt.value=!0,_n.value={...unref(_n),...unref(wn)},Pn(unref(bn),!1),wn.value={},bn.value=null,(In=$e.value)==null||In.forceUpdate(),(On=Ie.value)==null||On.forceUpdate(),(Rn=Fe.value)==null||Rn.forceUpdate(),(Bn=Dt.proxy)==null||Bn.$forceUpdate(),jt.value=!1},0);function Pn(In,On=!1){unref(xn)&&[$e,Ie,Fe].forEach(Rn=>{const Bn=unref(Rn);Bn&&Bn.resetAfterRowIndex(In,On)})}function Nn(In,On,Rn){const Bn=unref(bn);(Bn===null||Bn>Rn)&&(bn.value=Rn),wn.value[In]=On}function Mn({rowKey:In,height:On,rowIndex:Rn},Bn){Bn?Bn===FixedDir.RIGHT?Sn.value[In]=On:kn.value[In]=On:Cn.value[In]=On;const Vn=Math.max(...[kn,Sn,Cn].map(Ln=>Ln.value[In]||0));unref(_n)[In]!==Vn&&(Nn(In,Vn,Rn),$n())}return{expandedRowKeys:hn,lastRenderedRowIndex:vn,isDynamic:xn,isResetting:jt,rowHeights:_n,resetAfterIndex:Pn,onRowExpanded:An,onRowHovered:Tn,onRowsRendered:En,onRowHeightChange:Mn}},useData=(xe,{expandedRowKeys:$e,lastRenderedRowIndex:Ie,resetAfterIndex:Fe})=>{const Ue=ref({}),qe=computed(()=>{const Dt={},{data:Lt,rowKey:jt}=xe,hn=unref($e);if(!hn||!hn.length)return Lt;const vn=[],bn=new Set;hn.forEach(wn=>bn.add(wn));let _n=Lt.slice();for(_n.forEach(wn=>Dt[wn[jt]]=0);_n.length>0;){const wn=_n.shift();vn.push(wn),bn.has(wn[jt])&&Array.isArray(wn.children)&&wn.children.length>0&&(_n=[...wn.children,..._n],wn.children.forEach(kn=>Dt[kn[jt]]=Dt[wn[jt]]+1))}return Ue.value=Dt,vn}),At=computed(()=>{const{data:Dt,expandColumnKey:Lt}=xe;return Lt?unref(qe):Dt});return watch(At,(Dt,Lt)=>{Dt!==Lt&&(Ie.value=-1,Fe(0,!0))}),{data:At,depthMap:Ue}},sumReducer=(xe,$e)=>xe+$e,sum=xe=>isArray$6(xe)?xe.reduce(sumReducer,0):xe,tryCall=(xe,$e,Ie={})=>isFunction$5(xe)?xe($e):xe??Ie,enforceUnit=xe=>(["width","maxWidth","minWidth","height"].forEach($e=>{xe[$e]=addUnit(xe[$e])}),xe),componentToSlot=xe=>isVNode(xe)?$e=>h$5(xe,$e):xe,useStyles=(xe,{columnsTotalWidth:$e,data:Ie,fixedColumnsOnLeft:Fe,fixedColumnsOnRight:Ue})=>{const qe=computed(()=>{const{fixed:En,width:Tn,vScrollbarSize:An}=xe,$n=Tn-An;return En?Math.max(Math.round(unref($e)),$n):$n}),At=computed(()=>unref(qe)+xe.vScrollbarSize),Dt=computed(()=>{const{height:En=0,maxHeight:Tn=0,footerHeight:An,hScrollbarSize:$n}=xe;if(Tn>0){const Pn=unref(wn),Nn=unref(Lt),In=unref(_n)+Pn+Nn+$n;return Math.min(In,Tn-An)}return En-An}),Lt=computed(()=>{const{rowHeight:En,estimatedRowHeight:Tn}=xe,An=unref(Ie);return isNumber(Tn)?An.length*Tn:An.length*En}),jt=computed(()=>{const{maxHeight:En}=xe,Tn=unref(Dt);if(isNumber(En)&&En>0)return Tn;const An=unref(Lt)+unref(_n)+unref(wn);return Math.min(Tn,An)}),hn=En=>En.width,vn=computed(()=>sum(unref(Fe).map(hn))),bn=computed(()=>sum(unref(Ue).map(hn))),_n=computed(()=>sum(xe.headerHeight)),wn=computed(()=>{var En;return(((En=xe.fixedData)==null?void 0:En.length)||0)*xe.rowHeight}),kn=computed(()=>unref(Dt)-unref(_n)-unref(wn)),Cn=computed(()=>{const{style:En={},height:Tn,width:An}=xe;return enforceUnit({...En,height:Tn,width:An})}),Sn=computed(()=>enforceUnit({height:xe.footerHeight})),xn=computed(()=>({top:addUnit(unref(_n)),bottom:addUnit(xe.footerHeight),width:addUnit(xe.width)}));return{bodyWidth:qe,fixedTableHeight:jt,mainTableHeight:Dt,leftTableWidth:vn,rightTableWidth:bn,headerWidth:At,rowsHeight:Lt,windowHeight:kn,footerHeight:Sn,emptyStyle:xn,rootStyle:Cn,headerHeight:_n}},useAutoResize=xe=>{const $e=ref(),Ie=ref(0),Fe=ref(0);let Ue;return onMounted(()=>{Ue=useResizeObserver($e,([qe])=>{const{width:At,height:Dt}=qe.contentRect,{paddingLeft:Lt,paddingRight:jt,paddingTop:hn,paddingBottom:vn}=getComputedStyle(qe.target),bn=Number.parseInt(Lt)||0,_n=Number.parseInt(jt)||0,wn=Number.parseInt(hn)||0,kn=Number.parseInt(vn)||0;Ie.value=At-bn-_n,Fe.value=Dt-wn-kn}).stop}),onBeforeUnmount(()=>{Ue==null||Ue()}),watch([Ie,Fe],([qe,At])=>{var Dt;(Dt=xe.onResize)==null||Dt.call(xe,{width:qe,height:At})}),{sizer:$e,width:Ie,height:Fe}};function useTable(xe){const $e=ref(),Ie=ref(),Fe=ref(),{columns:Ue,columnsStyles:qe,columnsTotalWidth:At,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,hasFixedColumns:jt,mainColumns:hn,onColumnSorted:vn}=useColumns(xe,toRef(xe,"columns"),toRef(xe,"fixed")),{scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn,scrollPos:xn}=useScrollbar(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Kn}),En=useNamespace("table-v2"),Tn=getCurrentInstance(),An=shallowRef(!1),{expandedRowKeys:$n,lastRenderedRowIndex:Pn,isDynamic:Nn,isResetting:Mn,rowHeights:In,resetAfterIndex:On,onRowExpanded:Rn,onRowHeightChange:Bn,onRowHovered:Vn,onRowsRendered:Ln}=useRow(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Tn,ns:En,isScrolling:An}),{data:Dn,depthMap:Hn}=useData(xe,{expandedRowKeys:$n,lastRenderedRowIndex:Pn,resetAfterIndex:On}),{bodyWidth:Fn,fixedTableHeight:zn,mainTableHeight:jn,leftTableWidth:Gn,rightTableWidth:Wn,headerWidth:Xn,rowsHeight:er,windowHeight:rr,footerHeight:Jn,emptyStyle:qn,rootStyle:Yn,headerHeight:ar}=useStyles(xe,{columnsTotalWidth:At,data:Dn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt}),tr=ref(),or=computed(()=>{const Zn=unref(Dn).length===0;return isArray$6(xe.fixedData)?xe.fixedData.length===0&&Zn:Zn});function sr(Zn){const{estimatedRowHeight:nr,rowHeight:lr,rowKey:ir}=xe;return nr?unref(In)[unref(Dn)[Zn][ir]]||nr:lr}function Kn(){const{onEndReached:Zn}=xe;if(!Zn)return;const{scrollTop:nr}=unref(xn),lr=unref(er),ir=unref(rr),kr=lr-(nr+ir)+xe.hScrollbarSize;unref(Pn)>=0&&lr===nr+unref(jn)-unref(ar)&&Zn(kr)}return watch(()=>xe.expandedRowKeys,Zn=>$n.value=Zn,{deep:!0}),{columns:Ue,containerRef:tr,mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,isDynamic:Nn,isResetting:Mn,isScrolling:An,hasFixedColumns:jt,columnsStyles:qe,columnsTotalWidth:At,data:Dn,expandedRowKeys:$n,depthMap:Hn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,mainColumns:hn,bodyWidth:Fn,emptyStyle:qn,rootStyle:Yn,headerWidth:Xn,footerHeight:Jn,mainTableHeight:jn,fixedTableHeight:zn,leftTableWidth:Gn,rightTableWidth:Wn,showEmpty:or,getRowHeight:sr,onColumnSorted:vn,onRowHovered:Vn,onRowExpanded:Rn,onRowsRendered:Ln,onRowHeightChange:Bn,scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn}}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=(xe,{slots:$e})=>{var Ie;const{cellData:Fe,style:Ue}=xe,qe=((Ie=Fe==null?void 0:Fe.toString)==null?void 0:Ie.call(Fe))||"",At=renderSlot($e,"default",xe,()=>[qe]);return createVNode$1("div",{class:xe.class,title:qe,style:Ue},[At])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(xe,{slots:$e})=>renderSlot($e,"default",xe,()=>{var Ie,Fe;return[createVNode$1("div",{class:xe.class,title:(Ie=xe.column)==null?void 0:Ie.title},[(Fe=xe.column)==null?void 0:Fe.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(xe,{slots:$e}){return()=>{const{columns:Ie,columnsStyles:Fe,headerIndex:Ue,style:qe}=xe;let At=Ie.map((Dt,Lt)=>$e.cell({columns:Ie,column:Dt,columnIndex:Lt,headerIndex:Ue,style:Fe[Dt.key]}));return $e.header&&(At=$e.header({cells:At.map(Dt=>isArray$6(Dt)&&Dt.length===1?Dt[0]:Dt),columns:Ie,headerIndex:Ue})),createVNode$1("div",{class:xe.class,style:qe,role:"row"},[At])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),Ue=ref(),qe=computed(()=>enforceUnit({width:xe.width,height:xe.height})),At=computed(()=>enforceUnit({width:xe.rowWidth,height:xe.height})),Dt=computed(()=>castArray$1(unref(xe.headerHeight))),Lt=vn=>{const bn=unref(Ue);nextTick(()=>{bn!=null&&bn.scroll&&bn.scroll({left:vn})})},jt=()=>{const vn=Fe.e("fixed-header-row"),{columns:bn,fixedHeaderData:_n,rowHeight:wn}=xe;return _n==null?void 0:_n.map((kn,Cn)=>{var Sn;const xn=enforceUnit({height:wn,width:"100%"});return(Sn=$e.fixed)==null?void 0:Sn.call($e,{class:vn,columns:bn,rowData:kn,rowIndex:-(Cn+1),style:xn})})},hn=()=>{const vn=Fe.e("dynamic-header-row"),{columns:bn}=xe;return unref(Dt).map((_n,wn)=>{var kn;const Cn=enforceUnit({width:"100%",height:_n});return(kn=$e.dynamic)==null?void 0:kn.call($e,{class:vn,columns:bn,headerIndex:wn,style:Cn})})};return Ie({scrollToLeft:Lt}),()=>{if(!(xe.height<=0))return createVNode$1("div",{ref:Ue,class:xe.class,style:unref(qe),role:"rowgroup"},[createVNode$1("div",{style:unref(At),class:Fe.e("header")},[hn(),jt()])])}}}),useTableRow=xe=>{const{isScrolling:$e}=inject(TableV2InjectionKey),Ie=ref(!1),Fe=ref(),Ue=computed(()=>isNumber(xe.estimatedRowHeight)&&xe.rowIndex>=0),qe=(Lt=!1)=>{const jt=unref(Fe);if(!jt)return;const{columns:hn,onRowHeightChange:vn,rowKey:bn,rowIndex:_n,style:wn}=xe,{height:kn}=jt.getBoundingClientRect();Ie.value=!0,nextTick(()=>{if(Lt||kn!==Number.parseInt(wn.height)){const Cn=hn[0],Sn=(Cn==null?void 0:Cn.placeholderSign)===placeholderSign;vn==null||vn({rowKey:bn,height:kn,rowIndex:_n},Cn&&!Sn&&Cn.fixed)}})},At=computed(()=>{const{rowData:Lt,rowIndex:jt,rowKey:hn,onRowHover:vn}=xe,bn=xe.rowEventHandlers||{},_n={};return Object.entries(bn).forEach(([wn,kn])=>{isFunction$5(kn)&&(_n[wn]=Cn=>{kn({event:Cn,rowData:Lt,rowIndex:jt,rowKey:hn})})}),vn&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:wn,hovered:kn})=>{const Cn=_n[wn];_n[wn]=Sn=>{vn({event:Sn,hovered:kn,rowData:Lt,rowIndex:jt,rowKey:hn}),Cn==null||Cn(Sn)}}),_n}),Dt=Lt=>{const{onRowExpand:jt,rowData:hn,rowIndex:vn,rowKey:bn}=xe;jt==null||jt({expanded:Lt,rowData:hn,rowIndex:vn,rowKey:bn})};return onMounted(()=>{unref(Ue)&&qe(!0)}),{isScrolling:$e,measurable:Ue,measured:Ie,rowRef:Fe,eventHandlers:At,onExpand:Dt}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(xe,{expose:$e,slots:Ie,attrs:Fe}){const{eventHandlers:Ue,isScrolling:qe,measurable:At,measured:Dt,rowRef:Lt,onExpand:jt}=useTableRow(xe);return $e({onExpand:jt}),()=>{const{columns:hn,columnsStyles:vn,expandColumnKey:bn,depth:_n,rowData:wn,rowIndex:kn,style:Cn}=xe;let Sn=hn.map((xn,En)=>{const Tn=isArray$6(wn.children)&&wn.children.length>0&&xn.key===bn;return Ie.cell({column:xn,columns:hn,columnIndex:En,depth:_n,style:vn[xn.key],rowData:wn,rowIndex:kn,isScrolling:unref(qe),expandIconProps:Tn?{rowData:wn,rowIndex:kn,onExpand:jt}:void 0})});if(Ie.row&&(Sn=Ie.row({cells:Sn.map(xn=>isArray$6(xn)&&xn.length===1?xn[0]:xn),style:Cn,columns:hn,depth:_n,rowData:wn,rowIndex:kn,isScrolling:unref(qe)})),unref(At)){const{height:xn,...En}=Cn||{},Tn=unref(Dt);return createVNode$1("div",mergeProps({ref:Lt,class:xe.class,style:Tn?Cn:En,role:"row"},Fe,unref(Ue)),[Sn])}return createVNode$1("div",mergeProps(Fe,{ref:Lt,class:xe.class,style:Cn,role:"row"},unref(Ue)),[Sn])}}}),SortIcon=xe=>{const{sortOrder:$e}=xe;return createVNode$1(ElIcon,{size:14,class:xe.class},{default:()=>[$e===SortOrder.ASC?createVNode$1(sort_up_default,null,null):createVNode$1(sort_down_default,null,null)]})},ExpandIcon=xe=>{const{expanded:$e,expandable:Ie,onExpand:Fe,style:Ue,size:qe}=xe,At={onClick:Ie?()=>Fe(!$e):void 0,class:xe.class};return createVNode$1(ElIcon,mergeProps(At,{size:qe,style:Ue}),{default:()=>[createVNode$1(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=xe=>{const $e=ref(),Ie=ref(),Fe=computed(()=>{const{data:kn,rowHeight:Cn,estimatedRowHeight:Sn}=xe;if(!Sn)return kn.length*Cn}),Ue=computed(()=>{const{fixedData:kn,rowHeight:Cn}=xe;return((kn==null?void 0:kn.length)||0)*Cn}),qe=computed(()=>sum(xe.headerHeight)),At=computed(()=>{const{height:kn}=xe;return Math.max(0,kn-unref(qe)-unref(Ue))}),Dt=computed(()=>unref(qe)+unref(Ue)>0),Lt=({data:kn,rowIndex:Cn})=>kn[Cn][xe.rowKey];function jt({rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn}){var En;(En=xe.onRowsRendered)==null||En.call(xe,{rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn})}function hn(kn,Cn){var Sn;(Sn=Ie.value)==null||Sn.resetAfterRowIndex(kn,Cn)}function vn(kn,Cn){const Sn=unref($e),xn=unref(Ie);isObject$8(kn)?(Sn==null||Sn.scrollToLeft(kn.scrollLeft),xn==null||xn.scrollTo(kn)):(Sn==null||Sn.scrollToLeft(kn),xn==null||xn.scrollTo({scrollLeft:kn,scrollTop:Cn}))}function bn(kn){var Cn;(Cn=unref(Ie))==null||Cn.scrollTo({scrollTop:kn})}function _n(kn,Cn){var Sn;(Sn=unref(Ie))==null||Sn.scrollToItem(kn,1,Cn)}function wn(){var kn,Cn;(kn=unref(Ie))==null||kn.$forceUpdate(),(Cn=unref($e))==null||Cn.$forceUpdate()}return{bodyRef:Ie,forceUpdate:wn,fixedRowHeight:Ue,gridHeight:At,hasHeader:Dt,headerHeight:qe,headerRef:$e,totalHeight:Fe,itemKey:Lt,onItemRendered:jt,resetAfterRowIndex:hn,scrollTo:vn,scrollToTop:bn,scrollToRow:_n}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(xe,{slots:$e,expose:Ie}){const{ns:Fe}=inject(TableV2InjectionKey),{bodyRef:Ue,fixedRowHeight:qe,gridHeight:At,hasHeader:Dt,headerRef:Lt,headerHeight:jt,totalHeight:hn,forceUpdate:vn,itemKey:bn,onItemRendered:_n,resetAfterRowIndex:wn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn}=useTableGrid(xe);Ie({forceUpdate:vn,totalHeight:hn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn,resetAfterRowIndex:wn});const xn=()=>xe.bodyWidth;return()=>{const{cache:En,columns:Tn,data:An,fixedData:$n,useIsScrolling:Pn,scrollbarAlwaysOn:Nn,scrollbarEndGap:Mn,scrollbarStartGap:In,style:On,rowHeight:Rn,bodyWidth:Bn,estimatedRowHeight:Vn,headerWidth:Ln,height:Dn,width:Hn,getRowHeight:Fn,onScroll:zn}=xe,jn=isNumber(Vn),Gn=jn?DynamicSizeGrid:FixedSizeGrid,Wn=unref(jt);return createVNode$1("div",{role:"table",class:[Fe.e("table"),xe.class],style:On},[createVNode$1(Gn,{ref:Ue,data:An,useIsScrolling:Pn,itemKey:bn,columnCache:0,columnWidth:jn?xn:Bn,totalColumn:1,totalRow:An.length,rowCache:En,rowHeight:jn?Fn:Rn,width:Hn,height:unref(At),class:Fe.e("body"),role:"rowgroup",scrollbarStartGap:In,scrollbarEndGap:Mn,scrollbarAlwaysOn:Nn,onScroll:zn,onItemRendered:_n,perfMode:!1},{default:Xn=>{var er;const rr=An[Xn.rowIndex];return(er=$e.row)==null?void 0:er.call($e,{...Xn,columns:Tn,rowData:rr})}}),unref(Dt)&&createVNode$1(TableV2Header,{ref:Lt,class:Fe.e("header-wrapper"),columns:Tn,headerData:An,headerHeight:xe.headerHeight,fixedHeaderData:$n,rowWidth:Ln,rowHeight:Rn,width:Hn,height:Math.min(Wn+unref(qe),Dn)},{dynamic:$e.header,fixed:$e.row})])}}});function _isSlot$5(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const MainTable=(xe,{slots:$e})=>{const{mainTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$5($e)?$e:{default:()=>[$e]})};function _isSlot$4(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable$1=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{leftTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$4($e)?$e:{default:()=>[$e]})};function _isSlot$3(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{rightTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$3($e)?$e:{default:()=>[$e]})};function _isSlot$2(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const RowRenderer=(xe,{slots:$e})=>{const{columns:Ie,columnsStyles:Fe,depthMap:Ue,expandColumnKey:qe,expandedRowKeys:At,estimatedRowHeight:Dt,hasFixedColumns:Lt,rowData:jt,rowIndex:hn,style:vn,isScrolling:bn,rowProps:_n,rowClass:wn,rowKey:kn,rowEventHandlers:Cn,ns:Sn,onRowHovered:xn,onRowExpanded:En}=xe,Tn=tryCall(wn,{columns:Ie,rowData:jt,rowIndex:hn},""),An=tryCall(_n,{columns:Ie,rowData:jt,rowIndex:hn}),$n=jt[kn],Pn=Ue[$n]||0,Nn=!!qe,Mn=hn<0,In=[Sn.e("row"),Tn,{[Sn.e(`row-depth-${Pn}`)]:Nn&&hn>=0,[Sn.is("expanded")]:Nn&&At.includes($n),[Sn.is("fixed")]:!Pn&&Mn,[Sn.is("customized")]:!!$e.row}],On=Lt?xn:void 0,Rn={...An,columns:Ie,columnsStyles:Fe,class:In,depth:Pn,expandColumnKey:qe,estimatedRowHeight:Mn?void 0:Dt,isScrolling:bn,rowIndex:hn,rowData:jt,rowKey:$n,rowEventHandlers:Cn,style:vn};return createVNode$1(TableV2Row,mergeProps(Rn,{onRowExpand:En,onMouseenter:Ln=>{On==null||On({hovered:!0,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},onMouseleave:Ln=>{On==null||On({hovered:!1,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},rowkey:$n}),_isSlot$2($e)?$e:{default:()=>[$e]})},CellRenderer=({columns:xe,column:$e,columnIndex:Ie,depth:Fe,expandIconProps:Ue,isScrolling:qe,rowData:At,rowIndex:Dt,style:Lt,expandedRowKeys:jt,ns:hn,cellProps:vn,expandColumnKey:bn,indentSize:_n,iconSize:wn,rowKey:kn},{slots:Cn})=>{const Sn=enforceUnit(Lt);if($e.placeholderSign===placeholderSign)return createVNode$1("div",{class:hn.em("row-cell","placeholder"),style:Sn},null);const{cellRenderer:xn,dataKey:En,dataGetter:Tn}=$e,An=isFunction$5(Tn)?Tn({columns:xe,column:$e,columnIndex:Ie,rowData:At,rowIndex:Dt}):get$1(At,En??""),$n=tryCall(vn,{cellData:An,columns:xe,column:$e,columnIndex:Ie,rowIndex:Dt,rowData:At}),Pn={class:hn.e("cell-text"),columns:xe,column:$e,columnIndex:Ie,cellData:An,isScrolling:qe,rowData:At,rowIndex:Dt},Nn=componentToSlot(xn),Mn=Nn?Nn(Pn):renderSlot(Cn,"default",Pn,()=>[createVNode$1(TableV2Cell,Pn,null)]),In=[hn.e("row-cell"),$e.class,$e.align===Alignment.CENTER&&hn.is("align-center"),$e.align===Alignment.RIGHT&&hn.is("align-right")],On=Dt>=0&&bn&&$e.key===bn,Rn=Dt>=0&&jt.includes(At[kn]);let Bn;const Vn=`margin-inline-start: ${Fe*_n}px;`;return On&&(isObject$8(Ue)?Bn=createVNode$1(ExpandIcon,mergeProps(Ue,{class:[hn.e("expand-icon"),hn.is("expanded",Rn)],size:wn,expanded:Rn,style:Vn,expandable:!0}),null):Bn=createVNode$1("div",{style:[Vn,`width: ${wn}px; height: ${wn}px;`].join(" ")},null)),createVNode$1("div",mergeProps({class:In,style:Sn},$n,{role:"cell"}),[Bn,Mn])};CellRenderer.inheritAttrs=!1;function _isSlot$1(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const HeaderRenderer=({columns:xe,columnsStyles:$e,headerIndex:Ie,style:Fe,headerClass:Ue,headerProps:qe,ns:At},{slots:Dt})=>{const Lt={columns:xe,headerIndex:Ie},jt=[At.e("header-row"),tryCall(Ue,Lt,""),{[At.is("customized")]:!!Dt.header}],hn={...tryCall(qe,Lt),columnsStyles:$e,class:jt,columns:xe,headerIndex:Ie,style:Fe};return createVNode$1(TableV2HeaderRow,hn,_isSlot$1(Dt)?Dt:{default:()=>[Dt]})},HeaderCellRenderer=(xe,{slots:$e})=>{const{column:Ie,ns:Fe,style:Ue,onColumnSorted:qe}=xe,At=enforceUnit(Ue);if(Ie.placeholderSign===placeholderSign)return createVNode$1("div",{class:Fe.em("header-row-cell","placeholder"),style:At},null);const{headerCellRenderer:Dt,headerClass:Lt,sortable:jt}=Ie,hn={...xe,class:Fe.e("header-cell-text")},vn=componentToSlot(Dt),bn=vn?vn(hn):renderSlot($e,"default",hn,()=>[createVNode$1(HeaderCell,hn,null)]),{sortBy:_n,sortState:wn,headerCellProps:kn}=xe;let Cn,Sn;if(wn){const Tn=wn[Ie.key];Cn=!!oppositeOrderMap[Tn],Sn=Cn?Tn:SortOrder.ASC}else Cn=Ie.key===_n.key,Sn=Cn?_n.order:SortOrder.ASC;const xn=[Fe.e("header-cell"),tryCall(Lt,xe,""),Ie.align===Alignment.CENTER&&Fe.is("align-center"),Ie.align===Alignment.RIGHT&&Fe.is("align-right"),jt&&Fe.is("sortable")],En={...tryCall(kn,xe),onClick:Ie.sortable?qe:void 0,class:xn,style:At,"data-key":Ie.key};return createVNode$1("div",mergeProps(En,{role:"columnheader"}),[bn,jt&&createVNode$1(SortIcon,{class:[Fe.e("sort-icon"),Cn&&Fe.is("sorting")],sortOrder:Sn},null)])},Footer$1=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Footer$1.displayName="ElTableV2Footer";const Footer=(xe,{slots:$e})=>{const Ie=renderSlot($e,"default",{},()=>[createVNode$1(ElEmpty,null,null)]);return createVNode$1("div",{class:xe.class,style:xe.style},[Ie])};Footer.displayName="ElTableV2Empty";const Overlay=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),{columnsStyles:Ue,fixedColumnsOnLeft:qe,fixedColumnsOnRight:At,mainColumns:Dt,mainTableHeight:Lt,fixedTableHeight:jt,leftTableWidth:hn,rightTableWidth:vn,data:bn,depthMap:_n,expandedRowKeys:wn,hasFixedColumns:kn,mainTableRef:Cn,leftTableRef:Sn,rightTableRef:xn,isDynamic:En,isResetting:Tn,isScrolling:An,bodyWidth:$n,emptyStyle:Pn,rootStyle:Nn,headerWidth:Mn,footerHeight:In,showEmpty:On,scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln,getRowHeight:Dn,onColumnSorted:Hn,onRowHeightChange:Fn,onRowHovered:zn,onRowExpanded:jn,onRowsRendered:Gn,onScroll:Wn,onVerticalScroll:Xn}=useTable(xe);return Ie({scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln}),provide(TableV2InjectionKey,{ns:Fe,isResetting:Tn,isScrolling:An}),()=>{const{cache:er,cellProps:rr,estimatedRowHeight:Jn,expandColumnKey:qn,fixedData:Yn,headerHeight:ar,headerClass:tr,headerProps:or,headerCellProps:sr,sortBy:Kn,sortState:Zn,rowHeight:nr,rowClass:lr,rowEventHandlers:ir,rowKey:kr,rowProps:Cr,scrollbarAlwaysOn:Er,indentSize:dr,iconSize:br,useIsScrolling:_r,vScrollbarSize:Pr,width:vr}=xe,xr=unref(bn),Rr={cache:er,class:Fe.e("main"),columns:unref(Dt),data:xr,fixedData:Yn,estimatedRowHeight:Jn,bodyWidth:unref($n)+Pr,headerHeight:ar,headerWidth:unref(Mn),height:unref(Lt),mainTableRef:Cn,rowKey:kr,rowHeight:nr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:vr,getRowHeight:Dn,onRowsRendered:Gn,onScroll:Wn},Hr=unref(hn),Jr=unref(jt),Gr={cache:er,class:Fe.e("left"),columns:unref(qe),data:xr,estimatedRowHeight:Jn,leftTableRef:Sn,rowHeight:nr,bodyWidth:Hr,headerWidth:Hr,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:Hr,getRowHeight:Dn,onScroll:Xn},Br=unref(vn)+Pr,Tr={cache:er,class:Fe.e("right"),columns:unref(At),data:xr,estimatedRowHeight:Jn,rightTableRef:xn,rowHeight:nr,bodyWidth:Br,headerWidth:Br,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,width:Br,style:`--${unref(Fe.namespace)}-table-scrollbar-size: ${Pr}px`,useIsScrolling:_r,getRowHeight:Dn,onScroll:Xn},cr=unref(Ue),Sr={ns:Fe,depthMap:unref(_n),columnsStyles:cr,expandColumnKey:qn,expandedRowKeys:unref(wn),estimatedRowHeight:Jn,hasFixedColumns:unref(kn),rowProps:Cr,rowClass:lr,rowKey:kr,rowEventHandlers:ir,onRowHovered:zn,onRowExpanded:jn,onRowHeightChange:Fn},Dr={cellProps:rr,expandColumnKey:qn,indentSize:dr,iconSize:br,rowKey:kr,expandedRowKeys:unref(wn),ns:Fe},mr={ns:Fe,headerClass:tr,headerProps:or,columnsStyles:cr},Lr={ns:Fe,sortBy:Kn,sortState:Zn,headerCellProps:sr,onColumnSorted:Hn},zr={row:Yr=>createVNode$1(RowRenderer,mergeProps(Yr,Sr),{row:$e.row,cell:Ur=>{let uo;return $e.cell?createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),_isSlot(uo=$e.cell(Ur))?uo:{default:()=>[uo]}):createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),null)}}),header:Yr=>createVNode$1(HeaderRenderer,mergeProps(Yr,mr),{header:$e.header,cell:Ur=>{let uo;return $e["header-cell"]?createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),_isSlot(uo=$e["header-cell"](Ur))?uo:{default:()=>[uo]}):createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),null)}})},Vr=[xe.class,Fe.b(),Fe.e("root"),{[Fe.is("dynamic")]:unref(En)}],Kr={class:Fe.e("footer"),style:unref(In)};return createVNode$1("div",{class:Vr,style:unref(Nn)},[createVNode$1(MainTable,Rr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable$1,Gr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable,Tr,_isSlot(zr)?zr:{default:()=>[zr]}),$e.footer&&createVNode$1(Footer$1,Kr,{default:$e.footer}),unref(On)&&createVNode$1(Footer,{class:Fe.e("empty"),style:unref(Pn)},{default:$e.empty}),$e.overlay&&createVNode$1(Overlay,{class:Fe.e("overlay")},{default:$e.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(xe,{slots:$e}){const Ie=useNamespace("auto-resizer"),{height:Fe,width:Ue,sizer:qe}=useAutoResize(xe),At={width:"100%",height:"100%"};return()=>{var Dt;return createVNode$1("div",{ref:qe,class:Ie.b(),style:At},[(Dt=$e.default)==null?void 0:Dt.call($e,{height:Fe.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__$s=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$y=defineComponent({...__default__$s,props:tabBarProps,setup(xe,{expose:$e}){const Ie=xe,Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError(COMPONENT_NAME$3,"<el-tabs><el-tab-bar /></el-tabs>");const qe=useNamespace("tabs"),At=ref(),Dt=ref(),Lt=()=>{let hn=0,vn=0;const bn=["top","bottom"].includes(Ue.props.tabPosition)?"width":"height",_n=bn==="width"?"x":"y",wn=_n==="x"?"left":"top";return Ie.tabs.every(kn=>{var Cn,Sn;const xn=(Sn=(Cn=Fe.parent)==null?void 0:Cn.refs)==null?void 0:Sn[`tab-${kn.uid}`];if(!xn)return!1;if(!kn.active)return!0;hn=xn[`offset${capitalize(wn)}`],vn=xn[`client${capitalize(bn)}`];const En=window.getComputedStyle(xn);return bn==="width"&&(Ie.tabs.length>1&&(vn-=Number.parseFloat(En.paddingLeft)+Number.parseFloat(En.paddingRight)),hn+=Number.parseFloat(En.paddingLeft)),!1}),{[bn]:`${vn}px`,transform:`translate${capitalize(_n)}(${hn}px)`}},jt=()=>Dt.value=Lt();return watch(()=>Ie.tabs,async()=>{await nextTick(),jt()},{immediate:!0}),useResizeObserver(At,()=>jt()),$e({ref:At,update:jt}),(hn,vn)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:At,class:normalizeClass([unref(qe).e("active-bar"),unref(qe).is(unref(Ue).props.tabPosition)]),style:normalizeStyle$1(Dt.value)},null,6))}});var TabBar=_export_sfc(_sfc_main$y,[["__file","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:(xe,$e,Ie)=>Ie instanceof Event,tabRemove:(xe,$e)=>$e instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError(COMPONENT_NAME$2,"<el-tabs><tab-nav /></el-tabs>");const qe=useNamespace("tabs"),At=useDocumentVisibility(),Dt=useWindowFocus(),Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn=ref(!1),_n=ref(0),wn=ref(!1),kn=ref(!0),Cn=computed(()=>["top","bottom"].includes(Ue.props.tabPosition)?"width":"height"),Sn=computed(()=>({transform:`translate${Cn.value==="width"?"X":"Y"}(-${_n.value}px)`})),xn=()=>{if(!Lt.value)return;const Mn=Lt.value[`offset${capitalize(Cn.value)}`],In=_n.value;if(!In)return;const On=In>Mn?In-Mn:0;_n.value=On},En=()=>{if(!Lt.value||!jt.value)return;const Mn=jt.value[`offset${capitalize(Cn.value)}`],In=Lt.value[`offset${capitalize(Cn.value)}`],On=_n.value;if(Mn-On<=In)return;const Rn=Mn-On>In*2?On+In:Mn-In;_n.value=Rn},Tn=async()=>{const Mn=jt.value;if(!bn.value||!hn.value||!Lt.value||!Mn)return;await nextTick();const In=hn.value.querySelector(".is-active");if(!In)return;const On=Lt.value,Rn=["top","bottom"].includes(Ue.props.tabPosition),Bn=In.getBoundingClientRect(),Vn=On.getBoundingClientRect(),Ln=Rn?Mn.offsetWidth-Vn.width:Mn.offsetHeight-Vn.height,Dn=_n.value;let Hn=Dn;Rn?(Bn.left<Vn.left&&(Hn=Dn-(Vn.left-Bn.left)),Bn.right>Vn.right&&(Hn=Dn+Bn.right-Vn.right)):(Bn.top<Vn.top&&(Hn=Dn-(Vn.top-Bn.top)),Bn.bottom>Vn.bottom&&(Hn=Dn+(Bn.bottom-Vn.bottom))),Hn=Math.max(Hn,0),_n.value=Math.min(Hn,Ln)},An=()=>{var Mn;if(!jt.value||!Lt.value)return;xe.stretch&&((Mn=vn.value)==null||Mn.update());const In=jt.value[`offset${capitalize(Cn.value)}`],On=Lt.value[`offset${capitalize(Cn.value)}`],Rn=_n.value;On<In?(bn.value=bn.value||{},bn.value.prev=Rn,bn.value.next=Rn+On<In,In-Rn<On&&(_n.value=In-On)):(bn.value=!1,Rn>0&&(_n.value=0))},$n=Mn=>{const In=Mn.code,{up:On,down:Rn,left:Bn,right:Vn}=EVENT_CODE;if(![On,Rn,Bn,Vn].includes(In))return;const Ln=Array.from(Mn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Dn=Ln.indexOf(Mn.target);let Hn;In===Bn||In===On?Dn===0?Hn=Ln.length-1:Hn=Dn-1:Dn<Ln.length-1?Hn=Dn+1:Hn=0,Ln[Hn].focus({preventScroll:!0}),Ln[Hn].click(),Pn()},Pn=()=>{kn.value&&(wn.value=!0)},Nn=()=>wn.value=!1;return watch(At,Mn=>{Mn==="hidden"?kn.value=!1:Mn==="visible"&&setTimeout(()=>kn.value=!0,50)}),watch(Dt,Mn=>{Mn?setTimeout(()=>kn.value=!0,50):kn.value=!1}),useResizeObserver(hn,An),onMounted(()=>setTimeout(()=>Tn(),0)),onUpdated(()=>An()),$e({scrollToActiveTab:Tn,removeFocus:Nn}),watch(()=>xe.panes,()=>Fe.update(),{flush:"post",deep:!0}),()=>{const Mn=bn.value?[createVNode$1("span",{class:[qe.e("nav-prev"),qe.is("disabled",!bn.value.prev)],onClick:xn},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_left_default,null,null)]})]),createVNode$1("span",{class:[qe.e("nav-next"),qe.is("disabled",!bn.value.next)],onClick:En},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_right_default,null,null)]})])]:null,In=xe.panes.map((On,Rn)=>{var Bn,Vn,Ln,Dn;const Hn=On.uid,Fn=On.props.disabled,zn=(Vn=(Bn=On.props.name)!=null?Bn:On.index)!=null?Vn:`${Rn}`,jn=!Fn&&(On.isClosable||xe.editable);On.index=`${Rn}`;const Gn=jn?createVNode$1(ElIcon,{class:"is-icon-close",onClick:er=>Ie("tabRemove",On,er)},{default:()=>[createVNode$1(close_default,null,null)]}):null,Wn=((Dn=(Ln=On.slots).label)==null?void 0:Dn.call(Ln))||On.props.label,Xn=!Fn&&On.active?0:-1;return createVNode$1("div",{ref:`tab-${Hn}`,class:[qe.e("item"),qe.is(Ue.props.tabPosition),qe.is("active",On.active),qe.is("disabled",Fn),qe.is("closable",jn),qe.is("focus",wn.value)],id:`tab-${zn}`,key:`tab-${Hn}`,"aria-controls":`pane-${zn}`,role:"tab","aria-selected":On.active,tabindex:Xn,onFocus:()=>Pn(),onBlur:()=>Nn(),onClick:er=>{Nn(),Ie("tabClick",On,zn,er)},onKeydown:er=>{jn&&(er.code===EVENT_CODE.delete||er.code===EVENT_CODE.backspace)&&Ie("tabRemove",On,er)}},[Wn,Gn])});return createVNode$1("div",{ref:hn,class:[qe.e("nav-wrap"),qe.is("scrollable",!!bn.value),qe.is(Ue.props.tabPosition)]},[Mn,createVNode$1("div",{class:qe.e("nav-scroll"),ref:Lt},[createVNode$1("div",{class:[qe.e("nav"),qe.is(Ue.props.tabPosition),qe.is("stretch",xe.stretch&&["top","bottom"].includes(Ue.props.tabPosition))],ref:jt,style:Sn.value,role:"tablist",onKeydown:$n},[xe.type?null:createVNode$1(TabBar,{ref:vn,tabs:[...xe.panes]},null),In])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=xe=>isString$4(xe)||isNumber(xe),tabsEmits={[UPDATE_MODEL_EVENT]:xe=>isPaneName(xe),tabClick:(xe,$e)=>$e instanceof Event,tabChange:xe=>isPaneName(xe),edit:(xe,$e)=>["remove","add"].includes($e),tabRemove:xe=>isPaneName(xe),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){var Ue;const qe=useNamespace("tabs"),{children:At,addChild:Dt,removeChild:Lt}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),jt=ref(),hn=ref((Ue=xe.modelValue)!=null?Ue:"0"),vn=async(kn,Cn=!1)=>{var Sn,xn,En;if(!(hn.value===kn||isUndefined(kn)))try{await((Sn=xe.beforeLeave)==null?void 0:Sn.call(xe,kn,hn.value))!==!1&&(hn.value=kn,Cn&&($e(UPDATE_MODEL_EVENT,kn),$e("tabChange",kn)),(En=(xn=jt.value)==null?void 0:xn.removeFocus)==null||En.call(xn))}catch{}},bn=(kn,Cn,Sn)=>{kn.props.disabled||(vn(Cn,!0),$e("tabClick",kn,Sn))},_n=(kn,Cn)=>{kn.props.disabled||isUndefined(kn.props.name)||(Cn.stopPropagation(),$e("edit",kn.props.name,"remove"),$e("tabRemove",kn.props.name))},wn=()=>{$e("edit",void 0,"add"),$e("tabAdd")};return watch(()=>xe.modelValue,kn=>vn(kn)),watch(hn,async()=>{var kn;await nextTick(),(kn=jt.value)==null||kn.scrollToActiveTab()}),provide(tabsRootContextKey,{props:xe,currentName:hn,registerPane:Dt,unregisterPane:Lt}),Fe({currentName:hn}),()=>{const kn=Ie["add-icon"],Cn=xe.editable||xe.addable?createVNode$1("span",{class:qe.e("new-tab"),tabindex:"0",onClick:wn,onKeydown:En=>{En.code===EVENT_CODE.enter&&wn()}},[kn?renderSlot(Ie,"add-icon"):createVNode$1(ElIcon,{class:qe.is("icon-plus")},{default:()=>[createVNode$1(plus_default,null,null)]})]):null,Sn=createVNode$1("div",{class:[qe.e("header"),qe.is(xe.tabPosition)]},[Cn,createVNode$1(TabNav,{ref:jt,currentName:hn.value,editable:xe.editable,type:xe.type,panes:At.value,stretch:xe.stretch,onTabClick:bn,onTabRemove:_n},null)]),xn=createVNode$1("div",{class:qe.e("content")},[renderSlot(Ie,"default")]);return createVNode$1("div",{class:[qe.b(),qe.m(xe.tabPosition),{[qe.m("card")]:xe.type==="card",[qe.m("border-card")]:xe.type==="border-card"}]},[...xe.tabPosition!=="bottom"?[Sn,xn]:[xn,Sn]])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$e=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$r=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$x=defineComponent({...__default__$r,props:tabPaneProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=useSlots(),Ue=inject(tabsRootContextKey);Ue||throwError(COMPONENT_NAME$1,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const qe=useNamespace("tab-pane"),At=ref(),Dt=computed(()=>$e.closable||Ue.props.closable),Lt=computedEager(()=>{var _n;return Ue.currentName.value===((_n=$e.name)!=null?_n:At.value)}),jt=ref(Lt.value),hn=computed(()=>{var _n;return(_n=$e.name)!=null?_n:At.value}),vn=computedEager(()=>!$e.lazy||jt.value||Lt.value);watch(Lt,_n=>{_n&&(jt.value=!0)});const bn=reactive({uid:Ie.uid,slots:Fe,props:$e,paneName:hn,active:Lt,index:At,isClosable:Dt});return onMounted(()=>{Ue.registerPane(bn)}),onUnmounted(()=>{Ue.unregisterPane(bn.uid)}),(_n,wn)=>unref(vn)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(hn)}`,class:normalizeClass(unref(qe).b()),role:"tabpanel","aria-hidden":!unref(Lt),"aria-labelledby":`tab-${unref(hn)}`},[renderSlot(_n.$slots,"default")],10,_hoisted_1$e)),[[vShow,unref(Lt)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc(_sfc_main$x,[["__file","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},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),__default__$q=defineComponent({name:"ElText"}),_sfc_main$w=defineComponent({...__default__$q,props:textProps,setup(xe){const $e=xe,Ie=useFormSize(),Fe=useNamespace("text"),Ue=computed(()=>[Fe.b(),Fe.m($e.type),Fe.m(Ie.value),Fe.is("truncated",$e.truncated),Fe.is("line-clamp",!isUndefined($e.lineClamp))]);return(qe,At)=>(openBlock(),createBlock(resolveDynamicComponent(qe.tag),{class:normalizeClass(unref(Ue)),style:normalizeStyle$1({"-webkit-line-clamp":qe.lineClamp})},{default:withCtx(()=>[renderSlot(qe.$slots,"default")]),_:3},8,["class","style"]))}});var Text$1=_export_sfc(_sfc_main$w,[["__file","text.vue"]]);const ElText=withInstall(Text$1),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},...useEmptyValuesProps}),parseTime=xe=>{const $e=(xe||"").split(":");if($e.length>=2){let Ie=Number.parseInt($e[0],10);const Fe=Number.parseInt($e[1],10),Ue=xe.toUpperCase();return Ue.includes("AM")&&Ie===12?Ie=0:Ue.includes("PM")&&Ie!==12&&(Ie+=12),{hours:Ie,minutes:Fe}}return null},compareTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return-1;const Fe=parseTime($e);if(!Fe)return-1;const Ue=Ie.minutes+Ie.hours*60,qe=Fe.minutes+Fe.hours*60;return Ue===qe?0:Ue>qe?1:-1},padTime=xe=>`${xe}`.padStart(2,"0"),formatTime=xe=>`${padTime(xe.hours)}:${padTime(xe.minutes)}`,nextTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return"";const Fe=parseTime($e);if(!Fe)return"";const Ue={hours:Ie.hours,minutes:Ie.minutes};return Ue.minutes+=Fe.minutes,Ue.hours+=Fe.hours,Ue.hours+=Math.floor(Ue.minutes/60),Ue.minutes=Ue.minutes%60,formatTime(Ue)},__default__$p=defineComponent({name:"ElTimeSelect"}),_sfc_main$v=defineComponent({...__default__$p,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(xe,{expose:$e}){const Ie=xe;dayjs.extend(customParseFormat);const{Option:Fe}=ElSelect,Ue=useNamespace("input"),qe=ref(),At=useFormDisabled(),{lang:Dt}=useLocale(),Lt=computed(()=>Ie.modelValue),jt=computed(()=>{const Sn=parseTime(Ie.start);return Sn?formatTime(Sn):null}),hn=computed(()=>{const Sn=parseTime(Ie.end);return Sn?formatTime(Sn):null}),vn=computed(()=>{const Sn=parseTime(Ie.step);return Sn?formatTime(Sn):null}),bn=computed(()=>{const Sn=parseTime(Ie.minTime||"");return Sn?formatTime(Sn):null}),_n=computed(()=>{const Sn=parseTime(Ie.maxTime||"");return Sn?formatTime(Sn):null}),wn=computed(()=>{const Sn=[];if(Ie.start&&Ie.end&&Ie.step){let xn=jt.value,En;for(;xn&&hn.value&&compareTime(xn,hn.value)<=0;)En=dayjs(xn,"HH:mm").locale(Dt.value).format(Ie.format),Sn.push({value:En,disabled:compareTime(xn,bn.value||"-1:-1")<=0||compareTime(xn,_n.value||"100:100")>=0}),xn=nextTime(xn,vn.value)}return Sn});return $e({blur:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.blur)==null||xn.call(Sn)},focus:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.focus)==null||xn.call(Sn)}}),(Sn,xn)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:qe,"model-value":unref(Lt),disabled:unref(At),clearable:Sn.clearable,"clear-icon":Sn.clearIcon,size:Sn.size,effect:Sn.effect,placeholder:Sn.placeholder,"default-first-option":"",filterable:Sn.editable,"empty-values":Sn.emptyValues,"value-on-clear":Sn.valueOnClear,"onUpdate:modelValue":xn[0]||(xn[0]=En=>Sn.$emit("update:modelValue",En)),onChange:xn[1]||(xn[1]=En=>Sn.$emit("change",En)),onBlur:xn[2]||(xn[2]=En=>Sn.$emit("blur",En)),onFocus:xn[3]||(xn[3]=En=>Sn.$emit("focus",En))},{prefix:withCtx(()=>[Sn.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),En=>(openBlock(),createBlock(unref(Fe),{key:En.value,label:En.value,value:En.value,disabled:En.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear"]))}});var TimeSelect=_export_sfc(_sfc_main$v,[["__file","time-select.vue"]]);TimeSelect.install=xe=>{xe.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(xe,{slots:$e}){const Ie=useNamespace("timeline");return provide("timeline",$e),()=>h$5("ul",{class:[Ie.b()]},[renderSlot($e,"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__$o=defineComponent({name:"ElTimelineItem"}),_sfc_main$u=defineComponent({...__default__$o,props:timelineItemProps,setup(xe){const $e=xe,Ie=useNamespace("timeline-item"),Fe=computed(()=>[Ie.e("node"),Ie.em("node",$e.size||""),Ie.em("node",$e.type||""),Ie.is("hollow",$e.hollow)]);return(Ue,qe)=>(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(Fe)),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(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(Ue.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc(_sfc_main$u,[["__file","timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(xe=>(xe.top="top",xe.bottom="bottom",xe.left="left",xe.right="right",xe))(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({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},...useAriaProps(["ariaLabel"])}),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__$n=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$t=defineComponent({...__default__$n,props:tooltipV2RootProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(Ie.defaultOpen),Ue=ref(null),qe=computed({get:()=>isPropAbsent(Ie.open)?Fe.value:Ie.open,set:Cn=>{var Sn;Fe.value=Cn,(Sn=Ie["onUpdate:open"])==null||Sn.call(Ie,Cn)}}),At=computed(()=>isNumber(Ie.delayDuration)&&Ie.delayDuration>0),{start:Dt,stop:Lt}=useTimeoutFn(()=>{qe.value=!0},computed(()=>Ie.delayDuration),{immediate:!1}),jt=useNamespace("tooltip-v2"),hn=useId(),vn=()=>{Lt(),qe.value=!0},bn=()=>{unref(At)?Dt():vn()},_n=vn,wn=()=>{Lt(),qe.value=!1};return watch(qe,Cn=>{var Sn;Cn&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),_n()),(Sn=Ie.onOpenChange)==null||Sn.call(Ie,Cn)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,wn)}),onBeforeUnmount(()=>{Lt(),document.removeEventListener(TOOLTIP_V2_OPEN,wn)}),provide(tooltipV2RootKey,{contentId:hn,triggerRef:Ue,ns:jt,onClose:wn,onDelayOpen:bn,onOpen:_n}),$e({onOpen:_n,onClose:wn}),(Cn,Sn)=>renderSlot(Cn.$slots,"default",{open:unref(qe)})}});var TooltipV2Root=_export_sfc(_sfc_main$t,[["__file","root.vue"]]);const __default__$m=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$s=defineComponent({...__default__$m,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(xe){const $e=xe,{ns:Ie}=inject(tooltipV2RootKey),{arrowRef:Fe}=inject(tooltipV2ContentKey),Ue=computed(()=>{const{style:qe,width:At,height:Dt}=$e,Lt=Ie.namespace.value;return{[`--${Lt}-tooltip-v2-arrow-width`]:`${At}px`,[`--${Lt}-tooltip-v2-arrow-height`]:`${Dt}px`,[`--${Lt}-tooltip-v2-arrow-border-width`]:`${At/2}px`,[`--${Lt}-tooltip-v2-arrow-cover-width`]:At/2-1,...qe||{}}});return(qe,At)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:Fe,style:normalizeStyle$1(unref(Ue)),class:normalizeClass(unref(Ie).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc(_sfc_main$s,[["__file","arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$l=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$r=defineComponent({...__default__$l,props:visualHiddenProps,setup(xe){const $e=xe,Ie=computed(()=>[$e.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(Fe,Ue)=>(openBlock(),createElementBlock("span",mergeProps(Fe.$attrs,{style:unref(Ie)}),[renderSlot(Fe.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc(_sfc_main$r,[["__file","visual-hidden.vue"]]);const _hoisted_1$d=["data-side"],__default__$k=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$q=defineComponent({...__default__$k,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(xe){const $e=xe,{triggerRef:Ie,contentId:Fe}=inject(tooltipV2RootKey),Ue=ref($e.placement),qe=ref($e.strategy),At=ref(null),{referenceRef:Dt,contentRef:Lt,middlewareData:jt,x:hn,y:vn,update:bn}=useFloating$1({placement:Ue,strategy:qe,middleware:computed(()=>{const En=[offset($e.offset)];return $e.showArrow&&En.push(arrowMiddleware({arrowRef:At})),En})}),_n=useZIndex().nextZIndex(),wn=useNamespace("tooltip-v2"),kn=computed(()=>Ue.value.split("-")[0]),Cn=computed(()=>({position:unref(qe),top:`${unref(vn)||0}px`,left:`${unref(hn)||0}px`,zIndex:_n})),Sn=computed(()=>{if(!$e.showArrow)return{};const{arrow:En}=unref(jt);return{[`--${wn.namespace.value}-tooltip-v2-arrow-x`]:`${En==null?void 0:En.x}px`||"",[`--${wn.namespace.value}-tooltip-v2-arrow-y`]:`${En==null?void 0:En.y}px`||""}}),xn=computed(()=>[wn.e("content"),wn.is("dark",$e.effect==="dark"),wn.is(unref(qe)),$e.contentClass]);return watch(At,()=>bn()),watch(()=>$e.placement,En=>Ue.value=En),onMounted(()=>{watch(()=>$e.reference||Ie.value,En=>{Dt.value=En||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:At}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:Lt,style:normalizeStyle$1(unref(Cn)),"data-tooltip-v2-root":""},[En.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(kn),class:normalizeClass(unref(xn))},[renderSlot(En.$slots,"default",{contentStyle:unref(Cn),contentClass:unref(xn)}),createVNode$1(unref(ElVisuallyHidden),{id:unref(Fe),role:"tooltip"},{default:withCtx(()=>[En.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(En.ariaLabel),1)],64)):renderSlot(En.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(En.$slots,"arrow",{style:normalizeStyle$1(unref(Sn)),side:unref(kn)})],10,_hoisted_1$d))],4))}});var TooltipV2Content=_export_sfc(_sfc_main$q,[["__file","content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(xe,{slots:$e}){const Ie=ref(),Fe=composeRefs(Ie,Ue=>{Ue?xe.setRef(Ue.nextElementSibling):xe.setRef(null)});return()=>{var Ue;const[qe]=((Ue=$e.default)==null?void 0:Ue.call($e))||[],At=xe.onlyChild?ensureOnlyChild(qe.children):qe.children;return createVNode$1(Fragment,{ref:Fe},[At])}}});const __default__$j=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$p=defineComponent({...__default__$j,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(xe){const $e=xe,{onClose:Ie,onOpen:Fe,onDelayOpen:Ue,triggerRef:qe,contentId:At}=inject(tooltipV2RootKey);let Dt=!1;const Lt=xn=>{qe.value=xn},jt=()=>{Dt=!1},hn=composeEventHandlers($e.onMouseEnter,Ue),vn=composeEventHandlers($e.onMouseLeave,Ie),bn=composeEventHandlers($e.onMouseDown,()=>{Ie(),Dt=!0,document.addEventListener("mouseup",jt,{once:!0})}),_n=composeEventHandlers($e.onFocus,()=>{Dt||Fe()}),wn=composeEventHandlers($e.onBlur,Ie),kn=composeEventHandlers($e.onClick,xn=>{xn.detail===0&&Ie()}),Cn={blur:wn,click:kn,focus:_n,mousedown:bn,mouseenter:hn,mouseleave:vn},Sn=(xn,En,Tn)=>{xn&&Object.entries(En).forEach(([An,$n])=>{xn[Tn](An,$n)})};return watch(qe,(xn,En)=>{Sn(xn,Cn,"addEventListener"),Sn(En,Cn,"removeEventListener"),xn&&xn.setAttribute("aria-describedby",At.value)}),onBeforeUnmount(()=>{Sn(qe.value,Cn,"removeEventListener"),document.removeEventListener("mouseup",jt)}),(xn,En)=>xn.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":Lt,"only-child":""},{default:withCtx(()=>[renderSlot(xn.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:qe},xn.$attrs),[renderSlot(xn.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc(_sfc_main$p,[["__file","trigger.vue"]]);const __default__$i=defineComponent({name:"ElTooltipV2"}),_sfc_main$o=defineComponent({...__default__$i,props:tooltipV2Props,setup(xe){const Ie=toRefs(xe),Fe=reactive(pick(Ie,Object.keys(tooltipV2ArrowProps))),Ue=reactive(pick(Ie,Object.keys(tooltipV2ContentProps))),qe=reactive(pick(Ie,Object.keys(tooltipV2RootProps))),At=reactive(pick(Ie,Object.keys(tooltipV2TriggerProps)));return(Dt,Lt)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(qe)),{default:withCtx(({open:jt})=>[createVNode$1(TooltipV2Trigger,mergeProps(At,{nowrap:""}),{default:withCtx(()=>[renderSlot(Dt.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:Dt.to,disabled:!Dt.teleported},[Dt.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},Dt.transitionProps)),{default:withCtx(()=>[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc(_sfc_main$o,[["__file","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=(xe,$e)=>[xe,$e].every(isArray$6)||isArray$6(xe)&&isNil($e),transferEmits={[CHANGE_EVENT]:(xe,$e,Ie)=>[xe,Ie].every(isArray$6)&&["left","right"].includes($e),[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),[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=xe=>{const $e={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...$e,...xe.props}))},useCheck$1=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=computed(()=>xe.data.filter(hn=>isFunction$5(xe.filterMethod)?xe.filterMethod($e.query,hn):String(hn[Fe.value.label]||hn[Fe.value.key]).toLowerCase().includes($e.query.toLowerCase()))),qe=computed(()=>Ue.value.filter(hn=>!hn[Fe.value.disabled])),At=computed(()=>{const hn=$e.checked.length,vn=xe.data.length,{noChecked:bn,hasChecked:_n}=xe.format;return bn&&_n?hn>0?_n.replace(/\${checked}/g,hn.toString()).replace(/\${total}/g,vn.toString()):bn.replace(/\${total}/g,vn.toString()):`${hn}/${vn}`}),Dt=computed(()=>{const hn=$e.checked.length;return hn>0&&hn<qe.value.length}),Lt=()=>{const hn=qe.value.map(vn=>vn[Fe.value.key]);$e.allChecked=hn.length>0&&hn.every(vn=>$e.checked.includes(vn))},jt=hn=>{$e.checked=hn?qe.value.map(vn=>vn[Fe.value.key]):[]};return watch(()=>$e.checked,(hn,vn)=>{if(Lt(),$e.checkChangeByUser){const bn=hn.concat(vn).filter(_n=>!hn.includes(_n)||!vn.includes(_n));Ie(CHECKED_CHANGE_EVENT,hn,bn)}else Ie(CHECKED_CHANGE_EVENT,hn),$e.checkChangeByUser=!0}),watch(qe,()=>{Lt()}),watch(()=>xe.data,()=>{const hn=[],vn=Ue.value.map(bn=>bn[Fe.value.key]);$e.checked.forEach(bn=>{vn.includes(bn)&&hn.push(bn)}),$e.checkChangeByUser=!1,$e.checked=hn}),watch(()=>xe.defaultChecked,(hn,vn)=>{if(vn&&hn.length===vn.length&&hn.every(wn=>vn.includes(wn)))return;const bn=[],_n=qe.value.map(wn=>wn[Fe.value.key]);hn.forEach(wn=>{_n.includes(wn)&&bn.push(wn)}),$e.checkChangeByUser=!1,$e.checked=bn},{immediate:!0}),{filteredData:Ue,checkableData:qe,checkedSummary:At,isIndeterminate:Dt,updateAllChecked:Lt,handleAllCheckedChange:jt}},useCheckedChange=(xe,$e)=>({onSourceCheckedChange:(Ue,qe)=>{xe.leftChecked=Ue,qe&&$e(LEFT_CHECK_CHANGE_EVENT,Ue,qe)},onTargetCheckedChange:(Ue,qe)=>{xe.rightChecked=Ue,qe&&$e(RIGHT_CHECK_CHANGE_EVENT,Ue,qe)}}),useComputedData=xe=>{const $e=usePropsAlias(xe),Ie=computed(()=>xe.data.reduce((qe,At)=>(qe[At[$e.value.key]]=At)&&qe,{})),Fe=computed(()=>xe.data.filter(qe=>!xe.modelValue.includes(qe[$e.value.key]))),Ue=computed(()=>xe.targetOrder==="original"?xe.data.filter(qe=>xe.modelValue.includes(qe[$e.value.key])):xe.modelValue.reduce((qe,At)=>{const Dt=Ie.value[At];return Dt&&qe.push(Dt),qe},[]));return{sourceData:Fe,targetData:Ue}},useMove=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=(Dt,Lt,jt)=>{Ie(UPDATE_MODEL_EVENT,Dt),Ie(CHANGE_EVENT,Dt,Lt,jt)};return{addToLeft:()=>{const Dt=xe.modelValue.slice();$e.rightChecked.forEach(Lt=>{const jt=Dt.indexOf(Lt);jt>-1&&Dt.splice(jt,1)}),Ue(Dt,"left",$e.rightChecked)},addToRight:()=>{let Dt=xe.modelValue.slice();const Lt=xe.data.filter(jt=>{const hn=jt[Fe.value.key];return $e.leftChecked.includes(hn)&&!xe.modelValue.includes(hn)}).map(jt=>jt[Fe.value.key]);Dt=xe.targetOrder==="unshift"?Lt.concat(Dt):Dt.concat(Lt),xe.targetOrder==="original"&&(Dt=xe.data.filter(jt=>Dt.includes(jt[Fe.value.key])).map(jt=>jt[Fe.value.key])),Ue(Dt,"right",$e.leftChecked)}}},__default__$h=defineComponent({name:"ElTransferPanel"}),_sfc_main$n=defineComponent({...__default__$h,props:transferPanelProps,emits:transferPanelEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=({option:En})=>En,{t:At}=useLocale(),Dt=useNamespace("transfer"),Lt=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),jt=usePropsAlias(Fe),{filteredData:hn,checkedSummary:vn,isIndeterminate:bn,handleAllCheckedChange:_n}=useCheck$1(Fe,Lt,Ie),wn=computed(()=>!isEmpty(Lt.query)&&isEmpty(hn.value)),kn=computed(()=>!isEmpty(Ue.default()[0].children)),{checked:Cn,allChecked:Sn,query:xn}=toRefs(Lt);return $e({query:xn}),(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","header"))},[createVNode$1(unref(ElCheckbox),{modelValue:unref(Sn),"onUpdate:modelValue":Tn[0]||(Tn[0]=An=>isRef(Sn)?Sn.value=An:null),indeterminate:unref(bn),"validate-event":!1,onChange:unref(_n)},{default:withCtx(()=>[createTextVNode(toDisplayString(En.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref(vn)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(Dt).be("panel","body"),unref(Dt).is("with-footer",unref(kn))])},[En.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(xn),"onUpdate:modelValue":Tn[1]||(Tn[1]=An=>isRef(xn)?xn.value=An:null),class:normalizeClass(unref(Dt).be("panel","filter")),size:"default",placeholder:En.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCheckboxGroup$1),{modelValue:unref(Cn),"onUpdate:modelValue":Tn[2]||(Tn[2]=An=>isRef(Cn)?Cn.value=An:null),"validate-event":!1,class:normalizeClass([unref(Dt).is("filterable",En.filterable),unref(Dt).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),An=>(openBlock(),createBlock(unref(ElCheckbox),{key:An[unref(jt).key],class:normalizeClass(unref(Dt).be("panel","item")),value:An[unref(jt).key],disabled:An[unref(jt).disabled],"validate-event":!1},{default:withCtx(()=>{var $n;return[createVNode$1(qe,{option:($n=En.optionRender)==null?void 0:$n.call(En,An)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(wn)&&!unref(isEmpty)(En.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","empty"))},toDisplayString(unref(wn)?unref(At)("el.transfer.noMatch"):unref(At)("el.transfer.noData")),3),[[vShow,unref(wn)||unref(isEmpty)(En.data)]])],2),unref(kn)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Dt).be("panel","footer"))},[renderSlot(En.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc(_sfc_main$n,[["__file","transfer-panel.vue"]]);const _hoisted_1$c={key:0},_hoisted_2$8={key:0},__default__$g=defineComponent({name:"ElTransfer"}),_sfc_main$m=defineComponent({...__default__$g,props:transferProps,emits:transferEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),{t:qe}=useLocale(),At=useNamespace("transfer"),{formItem:Dt}=useFormItem(),Lt=reactive({leftChecked:[],rightChecked:[]}),jt=usePropsAlias(Fe),{sourceData:hn,targetData:vn}=useComputedData(Fe),{onSourceCheckedChange:bn,onTargetCheckedChange:_n}=useCheckedChange(Lt,Ie),{addToLeft:wn,addToRight:kn}=useMove(Fe,Lt,Ie),Cn=ref(),Sn=ref(),xn=Nn=>{switch(Nn){case"left":Cn.value.query="";break;case"right":Sn.value.query="";break}},En=computed(()=>Fe.buttonTexts.length===2),Tn=computed(()=>Fe.titles[0]||qe("el.transfer.titles.0")),An=computed(()=>Fe.titles[1]||qe("el.transfer.titles.1")),$n=computed(()=>Fe.filterPlaceholder||qe("el.transfer.filterPlaceholder"));watch(()=>Fe.modelValue,()=>{var Nn;Fe.validateEvent&&((Nn=Dt==null?void 0:Dt.validate)==null||Nn.call(Dt,"change").catch(Mn=>void 0))});const Pn=computed(()=>Nn=>Fe.renderContent?Fe.renderContent(h$5,Nn):Ue.default?Ue.default({option:Nn}):h$5("span",Nn[jt.value.label]||Nn[jt.value.key]));return $e({clearQuery:xn,leftPanel:Cn,rightPanel:Sn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At).b())},[createVNode$1(TransferPanel,{ref_key:"leftPanel",ref:Cn,data:unref(hn),"option-render":unref(Pn),placeholder:unref($n),title:unref(Tn),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,"default-checked":Nn.leftDefaultChecked,props:Fe.props,onCheckedChange:unref(bn)},{default:withCtx(()=>[renderSlot(Nn.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(At).e("buttons"))},[createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.rightChecked),onClick:unref(wn)},{default:withCtx(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1}),unref(isUndefined)(Nn.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$c,toDisplayString(Nn.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.leftChecked),onClick:unref(kn)},{default:withCtx(()=>[unref(isUndefined)(Nn.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$8,toDisplayString(Nn.buttonTexts[1]),1)),createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode$1(TransferPanel,{ref_key:"rightPanel",ref:Sn,data:unref(vn),"option-render":unref(Pn),placeholder:unref($n),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,title:unref(An),"default-checked":Nn.rightDefaultChecked,props:Fe.props,onCheckedChange:unref(_n)},{default:withCtx(()=>[renderSlot(Nn.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc(_sfc_main$m,[["__file","transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(xe,$e){!$e||$e[NODE_KEY]||Object.defineProperty($e,NODE_KEY,{value:xe.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(xe,$e){return xe?$e[xe]:$e[NODE_KEY]},handleCurrentChange=(xe,$e,Ie)=>{const Fe=xe.value.currentNode;Ie();const Ue=xe.value.currentNode;Fe!==Ue&&$e("current-change",Ue?Ue.data:null,Ue)},getChildState=xe=>{let $e=!0,Ie=!0,Fe=!0;for(let Ue=0,qe=xe.length;Ue<qe;Ue++){const At=xe[Ue];(At.checked!==!0||At.indeterminate)&&($e=!1,At.disabled||(Fe=!1)),(At.checked!==!1||At.indeterminate)&&(Ie=!1)}return{all:$e,none:Ie,allWithoutDisable:Fe,half:!$e&&!Ie}},reInitChecked=function(xe){if(xe.childNodes.length===0||xe.loading)return;const{all:$e,none:Ie,half:Fe}=getChildState(xe.childNodes);$e?(xe.checked=!0,xe.indeterminate=!1):Fe?(xe.checked=!1,xe.indeterminate=!0):Ie&&(xe.checked=!1,xe.indeterminate=!1);const Ue=xe.parent;!Ue||Ue.level===0||xe.store.checkStrictly||reInitChecked(Ue)},getPropertyFromData=function(xe,$e){const Ie=xe.store.props,Fe=xe.data||{},Ue=Ie[$e];if(typeof Ue=="function")return Ue(Fe,xe);if(typeof Ue=="string")return Fe[Ue];if(typeof Ue>"u"){const qe=Fe[$e];return qe===void 0?"":qe}};let nodeIdSeed=0,Node$1=class oi{constructor($e){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 $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const $e=this.store;if(!$e)throw new Error("[Node]store is required!");$e.registerNode(this);const Ie=$e.props;if(Ie&&typeof Ie.isLeaf<"u"){const qe=getPropertyFromData(this,"isLeaf");typeof qe=="boolean"&&(this.isLeafByUser=qe)}if($e.lazy!==!0&&this.data?(this.setData(this.data),$e.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&$e.lazy&&$e.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const Fe=$e.defaultExpandedKeys,Ue=$e.key;Ue&&Fe&&Fe.includes(this.key)&&this.expand(null,$e.autoExpandParent),Ue&&$e.currentNodeKey!==void 0&&this.key===$e.currentNodeKey&&($e.currentNode=this,$e.currentNode.isCurrent=!0),$e.lazy&&$e._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData($e){Array.isArray($e)||markNodeData(this,$e),this.data=$e,this.childNodes=[];let Ie;this.level===0&&Array.isArray(this.data)?Ie=this.data:Ie=getPropertyFromData(this,"children")||[];for(let Fe=0,Ue=Ie.length;Fe<Ue;Fe++)this.insertChild({data:Ie[Fe]})}get label(){return getPropertyFromData(this,"label")}get key(){const $e=this.store.key;return this.data?this.data[$e]:null}get disabled(){return getPropertyFromData(this,"disabled")}get nextSibling(){const $e=this.parent;if($e){const Ie=$e.childNodes.indexOf(this);if(Ie>-1)return $e.childNodes[Ie+1]}return null}get previousSibling(){const $e=this.parent;if($e){const Ie=$e.childNodes.indexOf(this);if(Ie>-1)return Ie>0?$e.childNodes[Ie-1]:null}return null}contains($e,Ie=!0){return(this.childNodes||[]).some(Fe=>Fe===$e||Ie&&Fe.contains($e))}remove(){const $e=this.parent;$e&&$e.removeChild(this)}insertChild($e,Ie,Fe){if(!$e)throw new Error("InsertChild error: child is required.");if(!($e instanceof oi)){if(!Fe){const Ue=this.getChildren(!0);Ue.includes($e.data)||(typeof Ie>"u"||Ie<0?Ue.push($e.data):Ue.splice(Ie,0,$e.data))}Object.assign($e,{parent:this,store:this.store}),$e=reactive(new oi($e)),$e instanceof oi&&$e.initialize()}$e.level=this.level+1,typeof Ie>"u"||Ie<0?this.childNodes.push($e):this.childNodes.splice(Ie,0,$e),this.updateLeafState()}insertBefore($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie)),this.insertChild($e,Fe)}insertAfter($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie),Fe!==-1&&(Fe+=1)),this.insertChild($e,Fe)}removeChild($e){const Ie=this.getChildren()||[],Fe=Ie.indexOf($e.data);Fe>-1&&Ie.splice(Fe,1);const Ue=this.childNodes.indexOf($e);Ue>-1&&(this.store&&this.store.deregisterNode($e),$e.parent=null,this.childNodes.splice(Ue,1)),this.updateLeafState()}removeChildByData($e){let Ie=null;for(let Fe=0;Fe<this.childNodes.length;Fe++)if(this.childNodes[Fe].data===$e){Ie=this.childNodes[Fe];break}Ie&&this.removeChild(Ie)}expand($e,Ie){const Fe=()=>{if(Ie){let Ue=this.parent;for(;Ue.level>0;)Ue.expanded=!0,Ue=Ue.parent}this.expanded=!0,$e&&$e(),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),Fe())}):Fe()}doCreateChildren($e,Ie={}){$e.forEach(Fe=>{this.insertChild(Object.assign({data:Fe},Ie),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach($e=>{$e.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 $e=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!$e||$e.length===0;return}this.isLeaf=!1}setChecked($e,Ie,Fe,Ue){if(this.indeterminate=$e==="half",this.checked=$e===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:At,allWithoutDisable:Dt}=getChildState(this.childNodes);!this.isLeaf&&!At&&Dt&&(this.checked=!1,$e=!1);const Lt=()=>{if(Ie){const jt=this.childNodes;for(let bn=0,_n=jt.length;bn<_n;bn++){const wn=jt[bn];Ue=Ue||$e!==!1;const kn=wn.disabled?wn.checked:Ue;wn.setChecked(kn,Ie,!0,Ue)}const{half:hn,all:vn}=getChildState(jt);vn||(this.checked=vn,this.indeterminate=hn)}};if(this.shouldLoadData()){this.loadData(()=>{Lt(),reInitChecked(this)},{checked:$e!==!1});return}else Lt()}const qe=this.parent;!qe||qe.level===0||Fe||reInitChecked(qe)}getChildren($e=!1){if(this.level===0)return this.data;const Ie=this.data;if(!Ie)return null;const Fe=this.store.props;let Ue="children";return Fe&&(Ue=Fe.children||"children"),Ie[Ue]===void 0&&(Ie[Ue]=null),$e&&!Ie[Ue]&&(Ie[Ue]=[]),Ie[Ue]}updateChildren(){const $e=this.getChildren()||[],Ie=this.childNodes.map(qe=>qe.data),Fe={},Ue=[];$e.forEach((qe,At)=>{const Dt=qe[NODE_KEY];!!Dt&&Ie.findIndex(jt=>jt[NODE_KEY]===Dt)>=0?Fe[Dt]={index:At,data:qe}:Ue.push({index:At,data:qe})}),this.store.lazy||Ie.forEach(qe=>{Fe[qe[NODE_KEY]]||this.removeChildByData(qe)}),Ue.forEach(({index:qe,data:At})=>{this.insertChild({data:At},qe)}),this.updateLeafState()}loadData($e,Ie={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(Ie).length)){this.loading=!0;const Fe=qe=>{this.childNodes=[],this.doCreateChildren(qe,Ie),this.loaded=!0,this.loading=!1,this.updateLeafState(),$e&&$e.call(this,qe)},Ue=()=>{this.loading=!1};this.store.load(this,Fe,Ue)}else $e&&$e.call(this)}eachNode($e){const Ie=[this];for(;Ie.length;){const Fe=Ie.shift();Ie.unshift(...Fe.childNodes),$e(Fe)}}reInitChecked(){this.store.checkStrictly||reInitChecked(this)}};class TreeStore{constructor($e){this.currentNode=null,this.currentNodeKey=null;for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const $e=this.load;$e(this.root,Ie=>{this.root.doCreateChildren(Ie),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter($e){const Ie=this.filterNodeMethod,Fe=this.lazy,Ue=function(qe){const At=qe.root?qe.root.childNodes:qe.childNodes;if(At.forEach(Dt=>{Dt.visible=Ie.call(Dt,$e,Dt.data,Dt),Ue(Dt)}),!qe.visible&&At.length){let Dt=!0;Dt=!At.some(Lt=>Lt.visible),qe.root?qe.root.visible=Dt===!1:qe.visible=Dt===!1}$e&&qe.visible&&!qe.isLeaf&&(!Fe||qe.loaded)&&qe.expand()};Ue(this)}setData($e){$e!==this.root.data?(this.root.setData($e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode($e){if($e instanceof Node$1)return $e;const Ie=isObject$8($e)?getNodeKey(this.key,$e):$e;return this.nodesMap[Ie]||null}insertBefore($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertBefore({data:$e},Fe)}insertAfter($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertAfter({data:$e},Fe)}remove($e){const Ie=this.getNode($e);Ie&&Ie.parent&&(Ie===this.currentNode&&(this.currentNode=null),Ie.parent.removeChild(Ie))}append($e,Ie){const Fe=isPropAbsent(Ie)?this.root:this.getNode(Ie);Fe&&Fe.insertChild({data:$e})}_initDefaultCheckedNodes(){const $e=this.defaultCheckedKeys||[],Ie=this.nodesMap;$e.forEach(Fe=>{const Ue=Ie[Fe];Ue&&Ue.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode($e){(this.defaultCheckedKeys||[]).includes($e.key)&&$e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey($e){$e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=$e,this._initDefaultCheckedNodes())}registerNode($e){const Ie=this.key;!$e||!$e.data||(Ie?$e.key!==void 0&&(this.nodesMap[$e.key]=$e):this.nodesMap[$e.id]=$e)}deregisterNode($e){!this.key||!$e||!$e.data||($e.childNodes.forEach(Fe=>{this.deregisterNode(Fe)}),delete this.nodesMap[$e.key])}getCheckedNodes($e=!1,Ie=!1){const Fe=[],Ue=function(qe){(qe.root?qe.root.childNodes:qe.childNodes).forEach(Dt=>{(Dt.checked||Ie&&Dt.indeterminate)&&(!$e||$e&&Dt.isLeaf)&&Fe.push(Dt.data),Ue(Dt)})};return Ue(this),Fe}getCheckedKeys($e=!1){return this.getCheckedNodes($e).map(Ie=>(Ie||{})[this.key])}getHalfCheckedNodes(){const $e=[],Ie=function(Fe){(Fe.root?Fe.root.childNodes:Fe.childNodes).forEach(qe=>{qe.indeterminate&&$e.push(qe.data),Ie(qe)})};return Ie(this),$e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map($e=>($e||{})[this.key])}_getAllNodes(){const $e=[],Ie=this.nodesMap;for(const Fe in Ie)hasOwn$1(Ie,Fe)&&$e.push(Ie[Fe]);return $e}updateChildren($e,Ie){const Fe=this.nodesMap[$e];if(!Fe)return;const Ue=Fe.childNodes;for(let qe=Ue.length-1;qe>=0;qe--){const At=Ue[qe];this.remove(At.data)}for(let qe=0,At=Ie.length;qe<At;qe++){const Dt=Ie[qe];this.append(Dt,Fe.data)}}_setCheckedKeys($e,Ie=!1,Fe){const Ue=this._getAllNodes().sort((Lt,jt)=>Lt.level-jt.level),qe=Object.create(null),At=Object.keys(Fe);Ue.forEach(Lt=>Lt.setChecked(!1,!1));const Dt=Lt=>{Lt.childNodes.forEach(jt=>{var hn;qe[jt.data[$e]]=!0,(hn=jt.childNodes)!=null&&hn.length&&Dt(jt)})};for(let Lt=0,jt=Ue.length;Lt<jt;Lt++){const hn=Ue[Lt],vn=hn.data[$e].toString();if(!At.includes(vn)){hn.checked&&!qe[vn]&&hn.setChecked(!1,!1);continue}if(hn.childNodes.length&&Dt(hn),hn.isLeaf||this.checkStrictly){hn.setChecked(!0,!1);continue}if(hn.setChecked(!0,!0),Ie){hn.setChecked(!1,!1);const _n=function(wn){wn.childNodes.forEach(Cn=>{Cn.isLeaf||Cn.setChecked(!1,!1),_n(Cn)})};_n(hn)}}}setCheckedNodes($e,Ie=!1){const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[(qe||{})[Fe]]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setCheckedKeys($e,Ie=!1){this.defaultCheckedKeys=$e;const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[qe]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setDefaultExpandedKeys($e){$e=$e||[],this.defaultExpandedKeys=$e,$e.forEach(Ie=>{const Fe=this.getNode(Ie);Fe&&Fe.expand(null,this.autoExpandParent)})}setChecked($e,Ie,Fe){const Ue=this.getNode($e);Ue&&Ue.setChecked(!!Ie,Fe)}getCurrentNode(){return this.currentNode}setCurrentNode($e){const Ie=this.currentNode;Ie&&(Ie.isCurrent=!1),this.currentNode=$e,this.currentNode.isCurrent=!0}setUserCurrentNode($e,Ie=!0){const Fe=$e[this.key],Ue=this.nodesMap[Fe];this.setCurrentNode(Ue),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey($e,Ie=!0){if($e==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const Fe=this.getNode($e);Fe&&(this.setCurrentNode(Fe),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$l=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(xe){const $e=useNamespace("tree"),Ie=inject("NodeInstance"),Fe=inject("RootTree");return()=>{const Ue=xe.node,{data:qe,store:At}=Ue;return xe.renderContent?xe.renderContent(h$5,{_self:Ie,node:Ue,data:qe,store:At}):renderSlot(Fe.ctx.slots,"default",{node:Ue,data:qe},()=>[h$5("span",{class:$e.be("node","label")},[Ue.label])])}}});var NodeContent=_export_sfc(_sfc_main$l,[["__file","tree-node-content.vue"]]);function useNodeExpandEventBroadcast(xe){const $e=inject("TreeNodeMap",null),Ie={treeNodeExpand:Fe=>{xe.node!==Fe&&xe.node.collapse()},children:[]};return $e&&$e.children.push(Ie),provide("TreeNodeMap",Ie),{broadcastExpanded:Fe=>{if(xe.accordion)for(const Ue of Ie.children)Ue.treeNodeExpand(Fe)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:xe,ctx:$e,el$:Ie,dropIndicator$:Fe,store:Ue}){const qe=useNamespace("tree"),At=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:hn,treeNode:vn})=>{if(typeof xe.allowDrag=="function"&&!xe.allowDrag(vn.node))return hn.preventDefault(),!1;hn.dataTransfer.effectAllowed="move";try{hn.dataTransfer.setData("text/plain","")}catch{}At.value.draggingNode=vn,$e.emit("node-drag-start",vn.node,hn)},treeNodeDragOver:({event:hn,treeNode:vn})=>{const bn=vn,_n=At.value.dropNode;_n&&_n.node.id!==bn.node.id&&removeClass(_n.$el,qe.is("drop-inner"));const wn=At.value.draggingNode;if(!wn||!bn)return;let kn=!0,Cn=!0,Sn=!0,xn=!0;typeof xe.allowDrop=="function"&&(kn=xe.allowDrop(wn.node,bn.node,"prev"),xn=Cn=xe.allowDrop(wn.node,bn.node,"inner"),Sn=xe.allowDrop(wn.node,bn.node,"next")),hn.dataTransfer.dropEffect=Cn||kn||Sn?"move":"none",(kn||Cn||Sn)&&(_n==null?void 0:_n.node.id)!==bn.node.id&&(_n&&$e.emit("node-drag-leave",wn.node,_n.node,hn),$e.emit("node-drag-enter",wn.node,bn.node,hn)),kn||Cn||Sn?At.value.dropNode=bn:At.value.dropNode=null,bn.node.nextSibling===wn.node&&(Sn=!1),bn.node.previousSibling===wn.node&&(kn=!1),bn.node.contains(wn.node,!1)&&(Cn=!1),(wn.node===bn.node||wn.node.contains(bn.node))&&(kn=!1,Cn=!1,Sn=!1);const En=bn.$el.querySelector(`.${qe.be("node","content")}`).getBoundingClientRect(),Tn=Ie.value.getBoundingClientRect();let An;const $n=kn?Cn?.25:Sn?.45:1:-1,Pn=Sn?Cn?.75:kn?.55:0:1;let Nn=-9999;const Mn=hn.clientY-En.top;Mn<En.height*$n?An="before":Mn>En.height*Pn?An="after":Cn?An="inner":An="none";const In=bn.$el.querySelector(`.${qe.be("node","expand-icon")}`).getBoundingClientRect(),On=Fe.value;An==="before"?Nn=In.top-Tn.top:An==="after"&&(Nn=In.bottom-Tn.top),On.style.top=`${Nn}px`,On.style.left=`${In.right-Tn.left}px`,An==="inner"?addClass(bn.$el,qe.is("drop-inner")):removeClass(bn.$el,qe.is("drop-inner")),At.value.showDropIndicator=An==="before"||An==="after",At.value.allowDrop=At.value.showDropIndicator||xn,At.value.dropType=An,$e.emit("node-drag-over",wn.node,bn.node,hn)},treeNodeDragEnd:hn=>{const{draggingNode:vn,dropType:bn,dropNode:_n}=At.value;if(hn.preventDefault(),hn.dataTransfer.dropEffect="move",vn&&_n){const wn={data:vn.node.data};bn!=="none"&&vn.node.remove(),bn==="before"?_n.node.parent.insertBefore(wn,_n.node):bn==="after"?_n.node.parent.insertAfter(wn,_n.node):bn==="inner"&&_n.node.insertChild(wn),bn!=="none"&&(Ue.value.registerNode(wn),Ue.value.key&&vn.node.eachNode(kn=>{var Cn;(Cn=Ue.value.nodesMap[kn.data[Ue.value.key]])==null||Cn.setChecked(kn.checked,!Ue.value.checkStrictly)})),removeClass(_n.$el,qe.is("drop-inner")),$e.emit("node-drag-end",vn.node,_n.node,bn,hn),bn!=="none"&&$e.emit("node-drop",vn.node,_n.node,bn,hn)}vn&&!_n&&$e.emit("node-drag-end",vn.node,null,bn,hn),At.value.showDropIndicator=!1,At.value.draggingNode=null,At.value.dropNode=null,At.value.allowDrop=!0}}),{dragState:At}}const _sfc_main$k=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(xe,$e){const Ie=useNamespace("tree"),{broadcastExpanded:Fe}=useNodeExpandEventBroadcast(xe),Ue=inject("RootTree"),qe=ref(!1),At=ref(!1),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=inject(dragEventsKey),vn=getCurrentInstance();provide("NodeInstance",vn),xe.node.expanded&&(qe.value=!0,At.value=!0);const bn=Ue.props.props.children||"children";watch(()=>{const Mn=xe.node.data[bn];return Mn&&[...Mn]},()=>{xe.node.updateChildren()}),watch(()=>xe.node.indeterminate,Mn=>{kn(xe.node.checked,Mn)}),watch(()=>xe.node.checked,Mn=>{kn(Mn,xe.node.indeterminate)}),watch(()=>xe.node.childNodes.length,()=>xe.node.reInitChecked()),watch(()=>xe.node.expanded,Mn=>{nextTick(()=>qe.value=Mn),Mn&&(At.value=!0)});const _n=Mn=>getNodeKey(Ue.props.nodeKey,Mn.data),wn=Mn=>{const In=xe.props.class;if(!In)return{};let On;if(isFunction$5(In)){const{data:Rn}=Mn;On=In(Rn,Mn)}else On=In;return isString$4(On)?{[On]:!0}:On},kn=(Mn,In)=>{(Dt.value!==Mn||Lt.value!==In)&&Ue.ctx.emit("check-change",xe.node.data,Mn,In),Dt.value=Mn,Lt.value=In},Cn=Mn=>{handleCurrentChange(Ue.store,Ue.ctx.emit,()=>Ue.store.value.setCurrentNode(xe.node)),Ue.currentNode.value=xe.node,Ue.props.expandOnClickNode&&xn(),Ue.props.checkOnClickNode&&!xe.node.disabled&&En(null,{target:{checked:!xe.node.checked}}),Ue.ctx.emit("node-click",xe.node.data,xe.node,vn,Mn)},Sn=Mn=>{Ue.instance.vnode.props.onNodeContextmenu&&(Mn.stopPropagation(),Mn.preventDefault()),Ue.ctx.emit("node-contextmenu",Mn,xe.node.data,xe.node,vn)},xn=()=>{xe.node.isLeaf||(qe.value?(Ue.ctx.emit("node-collapse",xe.node.data,xe.node,vn),xe.node.collapse()):(xe.node.expand(),$e.emit("node-expand",xe.node.data,xe.node,vn)))},En=(Mn,In)=>{xe.node.setChecked(In.target.checked,!Ue.props.checkStrictly),nextTick(()=>{const On=Ue.store.value;Ue.ctx.emit("check",xe.node.data,{checkedNodes:On.getCheckedNodes(),checkedKeys:On.getCheckedKeys(),halfCheckedNodes:On.getHalfCheckedNodes(),halfCheckedKeys:On.getHalfCheckedKeys()})})};return{ns:Ie,node$:jt,tree:Ue,expanded:qe,childNodeRendered:At,oldChecked:Dt,oldIndeterminate:Lt,getNodeKey:_n,getNodeClass:wn,handleSelectChange:kn,handleClick:Cn,handleContextMenu:Sn,handleExpandIconClick:xn,handleCheckChange:En,handleChildNodeExpand:(Mn,In,On)=>{Fe(In),Ue.ctx.emit("node-expand",Mn,In,On)},handleDragStart:Mn=>{Ue.props.draggable&&hn.treeNodeDragStart({event:Mn,treeNode:xe})},handleDragOver:Mn=>{Mn.preventDefault(),Ue.props.draggable&&hn.treeNodeDragOver({event:Mn,treeNode:{$el:jt.value,node:xe.node}})},handleDrop:Mn=>{Mn.preventDefault()},handleDragEnd:Mn=>{Ue.props.draggable&&hn.treeNodeDragEnd(Mn)},CaretRight:caret_right_default}}}),_hoisted_1$b=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$7=["aria-expanded"];function _sfc_render$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("el-checkbox"),Lt=resolveComponent("loading"),jt=resolveComponent("node-content"),hn=resolveComponent("el-tree-node"),vn=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([xe.ns.b("node"),xe.ns.is("expanded",xe.expanded),xe.ns.is("current",xe.node.isCurrent),xe.ns.is("hidden",!xe.node.visible),xe.ns.is("focusable",!xe.node.disabled),xe.ns.is("checked",!xe.node.disabled&&xe.node.checked),xe.getNodeClass(xe.node)]),role:"treeitem",tabindex:"-1","aria-expanded":xe.expanded,"aria-disabled":xe.node.disabled,"aria-checked":xe.node.checked,draggable:xe.tree.props.draggable,"data-key":xe.getNodeKey(xe.node),onClick:$e[1]||($e[1]=withModifiers((...bn)=>xe.handleClick&&xe.handleClick(...bn),["stop"])),onContextmenu:$e[2]||($e[2]=(...bn)=>xe.handleContextMenu&&xe.handleContextMenu(...bn)),onDragstart:$e[3]||($e[3]=withModifiers((...bn)=>xe.handleDragStart&&xe.handleDragStart(...bn),["stop"])),onDragover:$e[4]||($e[4]=withModifiers((...bn)=>xe.handleDragOver&&xe.handleDragOver(...bn),["stop"])),onDragend:$e[5]||($e[5]=withModifiers((...bn)=>xe.handleDragEnd&&xe.handleDragEnd(...bn),["stop"])),onDrop:$e[6]||($e[6]=withModifiers((...bn)=>xe.handleDrop&&xe.handleDrop(...bn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(xe.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(xe.node.level-1)*xe.tree.props.indent+"px"})},[xe.tree.props.icon||xe.CaretRight?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.be("node","expand-icon"),xe.ns.is("leaf",xe.node.isLeaf),{expanded:!xe.node.isLeaf&&xe.expanded}]),onClick:withModifiers(xe.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.tree.props.icon||xe.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.showCheckbox?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:!!xe.node.disabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),onChange:xe.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),xe.node.loading?(openBlock(),createBlock(At,{key:2,class:normalizeClass([xe.ns.be("node","loading-icon"),xe.ns.is("loading")])},{default:withCtx(()=>[createVNode$1(Lt)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(jt,{node:xe.node,"render-content":xe.renderContent},null,8,["node","render-content"])],6),createVNode$1(vn,null,{default:withCtx(()=>[!xe.renderAfterExpand||xe.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("node","children")),role:"group","aria-expanded":xe.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.node.childNodes,bn=>(openBlock(),createBlock(hn,{key:xe.getNodeKey(bn),"render-content":xe.renderContent,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,node:bn,accordion:xe.accordion,props:xe.props,onNodeExpand:xe.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$7)),[[vShow,xe.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$b)),[[vShow,xe.node.visible]])}var ElTreeNode$1=_export_sfc(_sfc_main$k,[["render",_sfc_render$2],["__file","tree-node.vue"]]);function useKeydown({el$:xe},$e){const Ie=useNamespace("tree"),Fe=shallowRef([]),Ue=shallowRef([]);onMounted(()=>{At()}),onUpdated(()=>{Fe.value=Array.from(xe.value.querySelectorAll("[role=treeitem]")),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"))}),watch(Ue,Dt=>{Dt.forEach(Lt=>{Lt.setAttribute("tabindex","-1")})}),useEventListener(xe,"keydown",Dt=>{const Lt=Dt.target;if(!Lt.className.includes(Ie.b("node")))return;const jt=Dt.code;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`));const hn=Fe.value.indexOf(Lt);let vn;if([EVENT_CODE.up,EVENT_CODE.down].includes(jt)){if(Dt.preventDefault(),jt===EVENT_CODE.up){vn=hn===-1?0:hn!==0?hn-1:Fe.value.length-1;const _n=vn;for(;!$e.value.getNode(Fe.value[vn].dataset.key).canFocus;){if(vn--,vn===_n){vn=-1;break}vn<0&&(vn=Fe.value.length-1)}}else{vn=hn===-1?0:hn<Fe.value.length-1?hn+1:0;const _n=vn;for(;!$e.value.getNode(Fe.value[vn].dataset.key).canFocus;){if(vn++,vn===_n){vn=-1;break}vn>=Fe.value.length&&(vn=0)}}vn!==-1&&Fe.value[vn].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(jt)&&(Dt.preventDefault(),Lt.click());const bn=Lt.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(jt)&&bn&&(Dt.preventDefault(),bn.click())});const At=()=>{var Dt;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`)),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"));const Lt=xe.value.querySelectorAll(`.${Ie.is("checked")}[role=treeitem]`);if(Lt.length){Lt[0].setAttribute("tabindex","0");return}(Dt=Fe.value[0])==null||Dt.setAttribute("tabindex","0")}}const _sfc_main$j=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(xe,$e){const{t:Ie}=useLocale(),Fe=useNamespace("tree"),Ue=inject(selectKey,null),qe=ref(new TreeStore({key:xe.nodeKey,data:xe.data,lazy:xe.lazy,props:xe.props,load:xe.load,currentNodeKey:xe.currentNodeKey,checkStrictly:xe.checkStrictly,checkDescendants:xe.checkDescendants,defaultCheckedKeys:xe.defaultCheckedKeys,defaultExpandedKeys:xe.defaultExpandedKeys,autoExpandParent:xe.autoExpandParent,defaultExpandAll:xe.defaultExpandAll,filterNodeMethod:xe.filterNodeMethod}));qe.value.initialize();const At=ref(qe.value.root),Dt=ref(null),Lt=ref(null),jt=ref(null),{broadcastExpanded:hn}=useNodeExpandEventBroadcast(xe),{dragState:vn}=useDragNodeHandler({props:xe,ctx:$e,el$:Lt,dropIndicator$:jt,store:qe});useKeydown({el$:Lt},qe);const bn=computed(()=>{const{childNodes:Fn}=At.value,zn=Ue?Ue.hasFilteredOptions!==0:!1;return(!Fn||Fn.length===0||Fn.every(({visible:jn})=>!jn))&&!zn});watch(()=>xe.currentNodeKey,Fn=>{qe.value.setCurrentNodeKey(Fn)}),watch(()=>xe.defaultCheckedKeys,Fn=>{qe.value.setDefaultCheckedKey(Fn)}),watch(()=>xe.defaultExpandedKeys,Fn=>{qe.value.setDefaultExpandedKeys(Fn)}),watch(()=>xe.data,Fn=>{qe.value.setData(Fn)},{deep:!0}),watch(()=>xe.checkStrictly,Fn=>{qe.value.checkStrictly=Fn});const _n=Fn=>{if(!xe.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");qe.value.filter(Fn)},wn=Fn=>getNodeKey(xe.nodeKey,Fn.data),kn=Fn=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const zn=qe.value.getNode(Fn);if(!zn)return[];const jn=[zn.data];let Gn=zn.parent;for(;Gn&&Gn!==At.value;)jn.push(Gn.data),Gn=Gn.parent;return jn.reverse()},Cn=(Fn,zn)=>qe.value.getCheckedNodes(Fn,zn),Sn=Fn=>qe.value.getCheckedKeys(Fn),xn=()=>{const Fn=qe.value.getCurrentNode();return Fn?Fn.data:null},En=()=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Fn=xn();return Fn?Fn[xe.nodeKey]:null},Tn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");qe.value.setCheckedNodes(Fn,zn)},An=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");qe.value.setCheckedKeys(Fn,zn)},$n=(Fn,zn,jn)=>{qe.value.setChecked(Fn,zn,jn)},Pn=()=>qe.value.getHalfCheckedNodes(),Nn=()=>qe.value.getHalfCheckedKeys(),Mn=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(qe,$e.emit,()=>qe.value.setUserCurrentNode(Fn,zn))},In=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(qe,$e.emit,()=>qe.value.setCurrentNodeKey(Fn,zn))},On=Fn=>qe.value.getNode(Fn),Rn=Fn=>{qe.value.remove(Fn)},Bn=(Fn,zn)=>{qe.value.append(Fn,zn)},Vn=(Fn,zn)=>{qe.value.insertBefore(Fn,zn)},Ln=(Fn,zn)=>{qe.value.insertAfter(Fn,zn)},Dn=(Fn,zn,jn)=>{hn(zn),$e.emit("node-expand",Fn,zn,jn)},Hn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");qe.value.updateChildren(Fn,zn)};return provide("RootTree",{ctx:$e,props:xe,store:qe,root:At,currentNode:Dt,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:Fe,store:qe,root:At,currentNode:Dt,dragState:vn,el$:Lt,dropIndicator$:jt,isEmpty:bn,filter:_n,getNodeKey:wn,getNodePath:kn,getCheckedNodes:Cn,getCheckedKeys:Sn,getCurrentNode:xn,getCurrentKey:En,setCheckedNodes:Tn,setCheckedKeys:An,setChecked:$n,getHalfCheckedNodes:Pn,getHalfCheckedKeys:Nn,setCurrentNode:Mn,setCurrentKey:In,t:Ie,getNode:On,remove:Rn,append:Bn,insertBefore:Vn,insertAfter:Ln,handleNodeExpand:Dn,updateKeyChildren:Hn}}});function _sfc_render$1(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([xe.ns.b(),xe.ns.is("dragging",!!xe.dragState.draggingNode),xe.ns.is("drop-not-allow",!xe.dragState.allowDrop),xe.ns.is("drop-inner",xe.dragState.dropType==="inner"),{[xe.ns.m("highlight-current")]:xe.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.root.childNodes,Dt=>(openBlock(),createBlock(At,{key:xe.getNodeKey(Dt),node:Dt,props:xe.props,accordion:xe.accordion,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,"render-content":xe.renderContent,onNodeExpand:xe.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-block"))},[renderSlot(xe.$slots,"empty",{},()=>{var Dt;return[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString((Dt=xe.emptyText)!=null?Dt:xe.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(xe.ns.e("drop-indicator"))},null,2),[[vShow,xe.dragState.showDropIndicator]])],2)}var Tree=_export_sfc(_sfc_main$j,[["render",_sfc_render$1],["__file","tree.vue"]]);Tree.install=xe=>{xe.component(Tree.name,Tree)};const _Tree=Tree,ElTree=_Tree,useSelect=(xe,{attrs:$e,emit:Ie},{select:Fe,tree:Ue,key:qe})=>{const At=useNamespace("tree-select");return watch(()=>xe.data,()=>{xe.filterable&&nextTick(()=>{var Lt,jt;(jt=Ue.value)==null||jt.filter((Lt=Fe.value)==null?void 0:Lt.states.inputValue)})},{flush:"post"}),{...pick(toRefs(xe),Object.keys(ElSelect.props)),...$e,"onUpdate:modelValue":Lt=>Ie(UPDATE_MODEL_EVENT,Lt),valueKey:qe,popperClass:computed(()=>{const Lt=[At.e("popper")];return xe.popperClass&&Lt.push(xe.popperClass),Lt.join(" ")}),filterMethod:(Lt="")=>{var jt;xe.filterMethod?xe.filterMethod(Lt):xe.remoteMethod?xe.remoteMethod(Lt):(jt=Ue.value)==null||jt.filter(Lt)}}},component=defineComponent({extends:ElOption,setup(xe,$e){const Ie=ElOption.setup(xe,$e);delete Ie.selectOptionClick;const Fe=getCurrentInstance().proxy;return nextTick(()=>{Ie.select.states.cachedOptions.get(Fe.value)||Ie.select.onOptionCreate(Fe)}),Ie},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(xe){return xe||xe===0}function isValidArray(xe){return Array.isArray(xe)&&xe.length}function toValidArray(xe){return Array.isArray(xe)?xe:isValidValue(xe)?[xe]:[]}function treeFind(xe,$e,Ie,Fe,Ue){for(let qe=0;qe<xe.length;qe++){const At=xe[qe];if($e(At,qe,xe,Ue))return Fe?Fe(At,qe,xe,Ue):At;{const Dt=Ie(At);if(isValidArray(Dt)){const Lt=treeFind(Dt,$e,Ie,Fe,At);if(Lt)return Lt}}}}function treeEach(xe,$e,Ie,Fe){for(let Ue=0;Ue<xe.length;Ue++){const qe=xe[Ue];$e(qe,Ue,xe,Fe);const At=Ie(qe);isValidArray(At)&&treeEach(At,$e,Ie,qe)}}const useTree$1=(xe,{attrs:$e,slots:Ie,emit:Fe},{select:Ue,tree:qe,key:At})=>{watch(()=>xe.modelValue,()=>{xe.showCheckbox&&nextTick(()=>{const vn=qe.value;vn&&!isEqual$1(vn.getCheckedKeys(),toValidArray(xe.modelValue))&&vn.setCheckedKeys(toValidArray(xe.modelValue))})},{immediate:!0,deep:!0});const Dt=computed(()=>({value:At.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...xe.props})),Lt=(vn,bn)=>{var _n;const wn=Dt.value[vn];return isFunction$5(wn)?wn(bn,(_n=qe.value)==null?void 0:_n.getNode(Lt("value",bn))):bn[wn]},jt=toValidArray(xe.modelValue).map(vn=>treeFind(xe.data||[],bn=>Lt("value",bn)===vn,bn=>Lt("children",bn),(bn,_n,wn,kn)=>kn&&Lt("value",kn))).filter(vn=>isValidValue(vn)),hn=computed(()=>{if(!xe.renderAfterExpand&&!xe.lazy)return[];const vn=[];return treeEach(xe.data.concat(xe.cacheData),bn=>{const _n=Lt("value",bn);vn.push({value:_n,currentLabel:Lt("label",bn),isDisabled:Lt("disabled",bn)})},bn=>Lt("children",bn)),vn});return{...pick(toRefs(xe),Object.keys(_Tree.props)),...$e,nodeKey:At,expandOnClickNode:computed(()=>!xe.checkStrictly&&xe.expandOnClickNode),defaultExpandedKeys:computed(()=>xe.defaultExpandedKeys?xe.defaultExpandedKeys.concat(jt):jt),renderContent:(vn,{node:bn,data:_n,store:wn})=>vn(component,{value:Lt("value",_n),label:Lt("label",_n),disabled:Lt("disabled",_n)},xe.renderContent?()=>xe.renderContent(vn,{node:bn,data:_n,store:wn}):Ie.default?()=>Ie.default({node:bn,data:_n,store:wn}):void 0),filterNodeMethod:(vn,bn,_n)=>xe.filterNodeMethod?xe.filterNodeMethod(vn,bn,_n):vn?new RegExp(escapeStringRegexp(vn),"i").test(Lt("label",bn)||""):!0,onNodeClick:(vn,bn,_n)=>{var wn,kn,Cn,Sn;if((wn=$e.onNodeClick)==null||wn.call($e,vn,bn,_n),!(xe.showCheckbox&&xe.checkOnClickNode)){if(!xe.showCheckbox&&(xe.checkStrictly||bn.isLeaf)){if(!Lt("disabled",vn)){const xn=(kn=Ue.value)==null?void 0:kn.states.options.get(Lt("value",vn));(Cn=Ue.value)==null||Cn.handleOptionSelect(xn)}}else xe.expandOnClickNode&&_n.proxy.handleExpandIconClick();(Sn=Ue.value)==null||Sn.focus()}},onCheck:(vn,bn)=>{var _n;if(!xe.showCheckbox)return;const wn=Lt("value",vn),kn={};treeEach([qe.value.store.root],En=>kn[En.key]=En,En=>En.childNodes);const Cn=bn.checkedKeys,Sn=xe.multiple?toValidArray(xe.modelValue).filter(En=>!(En in kn)&&!Cn.includes(En)):[],xn=Sn.concat(Cn);if(xe.checkStrictly)Fe(UPDATE_MODEL_EVENT,xe.multiple?xn:xn.includes(wn)?wn:void 0);else if(xe.multiple)Fe(UPDATE_MODEL_EVENT,Sn.concat(qe.value.getCheckedKeys(!0)));else{const En=treeFind([vn],$n=>!isValidArray(Lt("children",$n))&&!Lt("disabled",$n),$n=>Lt("children",$n)),Tn=En?Lt("value",En):void 0,An=isValidValue(xe.modelValue)&&!!treeFind([vn],$n=>Lt("value",$n)===xe.modelValue,$n=>Lt("children",$n));Fe(UPDATE_MODEL_EVENT,Tn===xe.modelValue||An?void 0:Tn)}nextTick(()=>{var En;const Tn=toValidArray(xe.modelValue);qe.value.setCheckedKeys(Tn),(En=$e.onCheck)==null||En.call($e,vn,{checkedKeys:qe.value.getCheckedKeys(),checkedNodes:qe.value.getCheckedNodes(),halfCheckedKeys:qe.value.getHalfCheckedKeys(),halfCheckedNodes:qe.value.getHalfCheckedNodes()})}),(_n=Ue.value)==null||_n.focus()},cacheOptions:hn}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(xe){const $e=inject(selectKey);return watch(()=>xe.data,()=>{var Ie;xe.data.forEach(Ue=>{$e.states.cachedOptions.has(Ue.value)||$e.states.cachedOptions.set(Ue.value,Ue)});const Fe=((Ie=$e.selectRef)==null?void 0:Ie.querySelectorAll("input"))||[];Array.from(Fe).includes(document.activeElement)||$e.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$i=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(xe,$e){const{slots:Ie,expose:Fe}=$e,Ue=ref(),qe=ref(),At=computed(()=>xe.nodeKey||xe.valueKey||"value"),Dt=useSelect(xe,$e,{select:Ue,tree:qe,key:At}),{cacheOptions:Lt,...jt}=useTree$1(xe,$e,{select:Ue,tree:qe,key:At}),hn=reactive({});return Fe(hn),onMounted(()=>{Object.assign(hn,{...pick(qe.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick(Ue.value,["focus","blur"])})}),()=>h$5(ElSelect,reactive({...Dt,ref:vn=>Ue.value=vn}),{...Ie,default:()=>[h$5(CacheOptions,{data:Lt.value}),h$5(_Tree,reactive({...jt,ref:vn=>qe.value=vn}))]})}});var TreeSelect=_export_sfc(_sfc_main$i,[["__file","tree-select.vue"]]);TreeSelect.install=xe=>{xe.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(xe=>(xe.KEY="id",xe.LABEL="label",xe.CHILDREN="children",xe.DISABLED="disabled",xe))(TreeOptionsEnum||{}),SetOperationEnum=(xe=>(xe.ADD="add",xe.DELETE="delete",xe))(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]:(xe,$e,Ie)=>xe&&$e&&Ie,[NODE_EXPAND]:(xe,$e)=>xe&&$e,[NODE_COLLAPSE]:(xe,$e)=>xe&&$e,[CURRENT_CHANGE]:(xe,$e)=>xe&&$e,[NODE_CHECK]:(xe,$e)=>xe&&$e,[NODE_CHECK_CHANGE]:(xe,$e)=>xe&&typeof $e=="boolean",[NODE_CONTEXTMENU]:(xe,$e,Ie)=>xe&&$e&&Ie},treeNodeEmits={click:(xe,$e)=>!!(xe&&$e),toggle:xe=>!!xe,check:(xe,$e)=>xe&&typeof $e=="boolean"};function useCheck(xe,$e){const Ie=ref(new Set),Fe=ref(new Set),{emit:Ue}=getCurrentInstance();watch([()=>$e.value,()=>xe.defaultCheckedKeys],()=>nextTick(()=>{xn(xe.defaultCheckedKeys)}),{immediate:!0});const qe=()=>{if(!$e.value||!xe.showCheckbox||xe.checkStrictly)return;const{levelTreeNodeMap:En,maxLevel:Tn}=$e.value,An=Ie.value,$n=new Set;for(let Pn=Tn-1;Pn>=1;--Pn){const Nn=En.get(Pn);Nn&&Nn.forEach(Mn=>{const In=Mn.children;if(In){let On=!0,Rn=!1;for(const Bn of In){const Vn=Bn.key;if(An.has(Vn))Rn=!0;else if($n.has(Vn)){On=!1,Rn=!0;break}else On=!1}On?An.add(Mn.key):Rn?($n.add(Mn.key),An.delete(Mn.key)):(An.delete(Mn.key),$n.delete(Mn.key))}})}Fe.value=$n},At=En=>Ie.value.has(En.key),Dt=En=>Fe.value.has(En.key),Lt=(En,Tn,An=!0)=>{const $n=Ie.value,Pn=(Nn,Mn)=>{$n[Mn?SetOperationEnum.ADD:SetOperationEnum.DELETE](Nn.key);const In=Nn.children;!xe.checkStrictly&&In&&In.forEach(On=>{On.disabled||Pn(On,Mn)})};Pn(En,Tn),qe(),An&&jt(En,Tn)},jt=(En,Tn)=>{const{checkedNodes:An,checkedKeys:$n}=wn(),{halfCheckedNodes:Pn,halfCheckedKeys:Nn}=kn();Ue(NODE_CHECK,En.data,{checkedKeys:$n,checkedNodes:An,halfCheckedKeys:Nn,halfCheckedNodes:Pn}),Ue(NODE_CHECK_CHANGE,En.data,Tn)};function hn(En=!1){return wn(En).checkedKeys}function vn(En=!1){return wn(En).checkedNodes}function bn(){return kn().halfCheckedKeys}function _n(){return kn().halfCheckedNodes}function wn(En=!1){const Tn=[],An=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:$n}=$e.value;Ie.value.forEach(Pn=>{const Nn=$n.get(Pn);Nn&&(!En||En&&Nn.isLeaf)&&(An.push(Pn),Tn.push(Nn.data))})}return{checkedKeys:An,checkedNodes:Tn}}function kn(){const En=[],Tn=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:An}=$e.value;Fe.value.forEach($n=>{const Pn=An.get($n);Pn&&(Tn.push($n),En.push(Pn.data))})}return{halfCheckedNodes:En,halfCheckedKeys:Tn}}function Cn(En){Ie.value.clear(),Fe.value.clear(),nextTick(()=>{xn(En)})}function Sn(En,Tn){if($e!=null&&$e.value&&xe.showCheckbox){const An=$e.value.treeNodeMap.get(En);An&&Lt(An,Tn,!1)}}function xn(En){if($e!=null&&$e.value){const{treeNodeMap:Tn}=$e.value;if(xe.showCheckbox&&Tn&&En)for(const An of En){const $n=Tn.get(An);$n&&!At($n)&&Lt($n,!0,!1)}}}return{updateCheckedKeys:qe,toggleCheckbox:Lt,isChecked:At,isIndeterminate:Dt,getCheckedKeys:hn,getCheckedNodes:vn,getHalfCheckedKeys:bn,getHalfCheckedNodes:_n,setChecked:Sn,setCheckedKeys:Cn}}function useFilter(xe,$e){const Ie=ref(new Set([])),Fe=ref(new Set([])),Ue=computed(()=>isFunction$5(xe.filterMethod));function qe(Dt){var Lt;if(!Ue.value)return;const jt=new Set,hn=Fe.value,vn=Ie.value,bn=[],_n=((Lt=$e.value)==null?void 0:Lt.treeNodes)||[],wn=xe.filterMethod;vn.clear();function kn(Cn){Cn.forEach(Sn=>{bn.push(Sn),wn!=null&&wn(Dt,Sn.data)?bn.forEach(En=>{jt.add(En.key)}):Sn.isLeaf&&vn.add(Sn.key);const xn=Sn.children;if(xn&&kn(xn),!Sn.isLeaf){if(!jt.has(Sn.key))vn.add(Sn.key);else if(xn){let En=!0;for(const Tn of xn)if(!vn.has(Tn.key)){En=!1;break}En?hn.add(Sn.key):hn.delete(Sn.key)}}bn.pop()})}return kn(_n),jt}function At(Dt){return Fe.value.has(Dt.key)}return{hiddenExpandIconKeySet:Fe,hiddenNodeKeySet:Ie,doFilter:qe,isForceHiddenExpandIcon:At}}function useTree(xe,$e){const Ie=ref(new Set(xe.defaultExpandedKeys)),Fe=ref(),Ue=shallowRef();watch(()=>xe.currentNodeKey,Yn=>{Fe.value=Yn},{immediate:!0}),watch(()=>xe.data,Yn=>{Jn(Yn)},{immediate:!0});const{isIndeterminate:qe,isChecked:At,toggleCheckbox:Dt,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n}=useCheck(xe,Ue),{doFilter:wn,hiddenNodeKeySet:kn,isForceHiddenExpandIcon:Cn}=useFilter(xe,Ue),Sn=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.value)||TreeOptionsEnum.KEY}),xn=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.children)||TreeOptionsEnum.CHILDREN}),En=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.disabled)||TreeOptionsEnum.DISABLED}),Tn=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.label)||TreeOptionsEnum.LABEL}),An=computed(()=>{const Yn=Ie.value,ar=kn.value,tr=[],or=Ue.value&&Ue.value.treeNodes||[];function sr(){const Kn=[];for(let Zn=or.length-1;Zn>=0;--Zn)Kn.push(or[Zn]);for(;Kn.length;){const Zn=Kn.pop();if(Zn&&(ar.has(Zn.key)||tr.push(Zn),Yn.has(Zn.key))){const nr=Zn.children;if(nr){const lr=nr.length;for(let ir=lr-1;ir>=0;--ir)Kn.push(nr[ir])}}}}return sr(),tr}),$n=computed(()=>An.value.length>0);function Pn(Yn){const ar=new Map,tr=new Map;let or=1;function sr(Zn,nr=1,lr=void 0){var ir;const kr=[];for(const Cr of Zn){const Er=In(Cr),dr={level:nr,key:Er,data:Cr};dr.label=Rn(Cr),dr.parent=lr;const br=Mn(Cr);dr.disabled=On(Cr),dr.isLeaf=!br||br.length===0,br&&br.length&&(dr.children=sr(br,nr+1,dr)),kr.push(dr),ar.set(Er,dr),tr.has(nr)||tr.set(nr,[]),(ir=tr.get(nr))==null||ir.push(dr)}return nr>or&&(or=nr),kr}const Kn=sr(Yn);return{treeNodeMap:ar,levelTreeNodeMap:tr,maxLevel:or,treeNodes:Kn}}function Nn(Yn){const ar=wn(Yn);ar&&(Ie.value=ar)}function Mn(Yn){return Yn[xn.value]}function In(Yn){return Yn?Yn[Sn.value]:""}function On(Yn){return Yn[En.value]}function Rn(Yn){return Yn[Tn.value]}function Bn(Yn){Ie.value.has(Yn.key)?zn(Yn):Fn(Yn)}function Vn(Yn){Ie.value=new Set(Yn)}function Ln(Yn,ar){$e(NODE_CLICK,Yn.data,Yn,ar),Dn(Yn),xe.expandOnClickNode&&Bn(Yn),xe.showCheckbox&&xe.checkOnClickNode&&!Yn.disabled&&Dt(Yn,!At(Yn),!0)}function Dn(Yn){Wn(Yn)||(Fe.value=Yn.key,$e(CURRENT_CHANGE,Yn.data,Yn))}function Hn(Yn,ar){Dt(Yn,ar)}function Fn(Yn){const ar=Ie.value;if(Ue.value&&xe.accordion){const{treeNodeMap:tr}=Ue.value;ar.forEach(or=>{const sr=tr.get(or);Yn&&Yn.level===(sr==null?void 0:sr.level)&&ar.delete(or)})}ar.add(Yn.key),$e(NODE_EXPAND,Yn.data,Yn)}function zn(Yn){Ie.value.delete(Yn.key),$e(NODE_COLLAPSE,Yn.data,Yn)}function jn(Yn){return Ie.value.has(Yn.key)}function Gn(Yn){return!!Yn.disabled}function Wn(Yn){const ar=Fe.value;return ar!==void 0&&ar===Yn.key}function Xn(){var Yn,ar;if(Fe.value)return(ar=(Yn=Ue.value)==null?void 0:Yn.treeNodeMap.get(Fe.value))==null?void 0:ar.data}function er(){return Fe.value}function rr(Yn){Fe.value=Yn}function Jn(Yn){nextTick(()=>Ue.value=Pn(Yn))}function qn(Yn){var ar;const tr=isObject$8(Yn)?In(Yn):Yn;return(ar=Ue.value)==null?void 0:ar.treeNodeMap.get(tr)}return{tree:Ue,flattenTree:An,isNotEmpty:$n,getKey:In,getChildren:Mn,toggleExpand:Bn,toggleCheckbox:Dt,isExpanded:jn,isChecked:At,isIndeterminate:qe,isDisabled:Gn,isCurrent:Wn,isForceHiddenExpandIcon:Cn,handleNodeClick:Ln,handleNodeCheck:Hn,getCurrentNode:Xn,getCurrentKey:er,setCurrentKey:rr,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n,filter:Nn,setData:Jn,getNode:qn,expandNode:Fn,collapseNode:zn,setExpandedKeys:Vn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(xe){const $e=inject(ROOT_TREE_INJECTION_KEY),Ie=useNamespace("tree");return()=>{const Fe=xe.node,{data:Ue}=Fe;return $e!=null&&$e.ctx.slots.default?$e.ctx.slots.default({node:Fe,data:Ue}):h$5("span",{class:Ie.be("node","label")},[Fe==null?void 0:Fe.label])}}});const _hoisted_1$a=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$f=defineComponent({name:"ElTreeNode"}),_sfc_main$h=defineComponent({...__default__$f,props:treeNodeProps,emits:treeNodeEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=inject(ROOT_TREE_INJECTION_KEY),Ue=useNamespace("tree"),qe=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.indent)!=null?vn:16}),At=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.icon)!=null?vn:caret_right_default}),Dt=vn=>{$e("click",Ie.node,vn)},Lt=()=>{$e("toggle",Ie.node)},jt=vn=>{$e("check",Ie.node,vn)},hn=vn=>{var bn,_n,wn,kn;(wn=(_n=(bn=Fe==null?void 0:Fe.instance)==null?void 0:bn.vnode)==null?void 0:_n.props)!=null&&wn.onNodeContextmenu&&(vn.stopPropagation(),vn.preventDefault()),Fe==null||Fe.ctx.emit(NODE_CONTEXTMENU,vn,(kn=Ie.node)==null?void 0:kn.data,Ie.node)};return(vn,bn)=>{var _n,wn,kn;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(Ue).b("node"),unref(Ue).is("expanded",vn.expanded),unref(Ue).is("current",vn.current),unref(Ue).is("focusable",!vn.disabled),unref(Ue).is("checked",!vn.disabled&&vn.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":vn.expanded,"aria-disabled":vn.disabled,"aria-checked":vn.checked,"data-key":(_n=vn.node)==null?void 0:_n.key,onClick:withModifiers(Dt,["stop"]),onContextmenu:hn},[createBaseVNode("div",{class:normalizeClass(unref(Ue).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(vn.node.level-1)*unref(qe)}px`,height:vn.itemSize+"px"})},[unref(At)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Ue).is("leaf",!!((wn=vn.node)!=null&&wn.isLeaf)),unref(Ue).is("hidden",vn.hiddenExpandIcon),{expanded:!((kn=vn.node)!=null&&kn.isLeaf)&&vn.expanded},unref(Ue).be("node","expand-icon")]),onClick:withModifiers(Lt,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(At))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),vn.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":vn.checked,indeterminate:vn.indeterminate,disabled:vn.disabled,onChange:jt,onClick:bn[0]||(bn[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElNodeContent),{node:vn.node},null,8,["node"])],6)],42,_hoisted_1$a)}}});var ElTreeNode=_export_sfc(_sfc_main$h,[["__file","tree-node.vue"]]);const __default__$e=defineComponent({name:"ElTreeV2"}),_sfc_main$g=defineComponent({...__default__$e,props:treeProps,emits:treeEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=computed(()=>Fe.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:Ie,slots:Ue},props:Fe,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:At}=useLocale(),Dt=useNamespace("tree"),{flattenTree:Lt,isNotEmpty:jt,toggleExpand:hn,isExpanded:vn,isIndeterminate:bn,isChecked:_n,isDisabled:wn,isCurrent:kn,isForceHiddenExpandIcon:Cn,handleNodeClick:Sn,handleNodeCheck:xn,toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}=useTree(Fe,Ie);return $e({toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}),(zn,jn)=>{var Gn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(Dt).b(),{[unref(Dt).m("highlight-current")]:zn.highlightCurrent}]),role:"tree"},[unref(jt)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(Dt).b("virtual-list"),data:unref(Lt),total:unref(Lt).length,height:zn.height,"item-size":unref(qe),"perf-mode":zn.perfMode},{default:withCtx(({data:Wn,index:Xn,style:er})=>[(openBlock(),createBlock(ElTreeNode,{key:Wn[Xn].key,style:normalizeStyle$1(er),node:Wn[Xn],expanded:unref(vn)(Wn[Xn]),"show-checkbox":zn.showCheckbox,checked:unref(_n)(Wn[Xn]),indeterminate:unref(bn)(Wn[Xn]),"item-size":unref(qe),disabled:unref(wn)(Wn[Xn]),current:unref(kn)(Wn[Xn]),"hidden-expand-icon":unref(Cn)(Wn[Xn]),onClick:unref(Sn),onToggle:unref(hn),onCheck:unref(xn)},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(Dt).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(Dt).e("empty-text"))},toDisplayString((Gn=zn.emptyText)!=null?Gn:unref(At)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc(_sfc_main$g,[["__file","tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor($e,Ie,Fe,Ue){super($e),this.name="UploadAjaxError",this.status=Ie,this.method=Fe,this.url=Ue}}function getError(xe,$e,Ie){let Fe;return Ie.response?Fe=`${Ie.response.error||Ie.response}`:Ie.responseText?Fe=`${Ie.responseText}`:Fe=`fail to ${$e.method} ${xe} ${Ie.status}`,new UploadAjaxError(Fe,Ie.status,$e.method,xe)}function getBody(xe){const $e=xe.responseText||xe.response;if(!$e)return $e;try{return JSON.parse($e)}catch{return $e}}const ajaxUpload=xe=>{typeof XMLHttpRequest>"u"&&throwError(SCOPE$2,"XMLHttpRequest is undefined");const $e=new XMLHttpRequest,Ie=xe.action;$e.upload&&$e.upload.addEventListener("progress",qe=>{const At=qe;At.percent=qe.total>0?qe.loaded/qe.total*100:0,xe.onProgress(At)});const Fe=new FormData;if(xe.data)for(const[qe,At]of Object.entries(xe.data))isArray$6(At)&&At.length?Fe.append(qe,...At):Fe.append(qe,At);Fe.append(xe.filename,xe.file,xe.file.name),$e.addEventListener("error",()=>{xe.onError(getError(Ie,xe,$e))}),$e.addEventListener("load",()=>{if($e.status<200||$e.status>=300)return xe.onError(getError(Ie,xe,$e));xe.onSuccess(getBody($e))}),$e.open(xe.method,Ie,!0),xe.withCredentials&&"withCredentials"in $e&&($e.withCredentials=!0);const Ue=xe.headers||{};if(Ue instanceof Headers)Ue.forEach((qe,At)=>$e.setRequestHeader(At,qe));else for(const[qe,At]of Object.entries(Ue))isNil(At)||$e.setRequestHeader(qe,String(At));return $e.send(Fe),$e},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:definePropType([Object,Function,Promise]),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:""},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},crossorigin:{type:definePropType(String)}}),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"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:xe=>!!xe},_hoisted_1$9=["onKeydown"],_hoisted_2$6=["src","crossorigin"],_hoisted_3$2=["onClick"],_hoisted_4$1=["title"],_hoisted_5=["onClick"],_hoisted_6=["onClick"],__default__$d=defineComponent({name:"ElUploadList"}),_sfc_main$f=defineComponent({...__default__$d,props:uploadListProps,emits:uploadListEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("upload"),qe=useNamespace("icon"),At=useNamespace("list"),Dt=useFormDisabled(),Lt=ref(!1),jt=computed(()=>[Ue.b("list"),Ue.bm("list",Ie.listType),Ue.is("disabled",Ie.disabled)]),hn=vn=>{$e("remove",vn)};return(vn,bn)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(jt)),name:unref(At).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(vn.files,_n=>(openBlock(),createElementBlock("li",{key:_n.uid||_n.name,class:normalizeClass([unref(Ue).be("list","item"),unref(Ue).is(_n.status),{focusing:Lt.value}]),tabindex:"0",onKeydown:withKeys(wn=>!unref(Dt)&&hn(_n),["delete"]),onFocus:bn[0]||(bn[0]=wn=>Lt.value=!0),onBlur:bn[1]||(bn[1]=wn=>Lt.value=!1),onClick:bn[2]||(bn[2]=wn=>Lt.value=!1)},[renderSlot(vn.$slots,"default",{file:_n},()=>[vn.listType==="picture"||_n.status!=="uploading"&&vn.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(Ue).be("list","item-thumbnail")),src:_n.url,crossorigin:vn.crossorigin,alt:""},null,10,_hoisted_2$6)):createCommentVNode("v-if",!0),_n.status==="uploading"||vn.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(Ue).be("list","item-name")),onClick:withModifiers(wn=>vn.handlePreview(_n),["prevent"])},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("document"))},{default:withCtx(()=>[createVNode$1(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-file-name")),title:_n.name},toDisplayString(_n.name),11,_hoisted_4$1)],10,_hoisted_3$2),_n.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:vn.listType==="picture-card"?"circle":"line","stroke-width":vn.listType==="picture-card"?6:2,percentage:Number(_n.percentage),style:normalizeStyle$1(vn.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(Ue).be("list","item-status-label"))},[vn.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("circle-check")])},{default:withCtx(()=>[createVNode$1(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(vn.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("check")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(qe).m("close")),onClick:wn=>hn(_n)},{default:withCtx(()=>[createVNode$1(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(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(qe).m("close-tip"))},toDisplayString(unref(Fe)("el.upload.deleteTip")),3)),vn.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(Ue).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-preview")),onClick:wn=>vn.handlePreview(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("zoom-in"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ue).be("list","item-delete")),onClick:wn=>hn(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("delete"))},{default:withCtx(()=>[createVNode$1(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$9))),128)),renderSlot(vn.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc(_sfc_main$f,[["__file","upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:xe=>isArray$6(xe)},_hoisted_1$8=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$c=defineComponent({name:COMPONENT_NAME}),_sfc_main$e=defineComponent({...__default__$c,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(xe,{emit:$e}){inject(uploadContextKey)||throwError(COMPONENT_NAME,"usage: <el-upload><el-upload-dragger /></el-upload>");const Fe=useNamespace("upload"),Ue=ref(!1),qe=useFormDisabled(),At=Lt=>{if(qe.value)return;Ue.value=!1,Lt.stopPropagation();const jt=Array.from(Lt.dataTransfer.files);$e("file",jt)},Dt=()=>{qe.value||(Ue.value=!0)};return(Lt,jt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("dragger"),unref(Fe).is("dragover",Ue.value)]),onDrop:withModifiers(At,["prevent"]),onDragover:withModifiers(Dt,["prevent"]),onDragleave:jt[0]||(jt[0]=withModifiers(hn=>Ue.value=!1,["prevent"]))},[renderSlot(Lt.$slots,"default")],42,_hoisted_1$8))}});var UploadDragger=_export_sfc(_sfc_main$e,[["__file","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$7=["onKeydown"],_hoisted_2$5=["name","multiple","accept"],__default__$b=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$d=defineComponent({...__default__$b,props:uploadContentProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("upload"),Ue=useFormDisabled(),qe=shallowRef({}),At=shallowRef(),Dt=kn=>{if(kn.length===0)return;const{autoUpload:Cn,limit:Sn,fileList:xn,multiple:En,onStart:Tn,onExceed:An}=Ie;if(Sn&&xn.length+kn.length>Sn){An(kn,xn);return}En||(kn=kn.slice(0,1));for(const $n of kn){const Pn=$n;Pn.uid=genFileId(),Tn(Pn),Cn&&Lt(Pn)}},Lt=async kn=>{if(At.value.value="",!Ie.beforeUpload)return hn(kn);let Cn,Sn={};try{const En=Ie.data,Tn=Ie.beforeUpload(kn);Sn=isPlainObject$4(Ie.data)?cloneDeep(Ie.data):Ie.data,Cn=await Tn,isPlainObject$4(Ie.data)&&isEqual$1(En,Sn)&&(Sn=cloneDeep(Ie.data))}catch{Cn=!1}if(Cn===!1){Ie.onRemove(kn);return}let xn=kn;Cn instanceof Blob&&(Cn instanceof File?xn=Cn:xn=new File([Cn],kn.name,{type:kn.type})),hn(Object.assign(xn,{uid:kn.uid}),Sn)},jt=async(kn,Cn)=>isFunction$5(kn)?kn(Cn):kn,hn=async(kn,Cn)=>{const{headers:Sn,data:xn,method:En,withCredentials:Tn,name:An,action:$n,onProgress:Pn,onSuccess:Nn,onError:Mn,httpRequest:In}=Ie;try{Cn=await jt(Cn??xn,kn)}catch{Ie.onRemove(kn);return}const{uid:On}=kn,Rn={headers:Sn||{},withCredentials:Tn,file:kn,data:Cn,method:En,filename:An,action:$n,onProgress:Vn=>{Pn(Vn,kn)},onSuccess:Vn=>{Nn(Vn,kn),delete qe.value[On]},onError:Vn=>{Mn(Vn,kn),delete qe.value[On]}},Bn=In(Rn);qe.value[On]=Bn,Bn instanceof Promise&&Bn.then(Rn.onSuccess,Rn.onError)},vn=kn=>{const Cn=kn.target.files;Cn&&Dt(Array.from(Cn))},bn=()=>{Ue.value||(At.value.value="",At.value.click())},_n=()=>{bn()};return $e({abort:kn=>{entriesOf(qe.value).filter(kn?([Sn])=>String(kn.uid)===Sn:()=>!0).forEach(([Sn,xn])=>{xn instanceof XMLHttpRequest&&xn.abort(),delete qe.value[Sn]})},upload:Lt}),(kn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(kn.listType),unref(Fe).is("drag",kn.drag)]),tabindex:"0",onClick:bn,onKeydown:withKeys(withModifiers(_n,["self"]),["enter","space"])},[kn.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(Ue),onFile:Dt},{default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:3},8,["disabled"])):renderSlot(kn.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:At,class:normalizeClass(unref(Fe).e("input")),name:kn.name,multiple:kn.multiple,accept:kn.accept,type:"file",onChange:vn,onClick:Cn[0]||(Cn[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$5)],42,_hoisted_1$7))}});var UploadContent=_export_sfc(_sfc_main$d,[["__file","upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=xe=>{var $e;($e=xe.url)!=null&&$e.startsWith("blob:")&&URL.revokeObjectURL(xe.url)},useHandlers=(xe,$e)=>{const Ie=useVModel(xe,"fileList",void 0,{passive:!0}),Fe=bn=>Ie.value.find(_n=>_n.uid===bn.uid);function Ue(bn){var _n;(_n=$e.value)==null||_n.abort(bn)}function qe(bn=["ready","uploading","success","fail"]){Ie.value=Ie.value.filter(_n=>!bn.includes(_n.status))}const At=(bn,_n)=>{const wn=Fe(_n);wn&&(console.error(bn),wn.status="fail",Ie.value.splice(Ie.value.indexOf(wn),1),xe.onError(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},Dt=(bn,_n)=>{const wn=Fe(_n);wn&&(xe.onProgress(bn,wn,Ie.value),wn.status="uploading",wn.percentage=Math.round(bn.percent))},Lt=(bn,_n)=>{const wn=Fe(_n);wn&&(wn.status="success",wn.response=bn,xe.onSuccess(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},jt=bn=>{isNil(bn.uid)&&(bn.uid=genFileId());const _n={name:bn.name,percentage:0,status:"ready",size:bn.size,raw:bn,uid:bn.uid};if(xe.listType==="picture-card"||xe.listType==="picture")try{_n.url=URL.createObjectURL(bn)}catch(wn){wn.message,xe.onError(wn,_n,Ie.value)}Ie.value=[...Ie.value,_n],xe.onChange(_n,Ie.value)},hn=async bn=>{const _n=bn instanceof File?Fe(bn):bn;_n||throwError(SCOPE$1,"file to be removed not found");const wn=kn=>{Ue(kn);const Cn=Ie.value;Cn.splice(Cn.indexOf(kn),1),xe.onRemove(kn,Cn),revokeFileObjectURL(kn)};xe.beforeRemove?await xe.beforeRemove(_n,Ie.value)!==!1&&wn(_n):wn(_n)};function vn(){Ie.value.filter(({status:bn})=>bn==="ready").forEach(({raw:bn})=>{var _n;return bn&&((_n=$e.value)==null?void 0:_n.upload(bn))})}return watch(()=>xe.listType,bn=>{bn!=="picture-card"&&bn!=="picture"||(Ie.value=Ie.value.map(_n=>{const{raw:wn,url:kn}=_n;if(!kn&&wn)try{_n.url=URL.createObjectURL(wn)}catch(Cn){xe.onError(Cn,_n,Ie.value)}return _n}))}),watch(Ie,bn=>{for(const _n of bn)_n.uid||(_n.uid=genFileId()),_n.status||(_n.status="success")},{immediate:!0,deep:!0}),{uploadFiles:Ie,abort:Ue,clearFiles:qe,handleError:At,handleProgress:Dt,handleStart:jt,handleSuccess:Lt,handleRemove:hn,submit:vn,revokeFileObjectURL}},__default__$a=defineComponent({name:"ElUpload"}),_sfc_main$c=defineComponent({...__default__$a,props:uploadProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useFormDisabled(),Ue=shallowRef(),{abort:qe,submit:At,clearFiles:Dt,uploadFiles:Lt,handleStart:jt,handleError:hn,handleRemove:vn,handleSuccess:bn,handleProgress:_n,revokeFileObjectURL:wn}=useHandlers(Ie,Ue),kn=computed(()=>Ie.listType==="picture-card"),Cn=computed(()=>({...Ie,fileList:Lt.value,onStart:jt,onProgress:_n,onSuccess:bn,onError:hn,onRemove:vn}));return onBeforeUnmount(()=>{Lt.value.forEach(wn)}),provide(uploadContextKey,{accept:toRef(Ie,"accept")}),$e({abort:qe,submit:At,clearFiles:Dt,handleStart:jt,handleRemove:vn}),(Sn,xn)=>(openBlock(),createElementBlock("div",null,[unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({append:withCtx(()=>[createVNode$1(UploadContent,mergeProps({ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(kn)||unref(kn)&&!Sn.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Sn.$slots.trigger?renderSlot(Sn.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Sn.$slots,"tip"),!unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc(_sfc_main$c,[["__file","upload.vue"]]);const ElUpload=withInstall(Upload),watermarkProps=buildProps({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:definePropType([String,Array]),default:"Element Plus"},font:{type:definePropType(Object)},gap:{type:definePropType(Array),default:()=>[100,100]},offset:{type:definePropType(Array)}});function toLowercaseSeparator(xe){return xe.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(xe){return Object.keys(xe).map($e=>`${toLowercaseSeparator($e)}: ${xe[$e]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(xe,$e)=>{let Ie=!1;return xe.removedNodes.length&&$e&&(Ie=Array.from(xe.removedNodes).includes($e)),xe.type==="attributes"&&xe.target===$e&&(Ie=!0),Ie},FontGap=3;function prepareCanvas(xe,$e,Ie=1){const Fe=document.createElement("canvas"),Ue=Fe.getContext("2d"),qe=xe*Ie,At=$e*Ie;return Fe.setAttribute("width",`${qe}px`),Fe.setAttribute("height",`${At}px`),Ue.save(),[Ue,Fe,qe,At]}function useClips(){function xe($e,Ie,Fe,Ue,qe,At,Dt,Lt){const[jt,hn,vn,bn]=prepareCanvas(Ue,qe,Fe);if($e instanceof HTMLImageElement)jt.drawImage($e,0,0,vn,bn);else{const{color:Gn,fontSize:Wn,fontStyle:Xn,fontWeight:er,fontFamily:rr,textAlign:Jn,textBaseline:qn}=At,Yn=Number(Wn)*Fe;jt.font=`${Xn} normal ${er} ${Yn}px/${qe}px ${rr}`,jt.fillStyle=Gn,jt.textAlign=Jn,jt.textBaseline=qn;const ar=Array.isArray($e)?$e:[$e];ar==null||ar.forEach((tr,or)=>{jt.fillText(tr??"",vn/2,or*(Yn+FontGap*Fe))})}const _n=Math.PI/180*Number(Ie),wn=Math.max(Ue,qe),[kn,Cn,Sn]=prepareCanvas(wn,wn,Fe);kn.translate(Sn/2,Sn/2),kn.rotate(_n),vn>0&&bn>0&&kn.drawImage(hn,-vn/2,-bn/2);function xn(Gn,Wn){const Xn=Gn*Math.cos(_n)-Wn*Math.sin(_n),er=Gn*Math.sin(_n)+Wn*Math.cos(_n);return[Xn,er]}let En=0,Tn=0,An=0,$n=0;const Pn=vn/2,Nn=bn/2;[[0-Pn,0-Nn],[0+Pn,0-Nn],[0+Pn,0+Nn],[0-Pn,0+Nn]].forEach(([Gn,Wn])=>{const[Xn,er]=xn(Gn,Wn);En=Math.min(En,Xn),Tn=Math.max(Tn,Xn),An=Math.min(An,er),$n=Math.max($n,er)});const In=En+Sn/2,On=An+Sn/2,Rn=Tn-En,Bn=$n-An,Vn=Dt*Fe,Ln=Lt*Fe,Dn=(Rn+Vn)*2,Hn=Bn+Ln,[Fn,zn]=prepareCanvas(Dn,Hn);function jn(Gn=0,Wn=0){Fn.drawImage(Cn,In,On,Rn,Bn,Gn,Wn,Rn,Bn)}return jn(),jn(Rn+Vn,-Bn/2-Ln/2),jn(Rn+Vn,+Bn/2+Ln/2),[zn.toDataURL(),Dn/Fe,Hn/Fe]}return xe}const __default__$9=defineComponent({name:"ElWatermark"}),_sfc_main$b=defineComponent({...__default__$9,props:watermarkProps,setup(xe){const $e=xe,Ie={position:"relative"},Fe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.color)!=null?On:"rgba(0,0,0,.15)"}),Ue=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontSize)!=null?On:16}),qe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontWeight)!=null?On:"normal"}),At=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontStyle)!=null?On:"normal"}),Dt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontFamily)!=null?On:"sans-serif"}),Lt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textAlign)!=null?On:"center"}),jt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textBaseline)!=null?On:"hanging"}),hn=computed(()=>$e.gap[0]),vn=computed(()=>$e.gap[1]),bn=computed(()=>hn.value/2),_n=computed(()=>vn.value/2),wn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[0])!=null?On:bn.value}),kn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[1])!=null?On:_n.value}),Cn=()=>{const In={zIndex:$e.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let On=wn.value-bn.value,Rn=kn.value-_n.value;return On>0&&(In.left=`${On}px`,In.width=`calc(100% - ${On}px)`,On=0),Rn>0&&(In.top=`${Rn}px`,In.height=`calc(100% - ${Rn}px)`,Rn=0),In.backgroundPosition=`${On}px ${Rn}px`,In},Sn=shallowRef(null),xn=shallowRef(),En=ref(!1),Tn=()=>{xn.value&&(xn.value.remove(),xn.value=void 0)},An=(In,On)=>{var Rn;Sn.value&&xn.value&&(En.value=!0,xn.value.setAttribute("style",getStyleStr({...Cn(),backgroundImage:`url('${In}')`,backgroundSize:`${Math.floor(On)}px`})),(Rn=Sn.value)==null||Rn.append(xn.value),setTimeout(()=>{En.value=!1}))},$n=In=>{let On=120,Rn=64;const Bn=$e.image,Vn=$e.content,Ln=$e.width,Dn=$e.height;if(!Bn&&In.measureText){In.font=`${Number(Ue.value)}px ${Dt.value}`;const Hn=Array.isArray(Vn)?Vn:[Vn],Fn=Hn.map(zn=>{const jn=In.measureText(zn);return[jn.width,jn.fontBoundingBoxAscent!==void 0?jn.fontBoundingBoxAscent+jn.fontBoundingBoxDescent:jn.actualBoundingBoxAscent+jn.actualBoundingBoxDescent]});On=Math.ceil(Math.max(...Fn.map(zn=>zn[0]))),Rn=Math.ceil(Math.max(...Fn.map(zn=>zn[1])))*Hn.length+(Hn.length-1)*FontGap}return[Ln??On,Dn??Rn]},Pn=useClips(),Nn=()=>{const On=document.createElement("canvas").getContext("2d"),Rn=$e.image,Bn=$e.content,Vn=$e.rotate;if(On){xn.value||(xn.value=document.createElement("div"));const Ln=getPixelRatio(),[Dn,Hn]=$n(On),Fn=zn=>{const[jn,Gn]=Pn(zn||"",Vn,Ln,Dn,Hn,{color:Fe.value,fontSize:Ue.value,fontStyle:At.value,fontWeight:qe.value,fontFamily:Dt.value,textAlign:Lt.value,textBaseline:jt.value},hn.value,vn.value);An(jn,Gn)};if(Rn){const zn=new Image;zn.onload=()=>{Fn(zn)},zn.onerror=()=>{Fn(Bn)},zn.crossOrigin="anonymous",zn.referrerPolicy="no-referrer",zn.src=Rn}else Fn(Bn)}};return onMounted(()=>{Nn()}),watch(()=>$e,()=>{Nn()},{deep:!0,flush:"post"}),onBeforeUnmount(()=>{Tn()}),useMutationObserver(Sn,In=>{En.value||In.forEach(On=>{reRendering(On,xn.value)&&(Tn(),Nn())})},{attributes:!0,subtree:!0,childList:!0}),(In,On)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:Sn,style:normalizeStyle$1([Ie])},[renderSlot(In.$slots,"default")],4))}});var Watermark=_export_sfc(_sfc_main$b,[["__file","watermark.vue"]]);const ElWatermark=withInstall(Watermark),maskProps=buildProps({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:definePropType(Object)},targetAreaClickable:{type:Boolean,default:!0}}),useTarget=(xe,$e,Ie,Fe,Ue)=>{const qe=ref(null),At=()=>{let vn;return isString$4(xe.value)?vn=document.querySelector(xe.value):isFunction$5(xe.value)?vn=xe.value():vn=xe.value,vn},Dt=()=>{const vn=At();if(!vn||!$e.value){qe.value=null;return}!isInViewPort(vn)&&$e.value&&vn.scrollIntoView(Ue.value);const{left:bn,top:_n,width:wn,height:kn}=vn.getBoundingClientRect();qe.value={left:bn,top:_n,width:wn,height:kn,radius:0}};onMounted(()=>{watch([$e,xe],()=>{Dt()},{immediate:!0}),window.addEventListener("resize",Dt)}),onBeforeUnmount(()=>{window.removeEventListener("resize",Dt)});const Lt=vn=>{var bn;return(bn=isArray$6(Ie.value.offset)?Ie.value.offset[vn]:Ie.value.offset)!=null?bn:6},jt=computed(()=>{var vn;if(!qe.value)return qe.value;const bn=Lt(0),_n=Lt(1),wn=((vn=Ie.value)==null?void 0:vn.radius)||2;return{left:qe.value.left-bn,top:qe.value.top-_n,width:qe.value.width+bn*2,height:qe.value.height+_n*2,radius:wn}}),hn=computed(()=>{const vn=At();return!Fe.value||!vn||!window.DOMRect?vn||void 0:{getBoundingClientRect(){var bn,_n,wn,kn;return window.DOMRect.fromRect({width:((bn=jt.value)==null?void 0:bn.width)||0,height:((_n=jt.value)==null?void 0:_n.height)||0,x:((wn=jt.value)==null?void 0:wn.left)||0,y:((kn=jt.value)==null?void 0:kn.top)||0})}}});return{mergedPosInfo:jt,triggerTarget:hn}},tourKey=Symbol("ElTour");function isInViewPort(xe){const $e=window.innerWidth||document.documentElement.clientWidth,Ie=window.innerHeight||document.documentElement.clientHeight,{top:Fe,right:Ue,bottom:qe,left:At}=xe.getBoundingClientRect();return Fe>=0&&At>=0&&Ue<=$e&&qe<=Ie}const useFloating=(xe,$e,Ie,Fe,Ue,qe,At,Dt)=>{const Lt=ref(),jt=ref(),hn=ref({}),vn={x:Lt,y:jt,placement:Fe,strategy:Ue,middlewareData:hn},bn=computed(()=>{const Sn=[offset(unref(qe)),flip(),shift(),overflowMiddleware()];return unref(Dt)&&unref(Ie)&&Sn.push(arrow({element:unref(Ie)})),Sn}),_n=async()=>{if(!isClient)return;const Sn=unref(xe),xn=unref($e);if(!Sn||!xn)return;const En=await computePosition(Sn,xn,{placement:unref(Fe),strategy:unref(Ue),middleware:unref(bn)});keysOf(vn).forEach(Tn=>{vn[Tn].value=En[Tn]})},wn=computed(()=>{if(!unref(xe))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:unref(At)};const{overflow:Sn}=unref(hn);return{position:unref(Ue),zIndex:unref(At),top:unref(jt)!=null?`${unref(jt)}px`:"",left:unref(Lt)!=null?`${unref(Lt)}px`:"",maxWidth:Sn!=null&&Sn.maxWidth?`${Sn==null?void 0:Sn.maxWidth}px`:""}}),kn=computed(()=>{if(!unref(Dt))return{};const{arrow:Sn}=unref(hn);return{left:(Sn==null?void 0:Sn.x)!=null?`${Sn==null?void 0:Sn.x}px`:"",top:(Sn==null?void 0:Sn.y)!=null?`${Sn==null?void 0:Sn.y}px`:""}});let Cn;return onMounted(()=>{const Sn=unref(xe),xn=unref($e);Sn&&xn&&(Cn=autoUpdate(Sn,xn,_n)),watchEffect(()=>{_n()})}),onBeforeUnmount(()=>{Cn&&Cn()}),{update:_n,contentStyle:wn,arrowStyle:kn}},overflowMiddleware=()=>({name:"overflow",async fn(xe){const $e=await detectOverflow(xe);let Ie=0;return $e.left>0&&(Ie=$e.left),$e.right>0&&(Ie=$e.right),{data:{maxWidth:xe.rects.floating.width-Ie}}}}),_hoisted_1$6={style:{width:"100%",height:"100%"}},_hoisted_2$4=["d"],__default__$8=defineComponent({name:"ElTourMask",inheritAttrs:!1}),_sfc_main$a=defineComponent({...__default__$8,props:maskProps,setup(xe){const $e=xe,{ns:Ie}=inject(tourKey),Fe=computed(()=>{var Dt,Lt;return(Lt=(Dt=$e.pos)==null?void 0:Dt.radius)!=null?Lt:2}),Ue=computed(()=>{const Dt=Fe.value,Lt=`a${Dt},${Dt} 0 0 1`;return{topRight:`${Lt} ${Dt},${Dt}`,bottomRight:`${Lt} ${-Dt},${Dt}`,bottomLeft:`${Lt} ${-Dt},${-Dt}`,topLeft:`${Lt} ${Dt},${-Dt}`}}),qe=computed(()=>{const Dt=window.innerWidth,Lt=window.innerHeight,jt=Ue.value,hn=`M${Dt},0 L0,0 L0,${Lt} L${Dt},${Lt} L${Dt},0 Z`,vn=Fe.value;return $e.pos?`${hn} M${$e.pos.left+vn},${$e.pos.top} h${$e.pos.width-vn*2} ${jt.topRight} v${$e.pos.height-vn*2} ${jt.bottomRight} h${-$e.pos.width+vn*2} ${jt.bottomLeft} v${-$e.pos.height+vn*2} ${jt.topLeft} z`:hn}),At=computed(()=>({fill:$e.fill,pointerEvents:"auto",cursor:"auto"}));return useLockscreen(toRef($e,"visible"),{ns:Ie}),(Dt,Lt)=>Dt.visible?(openBlock(),createElementBlock("div",mergeProps({key:0,class:unref(Ie).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Dt.zIndex,pointerEvents:Dt.pos&&Dt.targetAreaClickable?"none":"auto"}},Dt.$attrs),[(openBlock(),createElementBlock("svg",_hoisted_1$6,[createBaseVNode("path",{class:normalizeClass(unref(Ie).e("hollow")),style:normalizeStyle$1(unref(At)),d:unref(qe)},null,14,_hoisted_2$4)]))],16)):createCommentVNode("v-if",!0)}});var ElTourMask=_export_sfc(_sfc_main$a,[["__file","mask.vue"]]);const tourStrategies=["absolute","fixed"],tourPlacements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tourContentProps=buildProps({placement:{type:definePropType(String),values:tourPlacements,default:"bottom"},reference:{type:definePropType(Object),default:null},strategy:{type:definePropType(String),values:tourStrategies,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),tourContentEmits={close:()=>!0},_hoisted_1$5=["data-side"],__default__$7=defineComponent({name:"ElTourContent"}),_sfc_main$9=defineComponent({...__default__$7,props:tourContentProps,emits:tourContentEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=ref(Ie.placement),Ue=ref(Ie.strategy),qe=ref(null),At=ref(null);watch(()=>Ie.placement,()=>{Fe.value=Ie.placement});const{contentStyle:Dt,arrowStyle:Lt}=useFloating(toRef(Ie,"reference"),qe,At,Fe,Ue,toRef(Ie,"offset"),toRef(Ie,"zIndex"),toRef(Ie,"showArrow")),jt=computed(()=>Fe.value.split("-")[0]),{ns:hn}=inject(tourKey),vn=()=>{$e("close")},bn=_n=>{_n.detail.focusReason==="pointer"&&_n.preventDefault()};return(_n,wn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:qe,style:normalizeStyle$1(unref(Dt)),class:normalizeClass(unref(hn).e("content")),"data-side":unref(jt),tabindex:"-1"},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":qe.value||void 0,onReleaseRequested:vn,onFocusoutPrevented:bn},{default:withCtx(()=>[renderSlot(_n.$slots,"default")]),_:3},8,["focus-trap-el"]),_n.showArrow?(openBlock(),createElementBlock("span",{key:0,ref_key:"arrowRef",ref:At,style:normalizeStyle$1(unref(Lt)),class:normalizeClass(unref(hn).e("arrow"))},null,6)):createCommentVNode("v-if",!0)],14,_hoisted_1$5))}});var ElTourContent=_export_sfc(_sfc_main$9,[["__file","content.vue"]]),ElTourSteps=defineComponent({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(xe,{slots:$e,emit:Ie}){let Fe=0;return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];let Lt=0;function jt(hn){isArray$6(hn)&&hn.forEach(vn=>{var bn;((bn=(vn==null?void 0:vn.type)||{})==null?void 0:bn.name)==="ElTourStep"&&(Dt.push(vn),Lt+=1)})}return At.length&&jt(flattedChildren((qe=At[0])==null?void 0:qe.children)),Fe!==Lt&&(Fe=Lt,Ie("update-total",Lt)),Dt.length?Dt[xe.current]:null}}});const tourProps=buildProps({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:iconPropType},placement:tourContentProps.placement,contentStyle:{type:definePropType([Object])},mask:{type:definePropType([Boolean,Object]),default:!0},gap:{type:definePropType(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:()=>({block:"center"})},type:{type:definePropType(String)},appendTo:{type:definePropType([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),tourEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),"update:current":xe=>isNumber(xe),close:xe=>isNumber(xe),finish:()=>!0,change:xe=>isNumber(xe)},__default__$6=defineComponent({name:"ElTour"}),_sfc_main$8=defineComponent({...__default__$6,props:tourProps,emits:tourEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("tour"),Ue=ref(0),qe=ref(),At=useVModel(Ie,"current",$e,{passive:!0}),Dt=computed(()=>{var Mn;return(Mn=qe.value)==null?void 0:Mn.target}),Lt=computed(()=>[Fe.b(),Cn.value==="primary"?Fe.m("primary"):""]),jt=computed(()=>{var Mn;return((Mn=qe.value)==null?void 0:Mn.placement)||Ie.placement}),hn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.contentStyle)!=null?In:Ie.contentStyle}),vn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.mask)!=null?In:Ie.mask}),bn=computed(()=>!!vn.value&&Ie.modelValue),_n=computed(()=>isBoolean(vn.value)?void 0:vn.value),wn=computed(()=>{var Mn,In;return!!Dt.value&&((In=(Mn=qe.value)==null?void 0:Mn.showArrow)!=null?In:Ie.showArrow)}),kn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.scrollIntoViewOptions)!=null?In:Ie.scrollIntoViewOptions}),Cn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.type)!=null?In:Ie.type}),{nextZIndex:Sn}=useZIndex(),xn=Sn(),En=computed(()=>{var Mn;return(Mn=Ie.zIndex)!=null?Mn:xn}),{mergedPosInfo:Tn,triggerTarget:An}=useTarget(Dt,toRef(Ie,"modelValue"),toRef(Ie,"gap"),vn,kn);watch(()=>Ie.modelValue,Mn=>{Mn||(At.value=0)});const $n=()=>{Ie.closeOnPressEscape&&($e("update:modelValue",!1),$e("close",At.value))},Pn=Mn=>{Ue.value=Mn},Nn=useSlots();return provide(tourKey,{currentStep:qe,current:At,total:Ue,showClose:toRef(Ie,"showClose"),closeIcon:toRef(Ie,"closeIcon"),mergedType:Cn,ns:Fe,slots:Nn,updateModelValue(Mn){$e("update:modelValue",Mn)},onClose(){$e("close",At.value)},onFinish(){$e("finish")},onChange(){$e("change",At.value)}}),(Mn,In)=>{var On,Rn;return openBlock(),createElementBlock(Fragment,null,[(openBlock(),createBlock(Teleport,{to:Mn.appendTo},[createBaseVNode("div",mergeProps({class:unref(Lt)},Mn.$attrs),[createVNode$1(ElTourMask,{visible:unref(bn),fill:(On=unref(_n))==null?void 0:On.color,style:normalizeStyle$1((Rn=unref(_n))==null?void 0:Rn.style),pos:unref(Tn),"z-index":unref(En),"target-area-clickable":Mn.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),Mn.modelValue?(openBlock(),createBlock(ElTourContent,{key:unref(At),reference:unref(An),placement:unref(jt),"show-arrow":unref(wn),"z-index":unref(En),style:normalizeStyle$1(unref(hn)),onClose:$n},{default:withCtx(()=>[createVNode$1(unref(ElTourSteps),{current:unref(At),onUpdateTotal:Pn},{default:withCtx(()=>[renderSlot(Mn.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):createCommentVNode("v-if",!0)],16)],8,["to"])),createCommentVNode(" just for IDE "),createCommentVNode("v-if",!0)],64)}}});var Tour=_export_sfc(_sfc_main$8,[["__file","tour.vue"]]);const tourStepProps=buildProps({target:{type:definePropType([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:iconPropType},showArrow:{type:Boolean,default:void 0},placement:tourContentProps.placement,mask:{type:definePropType([Boolean,Object]),default:void 0},contentStyle:{type:definePropType([Object])},prevButtonProps:{type:definePropType(Object)},nextButtonProps:{type:definePropType(Object)},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:void 0},type:{type:definePropType(String)}}),tourStepEmits={close:()=>!0},__default__$5=defineComponent({name:"ElTourStep"}),_sfc_main$7=defineComponent({...__default__$5,props:tourStepProps,emits:tourStepEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=CloseComponents,{t:Ue}=useLocale(),{currentStep:qe,current:At,total:Dt,showClose:Lt,closeIcon:jt,mergedType:hn,ns:vn,slots:bn,updateModelValue:_n,onClose:wn,onFinish:kn,onChange:Cn}=inject(tourKey);watch(Ie,Nn=>{qe.value=Nn},{immediate:!0});const Sn=computed(()=>{var Nn;return(Nn=Ie.showClose)!=null?Nn:Lt.value}),xn=computed(()=>{var Nn,Mn;return(Mn=(Nn=Ie.closeIcon)!=null?Nn:jt.value)!=null?Mn:Fe}),En=Nn=>{if(Nn)return omit(Nn,["children","onClick"])},Tn=()=>{var Nn,Mn;At.value-=1,(Nn=Ie.prevButtonProps)!=null&&Nn.onClick&&((Mn=Ie.prevButtonProps)==null||Mn.onClick()),Cn()},An=()=>{var Nn;At.value>=Dt.value-1?$n():At.value+=1,(Nn=Ie.nextButtonProps)!=null&&Nn.onClick&&Ie.nextButtonProps.onClick(),Cn()},$n=()=>{Pn(),kn()},Pn=()=>{_n(!1),wn(),$e("close")};return(Nn,Mn)=>(openBlock(),createElementBlock(Fragment,null,[unref(Sn)?(openBlock(),createElementBlock("button",{key:0,"aria-label":"Close",class:normalizeClass(unref(vn).e("closebtn")),type:"button",onClick:Pn},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(vn).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(xn))))]),_:1},8,["class"])],2)):createCommentVNode("v-if",!0),createBaseVNode("header",{class:normalizeClass([unref(vn).e("header"),{"show-close":unref(Lt)}])},[renderSlot(Nn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(vn).e("title"))},toDisplayString(Nn.title),3)])],2),createBaseVNode("div",{class:normalizeClass(unref(vn).e("body"))},[renderSlot(Nn.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(Nn.description),1)])],2),createBaseVNode("footer",{class:normalizeClass(unref(vn).e("footer"))},[createBaseVNode("div",{class:normalizeClass(unref(vn).b("indicators"))},[unref(bn).indicators?(openBlock(),createBlock(resolveDynamicComponent(unref(bn).indicators),{key:0,current:unref(At),total:unref(Dt)},null,8,["current","total"])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Dt),(In,On)=>(openBlock(),createElementBlock("span",{key:In,class:normalizeClass([unref(vn).b("indicator"),On===unref(At)?"is-active":""])},null,2))),128))],2),createBaseVNode("div",{class:normalizeClass(unref(vn).b("buttons"))},[unref(At)>0?(openBlock(),createBlock(unref(ElButton),mergeProps({key:0,size:"small",type:unref(hn)},En(Nn.prevButtonProps),{onClick:Tn}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.prevButtonProps)==null?void 0:In.children)!=null?On:unref(Ue)("el.tour.previous")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0),unref(At)<=unref(Dt)-1?(openBlock(),createBlock(unref(ElButton),mergeProps({key:1,size:"small",type:unref(hn)==="primary"?"default":"primary"},En(Nn.nextButtonProps),{onClick:An}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.nextButtonProps)==null?void 0:In.children)!=null?On:unref(At)===unref(Dt)-1?unref(Ue)("el.tour.finish"):unref(Ue)("el.tour.next")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0)],2)],2)],64))}});var TourStep=_export_sfc(_sfc_main$7,[["__file","step.vue"]]);const ElTour=withInstall(Tour,{TourStep}),ElTourStep=withNoopInstall(TourStep),anchorProps=buildProps({container:{type:definePropType([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:definePropType(String),default:"default"},direction:{type:definePropType(String),default:"vertical"}}),anchorEmits={change:xe=>isString$4(xe),click:(xe,$e)=>xe instanceof MouseEvent&&(isString$4($e)||isUndefined($e))},anchorKey=Symbol("anchor"),__default__$4=defineComponent({name:"ElAnchor"}),_sfc_main$6=defineComponent({...__default__$4,props:anchorProps,emits:anchorEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=ref(""),qe=ref(null),At=ref(null),Dt=ref(),Lt={};let jt=!1,hn=0;const vn=useNamespace("anchor"),bn=computed(()=>[vn.b(),Fe.type==="underline"?vn.m("underline"):"",vn.m(Fe.direction)]),_n=Nn=>{Lt[Nn.href]=Nn.el},wn=Nn=>{delete Lt[Nn]},kn=Nn=>{Ue.value!==Nn&&(Ue.value=Nn,Ie("change",Nn))};let Cn=null;const Sn=Nn=>{if(!Dt.value)return;const Mn=getElement(Nn);if(!Mn)return;Cn&&Cn(),jt=!0;const In=getScrollElement(Mn,Dt.value),On=getOffsetTopDistance(Mn,In),Rn=In.scrollHeight-In.clientHeight,Bn=Math.min(On-Fe.offset,Rn);Cn=animateScrollTo(Dt.value,hn,Bn,Fe.duration,()=>{setTimeout(()=>{jt=!1},20)})},xn=Nn=>{Nn&&(kn(Nn),Sn(Nn))},En=(Nn,Mn)=>{Ie("click",Nn,Mn),xn(Mn)},Tn=throttleByRaf(()=>{Dt.value&&(hn=getScrollTop(Dt.value));const Nn=An();jt||isUndefined(Nn)||kn(Nn)}),An=()=>{if(!Dt.value)return;const Nn=getScrollTop(Dt.value),Mn=[];for(const In of Object.keys(Lt)){const On=getElement(In);if(!On)continue;const Rn=getScrollElement(On,Dt.value),Bn=getOffsetTopDistance(On,Rn);Mn.push({top:Bn-Fe.offset-Fe.bound,href:In})}Mn.sort((In,On)=>In.top-On.top);for(let In=0;In<Mn.length;In++){const On=Mn[In],Rn=Mn[In+1];if(In===0&&Nn===0)return"";if(On.top<=Nn&&(!Rn||Rn.top>Nn))return On.href}},$n=()=>{const Nn=getElement(Fe.container);!Nn||isWindow(Nn)?Dt.value=window:Dt.value=Nn};useEventListener(Dt,"scroll",Tn);const Pn=computed(()=>{if(!qe.value||!At.value||!Ue.value)return{};const Nn=Lt[Ue.value];if(!Nn)return{};const Mn=qe.value.getBoundingClientRect(),In=At.value.getBoundingClientRect(),On=Nn.getBoundingClientRect();return Fe.direction==="horizontal"?{left:`${On.left-Mn.left}px`,width:`${On.width}px`,opacity:1}:{top:`${On.top-Mn.top+(On.height-In.height)/2}px`,opacity:1}});return onMounted(()=>{$n();const Nn=decodeURIComponent(window.location.hash);getElement(Nn)?xn(Nn):Tn()}),watch(()=>Fe.container,()=>{$n()}),provide(anchorKey,{ns:vn,direction:Fe.direction,currentAnchor:Ue,addLink:_n,removeLink:wn,handleClick:En}),$e({scrollTo:xn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{ref_key:"anchorRef",ref:qe,class:normalizeClass(unref(bn))},[Nn.marker?(openBlock(),createElementBlock("div",{key:0,ref_key:"markerRef",ref:At,class:normalizeClass(unref(vn).e("marker")),style:normalizeStyle$1(unref(Pn))},null,6)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("list"))},[renderSlot(Nn.$slots,"default")],2)],2))}});var Anchor=_export_sfc(_sfc_main$6,[["__file","anchor.vue"]]);const anchorLinkProps=buildProps({title:String,href:String}),_hoisted_1$4=["href"],__default__$3=defineComponent({name:"ElAnchorLink"}),_sfc_main$5=defineComponent({...__default__$3,props:anchorLinkProps,setup(xe){const $e=xe,Ie=ref(null),{ns:Fe,direction:Ue,currentAnchor:qe,addLink:At,removeLink:Dt,handleClick:Lt}=inject(anchorKey),jt=computed(()=>[Fe.e("link"),Fe.is("active",qe.value===$e.href)]),hn=vn=>{Lt(vn,$e.href)};return watch(()=>$e.href,(vn,bn)=>{nextTick(()=>{bn&&Dt(bn),vn&&At({href:vn,el:Ie.value})})}),onMounted(()=>{const{href:vn}=$e;vn&&At({href:vn,el:Ie.value})}),onBeforeUnmount(()=>{const{href:vn}=$e;vn&&Dt(vn)}),(vn,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).e("item"))},[createBaseVNode("a",{ref_key:"linkRef",ref:Ie,class:normalizeClass(unref(jt)),href:vn.href,onClick:hn},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],10,_hoisted_1$4),vn.$slots["sub-link"]&&unref(Ue)==="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("list"))},[renderSlot(vn.$slots,"sub-link")],2)):createCommentVNode("v-if",!0)],2))}});var AnchorLink=_export_sfc(_sfc_main$5,[["__file","anchor-link.vue"]]);const ElAnchor=withInstall(Anchor,{AnchorLink}),ElAnchorLink=withNoopInstall(AnchorLink),segmentedProps=buildProps({options:{type:definePropType(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:useSizeProp,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...useAriaProps(["ariaLabel"])}),segmentedEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber(xe)},_hoisted_1$3=["id","aria-label","aria-labelledby"],_hoisted_2$3=["name","disabled","checked","onChange"],__default__$2=defineComponent({name:"ElSegmented"}),_sfc_main$4=defineComponent({...__default__$2,props:segmentedProps,emits:segmentedEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("segmented"),Ue=useId(),qe=useFormSize(),At=useFormDisabled(),{formItem:Dt}=useFormItem(),{inputId:Lt,isLabeledByFormItem:jt}=useFormItemInputId(Ie,{formItemContext:Dt}),hn=ref(null),vn=useActiveElement(),bn=reactive({isInit:!1,width:0,translateX:0,disabled:!1,focusVisible:!1}),_n=Mn=>{const In=wn(Mn);$e(UPDATE_MODEL_EVENT,In),$e(CHANGE_EVENT,In)},wn=Mn=>isObject$8(Mn)?Mn.value:Mn,kn=Mn=>isObject$8(Mn)?Mn.label:Mn,Cn=Mn=>!!(At.value||isObject$8(Mn)&&Mn.disabled),Sn=Mn=>Ie.modelValue===wn(Mn),xn=Mn=>Ie.options.find(In=>wn(In)===Mn),En=Mn=>[Fe.e("item"),Fe.is("selected",Sn(Mn)),Fe.is("disabled",Cn(Mn))],Tn=()=>{if(!hn.value)return;const Mn=hn.value.querySelector(".is-selected"),In=hn.value.querySelector(".is-selected input");if(!Mn||!In){bn.width=0,bn.translateX=0,bn.disabled=!1,bn.focusVisible=!1;return}const On=Mn.getBoundingClientRect();bn.isInit=!0,bn.width=On.width,bn.translateX=Mn.offsetLeft,bn.disabled=Cn(xn(Ie.modelValue));try{bn.focusVisible=In.matches(":focus-visible")}catch{}},An=computed(()=>[Fe.b(),Fe.m(qe.value),Fe.is("block",Ie.block)]),$n=computed(()=>({width:`${bn.width}px`,transform:`translateX(${bn.translateX}px)`,display:bn.isInit?"block":"none"})),Pn=computed(()=>[Fe.e("item-selected"),Fe.is("disabled",bn.disabled),Fe.is("focus-visible",bn.focusVisible)]),Nn=computed(()=>Ie.name||Ue.value);return useResizeObserver(hn,Tn),watch(vn,Tn),watch(()=>Ie.modelValue,()=>{var Mn;Tn(),Ie.validateEvent&&((Mn=Dt==null?void 0:Dt.validate)==null||Mn.call(Dt,"change").catch(In=>void 0))},{flush:"post"}),(Mn,In)=>(openBlock(),createElementBlock("div",{id:unref(Lt),ref_key:"segmentedRef",ref:hn,class:normalizeClass(unref(An)),role:"radiogroup","aria-label":unref(jt)?void 0:Mn.ariaLabel||"segmented","aria-labelledby":unref(jt)?unref(Dt).labelId:void 0},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("div",{style:normalizeStyle$1(unref($n)),class:normalizeClass(unref(Pn))},null,6),(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.options,(On,Rn)=>(openBlock(),createElementBlock("label",{key:Rn,class:normalizeClass(En(On))},[createBaseVNode("input",{class:normalizeClass(unref(Fe).e("item-input")),type:"radio",name:unref(Nn),disabled:Cn(On),checked:Sn(On),onChange:Bn=>_n(On)},null,42,_hoisted_2$3),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("item-label"))},[renderSlot(Mn.$slots,"default",{item:On},()=>[createTextVNode(toDisplayString(kn(On)),1)])],2)],2))),128))],2)],10,_hoisted_1$3))}});var Segmented=_export_sfc(_sfc_main$4,[["__file","segmented.vue"]]);const ElSegmented=withInstall(Segmented);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,ElWatermark,ElTour,ElTourStep,ElAnchor,ElAnchorLink,ElSegmented];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=(xe,$e)=>Object.entries(attributes).reduce((Ie,[Fe,Ue])=>{var qe,At;const{type:Dt,default:Lt}=Ue,jt=xe.getAttribute(`infinite-scroll-${Fe}`);let hn=(At=(qe=$e[jt])!=null?qe:jt)!=null?At:Lt;return hn=hn==="false"?!1:hn,hn=Dt(hn),Ie[Fe]=Number.isNaN(hn)?Lt:hn,Ie},{}),destroyObserver=xe=>{const{observer:$e}=xe[SCOPE];$e&&($e.disconnect(),delete xe[SCOPE].observer)},handleScroll=(xe,$e)=>{const{container:Ie,containerEl:Fe,instance:Ue,observer:qe,lastScrollTop:At}=xe[SCOPE],{disabled:Dt,distance:Lt}=getScrollOptions(xe,Ue),{clientHeight:jt,scrollHeight:hn,scrollTop:vn}=Fe,bn=vn-At;if(xe[SCOPE].lastScrollTop=vn,qe||Dt||bn<0)return;let _n=!1;if(Ie===xe)_n=hn-(jt+vn)<=Lt;else{const{clientTop:wn,scrollHeight:kn}=xe,Cn=getOffsetTopDistance(xe,Fe);_n=vn+jt>=Cn+wn+kn-Lt}_n&&$e.call(Ue)};function checkFull(xe,$e){const{containerEl:Ie,instance:Fe}=xe[SCOPE],{disabled:Ue}=getScrollOptions(xe,Fe);Ue||Ie.clientHeight===0||(Ie.scrollHeight<=Ie.clientHeight?$e.call(Fe):destroyObserver(xe))}const InfiniteScroll={async mounted(xe,$e){const{instance:Ie,value:Fe}=$e;isFunction$5(Fe)||throwError(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:Ue,immediate:qe}=getScrollOptions(xe,Ie),At=getScrollContainer(xe,!0),Dt=At===window?document.documentElement:At,Lt=throttle$3(handleScroll.bind(null,xe,Fe),Ue);if(At){if(xe[SCOPE]={instance:Ie,container:At,containerEl:Dt,delay:Ue,cb:Fe,onScroll:Lt,lastScrollTop:Dt.scrollTop},qe){const jt=new MutationObserver(throttle$3(checkFull.bind(null,xe,Fe),CHECK_INTERVAL));xe[SCOPE].observer=jt,jt.observe(xe,{childList:!0,subtree:!0}),checkFull(xe,Fe)}At.addEventListener("scroll",Lt)}},unmounted(xe){if(!xe[SCOPE])return;const{container:$e,onScroll:Ie}=xe[SCOPE];$e==null||$e.removeEventListener("scroll",Ie),destroyObserver(xe)},async updated(xe){if(!xe[SCOPE])await nextTick();else{const{containerEl:$e,cb:Ie,observer:Fe}=xe[SCOPE];$e.clientHeight&&Fe&&checkFull(xe,Ie)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=xe=>{xe.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(xe){let $e;const Ie=ref(!1),Fe=reactive({...xe,originalPosition:"",originalOverflow:"",visible:!1});function Ue(bn){Fe.text=bn}function qe(){const bn=Fe.parent,_n=vn.ns;if(!bn.vLoadingAddClassList){let wn=bn.getAttribute("loading-number");wn=Number.parseInt(wn)-1,wn?bn.setAttribute("loading-number",wn.toString()):(removeClass(bn,_n.bm("parent","relative")),bn.removeAttribute("loading-number")),removeClass(bn,_n.bm("parent","hidden"))}At(),hn.unmount()}function At(){var bn,_n;(_n=(bn=vn.$el)==null?void 0:bn.parentNode)==null||_n.removeChild(vn.$el)}function Dt(){var bn;xe.beforeClose&&!xe.beforeClose()||(Ie.value=!0,clearTimeout($e),$e=window.setTimeout(Lt,400),Fe.visible=!1,(bn=xe.closed)==null||bn.call(xe))}function Lt(){if(!Ie.value)return;const bn=Fe.parent;Ie.value=!1,bn.vLoadingAddClassList=void 0,qe()}const hn=createApp(defineComponent({name:"ElLoading",setup(bn,{expose:_n}){const{ns:wn,zIndex:kn}=useGlobalComponentSettings("loading");return _n({ns:wn,zIndex:kn}),()=>{const Cn=Fe.spinner||Fe.svg,Sn=h$5("svg",{class:"circular",viewBox:Fe.svgViewBox?Fe.svgViewBox:"0 0 50 50",...Cn?{innerHTML:Cn}:{}},[h$5("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),xn=Fe.text?h$5("p",{class:wn.b("text")},[Fe.text]):void 0;return h$5(Transition,{name:wn.b("fade"),onAfterLeave:Lt},{default:withCtx(()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:Fe.background||""},class:[wn.b("mask"),Fe.customClass,Fe.fullscreen?"is-fullscreen":""]},[h$5("div",{class:wn.b("spinner")},[Sn,xn])]),[[vShow,Fe.visible]])])})}}})),vn=hn.mount(document.createElement("div"));return{...toRefs(Fe),setText:Ue,removeElLoadingChild:At,close:Dt,handleAfterLeave:Lt,vm:vn,get $el(){return vn.$el}}}let fullscreenInstance;const Loading=function(xe={}){if(!isClient)return;const $e=resolveOptions(xe);if($e.fullscreen&&fullscreenInstance)return fullscreenInstance;const Ie=createLoadingComponent({...$e,closed:()=>{var Ue;(Ue=$e.closed)==null||Ue.call($e),$e.fullscreen&&(fullscreenInstance=void 0)}});addStyle($e,$e.parent,Ie),addClassList($e,$e.parent,Ie),$e.parent.vLoadingAddClassList=()=>addClassList($e,$e.parent,Ie);let Fe=$e.parent.getAttribute("loading-number");return Fe?Fe=`${Number.parseInt(Fe)+1}`:Fe="1",$e.parent.setAttribute("loading-number",Fe),$e.parent.appendChild(Ie.$el),nextTick(()=>Ie.visible.value=$e.visible),$e.fullscreen&&(fullscreenInstance=Ie),Ie},resolveOptions=xe=>{var $e,Ie,Fe,Ue;let qe;return isString$4(xe.target)?qe=($e=document.querySelector(xe.target))!=null?$e:document.body:qe=xe.target||document.body,{parent:qe===document.body||xe.body?document.body:qe,background:xe.background||"",svg:xe.svg||"",svgViewBox:xe.svgViewBox||"",spinner:xe.spinner||!1,text:xe.text||"",fullscreen:qe===document.body&&((Ie=xe.fullscreen)!=null?Ie:!0),lock:(Fe=xe.lock)!=null?Fe:!1,customClass:xe.customClass||"",visible:(Ue=xe.visible)!=null?Ue:!0,target:qe}},addStyle=async(xe,$e,Ie)=>{const{nextZIndex:Fe}=Ie.vm.zIndex||Ie.vm._.exposed.zIndex,Ue={};if(xe.fullscreen)Ie.originalPosition.value=getStyle(document.body,"position"),Ie.originalOverflow.value=getStyle(document.body,"overflow"),Ue.zIndex=Fe();else if(xe.parent===document.body){Ie.originalPosition.value=getStyle(document.body,"position"),await nextTick();for(const qe of["top","left"]){const At=qe==="top"?"scrollTop":"scrollLeft";Ue[qe]=`${xe.target.getBoundingClientRect()[qe]+document.body[At]+document.documentElement[At]-Number.parseInt(getStyle(document.body,`margin-${qe}`),10)}px`}for(const qe of["height","width"])Ue[qe]=`${xe.target.getBoundingClientRect()[qe]}px`}else Ie.originalPosition.value=getStyle($e,"position");for(const[qe,At]of Object.entries(Ue))Ie.$el.style[qe]=At},addClassList=(xe,$e,Ie)=>{const Fe=Ie.vm.ns||Ie.vm._.exposed.ns;["absolute","fixed","sticky"].includes(Ie.originalPosition.value)?removeClass($e,Fe.bm("parent","relative")):addClass($e,Fe.bm("parent","relative")),xe.fullscreen&&xe.lock?addClass($e,Fe.bm("parent","hidden")):removeClass($e,Fe.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance=(xe,$e)=>{var Ie,Fe,Ue,qe;const At=$e.instance,Dt=bn=>isObject$8($e.value)?$e.value[bn]:void 0,Lt=bn=>{const _n=isString$4(bn)&&(At==null?void 0:At[bn])||bn;return _n&&ref(_n)},jt=bn=>Lt(Dt(bn)||xe.getAttribute(`element-loading-${hyphenate(bn)}`)),hn=(Ie=Dt("fullscreen"))!=null?Ie:$e.modifiers.fullscreen,vn={text:jt("text"),svg:jt("svg"),svgViewBox:jt("svgViewBox"),spinner:jt("spinner"),background:jt("background"),customClass:jt("customClass"),fullscreen:hn,target:(Fe=Dt("target"))!=null?Fe:hn?void 0:xe,body:(Ue=Dt("body"))!=null?Ue:$e.modifiers.body,lock:(qe=Dt("lock"))!=null?qe:$e.modifiers.lock};xe[INSTANCE_KEY]={options:vn,instance:Loading(vn)}},updateOptions=(xe,$e)=>{for(const Ie of Object.keys($e))isRef($e[Ie])&&($e[Ie].value=xe[Ie])},vLoading={mounted(xe,$e){$e.value&&createInstance(xe,$e)},updated(xe,$e){const Ie=xe[INSTANCE_KEY];$e.oldValue!==$e.value&&($e.value&&!$e.oldValue?createInstance(xe,$e):$e.value&&$e.oldValue?isObject$8($e.value)&&updateOptions($e.value,Ie.options):Ie==null||Ie.instance.close())},unmounted(xe){var $e;($e=xe[INSTANCE_KEY])==null||$e.instance.close(),xe[INSTANCE_KEY]=null}},ElLoading={install(xe){xe.directive("loading",vLoading),xe.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",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient?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),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},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=shallowReactive([]),getInstance=xe=>{const $e=instances.findIndex(Ue=>Ue.id===xe),Ie=instances[$e];let Fe;return $e>0&&(Fe=instances[$e-1]),{current:Ie,prev:Fe}},getLastOffset=xe=>{const{prev:$e}=getInstance(xe);return $e?$e.vm.exposed.bottom.value:0},getOffsetOrSpace=(xe,$e)=>instances.findIndex(Fe=>Fe.id===xe)>0?16:$e,_hoisted_1$2=["id"],_hoisted_2$2=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$3=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(xe,{expose:$e}){const Ie=xe,{Close:Fe}=TypeComponents,{ns:Ue,zIndex:qe}=useGlobalComponentSettings("message"),{currentZIndex:At,nextZIndex:Dt}=qe,Lt=ref(),jt=ref(!1),hn=ref(0);let vn;const bn=computed(()=>Ie.type?Ie.type==="error"?"danger":Ie.type:"info"),_n=computed(()=>{const Pn=Ie.type;return{[Ue.bm("icon",Pn)]:Pn&&TypeComponentsMap[Pn]}}),wn=computed(()=>Ie.icon||TypeComponentsMap[Ie.type]||""),kn=computed(()=>getLastOffset(Ie.id)),Cn=computed(()=>getOffsetOrSpace(Ie.id,Ie.offset)+kn.value),Sn=computed(()=>hn.value+Cn.value),xn=computed(()=>({top:`${Cn.value}px`,zIndex:At.value}));function En(){Ie.duration!==0&&({stop:vn}=useTimeoutFn(()=>{An()},Ie.duration))}function Tn(){vn==null||vn()}function An(){jt.value=!1}function $n({code:Pn}){Pn===EVENT_CODE.esc&&An()}return onMounted(()=>{En(),Dt(),jt.value=!0}),watch(()=>Ie.repeatNum,()=>{Tn(),En()}),useEventListener(document,"keydown",$n),useResizeObserver(Lt,()=>{hn.value=Lt.value.getBoundingClientRect().height}),$e({visible:jt,bottom:Sn,close:An}),(Pn,Nn)=>(openBlock(),createBlock(Transition,{name:unref(Ue).b("fade"),onBeforeLeave:Pn.onClose,onAfterLeave:Nn[0]||(Nn[0]=Mn=>Pn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Pn.id,ref_key:"messageRef",ref:Lt,class:normalizeClass([unref(Ue).b(),{[unref(Ue).m(Pn.type)]:Pn.type},unref(Ue).is("center",Pn.center),unref(Ue).is("closable",Pn.showClose),unref(Ue).is("plain",Pn.plain),Pn.customClass]),style:normalizeStyle$1(unref(xn)),role:"alert",onMouseenter:Tn,onMouseleave:En},[Pn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Pn.repeatNum,type:unref(bn),class:normalizeClass(unref(Ue).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(wn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ue).e("icon"),unref(_n)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Pn.$slots,"default",{},()=>[Pn.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:Pn.message},null,10,_hoisted_2$2)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Ue).e("content"))},toDisplayString(Pn.message),3))]),Pn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(Ue).e("closeBtn")),onClick:withModifiers(An,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$2),[[vShow,jt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc(_sfc_main$3,[["__file","message.vue"]]);let seed$1=1;const normalizeOptions=xe=>{const $e=!xe||isString$4(xe)||isVNode(xe)||isFunction$5(xe)?{message:xe}:xe,Ie={...messageDefaults,...$e};if(!Ie.appendTo)Ie.appendTo=document.body;else if(isString$4(Ie.appendTo)){let Fe=document.querySelector(Ie.appendTo);isElement$1(Fe)||(Fe=document.body),Ie.appendTo=Fe}return Ie},closeMessage=xe=>{const $e=instances.indexOf(xe);if($e===-1)return;instances.splice($e,1);const{handler:Ie}=xe;Ie.close()},createMessage=({appendTo:xe,...$e},Ie)=>{const Fe=`message_${seed$1++}`,Ue=$e.onClose,qe=document.createElement("div"),At={...$e,id:Fe,onClose:()=>{Ue==null||Ue(),closeMessage(hn)},onDestroy:()=>{render$2(null,qe)}},Dt=createVNode$1(MessageConstructor,At,isFunction$5(At.message)||isVNode(At.message)?{default:isFunction$5(At.message)?At.message:()=>At.message}:null);Dt.appContext=Ie||message._context,render$2(Dt,qe),xe.appendChild(qe.firstElementChild);const Lt=Dt.component,hn={id:Fe,vnode:Dt,vm:Lt,handler:{close:()=>{Lt.exposed.visible.value=!1}},props:Dt.component.props};return hn},message=(xe={},$e)=>{if(!isClient)return{close:()=>{}};if(isNumber(messageConfig.max)&&instances.length>=messageConfig.max)return{close:()=>{}};const Ie=normalizeOptions(xe);if(Ie.grouping&&instances.length){const Ue=instances.find(({vnode:qe})=>{var At;return((At=qe.props)==null?void 0:At.message)===Ie.message});if(Ue)return Ue.props.repeatNum+=1,Ue.props.type=Ie.type,Ue.handler}const Fe=createMessage(Ie,$e);return instances.push(Fe),Fe.handler};messageTypes.forEach(xe=>{message[xe]=($e={},Ie)=>{const Fe=normalizeOptions($e);return message({...Fe,type:xe},Ie)}});function closeAll$1(xe){for(const $e of instances)(!xe||xe===$e.props.type)&&$e.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$2=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,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(xe,{emit:$e}){const{locale:Ie,zIndex:Fe,ns:Ue,size:qe}=useGlobalComponentSettings("message-box",computed(()=>xe.buttonSize)),{t:At}=Ie,{nextZIndex:Dt}=Fe,Lt=ref(!1),jt=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:Dt()}),hn=computed(()=>{const Dn=jt.type;return{[Ue.bm("icon",Dn)]:Dn&&TypeComponentsMap[Dn]}}),vn=useId(),bn=useId(),_n=computed(()=>jt.icon||TypeComponentsMap[jt.type]||""),wn=computed(()=>!!jt.message),kn=ref(),Cn=ref(),Sn=ref(),xn=ref(),En=ref(),Tn=computed(()=>jt.confirmButtonClass);watch(()=>jt.inputValue,async Dn=>{await nextTick(),xe.boxType==="prompt"&&Dn!==null&&Rn()},{immediate:!0}),watch(()=>Lt.value,Dn=>{var Hn,Fn;Dn&&(xe.boxType!=="prompt"&&(jt.autofocus?Sn.value=(Fn=(Hn=En.value)==null?void 0:Hn.$el)!=null?Fn:kn.value:Sn.value=kn.value),jt.zIndex=Dt()),xe.boxType==="prompt"&&(Dn?nextTick().then(()=>{var zn;xn.value&&xn.value.$el&&(jt.autofocus?Sn.value=(zn=Bn())!=null?zn:kn.value:Sn.value=kn.value)}):(jt.editorErrorMessage="",jt.validateError=!1))});const An=computed(()=>xe.draggable),$n=computed(()=>xe.overflow);useDraggable(kn,Cn,An,$n),onMounted(async()=>{await nextTick(),xe.closeOnHashChange&&window.addEventListener("hashchange",Pn)}),onBeforeUnmount(()=>{xe.closeOnHashChange&&window.removeEventListener("hashchange",Pn)});function Pn(){Lt.value&&(Lt.value=!1,nextTick(()=>{jt.action&&$e("action",jt.action)}))}const Nn=()=>{xe.closeOnClickModal&&On(jt.distinguishCancelAndClose?"close":"cancel")},Mn=useSameTarget(Nn),In=Dn=>{if(jt.inputType!=="textarea")return Dn.preventDefault(),On("confirm")},On=Dn=>{var Hn;xe.boxType==="prompt"&&Dn==="confirm"&&!Rn()||(jt.action=Dn,jt.beforeClose?(Hn=jt.beforeClose)==null||Hn.call(jt,Dn,jt,Pn):Pn())},Rn=()=>{if(xe.boxType==="prompt"){const Dn=jt.inputPattern;if(Dn&&!Dn.test(jt.inputValue||""))return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;const Hn=jt.inputValidator;if(typeof Hn=="function"){const Fn=Hn(jt.inputValue);if(Fn===!1)return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;if(typeof Fn=="string")return jt.editorErrorMessage=Fn,jt.validateError=!0,!1}}return jt.editorErrorMessage="",jt.validateError=!1,!0},Bn=()=>{const Dn=xn.value.$refs;return Dn.input||Dn.textarea},Vn=()=>{On("close")},Ln=()=>{xe.closeOnPressEscape&&Vn()};return xe.lockScroll&&useLockscreen(Lt),{...toRefs(jt),ns:Ue,overlayEvent:Mn,visible:Lt,hasMessage:wn,typeClass:hn,contentId:vn,inputId:bn,btnSize:qe,iconComponent:_n,confirmButtonClasses:Tn,rootRef:kn,focusStartRef:Sn,headerRef:Cn,inputRef:xn,confirmRef:En,doClose:Pn,handleClose:Vn,onCloseRequested:Ln,handleWrapperClick:Nn,handleInputEnter:In,handleAction:On,t:At}}}),_hoisted_1$1=["aria-label","aria-describedby"],_hoisted_2$1=["aria-label"],_hoisted_3$1=["id"];function _sfc_render(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("close"),Lt=resolveComponent("el-input"),jt=resolveComponent("el-button"),hn=resolveComponent("el-focus-trap"),vn=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:$e[11]||($e[11]=bn=>xe.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(vn,{"z-index":xe.zIndex,"overlay-class":[xe.ns.is("message-box"),xe.modalClass],mask:xe.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":xe.title,"aria-modal":"true","aria-describedby":xe.showInput?void 0:xe.contentId,class:normalizeClass(`${xe.ns.namespace.value}-overlay-message-box`),onClick:$e[8]||($e[8]=(...bn)=>xe.overlayEvent.onClick&&xe.overlayEvent.onClick(...bn)),onMousedown:$e[9]||($e[9]=(...bn)=>xe.overlayEvent.onMousedown&&xe.overlayEvent.onMousedown(...bn)),onMouseup:$e[10]||($e[10]=(...bn)=>xe.overlayEvent.onMouseup&&xe.overlayEvent.onMouseup(...bn))},[createVNode$1(hn,{loop:"",trapped:xe.visible,"focus-trap-el":xe.rootRef,"focus-start-el":xe.focusStartRef,onReleaseRequested:xe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([xe.ns.b(),xe.customClass,xe.ns.is("draggable",xe.draggable),{[xe.ns.m("center")]:xe.center}]),style:normalizeStyle$1(xe.customStyle),tabindex:"-1",onClick:$e[7]||($e[7]=withModifiers(()=>{},["stop"]))},[xe.title!==null&&xe.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([xe.ns.e("header"),{"show-close":xe.showClose}])},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.iconComponent&&xe.center?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(xe.title),1)],2),xe.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(xe.ns.e("headerbtn")),"aria-label":xe.t("el.messagebox.close"),onClick:$e[0]||($e[0]=bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel")),onKeydown:$e[1]||($e[1]=withKeys(withModifiers(bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode$1(At,{class:normalizeClass(xe.ns.e("close"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"])],42,_hoisted_2$1)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:xe.contentId,class:normalizeClass(xe.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("container"))},[xe.iconComponent&&!xe.center&&xe.hasMessage?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("message"))},[renderSlot(xe.$slots,"default",{},()=>[xe.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:1,for:xe.showInput?xe.inputId:void 0,innerHTML:xe.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:0,for:xe.showInput?xe.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.dangerouslyUseHTMLString?"":xe.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(xe.ns.e("input"))},[createVNode$1(Lt,{id:xe.inputId,ref:"inputRef",modelValue:xe.inputValue,"onUpdate:modelValue":$e[2]||($e[2]=bn=>xe.inputValue=bn),type:xe.inputType,placeholder:xe.inputPlaceholder,"aria-invalid":xe.validateError,class:normalizeClass({invalid:xe.validateError}),onKeydown:withKeys(xe.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(xe.ns.e("errormsg")),style:normalizeStyle$1({visibility:xe.editorErrorMessage?"visible":"hidden"})},toDisplayString(xe.editorErrorMessage),7)],2),[[vShow,xe.showInput]])],10,_hoisted_3$1),createBaseVNode("div",{class:normalizeClass(xe.ns.e("btns"))},[xe.showCancelButton?(openBlock(),createBlock(jt,{key:0,loading:xe.cancelButtonLoading,class:normalizeClass([xe.cancelButtonClass]),round:xe.roundButton,size:xe.btnSize,onClick:$e[3]||($e[3]=bn=>xe.handleAction("cancel")),onKeydown:$e[4]||($e[4]=withKeys(withModifiers(bn=>xe.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.cancelButtonText||xe.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(jt,{ref:"confirmRef",type:"primary",loading:xe.confirmButtonLoading,class:normalizeClass([xe.confirmButtonClasses]),round:xe.roundButton,disabled:xe.confirmButtonDisabled,size:xe.btnSize,onClick:$e[5]||($e[5]=bn=>xe.handleAction("confirm")),onKeydown:$e[6]||($e[6]=withKeys(withModifiers(bn=>xe.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.confirmButtonText||xe.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,xe.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$1)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,xe.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc(_sfc_main$2,[["render",_sfc_render],["__file","index.vue"]]);const messageInstance=new Map,getAppendToElement=xe=>{let $e=document.body;return xe.appendTo&&(isString$4(xe.appendTo)&&($e=document.querySelector(xe.appendTo)),isElement$1(xe.appendTo)&&($e=xe.appendTo),isElement$1($e)||($e=document.body)),$e},initInstance=(xe,$e,Ie=null)=>{const Fe=createVNode$1(MessageBoxConstructor,xe,isFunction$5(xe.message)||isVNode(xe.message)?{default:isFunction$5(xe.message)?xe.message:()=>xe.message}:null);return Fe.appContext=Ie,render$2(Fe,$e),getAppendToElement(xe).appendChild($e.firstElementChild),Fe.component},genContainer=()=>document.createElement("div"),showMessage=(xe,$e)=>{const Ie=genContainer();xe.onVanish=()=>{render$2(null,Ie),messageInstance.delete(Ue)},xe.onAction=qe=>{const At=messageInstance.get(Ue);let Dt;xe.showInput?Dt={value:Ue.inputValue,action:qe}:Dt=qe,xe.callback?xe.callback(Dt,Fe.proxy):qe==="cancel"||qe==="close"?xe.distinguishCancelAndClose&&qe!=="cancel"?At.reject("close"):At.reject("cancel"):At.resolve(Dt)};const Fe=initInstance(xe,Ie,$e),Ue=Fe.proxy;for(const qe in xe)hasOwn$1(xe,qe)&&!hasOwn$1(Ue.$props,qe)&&(Ue[qe]=xe[qe]);return Ue.visible=!0,Ue};function MessageBox(xe,$e=null){if(!isClient)return Promise.reject();let Ie;return isString$4(xe)||isVNode(xe)?xe={message:xe}:Ie=xe.callback,new Promise((Fe,Ue)=>{const qe=showMessage(xe,$e??MessageBox._context);messageInstance.set(qe,{options:xe,callback:Ie,resolve:Fe,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(xe=>{MessageBox[xe]=messageBoxFactory(xe)});function messageBoxFactory(xe){return($e,Ie,Fe,Ue)=>{let qe="";return isObject$8(Ie)?(Fe=Ie,qe=""):isUndefined(Ie)?qe="":qe=Ie,MessageBox(Object.assign({title:qe,message:$e,type:"",...MESSAGE_BOX_DEFAULT_OPTS[xe]},Fe,{boxType:xe}),Ue)}}MessageBox.close=()=>{messageInstance.forEach((xe,$e)=>{$e.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=xe=>{_MessageBox._context=xe._context,xe.config.globalProperties.$msgbox=_MessageBox,xe.config.globalProperties.$messageBox=_MessageBox,xe.config.globalProperties.$alert=_MessageBox.alert,xe.config.globalProperties.$confirm=_MessageBox.confirm,xe.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=["id"],_hoisted_2=["textContent"],_hoisted_3={key:0},_hoisted_4=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$1=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(xe,{expose:$e}){const Ie=xe,{ns:Fe,zIndex:Ue}=useGlobalComponentSettings("notification"),{nextZIndex:qe,currentZIndex:At}=Ue,{Close:Dt}=CloseComponents,Lt=ref(!1);let jt;const hn=computed(()=>{const En=Ie.type;return En&&TypeComponentsMap[Ie.type]?Fe.m(En):""}),vn=computed(()=>Ie.type&&TypeComponentsMap[Ie.type]||Ie.icon),bn=computed(()=>Ie.position.endsWith("right")?"right":"left"),_n=computed(()=>Ie.position.startsWith("top")?"top":"bottom"),wn=computed(()=>{var En;return{[_n.value]:`${Ie.offset}px`,zIndex:(En=Ie.zIndex)!=null?En:At.value}});function kn(){Ie.duration>0&&({stop:jt}=useTimeoutFn(()=>{Lt.value&&Sn()},Ie.duration))}function Cn(){jt==null||jt()}function Sn(){Lt.value=!1}function xn({code:En}){En===EVENT_CODE.delete||En===EVENT_CODE.backspace?Cn():En===EVENT_CODE.esc?Lt.value&&Sn():kn()}return onMounted(()=>{kn(),qe(),Lt.value=!0}),useEventListener(document,"keydown",xn),$e({visible:Lt,close:Sn}),(En,Tn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),onBeforeLeave:En.onClose,onAfterLeave:Tn[1]||(Tn[1]=An=>En.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:En.id,class:normalizeClass([unref(Fe).b(),En.customClass,unref(bn)]),style:normalizeStyle$1(unref(wn)),role:"alert",onMouseenter:Cn,onMouseleave:kn,onClick:Tn[0]||(Tn[0]=(...An)=>En.onClick&&En.onClick(...An))},[unref(vn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Fe).e("icon"),unref(hn)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(vn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(Fe).e("title")),textContent:toDisplayString(En.title)},null,10,_hoisted_2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content")),style:normalizeStyle$1(En.title?void 0:{margin: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",{innerHTML:En.message},null,8,_hoisted_4)],2112)):(openBlock(),createElementBlock("p",_hoisted_3,toDisplayString(En.message),1))])],6),[[vShow,En.message]]),En.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Fe).e("closeBtn")),onClick:withModifiers(Sn,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Dt))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1),[[vShow,Lt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc(_sfc_main$1,[["__file","notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(xe={},$e=null){if(!isClient)return{close:()=>{}};(typeof xe=="string"||isVNode(xe))&&(xe={message:xe});const Ie=xe.position||"top-right";let Fe=xe.offset||0;notifications[Ie].forEach(({vm:hn})=>{var vn;Fe+=(((vn=hn.el)==null?void 0:vn.offsetHeight)||0)+GAP_SIZE}),Fe+=GAP_SIZE;const Ue=`notification_${seed++}`,qe=xe.onClose,At={...xe,offset:Fe,id:Ue,onClose:()=>{close(Ue,Ie,qe)}};let Dt=document.body;isElement$1(xe.appendTo)?Dt=xe.appendTo:isString$4(xe.appendTo)&&(Dt=document.querySelector(xe.appendTo)),isElement$1(Dt)||(Dt=document.body);const Lt=document.createElement("div"),jt=createVNode$1(NotificationConstructor,At,isVNode(At.message)?{default:()=>At.message}:null);return jt.appContext=$e??notify._context,jt.props.onDestroy=()=>{render$2(null,Lt)},render$2(jt,Lt),notifications[Ie].push({vm:jt}),Dt.appendChild(Lt.firstElementChild),{close:()=>{jt.component.exposed.visible.value=!1}}};notificationTypes.forEach(xe=>{notify[xe]=($e={})=>((typeof $e=="string"||isVNode($e))&&($e={message:$e}),notify({...$e,type:xe}))});function close(xe,$e,Ie){const Fe=notifications[$e],Ue=Fe.findIndex(({vm:jt})=>{var hn;return((hn=jt.component)==null?void 0:hn.props.id)===xe});if(Ue===-1)return;const{vm:qe}=Fe[Ue];if(!qe)return;Ie==null||Ie(qe);const At=qe.el.offsetHeight,Dt=$e.split("-")[0];Fe.splice(Ue,1);const Lt=Fe.length;if(!(Lt<1))for(let jt=Ue;jt<Lt;jt++){const{el:hn,component:vn}=Fe[jt].vm,bn=Number.parseInt(hn.style[Dt],10)-At-GAP_SIZE;vn.props.offset=bn}}function closeAll(){for(const xe of Object.values(notifications))xe.forEach(({vm:$e})=>{$e.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]);const api=axios.create({baseURL:"/api",timeout:1e3*60,responseType:"json"});api.interceptors.request.use(xe=>{const $e=useUserStore$1();return $e.isLogin&&xe.headers&&(xe.headers.Authorization=$e.token?`Bearer ${$e.token}`:""),xe.method,xe});api.interceptors.response.use(xe=>Promise.resolve(xe.data),xe=>{let $e="";if(xe!=null&&xe.response){const{data:Ie,status:Fe}=xe.response;Fe===401&&($e="权限验证失败，请重新登录",Ie.code===401&&Ie.message.includes("请登录后继续操作")&&useUserStore$1().logout().then(()=>{router.push({name:"login"})}));const{message:Ue,code:qe}=Ie;Ue&&($e=Ue)}else $e="接口请求异常，请稍后再试";return ElMessage({message:$e,type:"error"}),Promise.reject(xe)});const ApiUsre={login:xe=>api.post("auth/login",xe),permission:()=>api.get("auth/getInfo"),getInfo:()=>api.get("auth/getInfo"),queryAllUser:xe=>api.get("user/queryAll",{params:xe}),updateUserStatus:xe=>api.post("user/updateStatus",xe),resetUserPassword:xe=>api.post("user/resetUserPass",xe),sendUserCrami:xe=>api.post("user/recharge",xe),passwordEdit:xe=>api.post("auth/updatePassword",xe),queryUserAccountLog:xe=>api.get("balance/accountLog",{params:xe})},useUserStore=defineStore("user",()=>{const xe=useRouteStore(),$e=useMenuStore(),Ie=ref(""),Fe=ref(localStorage.username??""),Ue=ref(localStorage.token??""),qe=ref(localStorage.failure_time??""),At=ref([]),Dt=computed(()=>Ue.value);async function Lt(_n){const wn=await ApiUsre.login(_n);localStorage.setItem("token",wn.data),Ue.value=wn.data,await hn()}async function jt(){localStorage.removeItem("username"),localStorage.removeItem("token"),localStorage.removeItem("failure_time"),Fe.value="",Ue.value="",qe.value="",xe.removeRoutes(),$e.setActived(0),router.push({name:"login"})}async function hn(){const _n=await ApiUsre.getInfo(),{userInfo:wn}=_n.data;localStorage.setItem("username",wn.username);const{role:kn}=wn;Fe.value=wn.username,Ie.value=wn.avatar,["admin","super"].includes(kn)||(ElMessage.error("您没有权限访问该系统!!!"),await jt())}async function vn(){const _n=await ApiUsre.permission(),{userInfo:wn}=_n.data,{username:kn}=wn;return localStorage.setItem("username",kn),Fe.value=kn,At.value=["permission.browse","permission.create","permission.edit","permission.remove"],At.value}async function bn(_n){await ApiUsre.passwordEdit(_n)}return{username:Fe,token:Ue,permissions:At,isLogin:Dt,avatar:Ie,login:Lt,logout:jt,getInfo:hn,getPermissions:vn,editPassword:bn}}),useUserStore$1=useUserStore;function useAuth(){function xe(Fe){const Ue=useSettingsStore(),qe=useUserStore$1();return Ue.settings.app.enablePermission?qe.permissions.includes(Fe):!0}function $e(Fe){let Ue;return typeof Fe=="string"?Ue=Fe!==""?xe(Fe):!0:Ue=Fe.length>0?Fe.some(qe=>xe(qe)):!0,Ue}function Ie(Fe){return Fe.length>0?Fe.every(Ue=>xe(Ue)):!0}return{auth:$e,authAll:Ie}}const _sfc_main=defineComponent({__name:"App",setup(xe){const $e=useRoute(),Ie=useSettingsStore(),{auth:Fe}=useAuth(),Ue=computed(()=>$e.matched.every(Dt=>Fe(Dt.meta.auth??""))),qe=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-main-sidebar-width"));return(Ie.settings.menu.menuMode==="single"||Ie.settings.menu.menuMode==="head"&&Ie.mode!=="mobile")&&(Dt=0),`${Dt}px`}),At=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-width"));return Ie.settings.menu.subMenuCollapse&&Ie.mode!=="mobile"&&(Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-collapse-width"))),`${Dt}px`});return watch([()=>Ie.settings.app.enableDynamicTitle,()=>Ie.title],()=>{if(Ie.settings.app.enableDynamicTitle&&Ie.title){const Dt=typeof Ie.title=="function"?Ie.title():Ie.title;document.title=`${Dt} - AIWeb`}else document.title="AIWeb"},{immediate:!0,deep:!0}),onMounted(()=>{Ie.setMode(document.documentElement.clientWidth),window.addEventListener("resize",()=>{Ie.setMode(document.documentElement.clientWidth)}),hotkeys("alt+i",()=>{eventBus.emit("global-system-info-toggle")})}),(Dt,Lt)=>{const jt=_sfc_main$2u,hn=resolveComponent("RouterView"),vn=_sfc_main$2w;return openBlock(),createBlock(_sfc_main$2t,null,{default:withCtx(()=>[createVNode$1(hn,{style:normalizeStyle$1({"--g-main-sidebar-actual-width":unref(qe),"--g-sub-sidebar-actual-width":unref(At)})},{default:withCtx(({Component:bn})=>[unref(Ue)?(openBlock(),createBlock(resolveDynamicComponent(bn),{key:0})):(openBlock(),createBlock(jt,{key:1}))]),_:1},8,["style"]),createVNode$1(vn)]),_:1})}}});function install(xe){xe.use(installer)}const ui={install};function directive(xe){xe.directive("auth",{mounted:($e,Ie)=>{useAuth().auth(Ie.value)||$e.remove()}}),xe.directive("auth-all",{mounted:($e,Ie)=>{useAuth().authAll(Ie.value)||$e.remove()}})}if(typeof window<"u"){let xe=function(){var $e=document.body,Ie=document.getElementById("__svg__icons__dom__");Ie||(Ie=document.createElementNS("http://www.w3.org/2000/svg","svg"),Ie.style.position="absolute",Ie.style.width="0",Ie.style.height="0",Ie.id="__svg__icons__dom__",Ie.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ie.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),Ie.innerHTML='<symbol  viewBox="0 0 815 510" id="icon-403"><g fill="none" fill-rule="evenodd" transform="translate(0 1)"><ellipse cx="445.8" cy="311.6" fill="#E9F2FB" fill-rule="nonzero" rx="335.6" ry="196.9" /><g fill-rule="nonzero"><path fill="#EE706D" d="m724.7 279.8-35.6 40.8-34.6-.2v-1.2l36.3-39.8h30.9c1.1 0 2.1.1 3 .4Zm-75-.4-16.6 17.7v-17.7z" /><path fill="#FED280" d="M635.7 172.5v30.2c0 3.1-2.5 5.7-5.7 5.7H406.7c-3.1 0-5.7-2.5-5.7-5.7v-30.2c0-3.1 2.5-5.7 5.7-5.7H630c3.2 0 5.7 2.6 5.7 5.7Z" /><path fill="#99C592" d="M633.1 320.2v50.5c0 7.5-5.4 13.9-12.5 15.3h-15.9c1.2-2.2 2.2-4.1 2.9-5.7 1.9-3.9 2.8-8.1 2.9-12.4.1-8.5.2-26.9.3-47.9h1.2l21.1.2Zm0-96.1v55.3h-22c.2-24.5.5-45.9.8-52.2.8-17.1-3.1-18.8-3.1-18.8h8.6c8.6 0 15.7 7.1 15.7 15.7Z" /><path fill="#EE706D" d="M610.7 320c.1-12.9.2-26.8.4-39.8l.8-.8h21.2v17.7l-21.2 22.7v.3l-1.2-.1Z" /><path fill="#EE706D" d="m572.8 319.7 38.3-39.6c-.1 13-.2 26.9-.4 39.8l-37.9-.2Zm-6.2-40.3-38.8 39.4v.6l-36.7-.2 40.9-39.8z" /><path fill="#B0D7A1" d="m572.8 319.7 37.9.3c-.1 20.9-.2 39.4-.3 47.9 0 4.3-1 8.5-2.9 12.4-.7 1.6-1.7 3.5-2.9 5.7h-191c-7.1-1.5-12.5-7.8-12.5-15.3v-52.1l10.1.1 34.3.2 45.7.3 36.7.3 44.9.2Z" /><path fill="#EE706D" d="m488.3 279.4-42.9 39.4-34.3-.2 42.3-39.2z" /><path fill="#B0D7A1" d="M453.4 279.4h-52.3v-55.3c0-8.6 7.1-15.7 15.7-15.7h192s3.9 1.7 3.1 18.8c-.3 6.3-.6 27.6-.8 52.2H453.4Zm-40-21.5h5.2c.8 0 1.5-.7 1.5-1.5v-30.1c0-.8-.7-1.4-1.5-1.4h-5.2c-.8 0-1.4.6-1.4 1.4v30.1c0 .8.6 1.5 1.4 1.5Zm2.9 13.3c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3-4.3 1.9-4.3 4.3c0 2.3 1.9 4.3 4.3 4.3Z" /><path fill="#EE706D" d="M401.1 279.4v4.2l-33.7 34.7-36.9-.3v-.3l36.9-38.3z" /><path fill="#DFDFDF" d="M386.7 77.7c12.3 17.3-4.5 10.7-4.5 10.7l-24.5-12.5 15.1-13.3 13.9 15.1Z" /><path fill="#DFDFDF" d="m318.8 8 54.1 54.7L357.8 76l-5.1 4.5c-4 3.5-10.1 3.4-14-.3l-18.4-17.5-15.9-15.5-20.2-19.8.6-.6 19.5-19c4-3.9 10.5-3.9 14.5.2Z" /><path fill="#F0F3F8" d="M321.7 359.7s19.9 3.2 17.6 26.3h-150s-2.8-22.2 21.5-26.3h110.9Z" /><path fill="#EE706D" d="m324 279.4-21.2 20.7v-20.7z" /><path fill="#5C5C5C" d="M310.6 80.2c-1.8 2.7-5.4 3.3-7.9 1.4V64.2l1.5-1.6 5.9 5.7c.9.8 1.5 1.8 1.9 2.9 1.1 2.5.8 5.5-.7 8l-.7 1Z" /><path fill="#DAE3E9" d="M302.8 317.8v41.9h-18v-42z" /><path fill="#EE706D" d="M302.8 279.4v20.7l-18 17.6V283l3.6-3.6z" /><path fill="#DAE3E9" d="M302.8 160.7v118.7h-18V160.7zm-18-33.7h18v33.7h-18z" /><path fill="#5C5C5C" d="m310.2 68.3-5.9-5.7-6.4-6.2c-.7-.6-1.4-1.1-2.2-1.5l.2-.5 8.5-7.3 15.9 15.5L313 71l-.8.2c-.5-1.1-1.2-2-2-2.9Z" /><path fill="#5C5C5C" d="m297.9 56.5 6.4 6.2-1.5 1.6h-16.6c-1.3-2.8-.5-6.3 2.2-8.3l.2-.2c2.1-1.5 4.8-1.7 7.1-.8.8.3 1.5.8 2.2 1.5Zm-10.4 9.7c-.6-.6-1-1.2-1.3-1.9h16.6v17.4c-.2-.1-.4-.3-.6-.5l-14.7-15Z" /><path fill="#DAE3E9" d="m287.5 66.2 14.7 14.9c.2.2.4.4.6.5V127h-18V64.2h1.4c.3.7.7 1.4 1.3 2Z" /><path fill="#E7F2FA" d="M284.8 317.7v42h-34.7v-42.3z" /><path fill="#EE706D" d="M284.8 283v34.7l-34.7-.3z" /><path fill="#E7F2FA" d="M284.8 160.7v118.6h-34.6v-43.6c0-5.7-4.7-10.4-10.4-10.4h-14v-64.6h59Z" /><path fill="#FFF" d="M225.7 127h59.1v33.7h-59.1z" /><path fill="#E7F2FA" d="M284.8 64.2V127h-59.1V81.4c0-9.5 7.7-17.1 17.1-17.1h42v-.1Z" /><path fill="#E2E1E3" d="M250.1 317.4v42.2h-15.2V225.3h4.8c5.7 0 10.4 4.7 10.4 10.4v81.7Z" /><path fill="#FDFDFD" d="M234.9 225.3v134.3h-24.2V235.7c0-5.7 4.7-10.4 10.4-10.4h13.8Z" /></g><g fill="#96CEF7" fill-rule="nonzero" transform="translate(666 177)"><path d="M20.2 9.6V5.9c0-3 2.4-5.4 5.4-5.4h90.6c3 0 5.4 2.4 5.4 5.4v3.8c0 3-2.4 5.4-5.4 5.4H76.3c-3 0-5.4 2.4-5.4 5.4v4c0 3 2.4 5.4 5.4 5.4h7.6c3 0 5.4 2.4 5.4 5.3l.1 6.4c0 3-2.4 5.5-5.4 5.5H5.9c-3 0-5.4-2.4-5.4-5.4v-6.2c0-3 2.4-5.4 5.4-5.4l35.4-.2c2.9 0 5.3-2.4 5.4-5.3l.1-4.3c.1-3-2.4-5.5-5.5-5.5l-15.7.2c-2.9.1-5.4-2.4-5.4-5.4Z" /><circle cx="140.9" cy="8.5" r="8" /></g><g fill="#96CEF7" fill-rule="nonzero" transform="translate(0 278)"><path d="M161.6 11.8V7.2c0-3.7-3-6.8-6.8-6.8H41.7c-3.7 0-6.8 3-6.8 6.8v4.7c0 3.7 3 6.7 6.7 6.7h49.9c3.7 0 6.8 3 6.8 6.8v5c0 3.7-3 6.8-6.8 6.8H82c-3.7 0-6.7 3-6.8 6.7l-.1 8c-.1 3.8 3 6.9 6.8 6.9h97.6c3.7 0 6.8-3 6.8-6.8v-7.7c0-3.7-3-6.7-6.7-6.8l-44.3-.3c-3.7 0-6.7-3-6.7-6.6l-.1-5.3c-.1-3.8 3-6.9 6.8-6.9l19.6.2c3.6 0 6.7-3 6.7-6.8Z" /><circle cx="10.8" cy="10.4" r="9.9" /></g><path stroke="currentColor" d="M429.2 201.7h187m-201.3 0h9.7M192.4 378.1s-.7-13.2 16.4-19.2M337.2 70.6s6.7 9.2 13.8 3.5m2.5-2 14.8-13.5" /><g stroke="#000" stroke-width="2"><path d="M210.7 355.7v-124c0-5.7 4.7-10.4 10.4-10.4h18.6c5.7 0 10.4 4.7 10.4 10.4v123.9h-39.4v.1Zm77.7-80.3-35.9 38.3 32.2.2 18 .1 27.7.2 36.9.2 33.7.2 10.1.1 34.3.2 45.7.3 36.7.2 45 .3 39.1.3 21.2.1 21.4.1 34.5.2 32.6.2c5.8.1 10.4-4.6 10.4-10.4v-20.7c0-4.7-3.1-8.6-7.3-9.9-1-.3-2-.5-3-.5H250.1m73.9.3-39.2 38.3m82.6-38.3-36.9 38.3m74.7-38.3-37.8 38.9m43.7.3 42.3-39.2m-8 39.4 42.9-39.4m2.8 39.8 40.9-39.8m34.6 0-38.8 39.4m45 1 39.1-40.4m37.8 0-37.8 40.4m78.9-40.4-36.3 39.8" /><path d="m725.1 275.4-.4.4-35.7 40.8-.2.3m17.9 65.1h79.8m-85.1 0h2.3m-36.3 0h28.2m-306.1 0h272.8m-305.5 0h26.8M144 382h207.7m-217.9 0h7.4m-34.2 0h20.4m61.8 0s-2.8-22.2 21.5-26.3m39.4 0h71.5s19.9 3.2 17.6 26.3m-36.4-68.3v42m0-277v196.7m-77.1-54.1V77.4c0-9.5 7.7-17.1 17.1-17.1h42.8m-.8 62.7h18m-77.1 0h59.1m0 33.7h18m-77.1 0h59.1m1.3-96.7c.3.8.8 1.5 1.4 2.2l14.7 14.9c.3.3.6.5.9.7 2.5 1.7 5.9 1 7.6-1.6l.7-1.1c1.6-2.4 1.8-5.4.7-8-.4-1.1-1.1-2-1.9-2.9l-12.3-11.9c-.7-.6-1.4-1.1-2.2-1.5-2.3-.9-5-.7-7.1.8l-.2.2c-2.7 2-3.5 5.4-2.3 8.2Z" /><path d="m295.9 50.5 8.5-7.3 15.8 15.4-7.3 8.4m-29.4-44.2.6.5 20.3 19.9" /><path d="m320.2 58.6 18.4 17.5c3.9 3.7 9.9 3.8 14 .3l5.1-4.5 15.1-13.3-54-54.6c-4-4-10.5-4.1-14.6-.1L284 23.4l-.5.5m74.3 48 24.5 12.5s16.8 6.6 4.5-10.7L373 58.6m260.1 257.1v50.9c0 7.5-5.4 13.9-12.5 15.3-1 .2-2.1.3-3.2.3H416.8c-1.1 0-2.1-.1-3.2-.3-7.1-1.5-12.5-7.8-12.5-15.3v-23m216.3-139.2c8.6 0 15.7 7.1 15.7 15.7v55.3m-232 0v-55.3c0-8.6 7.1-15.7 15.7-15.7m-15.7 125.4v-15.5m178.6-151.5H620c8.6 0 15.7 7.1 15.7 15.7v10.2c0 8.6-7.1 15.7-15.7 15.7H416.8c-8.6 0-15.7-7.1-15.7-15.7v-10.2c0-8.6 7.1-15.7 15.7-15.7H439m10.6 0h117m-127.7 0h10.7" /><path d="M418.6 253.9h-5.2c-.8 0-1.4-.7-1.4-1.5v-30.1c0-.8.6-1.4 1.4-1.4h5.2c.8 0 1.5.6 1.5 1.4v30.1c0 .8-.7 1.5-1.5 1.5Zm-2.3 13.3c-2.4 0-4.3-1.9-4.3-4.3s1.9-4.3 4.3-4.3 4.3 1.9 4.3 4.3c.1 2.3-1.9 4.3-4.3 4.3Z" /></g></g></symbol><symbol  viewBox="0 0 859 586" id="icon-404"><g fill="none" fill-rule="evenodd"><ellipse cx="452" cy="344" fill="#E7F4FE" fill-rule="nonzero" rx="406.2" ry="241.1" /><g fill="#96CEF7" fill-rule="nonzero" transform="translate(646 401)"><path d="M20.7 9.5V5.7c0-3.1 2.5-5.6 5.6-5.6h92.9c3.1 0 5.6 2.5 5.6 5.6v3.9c0 3.1-2.5 5.5-5.5 5.5H78.4c-3.1 0-5.6 2.5-5.6 5.6v4.1c0 3.1 2.5 5.6 5.6 5.6h7.8c3 0 5.5 2.4 5.6 5.5l.1 6.6c0 3.1-2.5 5.6-5.6 5.6H6.2c-3.1 0-5.6-2.5-5.6-5.6v-6.4c0-3.1 2.5-5.5 5.5-5.6l36.4-.2c3 0 5.5-2.4 5.5-5.5l.1-4.4c.1-3.1-2.5-5.7-5.6-5.7l-16.1.2c-3.1.2-5.7-2.3-5.7-5.4z" /><circle cx="144.6" cy="8.4" r="8.2" /></g><g fill="#96CEF7" fill-rule="nonzero" transform="translate(0 249)"><path d="M158.3 12V7.5c0-3.7-3-6.7-6.7-6.7H40.3c-3.7 0-6.7 3-6.7 6.7v4.6c0 3.7 3 6.6 6.6 6.6h49c3.7 0 6.7 3 6.7 6.7v4.9c0 3.7-3 6.7-6.7 6.7h-9.3c-3.6 0-6.6 2.9-6.7 6.5l-.1 7.9c-.1 3.7 2.9 6.8 6.7 6.8h96c3.7 0 6.7-3 6.7-6.7v-7.6c0-3.7-3-6.6-6.6-6.7l-43.6-.3c-3.6 0-6.5-2.9-6.6-6.5l-.1-5.2c-.1-3.7 3-6.8 6.7-6.8l19.3.2c3.6.1 6.7-2.9 6.7-6.6z" /><circle cx="9.9" cy="10.6" r="9.8" /></g><g fill-rule="nonzero"><path fill="#96CEF7" d="M513.5 354.8s-2 15.1 11.1 21.8c-5.5 9.6-12.4 18.4-20.3 26.1-20.1-35.8-40.6-14.5-40.6-14.5s-12.6-26.5-31-21.9c18.2-11.9 36.8-25.3 54.9-39 4.9 27 25.9 27.5 25.9 27.5z" /><path fill="#309EED" d="M524.7 376.6c-13.1-6.7-11.2-21.8-11.2-21.8s-21-.6-25.8-27.6c16.7-12.7 33-25.8 48.3-38.5 2.6 9.6 4 19.7 3.9 30.2 0 21.1-5.5 40.7-15.2 57.7zm-20.3 26.1c-21 20.3-49.5 32.8-81 32.8-2.8 0-5.5-.1-8.2-.3 0 0-9-16.1 3.7-25.2 0 0-16.6-17.5.5-35.2 4.4-2.7 8.9-5.6 13.3-8.5 18.4-4.6 31 21.9 31 21.9s20.6-21.3 40.7 14.5z" /><path fill="#309EED" d="M536 288.8c-15.3 12.7-31.6 25.8-48.3 38.5-.1-.5-.2-1-.2-1.5-4.2-28.5 24.2-39.4 24.2-39.4s-5-20.8 19-12.8c2.1 4.8 3.9 9.9 5.3 15.2z" /><path fill="#96CEF7" d="M487.4 325.7c.1.5.2 1 .2 1.5-18.1 13.8-36.7 27.1-54.9 39-3 .7-6.1 2.3-9.4 4.9-1.5 1.2-2.8 2.4-4 3.6-25 15.5-49 27.8-69.9 34.3-24.8-20.3-41-50.7-42.5-84.9v-.1c.4-10.6 2-21 4.7-30.9 4.8 1.1 17.7 3.7 23.5-.5 7.3-5.2-.7 51.8 30.6 51.8s33.7-52.2 33.7-52.2 26.7 1.2 13.3-29.1c0 0 17.8 1.5 22.6-16.4 3.4-12.5-2.2-25.6-12.8-33.1-4.2-3-9.7-6.4-16.9-10.1 5.7-.9 11.6-1.3 17.6-1.3 48.2 0 89.6 29.3 107.3 71-24-8-19 12.8-19 12.8s-28.3 11.2-24.1 39.7zM458 319s7.6-6.6 5.8-12.8c-1.8-6.2-10.3.7-10.3.7s-.6-18.7-17-12.1c-16.4 6.7-5.5 24.2-5.5 24.2 12.8 13.8 27 0 27 0z" /><path fill="#309EED" d="M463.8 306.2c1.8 6.2-5.8 12.8-5.8 12.8s-14.3 13.8-27 0c0 0-10.9-17.5 5.5-24.2 16.4-6.7 17 12.1 17 12.1s8.5-6.9 10.3-.7z" /><path fill="#96CEF7" d="M349.6 409.1c20.9-6.5 44.9-18.8 69.9-34.3-17.1 17.7-.5 35.2-.5 35.2-12.7 9.1-3.7 25.2-3.7 25.2-24.9-1.7-47.6-11.2-65.7-26.1z" /><path fill="#309EED" d="M435.5 246.9c-4.9 17.9-22.6 16.4-22.6 16.4 13.3 30.3-13.3 29.1-13.3 29.1s-2.4 52.2-33.7 52.2c-31.3 0-23.3-57-30.6-51.8-5.9 4.2-18.8 1.6-23.5.5 6.7-25.1 20.2-47.3 38.4-64.8 15.7-12.7 34.8-21.4 55.7-24.6 7.2 3.7 12.7 7.1 16.9 10.1 10.5 7.3 16.1 20.4 12.7 32.9z" /></g><circle cx="423.4" cy="319" r="116.5" /><path stroke="currentColor" d="M487 419.1c-2.4 1.4-4.9 2.8-7.4 4.1" /><path stroke="#000" stroke-width="2" d="M459.6 429.9c-11.3 3.6-23.3 5.6-35.8 5.6-64.3 0-116.5-52.2-116.5-116.5s52.2-116.5 116.5-116.5S540.3 254.6 540.3 319c0 39.8-20 75-50.5 96" /><path stroke="#5C5C5C" stroke-dasharray="3.0047,3.0047" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M445.5 470.4c77.651 0 140.6-62.949 140.6-140.6s-62.949-140.6-140.6-140.6-140.6 62.949-140.6 140.6 62.949 140.6 140.6 140.6z" /><path stroke="#5C5C5C" stroke-dasharray="2.994,2.994" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M441.4 524C547.218 524 633 438.218 633 332.4s-85.782-191.6-191.6-191.6-191.6 85.782-191.6 191.6S335.582 524 441.4 524z" /><path stroke="#EF706D" stroke-dasharray="3,3" stroke-width="2" d="M303.3 324s-66.9 112.7 34.9 87.2C440 385.7 668.8 176 668.8 176" /><path stroke="#EF706D" stroke-dasharray="3,3" stroke-width="2" d="M304.8 330.5s-50.5 85.1 26.4 65.8c76.9-19.2 321-242.9 321-242.9" /><g fill-rule="nonzero"><path fill="#AFD7A3" d="M785.4 115c17.8 26.5 24.6 49.3 15.4 58.4-13.7 13.7-58.3-8.8-99.6-50.3-17.7-17.8-31.9-36.1-41.3-52.4-1-1.7-1.9-3.3-2.7-4.9-1.8-3.3-3.3-6.5-4.6-9.6-6.4-15-7.3-26.9-1.2-32.9 8.5-8.5 28.7-3.1 52.7 12 14.9 9.3 31.1 22.4 46.9 38.3 9.3 9.4 17.7 18.9 24.9 28.2 3.4 4.5 6.6 8.9 9.5 13.2zm-23 22.4c5.3-5.3-7.7-26.9-29.1-48.3-21.3-21.4-42.9-34.5-48.2-29.3-5.3 5.2 7.8 26.9 29.1 48.3s43 34.6 48.2 29.3z" /><path fill="#E7B976" d="M791.3 66.8c5.2 13.1 7.1 30.7-6 48.2-2.9-4.3-6.1-8.7-9.6-13.2C796.5 88.5 789.6 63 789.6 63c.7 1.2 1.2 2.5 1.7 3.8zm-57.9 22.4c21.3 21.4 34.4 43 29.1 48.3-5.3 5.2-26.8-7.9-48.2-29.3-21.4-21.4-34.4-43-29.1-48.3 5.3-5.3 26.8 7.8 48.2 29.3z" /><path fill="#FED37C" d="M789.6 63s6.8 25.5-13.8 38.8c-7.2-9.3-15.5-18.8-24.9-28.2-15.8-15.9-32.1-28.9-46.9-38.3 0 0 21.3-19.7 58.4-.2 3.5 1.8 6.8 4 9.9 6.4 2.3 1.8 4.5 3.8 6.5 5.9 4.4 4.6 8.1 9.8 10.8 15.6zm-33.3-19.6c.7-1.2.4-2.7-.8-3.5-1.2-.7-2.8-.4-3.5.8-.7 1.2-.4 2.8.8 3.5 1.2.7 2.8.4 3.5-.8zm-11.9-1c1.5.1 2.9-.7 3.3-2.1.3-1.1-.1-2.4-2.5-3.5-4.1-2-11.8-1.5-15-1.2-1.3.1-2.6.6-3.5 1.4-3.1 2.6 0 5.8 3.6 5.1 3.3-.8 10.8-.1 14.1.3z" /><path fill="#AFD7A3" d="M800 21.8c1.2.7-21.2 25.6-21.2 25.6-2-2.1-4.2-4.1-6.5-5.9 0 .1 26.5-20.4 27.7-19.7z" /><path fill="#FFF" d="M755.5 39.9c1.2.7 1.6 2.3.8 3.5-.7 1.2-2.3 1.6-3.5.8-1.2-.7-1.6-2.3-.8-3.5.7-1.2 2.3-1.5 3.5-.8zm-7.8.3c-.4 1.4-1.8 2.3-3.3 2.1-3.3-.4-10.8-1.1-14.1-.4-3.6.8-6.7-2.4-3.6-5.1 1-.9 2.2-1.3 3.5-1.4 3.2-.3 10.9-.8 15 1.2 2.4 1.3 2.8 2.6 2.5 3.6z" /><path fill="#D8D7D7" d="M627.9 180.6c-.2.1-.4.1-.6.2-1.1-1.9-2.2-3.7-3.3-5.6 1.2 1.8 2.6 3.6 3.9 5.4z" /></g><g stroke="#000" stroke-width="2"><path d="M657.2 65.9c-1.8-3.3-3.3-6.5-4.6-9.6m7.3 14.5c-1-1.7-1.9-3.3-2.7-4.9m-4.6-9.6c-6.4-15-7.3-26.9-1.2-32.9 8.5-8.5 28.7-3.1 52.7 12 14.9 9.3 31.1 22.4 46.9 38.3 9.3 9.4 17.7 18.9 24.9 28.2 3.5 4.5 6.7 8.9 9.6 13.2 17.8 26.5 24.6 49.3 15.4 58.4-13.7 13.7-58.3-8.8-99.6-50.3-17.7-17.8-31.9-36.1-41.3-52.4" /><path d="M704 35.4s21.3-19.7 58.4-.2c3.5 1.8 6.8 4 9.9 6.4 2.3 1.8 4.5 3.8 6.5 5.9 4.4 4.6 8.1 9.8 10.9 15.6.6 1.2 1.2 2.5 1.7 3.8 5.2 13.1 7.1 30.7-6 48.2m-23 22.3c-5.3 5.2-26.8-7.9-48.2-29.3-21.4-21.4-34.4-43-29.1-48.3 5.3-5.2 26.8 7.9 48.2 29.3 21.4 21.5 34.4 43.1 29.1 48.3z" /><path d="M772.3 41.6s26.5-20.4 27.7-19.7c1.2.7-21.2 25.6-21.2 25.6m17.6-32.3L802.5.8m1.3 19 10.1-9.7m-7.6 15.6 12.9-.7" /></g><path stroke="#FFF" d="M624 70.7s7.6-4.1 15 0" /><path stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" d="M657.2 22.8s14-5.3 59.3 25.4" /><path stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M720.5 51s56 43.6 75.9 91.7" /></g></symbol><symbol  class="icon" viewBox="0 0 1024 1024" id="icon-image-load-fail"><path d="M704 328a72 72 0 1 0 144 0 72 72 0 1 0-144 0z" /><path d="M999.904 116.608a32 32 0 0 0-21.952-10.912L521.76 73.792a31.552 31.552 0 0 0-27.2 11.904l-92.192 114.848a32 32 0 0 0 .672 40.896l146.144 169.952-147.456 194.656 36.48-173.376a32 32 0 0 0-11.136-31.424L235.616 245.504l79.616-125.696a32 32 0 0 0-29.28-49.024L45.76 87.552a32 32 0 0 0-29.696 34.176l55.808 798.016a32.064 32.064 0 0 0 34.304 29.696l176.512-13.184c17.632-1.312 30.848-16.672 29.504-34.272s-16.576-31.04-34.304-29.536L133.44 883.232l-6.432-92.512 125.312-12.576a32 32 0 0 0 28.672-35.04 32.16 32.16 0 0 0-35.04-28.672L122.56 726.848 82.144 149.184l145.152-10.144-60.96 96.224a32 32 0 0 0 6.848 41.952l198.4 161.344-58.752 279.296a30.912 30.912 0 0 0 .736 14.752 31.68 31.68 0 0 0 1.408 11.04l51.52 154.56a31.968 31.968 0 0 0 27.456 21.76l523.104 47.552a32.064 32.064 0 0 0 34.848-29.632l55.776-798.048a32.064 32.064 0 0 0-7.776-23.232zm-98.912 630.848-412.576-39.648a31.52 31.52 0 0 0-34.912 28.768 32 32 0 0 0 28.8 34.912l414.24 39.808-6.272 89.536-469.728-42.72-39.584-118.72 234.816-310.016a31.936 31.936 0 0 0-1.248-40.192L468.896 219.84l65.088-81.056 407.584 28.48-40.576 580.192z" /></symbol><symbol  class="icon" viewBox="0 0 1028 1024" id="icon-toolbar-collapse"><path d="M989.867 234.667H499.2c-17.067 0-34.133-21.334-34.133-42.667 0-25.6 12.8-42.667 34.133-42.667h490.667c17.066 0 34.133 17.067 34.133 42.667 0 21.333-12.8 42.667-34.133 42.667zm-473.6 128h465.066c25.6 0 46.934 21.333 46.934 42.666 0 25.6-21.334 42.667-46.934 42.667H516.267c-25.6 0-46.934-17.067-46.934-42.667s21.334-42.666 46.934-42.666zm0 298.666c-25.6 0-46.934-21.333-46.934-42.666 0-25.6 21.334-42.667 46.934-42.667h465.066c25.6 0 46.934 17.067 46.934 42.667s-21.334 42.666-46.934 42.666H516.267zm4.266 128H972.8c29.867 0 51.2 17.067 51.2 42.667s-21.333 42.667-51.2 42.667H520.533c-29.866 0-51.2-17.067-51.2-42.667s21.334-42.667 51.2-42.667zm-192 25.6c-17.066 17.067-46.933 17.067-64 0L12.8 541.867c-17.067-17.067-17.067-51.2 0-68.267l251.733-273.067c17.067-17.066 46.934-17.066 64 0s17.067 51.2 0 68.267L106.667 507.733l221.866 238.934c17.067 21.333 17.067 51.2 0 68.266z" /></symbol>',$e.insertBefore(Ie,$e.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",xe):xe()}const data=[{prefix:"ant-design",info:{name:"Ant Design Icons",total:789,version:"4.3.1",author:{name:"HeskeyBaozi",url:"https://github.com/ant-design/ant-design-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/ant-design/ant-design-icons/blob/master/LICENSE"},samples:["pushpin-filled","pie-chart-outlined","shopping-twotone"],height:16,category:"General",palette:!1},icons:["account-book-filled","account-book-outlined","account-book-twotone","aim-outlined","alert-filled","alert-outlined","alert-twotone","alibaba-outlined","align-center-outlined","align-left-outlined","align-right-outlined","alipay-circle-filled","alipay-circle-outlined","alipay-outlined","alipay-square-filled","aliwangwang-filled","aliwangwang-outlined","aliyun-outlined","amazon-circle-filled","amazon-outlined","amazon-square-filled","android-filled","android-outlined","ant-cloud-outlined","ant-design-outlined","apartment-outlined","api-filled","api-outlined","api-twotone","apple-filled","apple-outlined","appstore-add-outlined","appstore-filled","appstore-outlined","appstore-twotone","area-chart-outlined","arrow-down-outlined","arrow-left-outlined","arrow-right-outlined","arrow-up-outlined","arrows-alt-outlined","audio-filled","audio-muted-outlined","audio-outlined","audio-twotone","audit-outlined","backward-filled","backward-outlined","bank-filled","bank-outlined","bank-twotone","bar-chart-outlined","barcode-outlined","bars-outlined","behance-circle-filled","behance-outlined","behance-square-filled","behance-square-outlined","bell-filled","bell-outlined","bell-twotone","bg-colors-outlined","block-outlined","bold-outlined","book-filled","book-outlined","book-twotone","border-bottom-outlined","border-horizontal-outlined","border-inner-outlined","border-left-outlined","border-outer-outlined","border-outlined","border-right-outlined","border-top-outlined","border-verticle-outlined","borderless-table-outlined","box-plot-filled","box-plot-outlined","box-plot-twotone","branches-outlined","bug-filled","bug-outlined","bug-twotone","build-filled","build-outlined","build-twotone","bulb-filled","bulb-outlined","bulb-twotone","calculator-filled","calculator-outlined","calculator-twotone","calendar-filled","calendar-outlined","calendar-twotone","camera-filled","camera-outlined","camera-twotone","car-filled","car-outlined","car-twotone","caret-down-filled","caret-down-outlined","caret-left-filled","caret-left-outlined","caret-right-filled","caret-right-outlined","caret-up-filled","caret-up-outlined","carry-out-filled","carry-out-outlined","carry-out-twotone","check-circle-filled","check-circle-outlined","check-circle-twotone","check-outlined","check-square-filled","check-square-outlined","check-square-twotone","chrome-filled","chrome-outlined","ci-circle-filled","ci-circle-outlined","ci-circle-twotone","ci-outlined","ci-twotone","clear-outlined","clock-circle-filled","clock-circle-outlined","clock-circle-twotone","close-circle-filled","close-circle-outlined","close-circle-twotone","close-outlined","close-square-filled","close-square-outlined","close-square-twotone","cloud-download-outlined","cloud-filled","cloud-outlined","cloud-server-outlined","cloud-sync-outlined","cloud-twotone","cloud-upload-outlined","cluster-outlined","code-filled","code-outlined","code-sandbox-circle-filled","code-sandbox-outlined","code-sandbox-square-filled","code-twotone","codepen-circle-filled","codepen-circle-outlined","codepen-outlined","codepen-square-filled","coffee-outlined","column-height-outlined","column-width-outlined","comment-outlined","compass-filled","compass-outlined","compass-twotone","compress-outlined","console-sql-outlined","contacts-filled","contacts-outlined","contacts-twotone","container-filled","container-outlined","container-twotone","control-filled","control-outlined","control-twotone","copy-filled","copy-outlined","copy-twotone","copyright-circle-filled","copyright-circle-outlined","copyright-circle-twotone","copyright-outlined","copyright-twotone","credit-card-filled","credit-card-outlined","credit-card-twotone","crown-filled","crown-outlined","crown-twotone","customer-service-filled","customer-service-outlined","customer-service-twotone","dash-outlined","dashboard-filled","dashboard-outlined","dashboard-twotone","database-filled","database-outlined","database-twotone","delete-column-outlined","delete-filled","delete-outlined","delete-row-outlined","delete-twotone","delivered-procedure-outlined","deployment-unit-outlined","desktop-outlined","diff-filled","diff-outlined","diff-twotone","dingding-outlined","dingtalk-circle-filled","dingtalk-outlined","dingtalk-square-filled","disconnect-outlined","dislike-filled","dislike-outlined","dislike-twotone","dollar-circle-filled","dollar-circle-outlined","dollar-circle-twotone","dollar-outlined","dollar-twotone","dot-chart-outlined","double-left-outlined","double-right-outlined","down-circle-filled","down-circle-outlined","down-circle-twotone","down-outlined","down-square-filled","down-square-outlined","down-square-twotone","download-outlined","drag-outlined","dribbble-circle-filled","dribbble-outlined","dribbble-square-filled","dribbble-square-outlined","dropbox-circle-filled","dropbox-outlined","dropbox-square-filled","edit-filled","edit-outlined","edit-twotone","ellipsis-outlined","enter-outlined","environment-filled","environment-outlined","environment-twotone","euro-circle-filled","euro-circle-outlined","euro-circle-twotone","euro-outlined","euro-twotone","exception-outlined","exclamation-circle-filled","exclamation-circle-outlined","exclamation-circle-twotone","exclamation-outlined","expand-alt-outlined","expand-outlined","experiment-filled","experiment-outlined","experiment-twotone","export-outlined","eye-filled","eye-invisible-filled","eye-invisible-outlined","eye-invisible-twotone","eye-outlined","eye-twotone","facebook-filled","facebook-outlined","fall-outlined","fast-backward-filled","fast-backward-outlined","fast-forward-filled","fast-forward-outlined","field-binary-outlined","field-number-outlined","field-string-outlined","field-time-outlined","file-add-filled","file-add-outlined","file-add-twotone","file-done-outlined","file-excel-filled","file-excel-outlined","file-excel-twotone","file-exclamation-filled","file-exclamation-outlined","file-exclamation-twotone","file-filled","file-gif-outlined","file-image-filled","file-image-outlined","file-image-twotone","file-jpg-outlined","file-markdown-filled","file-markdown-outlined","file-markdown-twotone","file-outlined","file-pdf-filled","file-pdf-outlined","file-pdf-twotone","file-ppt-filled","file-ppt-outlined","file-ppt-twotone","file-protect-outlined","file-search-outlined","file-sync-outlined","file-text-filled","file-text-outlined","file-text-twotone","file-twotone","file-unknown-filled","file-unknown-outlined","file-unknown-twotone","file-word-filled","file-word-outlined","file-word-twotone","file-zip-filled","file-zip-outlined","file-zip-twotone","filter-filled","filter-outlined","filter-twotone","fire-filled","fire-outlined","fire-twotone","flag-filled","flag-outlined","flag-twotone","folder-add-filled","folder-add-outlined","folder-add-twotone","folder-filled","folder-open-filled","folder-open-outlined","folder-open-twotone","folder-outlined","folder-twotone","folder-view-outlined","font-colors-outlined","font-size-outlined","fork-outlined","form-outlined","format-painter-filled","format-painter-outlined","forward-filled","forward-outlined","frown-filled","frown-outlined","frown-twotone","fullscreen-exit-outlined","fullscreen-outlined","function-outlined","fund-filled","fund-outlined","fund-projection-screen-outlined","fund-twotone","fund-view-outlined","funnel-plot-filled","funnel-plot-outlined","funnel-plot-twotone","gateway-outlined","gif-outlined","gift-filled","gift-outlined","gift-twotone","github-filled","github-outlined","gitlab-filled","gitlab-outlined","global-outlined","gold-filled","gold-outlined","gold-twotone","golden-filled","google-circle-filled","google-outlined","google-plus-circle-filled","google-plus-outlined","google-plus-square-filled","google-square-filled","group-outlined","hdd-filled","hdd-outlined","hdd-twotone","heart-filled","heart-outlined","heart-twotone","heat-map-outlined","highlight-filled","highlight-outlined","highlight-twotone","history-outlined","holder-outlined","home-filled","home-outlined","home-twotone","hourglass-filled","hourglass-outlined","hourglass-twotone","html5-filled","html5-outlined","html5-twotone","idcard-filled","idcard-outlined","idcard-twotone","ie-circle-filled","ie-outlined","ie-square-filled","import-outlined","inbox-outlined","info-circle-filled","info-circle-outlined","info-circle-twotone","info-outlined","insert-row-above-outlined","insert-row-below-outlined","insert-row-left-outlined","insert-row-right-outlined","instagram-filled","instagram-outlined","insurance-filled","insurance-outlined","insurance-twotone","interaction-filled","interaction-outlined","interaction-twotone","issues-close-outlined","italic-outlined","key-outlined","laptop-outlined","layout-filled","layout-outlined","layout-twotone","left-circle-filled","left-circle-outlined","left-circle-twotone","left-outlined","left-square-filled","left-square-outlined","left-square-twotone","like-filled","like-outlined","like-twotone","line-chart-outlined","line-height-outlined","line-outlined","link-outlined","linkedin-filled","linkedin-outlined","loading-3-quarters-outlined","loading-outlined","lock-filled","lock-outlined","lock-twotone","login-outlined","logout-outlined","mac-command-filled","mac-command-outlined","mail-filled","mail-outlined","mail-twotone","man-outlined","medicine-box-filled","medicine-box-outlined","medicine-box-twotone","medium-circle-filled","medium-outlined","medium-square-filled","medium-workmark-outlined","meh-filled","meh-outlined","meh-twotone","menu-fold-outlined","menu-outlined","menu-unfold-outlined","merge-cells-outlined","message-filled","message-outlined","message-twotone","minus-circle-filled","minus-circle-outlined","minus-circle-twotone","minus-outlined","minus-square-filled","minus-square-outlined","minus-square-twotone","mobile-filled","mobile-outlined","mobile-twotone","money-collect-filled","money-collect-outlined","money-collect-twotone","monitor-outlined","more-outlined","node-collapse-outlined","node-expand-outlined","node-index-outlined","notification-filled","notification-outlined","notification-twotone","number-outlined","one-to-one-outlined","ordered-list-outlined","paper-clip-outlined","partition-outlined","pause-circle-filled","pause-circle-outlined","pause-circle-twotone","pause-outlined","pay-circle-filled","pay-circle-outlined","percentage-outlined","phone-filled","phone-outlined","phone-twotone","pic-center-outlined","pic-left-outlined","pic-right-outlined","picture-filled","picture-outlined","picture-twotone","pie-chart-filled","pie-chart-outlined","pie-chart-twotone","play-circle-filled","play-circle-outlined","play-circle-twotone","play-square-filled","play-square-outlined","play-square-twotone","plus-circle-filled","plus-circle-outlined","plus-circle-twotone","plus-outlined","plus-square-filled","plus-square-outlined","plus-square-twotone","pound-circle-filled","pound-circle-outlined","pound-circle-twotone","pound-outlined","poweroff-outlined","printer-filled","printer-outlined","printer-twotone","profile-filled","profile-outlined","profile-twotone","project-filled","project-outlined","project-twotone","property-safety-filled","property-safety-outlined","property-safety-twotone","pull-request-outlined","pushpin-filled","pushpin-outlined","pushpin-twotone","qq-circle-filled","qq-outlined","qq-square-filled","qrcode-outlined","question-circle-filled","question-circle-outlined","question-circle-twotone","question-outlined","radar-chart-outlined","radius-bottomleft-outlined","radius-bottomright-outlined","radius-setting-outlined","radius-upleft-outlined","radius-upright-outlined","read-filled","read-outlined","reconciliation-filled","reconciliation-outlined","reconciliation-twotone","red-envelope-filled","red-envelope-outlined","red-envelope-twotone","reddit-circle-filled","reddit-outlined","reddit-square-filled","redo-outlined","reload-outlined","rest-filled","rest-outlined","rest-twotone","retweet-outlined","right-circle-filled","right-circle-outlined","right-circle-twotone","right-outlined","right-square-filled","right-square-outlined","right-square-twotone","rise-outlined","robot-filled","robot-outlined","rocket-filled","rocket-outlined","rocket-twotone","rollback-outlined","rotate-left-outlined","rotate-right-outlined","safety-certificate-filled","safety-certificate-outlined","safety-certificate-twotone","safety-outlined","save-filled","save-outlined","save-twotone","scan-outlined","schedule-filled","schedule-outlined","schedule-twotone","scissor-outlined","search-outlined","security-scan-filled","security-scan-outlined","security-scan-twotone","select-outlined","send-outlined","setting-filled","setting-outlined","setting-twotone","shake-outlined","share-alt-outlined","shop-filled","shop-outlined","shop-twotone","shopping-cart-outlined","shopping-filled","shopping-outlined","shopping-twotone","shrink-outlined","signal-filled","sisternode-outlined","sketch-circle-filled","sketch-outlined","sketch-square-filled","skin-filled","skin-outlined","skin-twotone","skype-filled","skype-outlined","slack-circle-filled","slack-outlined","slack-square-filled","slack-square-outlined","sliders-filled","sliders-outlined","sliders-twotone","small-dash-outlined","smile-filled","smile-outlined","smile-twotone","snippets-filled","snippets-outlined","snippets-twotone","solution-outlined","sort-ascending-outlined","sort-descending-outlined","sound-filled","sound-outlined","sound-twotone","split-cells-outlined","star-filled","star-outlined","star-twotone","step-backward-filled","step-backward-outlined","step-forward-filled","step-forward-outlined","stock-outlined","stop-filled","stop-outlined","stop-twotone","strikethrough-outlined","subnode-outlined","swap-left-outlined","swap-outlined","swap-right-outlined","switcher-filled","switcher-outlined","switcher-twotone","sync-outlined","table-outlined","tablet-filled","tablet-outlined","tablet-twotone","tag-filled","tag-outlined","tag-twotone","tags-filled","tags-outlined","tags-twotone","taobao-circle-filled","taobao-circle-outlined","taobao-outlined","taobao-square-filled","team-outlined","thunderbolt-filled","thunderbolt-outlined","thunderbolt-twotone","to-top-outlined","tool-filled","tool-outlined","tool-twotone","trademark-circle-filled","trademark-circle-outlined","trademark-circle-twotone","trademark-outlined","transaction-outlined","translation-outlined","trophy-filled","trophy-outlined","trophy-twotone","twitter-circle-filled","twitter-outlined","twitter-square-filled","underline-outlined","undo-outlined","ungroup-outlined","unlock-filled","unlock-outlined","unlock-twotone","unordered-list-outlined","up-circle-filled","up-circle-outlined","up-circle-twotone","up-outlined","up-square-filled","up-square-outlined","up-square-twotone","upload-outlined","usb-filled","usb-outlined","usb-twotone","user-add-outlined","user-delete-outlined","user-outlined","user-switch-outlined","usergroup-add-outlined","usergroup-delete-outlined","verified-outlined","vertical-align-bottom-outlined","vertical-align-middle-outlined","vertical-align-top-outlined","vertical-left-outlined","vertical-right-outlined","video-camera-add-outlined","video-camera-filled","video-camera-outlined","video-camera-twotone","wallet-filled","wallet-outlined","wallet-twotone","warning-filled","warning-outlined","warning-twotone","wechat-filled","wechat-outlined","weibo-circle-filled","weibo-circle-outlined","weibo-outlined","weibo-square-filled","weibo-square-outlined","whats-app-outlined","wifi-outlined","windows-filled","windows-outlined","woman-outlined","yahoo-filled","yahoo-outlined","youtube-filled","youtube-outlined","yuque-filled","yuque-outlined","zhihu-circle-filled","zhihu-outlined","zhihu-square-filled","zoom-in-outlined","zoom-out-outlined"]},{prefix:"ep",info:{name:"Element Plus",total:293,version:"2.3.1",author:{name:"Element Plus",url:"https://github.com/element-plus/element-plus-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/element-plus/element-plus-icons/blob/main/packages/svg/package.json"},samples:["home-filled","partly-cloudy","avatar"],height:32,displayHeight:16,category:"General",palette:!1},icons:["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","chrome-filled","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","element-plus","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","gold-medal","goods","goods-filled","grape","grid","guide","handbag","headset","help","help-filled","hide","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","memo","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","quartz-watch","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","shopping-trolley","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","suitcase-line","sunny","sunrise","sunset","switch","switch-button","switch-filled","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","trophy-base","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warn-triangle-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"]},{prefix:"flagpack",info:{name:"Flagpack",total:255,version:"2.0.0",author:{name:"Yummygum",url:"https://github.com/Yummygum/flagpack-core"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/Yummygum/flagpack-core/blob/main/LICENSE"},samples:["ci","gb-ukm","wf"],height:24,category:"Maps / Flags",palette:!0},icons:["ad","ae","af","ag","ai","al","am","ao","aq","ar","as","at","au","aw","ax","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bl","bm","bn","bo","bq-bo","bq-sa","bq-se","br","bs","bt","bv","bw","by","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cu","cv","cw","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","eh","er","es","et","fi","fj","fk","fm","fo","fr","ga","gb","gb-eng","gb-nir","gb-sct","gb-ukm","gb-wls","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gw","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","iq","ir","is","it","je","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","me","mf","mg","mh","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pr","ps","pt","pw","py","qa","re","ro","rs","ru","rw","sa","sb","sc","sd","se","sg","sh","si","sj","sk","sl","sm","sn","so","sr","ss","st","sv","sx","sy","sz","tc","td","tf","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tw","tz","ua","ug","um","us","uy","uz","va","vc","ve","vg","vi","vn","vu","wf","ws","ye","yt","za","zm","zw"]},{prefix:"icon-park",info:{name:"IconPark",total:2658,version:"1.4.2",author:{name:"ByteDance",url:"https://github.com/bytedance/IconPark"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/bytedance/IconPark/blob/master/LICENSE"},samples:["add-one","english-mustache","basketball-clothes"],height:24,category:"General",palette:!0},icons:["a-cane","abdominal","abnormal","acceleration","accept-email","acoustic","activity-source","ad","ad-product","add","add-computer","add-four","add-item","add-mode","add-music","add-one","add-pic","add-picture","add-print","add-subset","add-subtract","add-text","add-text-two","add-three","add-two","add-user","add-web","address-book","adjacent-item","adjustment","adobe-illustrate","adobe-indesign","adobe-lightroom","adobe-photoshop","afferent","afferent-four","afferent-three","afferent-two","afro-pick","agreement","aiming","air-bike","air-conditioning","airplane","airplane-window","airplane-window-one","airplay","airpods","alarm","alarm-clock","align-bottom","align-bottom-two","align-horizontal-center-two","align-horizontally","align-left","align-left-one","align-left-two","align-right","align-right-one","align-right-two","align-text-both","align-text-both-one","align-text-bottom","align-text-bottom-one","align-text-center","align-text-center-one","align-text-left","align-text-left-one","align-text-middle","align-text-middle-one","align-text-right","align-text-right-one","align-text-top","align-text-top-one","align-top","align-top-two","align-vertical-center-two","align-vertically","alignment-bottom-center","alignment-bottom-left","alignment-bottom-right","alignment-horizontal-bottom","alignment-horizontal-center","alignment-horizontal-top","alignment-left-bottom","alignment-left-center","alignment-left-top","alignment-right-bottom","alignment-right-center","alignment-right-top","alignment-top-center","alignment-top-left","alignment-top-right","alignment-vertical-center","alignment-vertical-left","alignment-vertical-right","alipay","all-application","alphabetical-sorting","alphabetical-sorting-two","ambulance","analysis","anchor","anchor-one","anchor-round","anchor-squre","anchor-two","android","angry-face","anguished-face","announcement","anti-corrosion","aperture-priority","api","api-app","app-store","app-switch","apple","apple-one","applet-closed","application","application-effect","application-menu","application-one","application-two","appointment","aquarius","arc-de-triomphe","archers-bow","archery","area-map","arena","aries","arithmetic","arithmetic-buttons","arithmetic-one","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-keys","arrow-left","arrow-left-down","arrow-left-up","arrow-right","arrow-right-down","arrow-right-up","arrow-up","assembly-line","association","asterisk","asterisk-key","astonished-face","at-sign","attention","audio-file","audit","auto-focus","auto-height-one","auto-line-height","auto-line-width","auto-width","auto-width-one","avatar","average","aviation","avocado","avocado-one","baby","baby-app","baby-bottle","baby-car-seat","baby-feet","baby-meal","baby-mobile","baby-one","baby-pants","baby-sling","baby-taste","bachelor-cap","bachelor-cap-one","bachelor-cap-two","back","back-one","background-color","backpack","bad","bad-one","bad-two","badge","badge-two","badminton","baggage-delay","balance","balance-one","balance-two","banana","bank","bank-card","bank-card-one","bank-card-two","bank-transfer","baokemeng","bar-code","barbecue","barber-brush","barber-clippers","baseball","baseball-bat","baseball-cap","basketball","basketball-clothes","basketball-one","basketball-stand","bat","battery-charge","battery-empty","battery-failure","battery-full","battery-storage","battery-tips","battery-working","battery-working-one","beach-umbrella","bear","beauty","beauty-instrument","bedside","bedside-two","bee","beer","beer-mug","behance","bell-ring","belt","benz","bezier-curve","bib","big-clock","big-x","bike","bill","bird","birthday-cake","bitcoin","black-eight","blackboard","blade","bless","block","block-eight","block-five","block-four","block-nine","block-one","block-seven","block-six","block-ten","block-three","block-two","blockchain","blocks-and-arrows","bloom","blossom","bluetooth","boiler","bolt-one","bone","book","book-one","book-open","bookmark","bookmark-one","bookmark-three","bookshelf","booster-car-seat","booth","boots","bottle","bottle-one","bottle-three","bottle-two","bottom-bar","bottom-bar-one","bow","bowl","bowl-one","bowling","box","boxing","boxing-one","boy","boy-one","boy-stroller","boy-two","brain","brake-pads","branch","branch-one","branch-two","brdige-three","bread","bread-machine","bread-one","breast-pump","bridge-one","bridge-two","briefcase","brightness","bring-forward","bring-to-front","bring-to-front-one","broadcast","broadcast-one","broadcast-radio","browser","browser-chrome","browser-safari","bubble-chart","bug","building-four","building-one","building-three","building-two","bullet-map","bus","bus-one","bus-two","butterfly","buy","bydesign","bye","bytedance","bytedance-applets","bytedance-mini-app","cable-car","cactus","cake","cake-five","cake-four","cake-one","cake-three","cake-two","calculator","calculator-one","calendar","calendar-dot","calendar-thirty","calendar-thirty-two","calendar-three","camera","camera-five","camera-four","camera-one","camera-three","camera-two","camp","cancer","candy","canned-fruit","capricornus","car","car-battery","card-two","cardioelectric","carousel","carousel-video","carrot","cast-screen","castle","cat","category-management","cattle","cattle-zodiac","caution","cc","cd","ce-marking","cell","center-alignment","certificate","chafing-dish","chafing-dish-one","chair","chair-one","change","change-date-sort","charging-treasure","chart-graph","chart-histogram","chart-histogram-one","chart-histogram-two","chart-line","chart-line-area","chart-pie","chart-pie-one","chart-proportion","chart-ring","chart-scatter","chart-stock","check","check-correct","check-in","check-one","check-small","checkbox","checkerboard","checklist","cheese","chef-hat","chef-hat-one","cherry","chess","chess-one","chest","chicken","chicken-leg","chicken-zodiac","child-with-pacifier","children-cap","children-pyramid","chili","chimney","chinese","chinese-one","chinese-pavilion","chip","chopping-board","chopsticks-fork","christmas-tree","christmas-tree-one","church-one","church-two","circle-double-down","circle-double-left","circle-double-right","circle-double-up","circle-five-line","circle-four","circle-four-line","circle-house","circle-left-down","circle-left-up","circle-right-down","circle-right-up","circle-three","circle-two-line","circles-and-triangles","circles-seven","circular-connection","circus","city","city-gate","city-one","clap","classroom","clear","clear-format","click","click-tap","click-tap-two","click-to-fold","clipboard","clock-tower","close","close-one","close-remind","close-small","close-wifi","clothes-briefs","clothes-cardigan","clothes-crew-neck","clothes-diapers","clothes-gloves","clothes-gloves-two","clothes-hoodie","clothes-pants","clothes-pants-short","clothes-pants-sweat","clothes-short-sleeve","clothes-skates","clothes-suit","clothes-sweater","clothes-turtleneck","clothes-windbreaker","cloud-storage","cloudy","cloudy-night","clue","coat-hanger","cocktail","coconut-tree","code","code-brackets","code-computer","code-download","code-laptop","code-one","coffee-machine","cola","collapse-text-input","collect-computer","collect-laptop","collect-picture","collection-files","collection-records","color-card","color-filter","column","comb","come","command","comment","comment-one","comments","commodity","communication","commuter-bag","compass","compass-one","components","composition","compression","computer","computer-one","concept-sharing","concern","conditioner","cone","cones","config","confounded-face","confused-face","connect","connect-address-one","connect-address-two","connection","connection-arrow","connection-box","connection-point","connection-point-two","consignment","consume","contrast","contrast-view","contrast-view-circle","control","converging-gateway","cook","cooking","cooking-pot","cool","cooperative-handshake","coordinate-system","copy","copy-link","copy-one","copyright","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","coronavirus","correct","cosmetic-brush","coupon","court","cpu","crab","creation-date-sort","creative","credit","crib","croissant","cross-ring","cross-ring-two","cross-society","crown","crown-three","crown-two","cruise","crying-baby","cube","cube-five","cube-four","cube-three","cube-two","cup","cup-four","cup-one","curling","currency","curve-adjustment","customer","cutting","cutting-one","cuvette","cycle","cycle-arrow","cycle-movement","cycle-one","cylinder","damage-map","dark-mode","dashboard","dashboard-car","dashboard-one","dashboard-two","data","data-all","data-arrival","data-display","data-file","data-four","data-lock","data-null","data-one","data-screen","data-server","data-sheet","data-switching","data-three","data-two","data-user","database-alert","database-code","database-config","database-download","database-enter","database-fail","database-first","database-forbid","database-lock","database-network","database-network-point","database-point","database-position","database-power","database-proportion","database-search","database-setting","database-success","database-sync","database-time","date-comes-back","deadline-sort","death-star","deeplink","deer","degree-hat","delete","delete-five","delete-four","delete-key","delete-mode","delete-one","delete-themes","delete-three","delete-two","delivery","deposit","descend","desk-lamp","desk-lamp-one","detection","devices","diamond","diamond-necklace","diamond-one","diamond-ring","diamond-three","diamond-two","diamonds","dianziqian","diapers-one","difference-set","digital-watches","direction","direction-adjustment","direction-adjustment-three","direction-adjustment-two","disabaled-web","disabled-computer","disabled-laptop","disabled-picture","disappointed-face","discovery-index","disk","disk-one","disk-two","dislike","dislike-two","display","distortion","distraught-face","distribute-horizontal-spacing","distribute-horizontally","distribute-vertical-spacing","distribute-vertically","dividing-line","dividing-line-one","diving","diving-bottle","diving-suit","division","dizzy-face","doc-add","doc-detail","doc-fail","doc-search","doc-search-two","doc-success","document-folder","dog","dog-zodiac","dollar","dolphin","dome","dome-light","done-all","dongchedi","door-handle","dot","double-bed","double-down","double-left","double-right","double-up","doughnut","down","down-c","down-one","down-picture","down-small","down-square","down-two","download","download-computer","download-four","download-laptop","download-one","download-three","download-two","download-web","drag","dragon-zodiac","dribble","drink","drone","drone-one","drop-down-list","drop-shadow-down","drop-shadow-left","drop-shadow-right","drop-shadow-up","dropbox","drumstick","dubai","duck","dumbbel-line","dumbbell","dvi","eagle","earth","easy","ecg","edit","edit-movie","edit-name","edit-one","edit-two","editing","editor","eeg","effects","efferent-four","efferent-three","egg","egg-one","eggplant","eiffel-tower","eight-key","electric-drill","electric-iron","electric-wave","electrocardiogram","electronic-door-lock","electronic-locks-close","electronic-locks-open","electronic-pen","elephant","elevator","email-block","email-delect","email-down","email-fail","email-lock","email-push","email-search","email-security","email-successfully","emotion-happy","emotion-unhappy","empty","end-time-sort","endless","endocrine","endpoint-displacement","endpoint-flat","endpoint-round","endpoint-square","energy-socket","engineering-brand","engineering-vehicle","english","english-mustache","enquire","enter-key","enter-key-one","enter-the-keyboard","entertainment","envelope","envelope-one","equal-ratio","equalizer","erase","error","error-computer","error-picture","error-prompt","escalators","ethernet-off","ethernet-on","every-user","excel","excel-one","exchange","exchange-four","exchange-one","exchange-three","exchange-two","exclude-selection","exclusive-gateway","expand-down","expand-down-one","expand-left","expand-left-and-right","expand-right","expand-text-input","expand-up","expenses","expenses-one","experiment","experiment-one","export","express-delivery","expressionless-face","extend","external-transmission","eyebrow","eyes","f-eight-key","f-five-key","f-four-key","f-n-key","f-nine-key","f-one-key","f-seven-key","f-six-key","f-three-key","f-two-key","f-zero-key","face-powder","face-recognition","face-with-smiling-open-eyes","face-without-mouth","facebook","facebook-one","facetime","faceu","facial-cleanser","facial-mask","factory-building","fail-picture","family","fan","fanqiexiaoshuo","feelgood","feelgood-one","feiyu","female","fence-one","fence-two","ferris-wheel","figma","figma-component","figma-flatten-selection","figma-mask","figma-reset-instance","file-addition","file-addition-one","file-cabinet","file-code","file-code-one","file-collection","file-collection-one","file-conversion","file-conversion-one","file-date","file-date-one","file-display","file-display-one","file-doc","file-editing","file-editing-one","file-excel","file-failed","file-failed-one","file-focus","file-focus-one","file-gif","file-hash","file-hash-one","file-hiding","file-hiding-one","file-jpg","file-lock","file-lock-one","file-music","file-music-one","file-pdf","file-pdf-one","file-ppt","file-protection","file-protection-one","file-quality","file-quality-one","file-question","file-removal","file-removal-one","file-search","file-search-one","file-search-two","file-settings","file-settings-one","file-staff","file-staff-one","file-success","file-success-one","file-text","file-text-one","file-tips","file-tips-one","file-txt","file-txt-one","file-withdrawal","file-withdrawal-one","file-word","file-zip","fill","film","filter","filter-one","finance","financing","financing-one","financing-two","find","find-one","fingernail","fingerprint","fingerprint-three","fingerprint-two","fire","fire-extinguisher","fire-extinguisher-one","fire-two","fireworks","first","first-aid-kit","fish","fish-one","fishing","fist","fitness","five","five-ellipses","five-five","five-key","five-star-badge","flag","flash-payment","flashlamp","flashlight","flask","flight-airflow","flight-safety","flip-camera","flip-horizontally","flip-vertically","flirt","float","floor-tile","fm","focus","focus-one","fog","fold-up-one","folder","folder-block","folder-block-one","folder-close","folder-code","folder-code-one","folder-conversion","folder-conversion-one","folder-download","folder-failed","folder-failed-one","folder-focus","folder-focus-one","folder-lock","folder-lock-one","folder-minus","folder-music","folder-music-one","folder-one","folder-open","folder-plus","folder-protection","folder-protection-one","folder-quality","folder-quality-one","folder-search","folder-search-one","folder-settings","folder-settings-one","folder-success","folder-success-one","folder-upload","folder-withdrawal","folder-withdrawal-one","follow-up-date-sort","font-search","font-size","font-size-two","foot","football","forbid","fork","fork-spoon","form","form-one","format","format-brush","formula","foundation-makeup","four","four-arrows","four-four","four-key","four-leaves","four-point-connection","four-round-point-connection","foursquare","freeze-column","freeze-line","freezing-line-column","french-fries","friends-circle","frigate","frog","frowning-face-whit-open-mouth","fruiter","full-dress-longuette","full-screen","full-screen-one","full-screen-play","full-screen-two","full-selection","fullwidth","funds","future-build-one","future-build-three","future-build-two","game","game-console","game-console-one","game-emoji","game-handle","game-ps","game-three","game-two","gamepad","garage","garlic","gas","gastrointestinal","gate","gate-machine","gauze","gavel","gemini","general-branch","geometric-flowers","germs","ghost","gift","gift-bag","gift-box","girl","girl-one","girl-two","github","github-one","gitlab","glasses","glasses-one","glasses-three","globe","glove","go-ahead","go-end","go-on","go-start","goblet","goblet-cracking","goblet-full","goblet-one","gold-medal","gold-medal-two","golf-course","gongfu","good","good-one","good-two","google","google-ads","gopro","gps","graphic-design","graphic-design-two","graphic-stitching","graphic-stitching-four","graphic-stitching-three","great-wall","green-house","green-new-energy","grid-four","grid-nine","grid-sixteen","grid-three","grid-two","grimacing-face","grinning-face","grinning-face-with-open-mouth","grinning-face-with-squinting-eyes","grinning-face-with-tightly-closed-eyes","grinning-face-with-tightly-closed-eyes-open-mouth","group","guide-board","gymnastics","gymnastics-one","h","h1","h2","h3","hair-brush","hair-clip","hair-dryer","hair-dryer-one","halo","hamburger","hamburger-button","hamburger-one","hammer-and-anvil","hand-cream","hand-down","hand-drag","hand-left","hand-painted-plate","hand-right","hand-up","handbag","handheld","handle-a","handle-b","handle-c","handle-down","handle-left","handle-right","handle-round","handle-square","handle-triangle","handle-up","handle-x","handle-y","handle-z","hands","handwashing","handwashing-fluid","hanfu-chinese-style","hanger","hanger-one","hanger-two","hard-disk","hard-disk-one","harm","hashtag-key","hat","hdd","hdmi-cable","hdmi-connector","headphone-sound","headset","headset-one","headset-two","headwear","health","health-products","healthy-recognition","heart","heart-ballon","heart-rate","heartbeat","heater-resistor","heavy-metal","heavy-rain","heavy-wind","helmet","helmet-one","help","helpcenter","hexagon-one","hexagon-strip","hexagonal","hi","high-heeled-shoes","high-light","high-speed-rail","hippo","histogram","history","history-query","hockey","hold","hold-interface","hold-seeds","holding-hands","holy-sword","home","home-two","homestay","honey","honey-one","horizontal-spacing-between-items","horizontal-tidy-up","horizontally-centered","horse-zodiac","hospital","hospital-bed","hospital-four","hospital-three","hospital-two","hot-air-balloon","hot-pot","hot-pot-one","hotel","hotel-do-not-clean","hotel-please-clean","hourglass","hourglass-full","hourglass-null","html-five","hunting-gear","huoshanzhibo","i-mac","icecream","icecream-five","icecream-four","icecream-one","icecream-three","icecream-two","id-card","id-card-h","id-card-v","image-files","imbalance","import-and-export","in-flight","inbox","inbox-download-r","inbox-in","inbox-out","inbox-r","inbox-success","inbox-success-r","inbox-upload-r","inclusive-gateway","income","income-one","incoming","increase","increase-the-scale","indent-left","indent-right","index-finger","induction-lock","industrial-scales","info","infusion","injection","inline","inner-shadow-bottom-left","inner-shadow-bottom-right","inner-shadow-down","inner-shadow-left","inner-shadow-right","inner-shadow-top-left","inner-shadow-top-right","inner-shadow-up","insert-card","insert-table","inspection","instagram","instagram-one","install","instruction","intercom","intermediate-mode","internal-data","internal-expansion","internal-reduction","internal-transmission","international","intersect-selection","intersection","invalid-files","invert-camera","invert-left","invert-right","ios-face-recognition","ipad","ipad-one","iphone","ipo","iron","iron-disable","iron-three","iron-two","iwatch","iwatch-one","iwatch-two","jewelry","jinritoutiao","journey","joystick","juice","jump","kagi-map","kettle","kettle-one","key","key-one","key-two","keyboard","keyboard-one","keyhole","keyline","kitchen-knife","knife-fork","koala-bear","kungfu","label","ladder","ladder-one","lamp","land-surveying","landing","landscape","laptop","laptop-computer","laptop-one","lark","lark-one","lattice-pattern","layers","layout-five","layout-four","layout-one","layout-three","layout-two","leaf","leaves","leaves-one","leaves-two","led-diode","left","left-alignment","left-and-right-branch","left-bar","left-branch","left-c","left-expand","left-one","left-small","left-small-down","left-small-up","left-square","left-two","lemon","lens-alignment","leo","level","level-adjustment","level-eight-title","level-five-title","level-four-title","level-nine-title","level-seven-title","level-six-title","libra","lifebuoy","light","light-house","light-member","light-rain","lightning","like","lincoln","link","link-break","link-cloud","link-cloud-faild","link-cloud-sucess","link-four","link-in","link-interrupt","link-left","link-one","link-out","link-right","link-three","link-two","lip-gloss","lip-tattoo","lipstick","lipstick-one","liqueur","list","list-add","list-alphabet","list-bottom","list-checkbox","list-fail","list-middle","list-numbers","list-one","list-success","list-top","list-two","list-view","loading","loading-four","loading-one","loading-three","loading-two","local","local-pin","local-two","lock","lock-one","locking-computer","locking-laptop","locking-picture","locking-web","log","login","logout","lollipop","loop-once","lotion","lotus","loudly-crying-face","loudly-crying-face-whit-open-mouth","love-and-help","lower-branch","luggage","luminous","lung","mac-finder","macadamia-nut","magic","magic-hat","magic-wand","magnet","mail","mail-download","mail-edit","mail-open","mail-package","mail-review","mail-unpacking","maill-one","makeups","male","mall-bag","manual-gear","many-to-many","map-distance","map-draw","map-road","map-road-two","map-two","margin","margin-one","mark","market","market-analysis","mascara","mask","mask-one","mask-two","maslow-pyramids","massage-chair","massage-chair-one","massage-table","master","material","material-three","material-two","maximum","maya","mayura-gesture","me","measuring-cup","medal-one","mediaeditor","medical-box","medical-files","medical-mark","medication-time","medicine-bottle","medicine-bottle-one","medicine-chest","memory","memory-card","memory-card-one","memory-one","men-jacket","menu-fold","menu-fold-one","menu-unfold","menu-unfold-one","merge","merge-cells","message","message-emoji","message-failed","message-one","message-privacy","message-search","message-security","message-sent","message-success","message-unread","messages","messages-one","micro-sd","micro-slr-camera","microphone","microphone-one","microscope","microscope-one","microwave-oven","microwaves","middle-finger","milk","milk-one","min","mind-mapping","mindmap-list","mindmap-map","mini-sd-card","minus","minus-the-bottom","minus-the-top","mirror","mirror-one","mirror-two","misaligned-semicircle","mitsubishi","modify","modify-two","monitor","monitor-camera","monitor-off","monitor-one","monitor-two","monkey","monkey-zodiac","monument-one","monument-two","moon","more","more-app","more-four","more-one","more-three","more-two","mosaic","mountain","mounted","mouse","mouse-one","mouse-zodiac","mouth","move","move-in","move-in-one","move-one","movie","movie-board","moving-picture","multi-circular","multi-function-knife","multi-picture-carousel","multi-rectangle","multi-ring","multi-triangular","multi-triangular-four","multi-triangular-three","multi-triangular-two","multicast","multilayer-sphere","muscle","museum-one","museum-two","music","music-cd","music-list","music-menu","music-one","music-rhythm","mute","nail-polish","nail-polish-one","nasal","natural-mode","navigation","necktie","needle","negative-dynamics","nested-arrows","nests","network-drive","network-tree","neural","neutral-face","new-afferent","new-computer","new-dianziqian","new-efferent","new-lark","new-picture","newlybuild","newspaper-folding","next","nine-key","nine-points-connected","nintendo-switch","nmr","no-shooting","node-flat","node-round","node-square","noodles","notebook","notebook-and-pen","notebook-one","notepad","notes","nuclear-plant","nurse-cap","nut","nutrition","oceanengine","octagon","off-screen","off-screen-one","off-screen-two","oil-industry","okay","one","one-key","one-one","one-third-rotation","one-to-many","one-to-one","onesies","online-meeting","open","open-an-account","open-door","open-one","optimize","optional","orange","orange-one","orange-station","order","ordered-list","orthopedic","oscillator","other","outbound","outdoor","outgoing","oval-love","oval-love-two","oval-one","oven","oven-tray","overall-reduction","owl","pacifier","pad","page","page-template","pagoda","paint","painted-eggshell","painted-screen","palace","palm","panda","pangle","panorama-horizontal","panties","paper-money","paper-money-two","paper-ship","paperclip","parabola","parachute","paragraph-alphabet","paragraph-break","paragraph-break-two","paragraph-cut","paragraph-rectangle","paragraph-round","paragraph-triangle","paragraph-unfold","parallel-gateway","parallelogram","parenting-book","parking","party-balloon","passport","passport-one","pause","pause-one","pay-code","pay-code-one","pay-code-two","payment-method","paypal","peach","pear","pearl-of-the-orient","peas","pencil","pennant","pentagon-one","people","people-bottom","people-bottom-card","people-delete","people-delete-one","people-download","people-left","people-minus","people-minus-one","people-plus","people-plus-one","people-right","people-safe","people-safe-one","people-search","people-search-one","people-speak","people-top","people-top-card","people-unknown","people-upload","peoples","peoples-two","percentage","performance","perfume","perfumer-bottle","period","permissions","personal-collection","personal-privacy","perspective","pesticide","petrol","phone","phone-booth","phone-call","phone-incoming","phone-incoming-one","phone-missed","phone-off","phone-one","phone-outgoing","phone-outgoing-one","phone-telephone","phone-two","phone-video-call","phonograph","photograph","piano","pic","pic-one","picture","picture-album","picture-one","pie","pie-five","pie-four","pie-one","pie-seven","pie-six","pie-three","pie-two","pig","pig-zodiac","pigeon","pill","pills","pin","pineapple","pinwheel","pisces","pivot-table","plan","planet","plastic-surgery","platte","play","play-basketball","play-cycle","play-once","play-one","play-two","play-volleyball","play-wrong","playback-progress","plug","plug-one","plus","plus-cross","point","point-out","pokeball-one","poker","popcorn","popcorn-one","positive-dynamics","pot","potentiometer","pound","pound-sign","pouting-face","powder","power","power-supply","power-supply-one","powerpoint","ppt","pregnant-women","preschool","prescription","press","preview-close","preview-close-one","preview-open","printer","printer-one","printer-two","prison","process-line","projector","projector-one","projector-three","projector-two","proportional-scaling","protect","protection","public-toilet","pull-door","pull-requests","pumpkin","pure-natural","push-door","pushpin","puzzle","pyramid","pyramid-one","qingniao-clue","qiyehao","quadrangular-pyramid","quadrilateral","quote","rabbit","rabbit-zodiac","radar","radar-chart","radar-three","radar-two","radiation","radio","radio-nanny","radio-one","radio-two","radish","radish-one","railway","ranking","ranking-list","rattle","rattle-one","razor","read-book","receive","receiver","recent-views-sort","record","record-disc","record-player","rectangle","rectangle-one","rectangle-small","rectangle-tear","rectangle-x","rectangular-circular-connection","rectangular-circular-separation","rectangular-vertebra","recycle-bin","recycling","recycling-pool","red-cross","red-envelope","red-envelopes","redo","reduce","reduce-decimal-places","reduce-one","reduce-two","reduce-user","reel","refraction","refresh","refresh-one","refrigerator","reject","relational-graph","relieved-face","reload","remind","remind-disable","remote-control","remote-control-one","renal","renault","repair","replay-five","replay-music","report","repositioning","resistor","respect","resting","retro-bag","return","reverse-lens","reverse-lens-one","reverse-operation-in","reverse-operation-out","reverse-rotation","rice","riding","riding-one","right","right-angle","right-bar","right-branch","right-branch-one","right-branch-two","right-c","right-expand","right-one","right-run","right-small","right-small-down","right-small-up","right-square","right-two","right-user","ring","ring-one","rings","ripple","road","road-cone","road-one","road-sign","road-sign-both","robot","robot-one","robot-two","rock","rock-gesture","rocket","rocket-one","rocking-horse","rollerskates","romper","rope-skipping","rope-skipping-one","rotate","rotate-one","rotating-add","rotating-forward","rotation","rotation-horizontal","rotation-one","rotation-vertical","round","round-caliper","round-distortion","round-mask","round-socket","round-trip","router","router-one","row-height","rowing","rs-male","rss","rugby","rugby-one","rule-two","ruler","ruler-one","run-left","s-turn-down","s-turn-left","s-turn-right","s-turn-up","safe-retrieval","sagittarius","sailboat","sailboat-one","sailing","sales-report","sandals","sandstorm","sandwich","sandwich-one","sapling","save","save-one","scale","scale-one","scallion","scan","scan-code","scan-setting","scanning","scanning-two","scatter-alignment","schedule","school","scissors","scoreboard","scorpio","screen-rotation","screenshot","screenshot-one","screenshot-two","screwdriver","sd","sd-card","seal","search","seat","security","security-stall","seedling","selected","selected-focus","selfie","send","send-backward","send-email","send-one","send-to-back","sent-to-back","seo","seo-folder","server","set-off","setting","setting-computer","setting-config","setting-laptop","setting-one","setting-three","setting-two","setting-web","seven-key","shade","shake","share","share-one","share-sys","share-three","share-two","shaver","shaver-one","shaving","sheep-zodiac","shield","shield-add","ship","shop","shopping","shopping-bag","shopping-bag-one","shopping-cart","shopping-cart-add","shopping-cart-del","shopping-cart-one","shopping-cart-two","shopping-mall","short-skirt","shorts","shoulder-bag","shovel","shovel-one","shower-head","shrimp","shuffle","shuffle-one","shutter-priority","sickbed","signal","signal-one","signal-strength","signal-tower","signal-tower-one","sim","sim-card","single-bed","sinusoid","sippy-cup","six","six-circular-connection","six-key","six-points","skate","skates","skating","sketch","skiing-nordic","skull","slave","sleaves","sleep","sleep-one","sleep-two","slide","slide-two","sliding-horizontal","sliding-vertical","slightly-frowning-face-whit-open-mouth","slightly-smiling-face","slippers","slippers-one","sly-face-whit-smile","smart-optimization","smiling-face","smiling-face-with-squinting-eyes","snacks","snake-zodiac","snow","snowflake","snowman","soap-bubble","soccer","soccer-one","socks","sofa","sofa-two","softball","solar-energy","solar-energy-one","solid-state-disk","sorcerer-hat","sort","sort-amount-down","sort-amount-up","sort-four","sort-one","sort-three","sort-two","sound","sound-one","sound-wave","source-code","soybean-milk-maker","spa-candle","space-colony","spanner","speaker","speaker-one","speed","speed-one","sperm","sphere","spider-man","spikedshoes","spinning-top","split","split-branch","split-cells","split-turn-down-left","split-turn-down-right","spoon","sport","sporting","square","square-small","ssd","stack-light","stamp","stand-up","stapler","star","star-one","start-time-sort","steering-wheel","steoller","stereo-nesting","stereo-one","stereo-perspective","stethoscope","stickers","stock-market","stopwatch","stopwatch-start","storage-card-one","storage-card-two","straight-razor","straw-hat","stretching","stretching-one","strikethrough","strongbox","subtract-selection","subtract-selection-one","subway","success","success-picture","sum","sun","sun-hat","sun-one","sunbath","sunny","sunrise","sunset","sunshade","surprised-face-with-open-big-mouth","surprised-face-with-open-mouth","surveillance-cameras","surveillance-cameras-one","surveillance-cameras-two","swallow","sweater","swimming-pool","swimming-ring","swimsuit","swing","swipe","switch","switch-button","switch-contrast","switch-nintendo","switch-one","switch-themes","switch-track","switching-done","symbol","symbol-double-x","symmetry","sync","system","t-shirt","table","table-file","table-lamp","table-report","tabletennis","tag","tag-one","tailoring","tailoring-two","taj-mahal","take-off","take-off-one","taobao","tape","tape-measure","target","target-one","target-two","taurus","taxi","tea","tea-drink","teapot","teeth","telegram","telescope","tencent-qq","tennis","tent","tent-banner","terminal","termination-file","terrace","test-tube","text","text-bold","text-italic","text-message","text-recognition","text-rotation-down","text-rotation-left","text-rotation-none","text-rotation-up","text-style","text-style-one","text-underline","text-wrap-overflow","text-wrap-truncation","textarea","texture","texture-two","the-single-shoulder-bag","theater","theme","thermometer","thermometer-one","thermos-cup","thin","thinking-problem","three","three-d-glasses","three-hexagons","three-key","three-slashes","three-three","three-triangles","thumbs-down","thumbs-up","thunderbolt","thunderstorm","thunderstorm-one","ticket","ticket-one","tickets-checked","tickets-one","tickets-two","tiger-zodiac","tiktok","time","timed-mail","timeline","timer","tips","tips-one","tire-swing","title-level","to-bottom","to-bottom-one","to-left","to-right","to-top","to-top-one","toilet","tomato","tool","toolkit","top-bar","topbuzz","topic","topic-discussion","torch","tour-bus","towel","tower","tower-of-babel","tower-of-pisa","toxins","trace","trademark","traditional-chinese-medicine","train","transaction","transaction-order","transfer","transfer-data","transform","translate","translation","transport","transporter","trapezoid","tray","treadmill","treadmill-one","treadmill-two","treasure-chest","tree","tree-diagram","tree-list","tree-one","tree-two","trend","trend-two","trending-down","trending-up","triangle","triangle-round-rectangle","triangle-ruler","triangular-pyramid","trophy","trousers-bell-bottoms","truck","trumpet","trunk","tub","tuchong","tumblr","turkey","turn-around","turn-off-bluetooth","turn-on","tv","tv-one","twitter","two","two-dimensional-code","two-dimensional-code-one","two-dimensional-code-two","two-ellipses","two-fingers","two-hands","two-key","two-semicircles","two-triangles","two-triangles-two","two-two","type-drive","u-disk","u-turn-down","u-turn-left","u-turn-right","u-turn-up","ulikecam","umbrella","umbrella-one","umbrella-two","undo","ungroup","unicast","union-selection","universal","unlike","unlink","unlock","unlock-one","unordered-list","up","up-and-down","up-c","up-one","up-small","up-square","up-two","update-rotation","upload","upload-computer","upload-laptop","upload-logs","upload-one","upload-picture","upload-three","upload-two","upload-web","upside-down-face","usb","usb-memory-stick","usb-micro-one","usb-micro-two","usb-one","usb-type-c","user","user-business","user-positioning","user-to-user-transmission","uterus","vacation","vacuum-cleaner","vegetable-basket","vegetables","vertical-spacing-between-items","vertical-tidy-up","vertical-timeline","vertically-centered","vest","vial","vicia-faba","video","video-conference","video-file","video-one","video-two","videocamera","videocamera-one","viencharts","view-grid-card","view-grid-detail","view-grid-list","view-list","viewfinder","vigo","vip","vip-one","virgo","virtual-reality-glasses","voice","voice-input","voice-message","voice-off","voice-one","voicemail","volkswagen","volleyball","volume-down","volume-mute","volume-notice","volume-small","volume-up","vr-glasses","waistline","wallet","wallet-one","wallet-three","wallet-two","warehousing","washing-machine","washing-machine-one","watch","watch-one","water","water-level","water-no","water-rate","water-rate-two","waterfalls-h","waterfalls-v","watermelon","watermelon-one","waterpolo","waterpolo-one","waves","waves-left","waves-right","weary-face","web-page","webcam","wechat","weibo","weight","weightlifting","weixin-cards-offers","weixin-favorites","weixin-games","weixin-market","weixin-mini-app","weixin-people-nearby","weixin-scan","weixin-search","weixin-shake","weixin-top-stories","whale","wheelchair","whirlwind","whistling","whole-site-accelerator","wifi","wind","wind-turbine","windmill","windmill-one","windmill-two","windows","wingsuit-flying","winking-face","winking-face-with-open-eyes","woman","women","women-coat","woolen-hat","word","workbench","worker","world","worried-face","write","writing-fluently","wrong-user","xiaodu","xiaodu-home","xigua","xingfuli","xingtu","yep","youtobe","youtube","zero-key","zijinyunying","zip","zoom","zoom-in","zoom-internal","zoom-out"]},{prefix:"mdi",info:{name:"Material Design Icons",total:7447,author:{name:"Pictogrammers",url:"https://github.com/Templarian/MaterialDesign"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Templarian/MaterialDesign/blob/master/LICENSE"},samples:["account-check","bell-alert-outline","calendar-edit"],height:24,category:"General",palette:!1},icons:["ab-testing","abacus","abjad-arabic","abjad-hebrew","abugida-devanagari","abugida-thai","access-point","access-point-check","access-point-minus","access-point-network","access-point-network-off","access-point-off","access-point-plus","access-point-remove","account","account-alert","account-alert-outline","account-arrow-down","account-arrow-down-outline","account-arrow-left","account-arrow-left-outline","account-arrow-right","account-arrow-right-outline","account-arrow-up","account-arrow-up-outline","account-badge","account-badge-outline","account-box","account-box-edit-outline","account-box-minus-outline","account-box-multiple","account-box-multiple-outline","account-box-outline","account-box-plus-outline","account-cancel","account-cancel-outline","account-card","account-card-outline","account-cash","account-cash-outline","account-check","account-check-outline","account-child","account-child-circle","account-child-outline","account-circle","account-circle-outline","account-clock","account-clock-outline","account-cog","account-cog-outline","account-convert","account-convert-outline","account-cowboy-hat","account-cowboy-hat-outline","account-credit-card","account-credit-card-outline","account-details","account-details-outline","account-edit","account-edit-outline","account-eye","account-eye-outline","account-file","account-file-outline","account-file-text","account-file-text-outline","account-filter","account-filter-outline","account-group","account-group-outline","account-hard-hat","account-hard-hat-outline","account-heart","account-heart-outline","account-injury","account-injury-outline","account-key","account-key-outline","account-lock","account-lock-open","account-lock-open-outline","account-lock-outline","account-minus","account-minus-outline","account-multiple","account-multiple-check","account-multiple-check-outline","account-multiple-minus","account-multiple-minus-outline","account-multiple-outline","account-multiple-plus","account-multiple-plus-outline","account-multiple-remove","account-multiple-remove-outline","account-music","account-music-outline","account-network","account-network-off","account-network-off-outline","account-network-outline","account-off","account-off-outline","account-outline","account-plus","account-plus-outline","account-question","account-question-outline","account-reactivate","account-reactivate-outline","account-remove","account-remove-outline","account-school","account-school-outline","account-search","account-search-outline","account-settings","account-settings-outline","account-settings-variant","account-star","account-star-outline","account-supervisor","account-supervisor-circle","account-supervisor-circle-outline","account-supervisor-outline","account-switch","account-switch-outline","account-sync","account-sync-outline","account-tag","account-tag-outline","account-tie","account-tie-hat","account-tie-hat-outline","account-tie-outline","account-tie-voice","account-tie-voice-off","account-tie-voice-off-outline","account-tie-voice-outline","account-tie-woman","account-voice","account-voice-off","account-wrench","account-wrench-outline","accusoft","ad-choices","adchoices","adjust","adobe","advertisements","advertisements-off","air-conditioner","air-filter","air-horn","air-humidifier","air-humidifier-off","air-purifier","air-purifier-off","airbag","airballoon","airballoon-outline","airplane","airplane-alert","airplane-check","airplane-clock","airplane-cog","airplane-edit","airplane-landing","airplane-marker","airplane-minus","airplane-off","airplane-plus","airplane-remove","airplane-search","airplane-settings","airplane-takeoff","airport","alarm","alarm-bell","alarm-check","alarm-light","alarm-light-off","alarm-light-off-outline","alarm-light-outline","alarm-multiple","alarm-note","alarm-note-off","alarm-off","alarm-panel","alarm-panel-outline","alarm-plus","alarm-snooze","album","alert","alert-box","alert-box-outline","alert-circle","alert-circle-check","alert-circle-check-outline","alert-circle-outline","alert-decagram","alert-decagram-outline","alert-minus","alert-minus-outline","alert-octagon","alert-octagon-outline","alert-octagram","alert-octagram-outline","alert-outline","alert-plus","alert-plus-outline","alert-remove","alert-remove-outline","alert-rhombus","alert-rhombus-outline","alien","alien-outline","align-horizontal-center","align-horizontal-distribute","align-horizontal-left","align-horizontal-right","align-vertical-bottom","align-vertical-center","align-vertical-distribute","align-vertical-top","all-inclusive","all-inclusive-box","all-inclusive-box-outline","allergy","allo","alpha","alpha-a","alpha-a-box","alpha-a-box-outline","alpha-a-circle","alpha-a-circle-outline","alpha-b","alpha-b-box","alpha-b-box-outline","alpha-b-circle","alpha-b-circle-outline","alpha-c","alpha-c-box","alpha-c-box-outline","alpha-c-circle","alpha-c-circle-outline","alpha-d","alpha-d-box","alpha-d-box-outline","alpha-d-circle","alpha-d-circle-outline","alpha-e","alpha-e-box","alpha-e-box-outline","alpha-e-circle","alpha-e-circle-outline","alpha-f","alpha-f-box","alpha-f-box-outline","alpha-f-circle","alpha-f-circle-outline","alpha-g","alpha-g-box","alpha-g-box-outline","alpha-g-circle","alpha-g-circle-outline","alpha-h","alpha-h-box","alpha-h-box-outline","alpha-h-circle","alpha-h-circle-outline","alpha-i","alpha-i-box","alpha-i-box-outline","alpha-i-circle","alpha-i-circle-outline","alpha-j","alpha-j-box","alpha-j-box-outline","alpha-j-circle","alpha-j-circle-outline","alpha-k","alpha-k-box","alpha-k-box-outline","alpha-k-circle","alpha-k-circle-outline","alpha-l","alpha-l-box","alpha-l-box-outline","alpha-l-circle","alpha-l-circle-outline","alpha-m","alpha-m-box","alpha-m-box-outline","alpha-m-circle","alpha-m-circle-outline","alpha-n","alpha-n-box","alpha-n-box-outline","alpha-n-circle","alpha-n-circle-outline","alpha-o","alpha-o-box","alpha-o-box-outline","alpha-o-circle","alpha-o-circle-outline","alpha-p","alpha-p-box","alpha-p-box-outline","alpha-p-circle","alpha-p-circle-outline","alpha-q","alpha-q-box","alpha-q-box-outline","alpha-q-circle","alpha-q-circle-outline","alpha-r","alpha-r-box","alpha-r-box-outline","alpha-r-circle","alpha-r-circle-outline","alpha-s","alpha-s-box","alpha-s-box-outline","alpha-s-circle","alpha-s-circle-outline","alpha-t","alpha-t-box","alpha-t-box-outline","alpha-t-circle","alpha-t-circle-outline","alpha-u","alpha-u-box","alpha-u-box-outline","alpha-u-circle","alpha-u-circle-outline","alpha-v","alpha-v-box","alpha-v-box-outline","alpha-v-circle","alpha-v-circle-outline","alpha-w","alpha-w-box","alpha-w-box-outline","alpha-w-circle","alpha-w-circle-outline","alpha-x","alpha-x-box","alpha-x-box-outline","alpha-x-circle","alpha-x-circle-outline","alpha-y","alpha-y-box","alpha-y-box-outline","alpha-y-circle","alpha-y-circle-outline","alpha-z","alpha-z-box","alpha-z-box-outline","alpha-z-circle","alpha-z-circle-outline","alphabet-aurebesh","alphabet-cyrillic","alphabet-greek","alphabet-latin","alphabet-piqad","alphabet-tengwar","alphabetical","alphabetical-off","alphabetical-variant","alphabetical-variant-off","altimeter","amazon","amazon-alexa","amazon-drive","ambulance","ammunition","ampersand","amplifier","amplifier-off","anchor","android","android-auto","android-debug-bridge","android-head","android-messages","android-studio","angle-acute","angle-obtuse","angle-right","angular","angularjs","animation","animation-outline","animation-play","animation-play-outline","ansible","antenna","anvil","apache-kafka","api","api-off","apple","apple-finder","apple-icloud","apple-ios","apple-keyboard-caps","apple-keyboard-command","apple-keyboard-control","apple-keyboard-option","apple-keyboard-shift","apple-safari","application","application-array","application-array-outline","application-braces","application-braces-outline","application-brackets","application-brackets-outline","application-cog","application-cog-outline","application-edit","application-edit-outline","application-export","application-import","application-outline","application-parentheses","application-parentheses-outline","application-settings","application-settings-outline","application-variable","application-variable-outline","appnet","approximately-equal","approximately-equal-box","apps","apps-box","arch","archive","archive-alert","archive-alert-outline","archive-arrow-down","archive-arrow-down-outline","archive-arrow-up","archive-arrow-up-outline","archive-cancel","archive-cancel-outline","archive-check","archive-check-outline","archive-clock","archive-clock-outline","archive-cog","archive-cog-outline","archive-edit","archive-edit-outline","archive-eye","archive-eye-outline","archive-lock","archive-lock-open","archive-lock-open-outline","archive-lock-outline","archive-marker","archive-marker-outline","archive-minus","archive-minus-outline","archive-music","archive-music-outline","archive-off","archive-off-outline","archive-outline","archive-plus","archive-plus-outline","archive-refresh","archive-refresh-outline","archive-remove","archive-remove-outline","archive-search","archive-search-outline","archive-settings","archive-settings-outline","archive-star","archive-star-outline","archive-sync","archive-sync-outline","arm-flex","arm-flex-outline","arrange-bring-forward","arrange-bring-to-front","arrange-send-backward","arrange-send-to-back","arrow-all","arrow-bottom-left","arrow-bottom-left-bold-box","arrow-bottom-left-bold-box-outline","arrow-bottom-left-bold-outline","arrow-bottom-left-thick","arrow-bottom-left-thin","arrow-bottom-left-thin-circle-outline","arrow-bottom-right","arrow-bottom-right-bold-box","arrow-bottom-right-bold-box-outline","arrow-bottom-right-bold-outline","arrow-bottom-right-thick","arrow-bottom-right-thin","arrow-bottom-right-thin-circle-outline","arrow-collapse","arrow-collapse-all","arrow-collapse-down","arrow-collapse-horizontal","arrow-collapse-left","arrow-collapse-right","arrow-collapse-up","arrow-collapse-vertical","arrow-decision","arrow-decision-auto","arrow-decision-auto-outline","arrow-decision-outline","arrow-down","arrow-down-bold","arrow-down-bold-box","arrow-down-bold-box-outline","arrow-down-bold-circle","arrow-down-bold-circle-outline","arrow-down-bold-hexagon-outline","arrow-down-bold-outline","arrow-down-box","arrow-down-circle","arrow-down-circle-outline","arrow-down-drop-circle","arrow-down-drop-circle-outline","arrow-down-left","arrow-down-left-bold","arrow-down-right","arrow-down-right-bold","arrow-down-thick","arrow-down-thin","arrow-down-thin-circle-outline","arrow-expand","arrow-expand-all","arrow-expand-down","arrow-expand-horizontal","arrow-expand-left","arrow-expand-right","arrow-expand-up","arrow-expand-vertical","arrow-horizontal-lock","arrow-left","arrow-left-bold","arrow-left-bold-box","arrow-left-bold-box-outline","arrow-left-bold-circle","arrow-left-bold-circle-outline","arrow-left-bold-hexagon-outline","arrow-left-bold-outline","arrow-left-bottom","arrow-left-bottom-bold","arrow-left-box","arrow-left-circle","arrow-left-circle-outline","arrow-left-drop-circle","arrow-left-drop-circle-outline","arrow-left-right","arrow-left-right-bold","arrow-left-right-bold-outline","arrow-left-thick","arrow-left-thin","arrow-left-thin-circle-outline","arrow-left-top","arrow-left-top-bold","arrow-oscillating","arrow-oscillating-off","arrow-projectile","arrow-projectile-multiple","arrow-right","arrow-right-bold","arrow-right-bold-box","arrow-right-bold-box-outline","arrow-right-bold-circle","arrow-right-bold-circle-outline","arrow-right-bold-hexagon-outline","arrow-right-bold-outline","arrow-right-bottom","arrow-right-bottom-bold","arrow-right-box","arrow-right-circle","arrow-right-circle-outline","arrow-right-drop-circle","arrow-right-drop-circle-outline","arrow-right-thick","arrow-right-thin","arrow-right-thin-circle-outline","arrow-right-top","arrow-right-top-bold","arrow-split-horizontal","arrow-split-vertical","arrow-top-left","arrow-top-left-bold-box","arrow-top-left-bold-box-outline","arrow-top-left-bold-outline","arrow-top-left-bottom-right","arrow-top-left-bottom-right-bold","arrow-top-left-thick","arrow-top-left-thin","arrow-top-left-thin-circle-outline","arrow-top-right","arrow-top-right-bold-box","arrow-top-right-bold-box-outline","arrow-top-right-bold-outline","arrow-top-right-bottom-left","arrow-top-right-bottom-left-bold","arrow-top-right-thick","arrow-top-right-thin","arrow-top-right-thin-circle-outline","arrow-u-down-left","arrow-u-down-left-bold","arrow-u-down-right","arrow-u-down-right-bold","arrow-u-left-bottom","arrow-u-left-bottom-bold","arrow-u-left-top","arrow-u-left-top-bold","arrow-u-right-bottom","arrow-u-right-bottom-bold","arrow-u-right-top","arrow-u-right-top-bold","arrow-u-up-left","arrow-u-up-left-bold","arrow-u-up-right","arrow-u-up-right-bold","arrow-up","arrow-up-bold","arrow-up-bold-box","arrow-up-bold-box-outline","arrow-up-bold-circle","arrow-up-bold-circle-outline","arrow-up-bold-hexagon-outline","arrow-up-bold-outline","arrow-up-box","arrow-up-circle","arrow-up-circle-outline","arrow-up-down","arrow-up-down-bold","arrow-up-down-bold-outline","arrow-up-drop-circle","arrow-up-drop-circle-outline","arrow-up-left","arrow-up-left-bold","arrow-up-right","arrow-up-right-bold","arrow-up-thick","arrow-up-thin","arrow-up-thin-circle-outline","arrow-vertical-lock","artboard","artstation","aspect-ratio","assistant","asterisk","asterisk-circle-outline","at","atlassian","atm","atom","atom-variant","attachment","attachment-check","attachment-lock","attachment-minus","attachment-off","attachment-plus","attachment-remove","atv","audio-input-rca","audio-input-stereo-minijack","audio-input-xlr","audio-video","audio-video-off","augmented-reality","aurora","auto-download","auto-fix","auto-mode","auto-upload","autorenew","autorenew-off","av-timer","awning","awning-outline","aws","axe","axe-battle","axis","axis-arrow","axis-arrow-info","axis-arrow-lock","axis-lock","axis-x-arrow","axis-x-arrow-lock","axis-x-rotate-clockwise","axis-x-rotate-counterclockwise","axis-x-y-arrow-lock","axis-y-arrow","axis-y-arrow-lock","axis-y-rotate-clockwise","axis-y-rotate-counterclockwise","axis-z-arrow","axis-z-arrow-lock","axis-z-rotate-clockwise","axis-z-rotate-counterclockwise","babel","baby","baby-bottle","baby-bottle-outline","baby-buggy","baby-buggy-off","baby-carriage","baby-carriage-off","baby-face","baby-face-outline","backburger","backspace","backspace-outline","backspace-reverse","backspace-reverse-outline","backup-restore","bacteria","bacteria-outline","badge-account","badge-account-alert","badge-account-alert-outline","badge-account-horizontal","badge-account-horizontal-outline","badge-account-outline","badminton","bag-carry-on","bag-carry-on-check","bag-carry-on-off","bag-checked","bag-personal","bag-personal-off","bag-personal-off-outline","bag-personal-outline","bag-personal-plus","bag-personal-plus-outline","bag-personal-tag","bag-personal-tag-outline","bag-suitcase","bag-suitcase-off","bag-suitcase-off-outline","bag-suitcase-outline","baguette","balcony","balloon","ballot","ballot-outline","ballot-recount","ballot-recount-outline","bandage","bandcamp","bank","bank-check","bank-circle","bank-circle-outline","bank-minus","bank-off","bank-off-outline","bank-outline","bank-plus","bank-remove","bank-transfer","bank-transfer-in","bank-transfer-out","barcode","barcode-off","barcode-scan","barley","barley-off","barn","barrel","barrel-outline","baseball","baseball-bat","baseball-diamond","baseball-diamond-outline","baseball-outline","basecamp","bash","basket","basket-check","basket-check-outline","basket-fill","basket-minus","basket-minus-outline","basket-off","basket-off-outline","basket-outline","basket-plus","basket-plus-outline","basket-remove","basket-remove-outline","basket-unfill","basketball","basketball-hoop","basketball-hoop-outline","bat","bathtub","bathtub-outline","battery","battery-10","battery-10-bluetooth","battery-20","battery-20-bluetooth","battery-30","battery-30-bluetooth","battery-40","battery-40-bluetooth","battery-50","battery-50-bluetooth","battery-60","battery-60-bluetooth","battery-70","battery-70-bluetooth","battery-80","battery-80-bluetooth","battery-90","battery-90-bluetooth","battery-alert","battery-alert-bluetooth","battery-alert-variant","battery-alert-variant-outline","battery-arrow-down","battery-arrow-down-outline","battery-arrow-up","battery-arrow-up-outline","battery-bluetooth","battery-bluetooth-variant","battery-charging","battery-charging-10","battery-charging-100","battery-charging-20","battery-charging-30","battery-charging-40","battery-charging-50","battery-charging-60","battery-charging-70","battery-charging-80","battery-charging-90","battery-charging-high","battery-charging-low","battery-charging-medium","battery-charging-outline","battery-charging-wireless","battery-charging-wireless-10","battery-charging-wireless-20","battery-charging-wireless-30","battery-charging-wireless-40","battery-charging-wireless-50","battery-charging-wireless-60","battery-charging-wireless-70","battery-charging-wireless-80","battery-charging-wireless-90","battery-charging-wireless-alert","battery-charging-wireless-outline","battery-check","battery-check-outline","battery-clock","battery-clock-outline","battery-heart","battery-heart-outline","battery-heart-variant","battery-high","battery-lock","battery-lock-open","battery-low","battery-medium","battery-minus","battery-minus-outline","battery-minus-variant","battery-negative","battery-off","battery-off-outline","battery-outline","battery-plus","battery-plus-outline","battery-plus-variant","battery-positive","battery-remove","battery-remove-outline","battery-standard","battery-sync","battery-sync-outline","battery-unknown","battery-unknown-bluetooth","battlenet","beach","beaker","beaker-alert","beaker-alert-outline","beaker-check","beaker-check-outline","beaker-minus","beaker-minus-outline","beaker-outline","beaker-plus","beaker-plus-outline","beaker-question","beaker-question-outline","beaker-remove","beaker-remove-outline","beam","beats","bed","bed-clock","bed-double","bed-double-outline","bed-empty","bed-king","bed-king-outline","bed-outline","bed-queen","bed-queen-outline","bed-single","bed-single-outline","bee","bee-flower","beehive-off-outline","beehive-outline","beekeeper","beer","beer-outline","behance","bell","bell-alert","bell-alert-outline","bell-badge","bell-badge-outline","bell-cancel","bell-cancel-outline","bell-check","bell-check-outline","bell-circle","bell-circle-outline","bell-cog","bell-cog-outline","bell-minus","bell-minus-outline","bell-off","bell-off-outline","bell-outline","bell-plus","bell-plus-outline","bell-remove","bell-remove-outline","bell-ring","bell-ring-outline","bell-sleep","bell-sleep-outline","bench","bench-back","beta","betamax","biathlon","bicycle","bicycle-basket","bicycle-cargo","bicycle-electric","bicycle-penny-farthing","bike","bike-fast","bike-pedal","bike-pedal-clipless","bike-pedal-mountain","billboard","billiards","billiards-rack","binoculars","bio","biohazard","bird","bitbucket","bitcoin","black-mesa","blackberry","blender","blender-outline","blender-software","blinds","blinds-horizontal","blinds-horizontal-closed","blinds-open","blinds-vertical","blinds-vertical-closed","block-helper","blogger","blood-bag","bluetooth","bluetooth-audio","bluetooth-connect","bluetooth-off","bluetooth-settings","bluetooth-transfer","blur","blur-linear","blur-off","blur-radial","bolt","bomb","bomb-off","bone","bone-off","book","book-account","book-account-outline","book-alert","book-alert-outline","book-alphabet","book-arrow-down","book-arrow-down-outline","book-arrow-left","book-arrow-left-outline","book-arrow-right","book-arrow-right-outline","book-arrow-up","book-arrow-up-outline","book-cancel","book-cancel-outline","book-check","book-check-outline","book-clock","book-clock-outline","book-cog","book-cog-outline","book-cross","book-edit","book-edit-outline","book-education","book-education-outline","book-heart","book-heart-outline","book-information-variant","book-lock","book-lock-open","book-lock-open-outline","book-lock-outline","book-marker","book-marker-outline","book-minus","book-minus-multiple","book-minus-multiple-outline","book-minus-outline","book-multiple","book-multiple-minus","book-multiple-outline","book-multiple-plus","book-multiple-remove","book-multiple-variant","book-music","book-music-outline","book-off","book-off-outline","book-open","book-open-blank-variant","book-open-blank-variant-outline","book-open-outline","book-open-page-variant","book-open-page-variant-outline","book-open-variant","book-open-variant-outline","book-outline","book-play","book-play-outline","book-plus","book-plus-multiple","book-plus-multiple-outline","book-plus-outline","book-refresh","book-refresh-outline","book-remove","book-remove-multiple","book-remove-multiple-outline","book-remove-outline","book-search","book-search-outline","book-settings","book-settings-outline","book-sync","book-sync-outline","book-variant","book-variant-multiple","bookmark","bookmark-box","bookmark-box-multiple","bookmark-box-multiple-outline","bookmark-box-outline","bookmark-check","bookmark-check-outline","bookmark-minus","bookmark-minus-outline","bookmark-multiple","bookmark-multiple-outline","bookmark-music","bookmark-music-outline","bookmark-off","bookmark-off-outline","bookmark-outline","bookmark-plus","bookmark-plus-outline","bookmark-remove","bookmark-remove-outline","bookshelf","boom-gate","boom-gate-alert","boom-gate-alert-outline","boom-gate-arrow-down","boom-gate-arrow-down-outline","boom-gate-arrow-up","boom-gate-arrow-up-outline","boom-gate-outline","boom-gate-up","boom-gate-up-outline","boombox","boomerang","bootstrap","border-all","border-all-variant","border-bottom","border-bottom-variant","border-color","border-horizontal","border-inside","border-left","border-left-variant","border-none","border-none-variant","border-outside","border-radius","border-right","border-right-variant","border-style","border-top","border-top-variant","border-vertical","bottle-soda","bottle-soda-classic","bottle-soda-classic-outline","bottle-soda-outline","bottle-tonic","bottle-tonic-outline","bottle-tonic-plus","bottle-tonic-plus-outline","bottle-tonic-skull","bottle-tonic-skull-outline","bottle-wine","bottle-wine-outline","bow-arrow","bow-tie","bowl","bowl-mix","bowl-mix-outline","bowl-outline","bowling","box","box-cutter","box-cutter-off","box-download","box-shadow","box-upload","boxing-glove","boxing-gloves","braille","brain","bread-slice","bread-slice-outline","bridge","briefcase","briefcase-account","briefcase-account-outline","briefcase-arrow-left-right","briefcase-arrow-left-right-outline","briefcase-arrow-up-down","briefcase-arrow-up-down-outline","briefcase-check","briefcase-check-outline","briefcase-clock","briefcase-clock-outline","briefcase-download","briefcase-download-outline","briefcase-edit","briefcase-edit-outline","briefcase-eye","briefcase-eye-outline","briefcase-minus","briefcase-minus-outline","briefcase-off","briefcase-off-outline","briefcase-outline","briefcase-plus","briefcase-plus-outline","briefcase-remove","briefcase-remove-outline","briefcase-search","briefcase-search-outline","briefcase-upload","briefcase-upload-outline","briefcase-variant","briefcase-variant-off","briefcase-variant-off-outline","briefcase-variant-outline","brightness","brightness-1","brightness-2","brightness-3","brightness-4","brightness-5","brightness-6","brightness-7","brightness-auto","brightness-percent","broadcast","broadcast-off","broom","brush","brush-off","brush-outline","brush-variant","bucket","bucket-outline","buffer","buffet","bug","bug-check","bug-check-outline","bug-outline","bug-pause","bug-pause-outline","bug-play","bug-play-outline","bug-stop","bug-stop-outline","bugle","bulkhead-light","bulldozer","bullet","bulletin-board","bullhorn","bullhorn-outline","bullhorn-variant","bullhorn-variant-outline","bullseye","bullseye-arrow","bulma","bunk-bed","bunk-bed-outline","bus","bus-alert","bus-articulated-end","bus-articulated-front","bus-clock","bus-double-decker","bus-electric","bus-marker","bus-multiple","bus-school","bus-side","bus-sign","bus-stop","bus-stop-covered","bus-stop-uncovered","bus-wrench","butterfly","butterfly-outline","button-cursor","button-pointer","cabin-a-frame","cable-data","cached","cactus","cake","cake-layered","cake-variant","cake-variant-outline","calculator","calculator-off","calculator-variant","calculator-variant-outline","calendar","calendar-account","calendar-account-outline","calendar-alert","calendar-alert-outline","calendar-arrow-left","calendar-arrow-right","calendar-badge","calendar-badge-outline","calendar-blank","calendar-blank-multiple","calendar-blank-outline","calendar-check","calendar-check-outline","calendar-clock","calendar-clock-outline","calendar-collapse-horizontal","calendar-collapse-horizontal-outline","calendar-cursor","calendar-cursor-outline","calendar-edit","calendar-edit-outline","calendar-end","calendar-end-outline","calendar-expand-horizontal","calendar-expand-horizontal-outline","calendar-export","calendar-export-outline","calendar-filter","calendar-filter-outline","calendar-heart","calendar-heart-outline","calendar-import","calendar-import-outline","calendar-lock","calendar-lock-open","calendar-lock-open-outline","calendar-lock-outline","calendar-minus","calendar-minus-outline","calendar-month","calendar-month-outline","calendar-multiple","calendar-multiple-check","calendar-multiselect","calendar-multiselect-outline","calendar-outline","calendar-plus","calendar-plus-outline","calendar-question","calendar-question-outline","calendar-range","calendar-range-outline","calendar-refresh","calendar-refresh-outline","calendar-remove","calendar-remove-outline","calendar-search","calendar-search-outline","calendar-select","calendar-star","calendar-star-four-points","calendar-star-outline","calendar-start","calendar-start-outline","calendar-sync","calendar-sync-outline","calendar-text","calendar-text-outline","calendar-today","calendar-today-outline","calendar-week","calendar-week-begin","calendar-week-begin-outline","calendar-week-end","calendar-week-end-outline","calendar-week-outline","calendar-weekend","calendar-weekend-outline","call-made","call-merge","call-missed","call-received","call-split","camcorder","camcorder-off","camera","camera-account","camera-burst","camera-control","camera-document","camera-document-off","camera-enhance","camera-enhance-outline","camera-flip","camera-flip-outline","camera-focus","camera-front","camera-front-variant","camera-gopro","camera-image","camera-iris","camera-lock","camera-lock-open","camera-lock-open-outline","camera-lock-outline","camera-marker","camera-marker-outline","camera-metering-center","camera-metering-matrix","camera-metering-partial","camera-metering-spot","camera-off","camera-off-outline","camera-outline","camera-party-mode","camera-plus","camera-plus-outline","camera-rear","camera-rear-variant","camera-retake","camera-retake-outline","camera-switch","camera-switch-outline","camera-timer","camera-wireless","camera-wireless-outline","campfire","cancel","candelabra","candelabra-fire","candle","candy","candy-off","candy-off-outline","candy-outline","candycane","cannabis","cannabis-off","caps-lock","car","car-2-plus","car-3-plus","car-arrow-left","car-arrow-right","car-back","car-battery","car-brake-abs","car-brake-alert","car-brake-fluid-level","car-brake-hold","car-brake-low-pressure","car-brake-parking","car-brake-retarder","car-brake-temperature","car-brake-worn-linings","car-child-seat","car-clock","car-clutch","car-cog","car-connected","car-convertable","car-convertible","car-coolant-level","car-cruise-control","car-defrost-front","car-defrost-rear","car-door","car-door-lock","car-door-lock-open","car-electric","car-electric-outline","car-emergency","car-esp","car-estate","car-hatchback","car-info","car-key","car-lifted-pickup","car-light-alert","car-light-dimmed","car-light-fog","car-light-high","car-limousine","car-multiple","car-off","car-outline","car-parking-lights","car-pickup","car-search","car-search-outline","car-seat","car-seat-cooler","car-seat-heater","car-select","car-settings","car-shift-pattern","car-side","car-speed-limiter","car-sports","car-tire-alert","car-traction-control","car-turbocharger","car-wash","car-windshield","car-windshield-outline","car-wireless","car-wrench","carabiner","caravan","card","card-account-details","card-account-details-outline","card-account-details-star","card-account-details-star-outline","card-account-mail","card-account-mail-outline","card-account-phone","card-account-phone-outline","card-bulleted","card-bulleted-off","card-bulleted-off-outline","card-bulleted-outline","card-bulleted-settings","card-bulleted-settings-outline","card-minus","card-minus-outline","card-multiple","card-multiple-outline","card-off","card-off-outline","card-outline","card-plus","card-plus-outline","card-remove","card-remove-outline","card-search","card-search-outline","card-text","card-text-outline","cards","cards-club","cards-club-outline","cards-diamond","cards-diamond-outline","cards-heart","cards-heart-outline","cards-outline","cards-playing","cards-playing-club","cards-playing-club-multiple","cards-playing-club-multiple-outline","cards-playing-club-outline","cards-playing-diamond","cards-playing-diamond-multiple","cards-playing-diamond-multiple-outline","cards-playing-diamond-outline","cards-playing-heart","cards-playing-heart-multiple","cards-playing-heart-multiple-outline","cards-playing-heart-outline","cards-playing-outline","cards-playing-spade","cards-playing-spade-multiple","cards-playing-spade-multiple-outline","cards-playing-spade-outline","cards-spade","cards-spade-outline","cards-variant","carrot","cart","cart-arrow-down","cart-arrow-right","cart-arrow-up","cart-check","cart-heart","cart-minus","cart-off","cart-outline","cart-percent","cart-plus","cart-remove","cart-variant","case-sensitive-alt","cash","cash-100","cash-check","cash-clock","cash-edit","cash-fast","cash-lock","cash-lock-open","cash-marker","cash-minus","cash-multiple","cash-off","cash-plus","cash-refund","cash-register","cash-remove","cash-sync","cash-usd","cash-usd-outline","cassette","cast","cast-audio","cast-audio-variant","cast-connected","cast-education","cast-off","cast-variant","castle","cat","cctv","cctv-off","ceiling-fan","ceiling-fan-light","ceiling-light","ceiling-light-multiple","ceiling-light-multiple-outline","ceiling-light-outline","cellphone","cellphone-android","cellphone-arrow-down","cellphone-arrow-down-variant","cellphone-basic","cellphone-charging","cellphone-check","cellphone-cog","cellphone-dock","cellphone-information","cellphone-iphone","cellphone-key","cellphone-link","cellphone-link-off","cellphone-lock","cellphone-marker","cellphone-message","cellphone-message-off","cellphone-nfc","cellphone-nfc-off","cellphone-off","cellphone-play","cellphone-remove","cellphone-screenshot","cellphone-settings","cellphone-sound","cellphone-text","cellphone-wireless","centos","certificate","certificate-outline","chair-rolling","chair-school","chandelier","charity","charity-search","chart-arc","chart-areaspline","chart-areaspline-variant","chart-bar","chart-bar-stacked","chart-bell-curve","chart-bell-curve-cumulative","chart-box","chart-box-multiple","chart-box-multiple-outline","chart-box-outline","chart-box-plus-outline","chart-bubble","chart-donut","chart-donut-variant","chart-gantt","chart-histogram","chart-line","chart-line-stacked","chart-line-variant","chart-multiline","chart-multiple","chart-pie","chart-pie-outline","chart-ppf","chart-sankey","chart-sankey-variant","chart-scatter-plot","chart-scatter-plot-hexbin","chart-timeline","chart-timeline-variant","chart-timeline-variant-shimmer","chart-tree","chart-waterfall","chat","chat-alert","chat-alert-outline","chat-minus","chat-minus-outline","chat-outline","chat-plus","chat-plus-outline","chat-processing","chat-processing-outline","chat-question","chat-question-outline","chat-remove","chat-remove-outline","chat-sleep","chat-sleep-outline","check","check-all","check-bold","check-bookmark","check-circle","check-circle-outline","check-decagram","check-decagram-outline","check-network","check-network-outline","check-outline","check-underline","check-underline-circle","check-underline-circle-outline","checkbook","checkbook-arrow-left","checkbook-arrow-right","checkbox-blank","checkbox-blank-badge","checkbox-blank-badge-outline","checkbox-blank-circle","checkbox-blank-circle-outline","checkbox-blank-off","checkbox-blank-off-outline","checkbox-blank-outline","checkbox-intermediate","checkbox-intermediate-variant","checkbox-marked","checkbox-marked-circle","checkbox-marked-circle-auto-outline","checkbox-marked-circle-minus-outline","checkbox-marked-circle-outline","checkbox-marked-circle-plus-outline","checkbox-marked-outline","checkbox-multiple-blank","checkbox-multiple-blank-circle","checkbox-multiple-blank-circle-outline","checkbox-multiple-blank-outline","checkbox-multiple-marked","checkbox-multiple-marked-circle","checkbox-multiple-marked-circle-outline","checkbox-multiple-marked-outline","checkbox-multiple-outline","checkbox-outline","checkerboard","checkerboard-minus","checkerboard-plus","checkerboard-remove","cheese","cheese-off","chef-hat","chemical-weapon","chess-bishop","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up","chevron-down","chevron-down-box","chevron-down-box-outline","chevron-down-circle","chevron-down-circle-outline","chevron-left","chevron-left-box","chevron-left-box-outline","chevron-left-circle","chevron-left-circle-outline","chevron-right","chevron-right-box","chevron-right-box-outline","chevron-right-circle","chevron-right-circle-outline","chevron-triple-down","chevron-triple-left","chevron-triple-right","chevron-triple-up","chevron-up","chevron-up-box","chevron-up-box-outline","chevron-up-circle","chevron-up-circle-outline","chili-alert","chili-alert-outline","chili-hot","chili-hot-outline","chili-medium","chili-medium-outline","chili-mild","chili-mild-outline","chili-off","chili-off-outline","chip","church","church-outline","cigar","cigar-off","circle","circle-box","circle-box-outline","circle-double","circle-edit-outline","circle-expand","circle-half","circle-half-full","circle-medium","circle-multiple","circle-multiple-outline","circle-off-outline","circle-opacity","circle-outline","circle-slice-1","circle-slice-2","circle-slice-3","circle-slice-4","circle-slice-5","circle-slice-6","circle-slice-7","circle-slice-8","circle-small","circular-saw","cisco-webex","city","city-switch","city-variant","city-variant-outline","clipboard","clipboard-account","clipboard-account-outline","clipboard-alert","clipboard-alert-outline","clipboard-arrow-down","clipboard-arrow-down-outline","clipboard-arrow-left","clipboard-arrow-left-outline","clipboard-arrow-right","clipboard-arrow-right-outline","clipboard-arrow-up","clipboard-arrow-up-outline","clipboard-check","clipboard-check-multiple","clipboard-check-multiple-outline","clipboard-check-outline","clipboard-clock","clipboard-clock-outline","clipboard-edit","clipboard-edit-outline","clipboard-file","clipboard-file-outline","clipboard-flow","clipboard-flow-outline","clipboard-list","clipboard-list-outline","clipboard-minus","clipboard-minus-outline","clipboard-multiple","clipboard-multiple-outline","clipboard-off","clipboard-off-outline","clipboard-outline","clipboard-play","clipboard-play-multiple","clipboard-play-multiple-outline","clipboard-play-outline","clipboard-plus","clipboard-plus-outline","clipboard-pulse","clipboard-pulse-outline","clipboard-remove","clipboard-remove-outline","clipboard-search","clipboard-search-outline","clipboard-text","clipboard-text-clock","clipboard-text-clock-outline","clipboard-text-multiple","clipboard-text-multiple-outline","clipboard-text-off","clipboard-text-off-outline","clipboard-text-outline","clipboard-text-play","clipboard-text-play-outline","clipboard-text-search","clipboard-text-search-outline","clippy","clock","clock-alert","clock-alert-outline","clock-check","clock-check-outline","clock-digital","clock-edit","clock-edit-outline","clock-end","clock-fast","clock-in","clock-minus","clock-minus-outline","clock-out","clock-outline","clock-plus","clock-plus-outline","clock-remove","clock-remove-outline","clock-star-four-points","clock-star-four-points-outline","clock-start","clock-time-eight","clock-time-eight-outline","clock-time-eleven","clock-time-eleven-outline","clock-time-five","clock-time-five-outline","clock-time-four","clock-time-four-outline","clock-time-nine","clock-time-nine-outline","clock-time-one","clock-time-one-outline","clock-time-seven","clock-time-seven-outline","clock-time-six","clock-time-six-outline","clock-time-ten","clock-time-ten-outline","clock-time-three","clock-time-three-outline","clock-time-twelve","clock-time-twelve-outline","clock-time-two","clock-time-two-outline","close","close-box","close-box-multiple","close-box-multiple-outline","close-box-outline","close-circle","close-circle-multiple","close-circle-multiple-outline","close-circle-outline","close-network","close-network-outline","close-octagon","close-octagon-outline","close-outline","close-thick","closed-caption","closed-caption-outline","cloud","cloud-alert","cloud-alert-outline","cloud-arrow-down","cloud-arrow-down-outline","cloud-arrow-left","cloud-arrow-left-outline","cloud-arrow-right","cloud-arrow-right-outline","cloud-arrow-up","cloud-arrow-up-outline","cloud-braces","cloud-cancel","cloud-cancel-outline","cloud-check","cloud-check-outline","cloud-check-variant","cloud-check-variant-outline","cloud-circle","cloud-circle-outline","cloud-clock","cloud-clock-outline","cloud-cog","cloud-cog-outline","cloud-download","cloud-download-outline","cloud-key","cloud-key-outline","cloud-lock","cloud-lock-open","cloud-lock-open-outline","cloud-lock-outline","cloud-minus","cloud-minus-outline","cloud-off","cloud-off-outline","cloud-outline","cloud-percent","cloud-percent-outline","cloud-plus","cloud-plus-outline","cloud-print","cloud-print-outline","cloud-question","cloud-question-outline","cloud-refresh","cloud-refresh-outline","cloud-refresh-variant","cloud-refresh-variant-outline","cloud-remove","cloud-remove-outline","cloud-search","cloud-search-outline","cloud-sync","cloud-sync-outline","cloud-tags","cloud-upload","cloud-upload-outline","clouds","clover","clover-outline","coach-lamp","coach-lamp-variant","coat-rack","code-array","code-block-braces","code-block-brackets","code-block-parentheses","code-block-tags","code-braces","code-braces-box","code-brackets","code-equal","code-greater-than","code-greater-than-or-equal","code-json","code-less-than","code-less-than-or-equal","code-not-equal","code-not-equal-variant","code-parentheses","code-parentheses-box","code-string","code-tags","code-tags-check","codepen","coffee","coffee-maker","coffee-maker-check","coffee-maker-check-outline","coffee-maker-outline","coffee-off","coffee-off-outline","coffee-outline","coffee-to-go","coffee-to-go-outline","coffin","cog","cog-box","cog-clockwise","cog-counterclockwise","cog-off","cog-off-outline","cog-outline","cog-pause","cog-pause-outline","cog-play","cog-play-outline","cog-refresh","cog-refresh-outline","cog-stop","cog-stop-outline","cog-sync","cog-sync-outline","cog-transfer","cog-transfer-outline","cogs","collage","collapse-all","collapse-all-outline","color-helper","comma","comma-box","comma-box-outline","comma-circle","comma-circle-outline","comment","comment-account","comment-account-outline","comment-alert","comment-alert-outline","comment-arrow-left","comment-arrow-left-outline","comment-arrow-right","comment-arrow-right-outline","comment-bookmark","comment-bookmark-outline","comment-check","comment-check-outline","comment-edit","comment-edit-outline","comment-eye","comment-eye-outline","comment-flash","comment-flash-outline","comment-minus","comment-minus-outline","comment-multiple","comment-multiple-outline","comment-off","comment-off-outline","comment-outline","comment-plus","comment-plus-outline","comment-processing","comment-processing-outline","comment-question","comment-question-outline","comment-quote","comment-quote-outline","comment-remove","comment-remove-outline","comment-search","comment-search-outline","comment-text","comment-text-multiple","comment-text-multiple-outline","comment-text-outline","compare","compare-horizontal","compare-remove","compare-vertical","compass","compass-off","compass-off-outline","compass-outline","compass-rose","compost","concourse-ci","cone","cone-off","connection","console","console-line","console-network","console-network-outline","consolidate","contactless-payment","contactless-payment-circle","contactless-payment-circle-outline","contacts","contacts-outline","contain","contain-end","contain-start","content-copy","content-cut","content-duplicate","content-paste","content-save","content-save-alert","content-save-alert-outline","content-save-all","content-save-all-outline","content-save-check","content-save-check-outline","content-save-cog","content-save-cog-outline","content-save-edit","content-save-edit-outline","content-save-minus","content-save-minus-outline","content-save-move","content-save-move-outline","content-save-off","content-save-off-outline","content-save-outline","content-save-plus","content-save-plus-outline","content-save-settings","content-save-settings-outline","contrast","contrast-box","contrast-circle","controller","controller-classic","controller-classic-outline","controller-off","controller-xbox","cookie","cookie-alert","cookie-alert-outline","cookie-check","cookie-check-outline","cookie-clock","cookie-clock-outline","cookie-cog","cookie-cog-outline","cookie-edit","cookie-edit-outline","cookie-lock","cookie-lock-outline","cookie-minus","cookie-minus-outline","cookie-off","cookie-off-outline","cookie-outline","cookie-plus","cookie-plus-outline","cookie-refresh","cookie-refresh-outline","cookie-remove","cookie-remove-outline","cookie-settings","cookie-settings-outline","coolant-temperature","copyleft","copyright","cordova","corn","corn-off","cosine-wave","counter","countertop","countertop-outline","cow","cow-off","cpu-32-bit","cpu-64-bit","cradle","cradle-outline","crane","creation","creation-outline","creative-commons","credit-card","credit-card-check","credit-card-check-outline","credit-card-chip","credit-card-chip-outline","credit-card-clock","credit-card-clock-outline","credit-card-edit","credit-card-edit-outline","credit-card-fast","credit-card-fast-outline","credit-card-lock","credit-card-lock-outline","credit-card-marker","credit-card-marker-outline","credit-card-minus","credit-card-minus-outline","credit-card-multiple","credit-card-multiple-outline","credit-card-off","credit-card-off-outline","credit-card-outline","credit-card-plus","credit-card-plus-outline","credit-card-refresh","credit-card-refresh-outline","credit-card-refund","credit-card-refund-outline","credit-card-remove","credit-card-remove-outline","credit-card-scan","credit-card-scan-outline","credit-card-search","credit-card-search-outline","credit-card-settings","credit-card-settings-outline","credit-card-sync","credit-card-sync-outline","credit-card-wireless","credit-card-wireless-off","credit-card-wireless-off-outline","credit-card-wireless-outline","cricket","crop","crop-free","crop-landscape","crop-portrait","crop-rotate","crop-square","cross","cross-bolnisi","cross-celtic","cross-outline","crosshairs","crosshairs-gps","crosshairs-off","crosshairs-question","crowd","crown","crown-circle","crown-circle-outline","crown-outline","cryengine","crystal-ball","cube","cube-off","cube-off-outline","cube-outline","cube-scan","cube-send","cube-unfolded","cup","cup-off","cup-off-outline","cup-outline","cup-water","cupboard","cupboard-outline","cupcake","curling","currency-bdt","currency-brl","currency-btc","currency-chf","currency-cny","currency-eth","currency-eur","currency-eur-off","currency-fra","currency-gbp","currency-ils","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-mnt","currency-ngn","currency-php","currency-rial","currency-rub","currency-rupee","currency-sign","currency-thb","currency-try","currency-twd","currency-uah","currency-usd","currency-usd-circle","currency-usd-circle-outline","currency-usd-off","current-ac","current-dc","cursor-default","cursor-default-click","cursor-default-click-outline","cursor-default-gesture","cursor-default-gesture-outline","cursor-default-outline","cursor-move","cursor-pointer","cursor-text","curtains","curtains-closed","cylinder","cylinder-off","dance-ballroom","dance-pole","data","data-matrix","data-matrix-edit","data-matrix-minus","data-matrix-plus","data-matrix-remove","data-matrix-scan","database","database-alert","database-alert-outline","database-arrow-down","database-arrow-down-outline","database-arrow-left","database-arrow-left-outline","database-arrow-right","database-arrow-right-outline","database-arrow-up","database-arrow-up-outline","database-check","database-check-outline","database-clock","database-clock-outline","database-cog","database-cog-outline","database-edit","database-edit-outline","database-export","database-export-outline","database-eye","database-eye-off","database-eye-off-outline","database-eye-outline","database-import","database-import-outline","database-lock","database-lock-outline","database-marker","database-marker-outline","database-minus","database-minus-outline","database-off","database-off-outline","database-outline","database-plus","database-plus-outline","database-refresh","database-refresh-outline","database-remove","database-remove-outline","database-search","database-search-outline","database-settings","database-settings-outline","database-sync","database-sync-outline","death-star","death-star-variant","deathly-hallows","debian","debug-step-into","debug-step-out","debug-step-over","decagram","decagram-outline","decimal","decimal-comma","decimal-comma-decrease","decimal-comma-increase","decimal-decrease","decimal-increase","delete","delete-alert","delete-alert-outline","delete-circle","delete-circle-outline","delete-clock","delete-clock-outline","delete-empty","delete-empty-outline","delete-forever","delete-forever-outline","delete-off","delete-off-outline","delete-outline","delete-restore","delete-sweep","delete-sweep-outline","delete-variant","delta","desk","desk-lamp","desk-lamp-off","desk-lamp-on","deskphone","desktop-classic","desktop-mac","desktop-mac-dashboard","desktop-tower","desktop-tower-monitor","details","dev-to","developer-board","deviantart","devices","dharmachakra","diabetes","dialpad","diameter","diameter-outline","diameter-variant","diamond","diamond-outline","diamond-stone","diaper-outline","dice","dice-1","dice-1-outline","dice-2","dice-2-outline","dice-3","dice-3-outline","dice-4","dice-4-outline","dice-5","dice-5-outline","dice-6","dice-6-outline","dice-d10","dice-d10-outline","dice-d12","dice-d12-outline","dice-d20","dice-d20-outline","dice-d4","dice-d4-outline","dice-d6","dice-d6-outline","dice-d8","dice-d8-outline","dice-multiple","dice-multiple-outline","digital-ocean","dip-switch","directions","directions-fork","disc","disc-alert","disc-player","discord","dishwasher","dishwasher-alert","dishwasher-off","disk","disk-alert","disk-player","disqus","disqus-outline","distribute-horizontal-center","distribute-horizontal-left","distribute-horizontal-right","distribute-vertical-bottom","distribute-vertical-center","distribute-vertical-top","diversify","diving","diving-flippers","diving-helmet","diving-scuba","diving-scuba-flag","diving-scuba-mask","diving-scuba-tank","diving-scuba-tank-multiple","diving-snorkel","division","division-box","dlna","dna","dns","dns-outline","do-not-disturb","dock-bottom","dock-left","dock-right","dock-top","dock-window","docker","doctor","document","dog","dog-service","dog-side","dog-side-off","dolby","dolly","dolphin","domain","domain-off","domain-plus","domain-remove","domain-switch","dome-light","domino-mask","donkey","door","door-closed","door-closed-cancel","door-closed-lock","door-open","door-sliding","door-sliding-lock","door-sliding-open","doorbell","doorbell-video","dot-net","dots-circle","dots-grid","dots-hexagon","dots-horizontal","dots-horizontal-circle","dots-horizontal-circle-outline","dots-square","dots-triangle","dots-vertical","dots-vertical-circle","dots-vertical-circle-outline","douban","download","download-box","download-box-outline","download-circle","download-circle-outline","download-lock","download-lock-outline","download-multiple","download-multiple-outline","download-network","download-network-outline","download-off","download-off-outline","download-outline","drag","drag-horizontal","drag-horizontal-variant","drag-variant","drag-vertical","drag-vertical-variant","drama-masks","draw","draw-pen","drawing","drawing-box","dresser","dresser-outline","dribbble","dribbble-box","drone","dropbox","drupal","duck","dumbbell","dump-truck","ear-hearing","ear-hearing-loop","ear-hearing-off","earbuds","earbuds-off","earbuds-off-outline","earbuds-outline","earth","earth-arrow-down","earth-arrow-left","earth-arrow-right","earth-arrow-up","earth-box","earth-box-minus","earth-box-off","earth-box-plus","earth-box-remove","earth-minus","earth-off","earth-plus","earth-remove","ebay","egg","egg-easter","egg-fried","egg-off","egg-off-outline","egg-outline","eiffel-tower","eight-track","eject","eject-circle","eject-circle-outline","eject-outline","electric-switch","electric-switch-closed","electron-framework","elephant","elevation-decline","elevation-rise","elevator","elevator-down","elevator-passenger","elevator-passenger-off","elevator-passenger-off-outline","elevator-passenger-outline","elevator-up","ellipse","ellipse-outline","email","email-alert","email-alert-outline","email-arrow-left","email-arrow-left-outline","email-arrow-right","email-arrow-right-outline","email-box","email-check","email-check-outline","email-edit","email-edit-outline","email-fast","email-fast-outline","email-heart-outline","email-lock","email-lock-outline","email-mark-as-unread","email-minus","email-minus-outline","email-multiple","email-multiple-outline","email-newsletter","email-off","email-off-outline","email-open","email-open-heart-outline","email-open-multiple","email-open-multiple-outline","email-open-outline","email-outline","email-plus","email-plus-outline","email-remove","email-remove-outline","email-seal","email-seal-outline","email-search","email-search-outline","email-sync","email-sync-outline","email-variant","ember","emby","emoticon","emoticon-angry","emoticon-angry-outline","emoticon-confused","emoticon-confused-outline","emoticon-cool","emoticon-cool-outline","emoticon-cry","emoticon-cry-outline","emoticon-dead","emoticon-dead-outline","emoticon-devil","emoticon-devil-outline","emoticon-excited","emoticon-excited-outline","emoticon-frown","emoticon-frown-outline","emoticon-happy","emoticon-happy-outline","emoticon-kiss","emoticon-kiss-outline","emoticon-lol","emoticon-lol-outline","emoticon-minus","emoticon-minus-outline","emoticon-neutral","emoticon-neutral-outline","emoticon-outline","emoticon-plus","emoticon-plus-outline","emoticon-poop","emoticon-poop-outline","emoticon-remove","emoticon-remove-outline","emoticon-sad","emoticon-sad-outline","emoticon-sick","emoticon-sick-outline","emoticon-tongue","emoticon-tongue-outline","emoticon-wink","emoticon-wink-outline","engine","engine-off","engine-off-outline","engine-outline","epsilon","equal","equal-box","equalizer","equalizer-outline","eraser","eraser-variant","escalator","escalator-box","escalator-down","escalator-up","eslint","et","ethereum","ethernet","ethernet-cable","ethernet-cable-off","ethernet-off","etsy","ev-plug-ccs1","ev-plug-ccs2","ev-plug-chademo","ev-plug-tesla","ev-plug-type1","ev-plug-type2","ev-station","eventbrite","evernote","excavator","exclamation","exclamation-thick","exit-run","exit-to-app","expand-all","expand-all-outline","expansion-card","expansion-card-variant","exponent","exponent-box","export","export-variant","eye","eye-arrow-left","eye-arrow-left-outline","eye-arrow-right","eye-arrow-right-outline","eye-check","eye-check-outline","eye-circle","eye-circle-outline","eye-closed","eye-lock","eye-lock-open","eye-lock-open-outline","eye-lock-outline","eye-minus","eye-minus-outline","eye-off","eye-off-outline","eye-outline","eye-plus","eye-plus-outline","eye-refresh","eye-refresh-outline","eye-remove","eye-remove-outline","eye-settings","eye-settings-outline","eyedropper","eyedropper-minus","eyedropper-off","eyedropper-plus","eyedropper-remove","eyedropper-variant","face-agent","face-man","face-man-outline","face-man-profile","face-man-shimmer","face-man-shimmer-outline","face-mask","face-mask-outline","face-recognition","face-woman","face-woman-outline","face-woman-profile","face-woman-shimmer","face-woman-shimmer-outline","facebook","facebook-box","facebook-gaming","facebook-messenger","facebook-workplace","factory","family-tree","fan","fan-alert","fan-auto","fan-chevron-down","fan-chevron-up","fan-clock","fan-minus","fan-off","fan-plus","fan-remove","fan-speed-1","fan-speed-2","fan-speed-3","fast-forward","fast-forward-10","fast-forward-15","fast-forward-30","fast-forward-45","fast-forward-5","fast-forward-60","fast-forward-outline","faucet","faucet-variant","fax","feather","feature-search","feature-search-outline","fedora","fence","fence-electric","fencing","ferris-wheel","ferry","file","file-account","file-account-outline","file-alert","file-alert-outline","file-arrow-left-right","file-arrow-left-right-outline","file-arrow-up-down","file-arrow-up-down-outline","file-cabinet","file-cad","file-cad-box","file-cancel","file-cancel-outline","file-certificate","file-certificate-outline","file-chart","file-chart-check","file-chart-check-outline","file-chart-outline","file-check","file-check-outline","file-clock","file-clock-outline","file-cloud","file-cloud-outline","file-code","file-code-outline","file-cog","file-cog-outline","file-compare","file-delimited","file-delimited-outline","file-document","file-document-alert","file-document-alert-outline","file-document-arrow-right","file-document-arrow-right-outline","file-document-check","file-document-check-outline","file-document-edit","file-document-edit-outline","file-document-minus","file-document-minus-outline","file-document-multiple","file-document-multiple-outline","file-document-outline","file-document-plus","file-document-plus-outline","file-document-refresh","file-document-refresh-outline","file-document-remove","file-document-remove-outline","file-download","file-download-outline","file-edit","file-edit-outline","file-excel","file-excel-box","file-excel-box-outline","file-excel-outline","file-export","file-export-outline","file-eye","file-eye-outline","file-find","file-find-outline","file-gif-box","file-hidden","file-image","file-image-box","file-image-marker","file-image-marker-outline","file-image-minus","file-image-minus-outline","file-image-outline","file-image-plus","file-image-plus-outline","file-image-remove","file-image-remove-outline","file-import","file-import-outline","file-jpg-box","file-key","file-key-outline","file-link","file-link-outline","file-lock","file-lock-open","file-lock-open-outline","file-lock-outline","file-marker","file-marker-outline","file-minus","file-minus-outline","file-move","file-move-outline","file-multiple","file-multiple-outline","file-music","file-music-outline","file-outline","file-pdf","file-pdf-box","file-pdf-box-outline","file-pdf-outline","file-percent","file-percent-outline","file-phone","file-phone-outline","file-plus","file-plus-outline","file-png-box","file-powerpoint","file-powerpoint-box","file-powerpoint-box-outline","file-powerpoint-outline","file-presentation-box","file-question","file-question-outline","file-refresh","file-refresh-outline","file-remove","file-remove-outline","file-replace","file-replace-outline","file-restore","file-restore-outline","file-rotate-left","file-rotate-left-outline","file-rotate-right","file-rotate-right-outline","file-search","file-search-outline","file-send","file-send-outline","file-settings","file-settings-outline","file-sign","file-star","file-star-four-points","file-star-four-points-outline","file-star-outline","file-swap","file-swap-outline","file-sync","file-sync-outline","file-table","file-table-box","file-table-box-multiple","file-table-box-multiple-outline","file-table-box-outline","file-table-outline","file-tree","file-tree-outline","file-undo","file-undo-outline","file-upload","file-upload-outline","file-video","file-video-outline","file-word","file-word-box","file-word-box-outline","file-word-outline","file-xml","file-xml-box","fill","film","filmstrip","filmstrip-box","filmstrip-box-multiple","filmstrip-off","filter","filter-check","filter-check-outline","filter-cog","filter-cog-outline","filter-menu","filter-menu-outline","filter-minus","filter-minus-outline","filter-multiple","filter-multiple-outline","filter-off","filter-off-outline","filter-outline","filter-plus","filter-plus-outline","filter-remove","filter-remove-outline","filter-settings","filter-settings-outline","filter-variant","filter-variant-minus","filter-variant-plus","filter-variant-remove","finance","find-replace","fingerprint","fingerprint-off","fire","fire-alert","fire-circle","fire-extinguisher","fire-hydrant","fire-hydrant-alert","fire-hydrant-off","fire-off","fire-station","fire-truck","firebase","firefox","fireplace","fireplace-off","firewire","firework","firework-off","fish","fish-off","fishbowl","fishbowl-outline","fit-to-page","fit-to-page-outline","fit-to-screen","fit-to-screen-outline","flag","flag-checkered","flag-checkered-variant","flag-minus","flag-minus-outline","flag-off","flag-off-outline","flag-outline","flag-outline-variant","flag-plus","flag-plus-outline","flag-remove","flag-remove-outline","flag-triangle","flag-variant","flag-variant-minus","flag-variant-minus-outline","flag-variant-off","flag-variant-off-outline","flag-variant-outline","flag-variant-plus","flag-variant-plus-outline","flag-variant-remove","flag-variant-remove-outline","flare","flash","flash-alert","flash-alert-outline","flash-auto","flash-off","flash-off-outline","flash-outline","flash-red-eye","flash-triangle","flash-triangle-outline","flashlight","flashlight-off","flask","flask-empty","flask-empty-minus","flask-empty-minus-outline","flask-empty-off","flask-empty-off-outline","flask-empty-outline","flask-empty-plus","flask-empty-plus-outline","flask-empty-remove","flask-empty-remove-outline","flask-minus","flask-minus-outline","flask-off","flask-off-outline","flask-outline","flask-plus","flask-plus-outline","flask-remove","flask-remove-outline","flask-round-bottom","flask-round-bottom-empty","flask-round-bottom-empty-outline","flask-round-bottom-outline","flattr","fleur-de-lis","flickr","flickr-after","flickr-before","flip-horizontal","flip-to-back","flip-to-front","flip-vertical","floor-1","floor-2","floor-3","floor-a","floor-b","floor-g","floor-l","floor-lamp","floor-lamp-dual","floor-lamp-dual-outline","floor-lamp-outline","floor-lamp-torchiere","floor-lamp-torchiere-outline","floor-lamp-torchiere-variant","floor-lamp-torchiere-variant-outline","floor-plan","floppy","floppy-variant","flower","flower-outline","flower-pollen","flower-pollen-outline","flower-poppy","flower-tulip","flower-tulip-outline","focus-auto","focus-field","focus-field-horizontal","focus-field-vertical","folder","folder-account","folder-account-outline","folder-alert","folder-alert-outline","folder-arrow-down","folder-arrow-down-outline","folder-arrow-left","folder-arrow-left-outline","folder-arrow-left-right","folder-arrow-left-right-outline","folder-arrow-right","folder-arrow-right-outline","folder-arrow-up","folder-arrow-up-down","folder-arrow-up-down-outline","folder-arrow-up-outline","folder-cancel","folder-cancel-outline","folder-check","folder-check-outline","folder-clock","folder-clock-outline","folder-cog","folder-cog-outline","folder-download","folder-download-outline","folder-edit","folder-edit-outline","folder-eye","folder-eye-outline","folder-file","folder-file-outline","folder-google-drive","folder-heart","folder-heart-outline","folder-hidden","folder-home","folder-home-outline","folder-image","folder-information","folder-information-outline","folder-key","folder-key-network","folder-key-network-outline","folder-key-outline","folder-lock","folder-lock-open","folder-lock-open-outline","folder-lock-outline","folder-marker","folder-marker-outline","folder-minus","folder-minus-outline","folder-move","folder-move-outline","folder-multiple","folder-multiple-image","folder-multiple-outline","folder-multiple-plus","folder-multiple-plus-outline","folder-music","folder-music-outline","folder-network","folder-network-outline","folder-off","folder-off-outline","folder-open","folder-open-outline","folder-outline","folder-outline-lock","folder-play","folder-play-outline","folder-plus","folder-plus-outline","folder-pound","folder-pound-outline","folder-question","folder-question-outline","folder-refresh","folder-refresh-outline","folder-remove","folder-remove-outline","folder-search","folder-search-outline","folder-settings","folder-settings-outline","folder-star","folder-star-multiple","folder-star-multiple-outline","folder-star-outline","folder-swap","folder-swap-outline","folder-sync","folder-sync-outline","folder-table","folder-table-outline","folder-text","folder-text-outline","folder-upload","folder-upload-outline","folder-wrench","folder-wrench-outline","folder-zip","folder-zip-outline","font-awesome","food","food-apple","food-apple-outline","food-croissant","food-drumstick","food-drumstick-off","food-drumstick-off-outline","food-drumstick-outline","food-fork-drink","food-halal","food-hot-dog","food-kosher","food-off","food-off-outline","food-outline","food-steak","food-steak-off","food-takeout-box","food-takeout-box-outline","food-turkey","food-variant","food-variant-off","foot-print","football","football-australian","football-helmet","footer","forest","forest-outline","forklift","form-dropdown","form-select","form-textarea","form-textbox","form-textbox-lock","form-textbox-password","format-align-bottom","format-align-center","format-align-justify","format-align-left","format-align-middle","format-align-right","format-align-top","format-annotation-minus","format-annotation-plus","format-bold","format-clear","format-color","format-color-fill","format-color-highlight","format-color-marker-cancel","format-color-text","format-columns","format-float-center","format-float-left","format-float-none","format-float-right","format-font","format-font-size-decrease","format-font-size-increase","format-header-1","format-header-2","format-header-3","format-header-4","format-header-5","format-header-6","format-header-decrease","format-header-down","format-header-equal","format-header-increase","format-header-pound","format-header-up","format-horizontal-align-center","format-horizontal-align-left","format-horizontal-align-right","format-indent-decrease","format-indent-increase","format-italic","format-letter-case","format-letter-case-lower","format-letter-case-upper","format-letter-ends-with","format-letter-matches","format-letter-spacing","format-letter-spacing-variant","format-letter-starts-with","format-line-height","format-line-spacing","format-line-style","format-line-weight","format-list-bulleted","format-list-bulleted-square","format-list-bulleted-triangle","format-list-bulleted-type","format-list-checkbox","format-list-checks","format-list-group","format-list-group-plus","format-list-numbered","format-list-numbered-rtl","format-list-text","format-list-triangle","format-overline","format-page-break","format-page-split","format-paint","format-paragraph","format-paragraph-spacing","format-pilcrow","format-pilcrow-arrow-left","format-pilcrow-arrow-right","format-quote-close","format-quote-close-outline","format-quote-open","format-quote-open-outline","format-rotate-90","format-section","format-size","format-strikethrough","format-strikethrough-variant","format-subscript","format-superscript","format-text","format-text-rotation-angle-down","format-text-rotation-angle-up","format-text-rotation-down","format-text-rotation-down-vertical","format-text-rotation-none","format-text-rotation-up","format-text-rotation-vertical","format-text-variant","format-text-variant-outline","format-text-wrapping-clip","format-text-wrapping-overflow","format-text-wrapping-wrap","format-textbox","format-title","format-underline","format-underline-wavy","format-vertical-align-bottom","format-vertical-align-center","format-vertical-align-top","format-wrap-inline","format-wrap-square","format-wrap-tight","format-wrap-top-bottom","forum","forum-minus","forum-minus-outline","forum-outline","forum-plus","forum-plus-outline","forum-remove","forum-remove-outline","forward","forwardburger","fountain","fountain-pen","fountain-pen-tip","foursquare","fraction-one-half","freebsd","french-fries","frequently-asked-questions","fridge","fridge-alert","fridge-alert-outline","fridge-bottom","fridge-industrial","fridge-industrial-alert","fridge-industrial-alert-outline","fridge-industrial-off","fridge-industrial-off-outline","fridge-industrial-outline","fridge-off","fridge-off-outline","fridge-outline","fridge-top","fridge-variant","fridge-variant-alert","fridge-variant-alert-outline","fridge-variant-off","fridge-variant-off-outline","fridge-variant-outline","fruit-cherries","fruit-cherries-off","fruit-citrus","fruit-citrus-off","fruit-grapes","fruit-grapes-outline","fruit-pear","fruit-pineapple","fruit-watermelon","fuel","fuel-cell","fullscreen","fullscreen-exit","function","function-variant","furigana-horizontal","furigana-vertical","fuse","fuse-alert","fuse-blade","fuse-off","gamepad","gamepad-circle","gamepad-circle-down","gamepad-circle-left","gamepad-circle-outline","gamepad-circle-right","gamepad-circle-up","gamepad-down","gamepad-left","gamepad-outline","gamepad-right","gamepad-round","gamepad-round-down","gamepad-round-left","gamepad-round-outline","gamepad-round-right","gamepad-round-up","gamepad-square","gamepad-square-outline","gamepad-up","gamepad-variant","gamepad-variant-outline","gamma","gantry-crane","garage","garage-alert","garage-alert-variant","garage-lock","garage-open","garage-open-variant","garage-variant","garage-variant-lock","gas-burner","gas-cylinder","gas-station","gas-station-in-use","gas-station-in-use-outline","gas-station-off","gas-station-off-outline","gas-station-outline","gate","gate-alert","gate-and","gate-arrow-left","gate-arrow-right","gate-buffer","gate-nand","gate-nor","gate-not","gate-open","gate-or","gate-xnor","gate-xor","gatsby","gauge","gauge-empty","gauge-full","gauge-low","gavel","gender-female","gender-male","gender-male-female","gender-male-female-variant","gender-non-binary","gender-transgender","generator-mobile","generator-portable","generator-stationary","gentoo","gesture","gesture-double-tap","gesture-pinch","gesture-spread","gesture-swipe","gesture-swipe-down","gesture-swipe-horizontal","gesture-swipe-left","gesture-swipe-right","gesture-swipe-up","gesture-swipe-vertical","gesture-tap","gesture-tap-box","gesture-tap-button","gesture-tap-hold","gesture-two-double-tap","gesture-two-tap","ghost","ghost-off","ghost-off-outline","ghost-outline","gif","gift","gift-off","gift-off-outline","gift-open","gift-open-outline","gift-outline","git","github","github-box","github-face","gitlab","glass-cocktail","glass-cocktail-off","glass-flute","glass-fragile","glass-mug","glass-mug-off","glass-mug-variant","glass-mug-variant-off","glass-pint-outline","glass-stange","glass-tulip","glass-wine","glassdoor","glasses","globe-light","globe-light-outline","globe-model","gmail","gnome","go-kart","go-kart-track","gog","gold","golf","golf-cart","golf-tee","gondola","goodreads","google","google-ads","google-allo","google-analytics","google-assistant","google-cardboard","google-chrome","google-circles","google-circles-communities","google-circles-extended","google-circles-group","google-classroom","google-cloud","google-downasaur","google-drive","google-earth","google-fit","google-glass","google-hangouts","google-home","google-keep","google-lens","google-maps","google-my-business","google-nearby","google-pages","google-photos","google-physical-web","google-play","google-plus","google-plus-box","google-podcast","google-spreadsheet","google-street-view","google-translate","google-wallet","gradient-horizontal","gradient-vertical","grain","graph","graph-outline","graphql","grass","grave-stone","grease-pencil","greater-than","greater-than-or-equal","greenhouse","grid","grid-large","grid-off","grill","grill-outline","group","guitar-acoustic","guitar-electric","guitar-pick","guitar-pick-outline","guy-fawkes-mask","gymnastics","hail","hair-dryer","hair-dryer-outline","halloween","hamburger","hamburger-check","hamburger-minus","hamburger-off","hamburger-plus","hamburger-remove","hammer","hammer-screwdriver","hammer-sickle","hammer-wrench","hand-back-left","hand-back-left-off","hand-back-left-off-outline","hand-back-left-outline","hand-back-right","hand-back-right-off","hand-back-right-off-outline","hand-back-right-outline","hand-clap","hand-clap-off","hand-coin","hand-coin-outline","hand-cycle","hand-extended","hand-extended-outline","hand-front-left","hand-front-left-outline","hand-front-right","hand-front-right-outline","hand-heart","hand-heart-outline","hand-left","hand-okay","hand-peace","hand-peace-variant","hand-pointing-down","hand-pointing-left","hand-pointing-right","hand-pointing-up","hand-right","hand-saw","hand-wash","hand-wash-outline","hand-water","hand-wave","hand-wave-outline","handball","handcuffs","hands-pray","handshake","handshake-outline","hanger","hangouts","hard-hat","harddisk","harddisk-plus","harddisk-remove","hat-fedora","hazard-lights","hdmi-port","hdr","hdr-off","head","head-alert","head-alert-outline","head-check","head-check-outline","head-cog","head-cog-outline","head-dots-horizontal","head-dots-horizontal-outline","head-flash","head-flash-outline","head-heart","head-heart-outline","head-lightbulb","head-lightbulb-outline","head-minus","head-minus-outline","head-outline","head-plus","head-plus-outline","head-question","head-question-outline","head-remove","head-remove-outline","head-snowflake","head-snowflake-outline","head-sync","head-sync-outline","headphones","headphones-bluetooth","headphones-box","headphones-off","headphones-settings","headset","headset-dock","headset-off","heart","heart-box","heart-box-outline","heart-broken","heart-broken-outline","heart-circle","heart-circle-outline","heart-cog","heart-cog-outline","heart-flash","heart-half","heart-half-full","heart-half-outline","heart-minus","heart-minus-outline","heart-multiple","heart-multiple-outline","heart-off","heart-off-outline","heart-outline","heart-plus","heart-plus-outline","heart-pulse","heart-remove","heart-remove-outline","heart-search","heart-settings","heart-settings-outline","heat-pump","heat-pump-outline","heat-wave","heating-coil","helicopter","help","help-box","help-box-multiple","help-box-multiple-outline","help-box-outline","help-circle","help-circle-outline","help-network","help-network-outline","help-rhombus","help-rhombus-outline","hexadecimal","hexagon","hexagon-multiple","hexagon-multiple-outline","hexagon-outline","hexagon-slice-1","hexagon-slice-2","hexagon-slice-3","hexagon-slice-4","hexagon-slice-5","hexagon-slice-6","hexagram","hexagram-outline","high-definition","high-definition-box","highway","hiking","history","hockey-puck","hockey-sticks","hololens","home","home-account","home-alert","home-alert-outline","home-analytics","home-assistant","home-automation","home-battery","home-battery-outline","home-circle","home-circle-outline","home-city","home-city-outline","home-clock","home-clock-outline","home-currency-usd","home-edit","home-edit-outline","home-export-outline","home-flood","home-floor-0","home-floor-1","home-floor-2","home-floor-3","home-floor-a","home-floor-b","home-floor-g","home-floor-l","home-floor-negative-1","home-group","home-group-minus","home-group-plus","home-group-remove","home-heart","home-import-outline","home-lightbulb","home-lightbulb-outline","home-lightning-bolt","home-lightning-bolt-outline","home-lock","home-lock-open","home-map-marker","home-minus","home-minus-outline","home-modern","home-off","home-off-outline","home-outline","home-percent","home-percent-outline","home-plus","home-plus-outline","home-remove","home-remove-outline","home-roof","home-search","home-search-outline","home-silo","home-silo-outline","home-sound-in","home-sound-in-outline","home-sound-out","home-sound-out-outline","home-switch","home-switch-outline","home-thermometer","home-thermometer-outline","home-variant","home-variant-outline","hook","hook-off","hoop-house","hops","horizontal-rotate-clockwise","horizontal-rotate-counterclockwise","horse","horse-human","horse-variant","horse-variant-fast","horseshoe","hospital","hospital-box","hospital-box-outline","hospital-building","hospital-marker","hot-tub","hours-12","hours-24","houzz","houzz-box","hub","hub-outline","hubspot","hulu","human","human-baby-changing-table","human-cane","human-capacity-decrease","human-capacity-increase","human-child","human-dolly","human-edit","human-female","human-female-boy","human-female-dance","human-female-female","human-female-female-child","human-female-girl","human-greeting","human-greeting-proximity","human-greeting-variant","human-handsdown","human-handsup","human-male","human-male-board","human-male-board-poll","human-male-boy","human-male-child","human-male-female","human-male-female-child","human-male-girl","human-male-height","human-male-height-variant","human-male-male","human-male-male-child","human-non-binary","human-pregnant","human-queue","human-scooter","human-walker","human-wheelchair","human-white-cane","humble-bundle","hurricane","hvac","hvac-off","hydraulic-oil-level","hydraulic-oil-temperature","hydro-power","hydrogen-station","ice-cream","ice-cream-off","ice-pop","id-card","identifier","ideogram-cjk","ideogram-cjk-variant","image","image-album","image-area","image-area-close","image-auto-adjust","image-broken","image-broken-variant","image-check","image-check-outline","image-edit","image-edit-outline","image-filter-black-white","image-filter-center-focus","image-filter-center-focus-strong","image-filter-center-focus-strong-outline","image-filter-center-focus-weak","image-filter-drama","image-filter-drama-outline","image-filter-frames","image-filter-hdr","image-filter-hdr-outline","image-filter-none","image-filter-tilt-shift","image-filter-vintage","image-frame","image-lock","image-lock-outline","image-marker","image-marker-outline","image-minus","image-minus-outline","image-move","image-multiple","image-multiple-outline","image-off","image-off-outline","image-outline","image-plus","image-plus-outline","image-refresh","image-refresh-outline","image-remove","image-remove-outline","image-search","image-search-outline","image-size-select-actual","image-size-select-large","image-size-select-small","image-sync","image-sync-outline","image-text","import","inbox","inbox-arrow-down","inbox-arrow-down-outline","inbox-arrow-up","inbox-arrow-up-outline","inbox-full","inbox-full-outline","inbox-multiple","inbox-multiple-outline","inbox-outline","inbox-remove","inbox-remove-outline","incognito","incognito-circle","incognito-circle-off","incognito-off","indent","induction","infinity","information","information-box","information-box-outline","information-off","information-off-outline","information-outline","information-slab-box","information-slab-box-outline","information-slab-circle","information-slab-circle-outline","information-slab-symbol","information-symbol","information-variant","information-variant-box","information-variant-box-outline","information-variant-circle","information-variant-circle-outline","instagram","instapaper","instrument-triangle","integrated-circuit-chip","invert-colors","invert-colors-off","invoice","invoice-arrow-left","invoice-arrow-left-outline","invoice-arrow-right","invoice-arrow-right-outline","invoice-check","invoice-check-outline","invoice-clock","invoice-clock-outline","invoice-edit","invoice-edit-outline","invoice-export-outline","invoice-fast","invoice-fast-outline","invoice-import","invoice-import-outline","invoice-list","invoice-list-outline","invoice-minus","invoice-minus-outline","invoice-multiple","invoice-multiple-outline","invoice-outline","invoice-plus","invoice-plus-outline","invoice-remove","invoice-remove-outline","invoice-send","invoice-send-outline","invoice-text","invoice-text-arrow-left","invoice-text-arrow-left-outline","invoice-text-arrow-right","invoice-text-arrow-right-outline","invoice-text-check","invoice-text-check-outline","invoice-text-clock","invoice-text-clock-outline","invoice-text-edit","invoice-text-edit-outline","invoice-text-fast","invoice-text-fast-outline","invoice-text-minus","invoice-text-minus-outline","invoice-text-multiple","invoice-text-multiple-outline","invoice-text-outline","invoice-text-plus","invoice-text-plus-outline","invoice-text-remove","invoice-text-remove-outline","invoice-text-send","invoice-text-send-outline","iobroker","ip","ip-network","ip-network-outline","ip-outline","ipod","iron","iron-board","iron-outline","island","island-variant","itunes","iv-bag","jabber","jeepney","jellyfish","jellyfish-outline","jira","jquery","jsfiddle","jump-rope","kabaddi","kangaroo","karate","kayaking","keg","kettle","kettle-alert","kettle-alert-outline","kettle-off","kettle-off-outline","kettle-outline","kettle-pour-over","kettle-steam","kettle-steam-outline","kettlebell","key","key-alert","key-alert-outline","key-arrow-right","key-chain","key-chain-variant","key-change","key-link","key-minus","key-outline","key-plus","key-remove","key-star","key-variant","key-wireless","keyboard","keyboard-backspace","keyboard-caps","keyboard-close","keyboard-close-outline","keyboard-esc","keyboard-f1","keyboard-f10","keyboard-f11","keyboard-f12","keyboard-f2","keyboard-f3","keyboard-f4","keyboard-f5","keyboard-f6","keyboard-f7","keyboard-f8","keyboard-f9","keyboard-off","keyboard-off-outline","keyboard-outline","keyboard-return","keyboard-settings","keyboard-settings-outline","keyboard-space","keyboard-tab","keyboard-tab-reverse","keyboard-variant","khanda","kickstarter","kite","kite-outline","kitesurfing","klingon","knife","knife-military","knob","koala","kodi","kubernetes","label","label-multiple","label-multiple-outline","label-off","label-off-outline","label-outline","label-percent","label-percent-outline","label-variant","label-variant-outline","ladder","ladybug","lambda","lamp","lamp-outline","lamps","lamps-outline","lan","lan-check","lan-connect","lan-disconnect","lan-pending","land-fields","land-plots","land-plots-circle","land-plots-circle-variant","land-plots-marker","land-rows-horizontal","land-rows-vertical","landslide","landslide-outline","language-c","language-cpp","language-csharp","language-css3","language-fortran","language-go","language-haskell","language-html5","language-java","language-javascript","language-jsx","language-kotlin","language-lua","language-markdown","language-markdown-outline","language-php","language-python","language-python-text","language-r","language-ruby","language-ruby-on-rails","language-rust","language-swift","language-typescript","language-xaml","laptop","laptop-account","laptop-chromebook","laptop-mac","laptop-off","laptop-windows","laravel","laser-pointer","lasso","lastfm","lastpass","latitude","launch","lava-lamp","layers","layers-edit","layers-minus","layers-off","layers-off-outline","layers-outline","layers-plus","layers-remove","layers-search","layers-search-outline","layers-triple","layers-triple-outline","lead-pencil","leaf","leaf-circle","leaf-circle-outline","leaf-maple","leaf-maple-off","leaf-off","leak","leak-off","lectern","led-off","led-on","led-outline","led-strip","led-strip-variant","led-strip-variant-off","led-variant-off","led-variant-on","led-variant-outline","leek","less-than","less-than-or-equal","library","library-books","library-outline","library-shelves","license","lifebuoy","light-flood-down","light-flood-up","light-recessed","light-switch","light-switch-off","lightbulb","lightbulb-alert","lightbulb-alert-outline","lightbulb-auto","lightbulb-auto-outline","lightbulb-cfl","lightbulb-cfl-off","lightbulb-cfl-spiral","lightbulb-cfl-spiral-off","lightbulb-fluorescent-tube","lightbulb-fluorescent-tube-outline","lightbulb-group","lightbulb-group-off","lightbulb-group-off-outline","lightbulb-group-outline","lightbulb-multiple","lightbulb-multiple-off","lightbulb-multiple-off-outline","lightbulb-multiple-outline","lightbulb-night","lightbulb-night-outline","lightbulb-off","lightbulb-off-outline","lightbulb-on","lightbulb-on-10","lightbulb-on-20","lightbulb-on-30","lightbulb-on-40","lightbulb-on-50","lightbulb-on-60","lightbulb-on-70","lightbulb-on-80","lightbulb-on-90","lightbulb-on-outline","lightbulb-outline","lightbulb-question","lightbulb-question-outline","lightbulb-spot","lightbulb-spot-off","lightbulb-variant","lightbulb-variant-outline","lighthouse","lighthouse-on","lightning-bolt","lightning-bolt-circle","lightning-bolt-outline","line-scan","lingerie","link","link-box","link-box-outline","link-box-variant","link-box-variant-outline","link-circle","link-circle-outline","link-edit","link-lock","link-off","link-plus","link-variant","link-variant-minus","link-variant-off","link-variant-plus","link-variant-remove","linkedin","linode","linux","linux-mint","lipstick","liquid-spot","liquor","list-box","list-box-outline","list-status","litecoin","loading","location-enter","location-exit","lock","lock-alert","lock-alert-outline","lock-check","lock-check-outline","lock-clock","lock-minus","lock-minus-outline","lock-off","lock-off-outline","lock-open","lock-open-alert","lock-open-alert-outline","lock-open-check","lock-open-check-outline","lock-open-minus","lock-open-minus-outline","lock-open-outline","lock-open-plus","lock-open-plus-outline","lock-open-remove","lock-open-remove-outline","lock-open-variant","lock-open-variant-outline","lock-outline","lock-pattern","lock-percent","lock-percent-open","lock-percent-open-outline","lock-percent-open-variant","lock-percent-open-variant-outline","lock-percent-outline","lock-plus","lock-plus-outline","lock-question","lock-remove","lock-remove-outline","lock-reset","lock-smart","locker","locker-multiple","login","login-variant","logout","logout-variant","longitude","looks","lotion","lotion-outline","lotion-plus","lotion-plus-outline","loupe","lumx","lungs","lyft","mace","magazine-pistol","magazine-rifle","magic-staff","magnet","magnet-on","magnify","magnify-close","magnify-expand","magnify-minus","magnify-minus-cursor","magnify-minus-outline","magnify-plus","magnify-plus-cursor","magnify-plus-outline","magnify-remove-cursor","magnify-remove-outline","magnify-scan","mail","mail-ru","mailbox","mailbox-open","mailbox-open-outline","mailbox-open-up","mailbox-open-up-outline","mailbox-outline","mailbox-up","mailbox-up-outline","manjaro","map","map-check","map-check-outline","map-clock","map-clock-outline","map-legend","map-marker","map-marker-account","map-marker-account-outline","map-marker-alert","map-marker-alert-outline","map-marker-check","map-marker-check-outline","map-marker-circle","map-marker-distance","map-marker-down","map-marker-left","map-marker-left-outline","map-marker-minus","map-marker-minus-outline","map-marker-multiple","map-marker-multiple-outline","map-marker-off","map-marker-off-outline","map-marker-outline","map-marker-path","map-marker-plus","map-marker-plus-outline","map-marker-question","map-marker-question-outline","map-marker-radius","map-marker-radius-outline","map-marker-remove","map-marker-remove-outline","map-marker-remove-variant","map-marker-right","map-marker-right-outline","map-marker-star","map-marker-star-outline","map-marker-up","map-minus","map-outline","map-plus","map-search","map-search-outline","mapbox","margin","marker","marker-cancel","marker-check","mastodon","mastodon-variant","material-design","material-ui","math-compass","math-cos","math-integral","math-integral-box","math-log","math-norm","math-norm-box","math-sin","math-tan","matrix","maxcdn","medal","medal-outline","medical-bag","medical-cotton-swab","medication","medication-outline","meditation","medium","meetup","memory","memory-arrow-down","menorah","menorah-fire","menu","menu-close","menu-down","menu-down-outline","menu-left","menu-left-outline","menu-open","menu-right","menu-right-outline","menu-swap","menu-swap-outline","menu-up","menu-up-outline","merge","message","message-alert","message-alert-outline","message-arrow-left","message-arrow-left-outline","message-arrow-right","message-arrow-right-outline","message-badge","message-badge-outline","message-bookmark","message-bookmark-outline","message-bulleted","message-bulleted-off","message-check","message-check-outline","message-cog","message-cog-outline","message-draw","message-fast","message-fast-outline","message-flash","message-flash-outline","message-image","message-image-outline","message-lock","message-lock-outline","message-minus","message-minus-outline","message-off","message-off-outline","message-outline","message-plus","message-plus-outline","message-processing","message-processing-outline","message-question","message-question-outline","message-reply","message-reply-outline","message-reply-text","message-reply-text-outline","message-settings","message-settings-outline","message-star","message-star-outline","message-text","message-text-clock","message-text-clock-outline","message-text-fast","message-text-fast-outline","message-text-lock","message-text-lock-outline","message-text-outline","message-video","meteor","meter-electric","meter-electric-outline","meter-gas","meter-gas-outline","metronome","metronome-tick","micro-sd","microphone","microphone-message","microphone-message-off","microphone-minus","microphone-off","microphone-outline","microphone-plus","microphone-question","microphone-question-outline","microphone-settings","microphone-variant","microphone-variant-off","microscope","microsoft","microsoft-access","microsoft-azure","microsoft-azure-devops","microsoft-bing","microsoft-dynamics-365","microsoft-edge","microsoft-edge-legacy","microsoft-excel","microsoft-internet-explorer","microsoft-office","microsoft-onedrive","microsoft-onenote","microsoft-outlook","microsoft-powerpoint","microsoft-sharepoint","microsoft-teams","microsoft-visual-studio","microsoft-visual-studio-code","microsoft-windows","microsoft-windows-classic","microsoft-word","microsoft-xbox","microsoft-xbox-controller","microsoft-xbox-controller-battery-alert","microsoft-xbox-controller-battery-charging","microsoft-xbox-controller-battery-empty","microsoft-xbox-controller-battery-full","microsoft-xbox-controller-battery-low","microsoft-xbox-controller-battery-medium","microsoft-xbox-controller-battery-unknown","microsoft-xbox-controller-menu","microsoft-xbox-controller-off","microsoft-xbox-controller-view","microsoft-yammer","microwave","microwave-off","middleware","middleware-outline","midi","midi-input","midi-port","mine","minecraft","mini-sd","minidisc","minus","minus-box","minus-box-multiple","minus-box-multiple-outline","minus-box-outline","minus-circle","minus-circle-multiple","minus-circle-multiple-outline","minus-circle-off","minus-circle-off-outline","minus-circle-outline","minus-network","minus-network-outline","minus-thick","mirror","mirror-rectangle","mirror-variant","mixcloud","mixed-martial-arts","mixed-reality","mixer","molecule","molecule-co","molecule-co2","monitor","monitor-account","monitor-arrow-down","monitor-arrow-down-variant","monitor-cellphone","monitor-cellphone-star","monitor-dashboard","monitor-edit","monitor-eye","monitor-lock","monitor-multiple","monitor-off","monitor-screenshot","monitor-share","monitor-shimmer","monitor-small","monitor-speaker","monitor-speaker-off","monitor-star","monitor-vertical","moon-first-quarter","moon-full","moon-last-quarter","moon-new","moon-waning-crescent","moon-waning-gibbous","moon-waxing-crescent","moon-waxing-gibbous","moped","moped-electric","moped-electric-outline","moped-outline","more","mortar-pestle","mortar-pestle-plus","mosque","mosque-outline","mother-heart","mother-nurse","motion","motion-outline","motion-pause","motion-pause-outline","motion-play","motion-play-outline","motion-sensor","motion-sensor-off","motorbike","motorbike-electric","motorbike-off","mouse","mouse-bluetooth","mouse-left-click","mouse-left-click-outline","mouse-move-down","mouse-move-up","mouse-move-vertical","mouse-off","mouse-outline","mouse-right-click","mouse-right-click-outline","mouse-scroll-wheel","mouse-variant","mouse-variant-off","move-resize","move-resize-variant","movie","movie-check","movie-check-outline","movie-cog","movie-cog-outline","movie-edit","movie-edit-outline","movie-filter","movie-filter-outline","movie-minus","movie-minus-outline","movie-off","movie-off-outline","movie-open","movie-open-check","movie-open-check-outline","movie-open-cog","movie-open-cog-outline","movie-open-edit","movie-open-edit-outline","movie-open-minus","movie-open-minus-outline","movie-open-off","movie-open-off-outline","movie-open-outline","movie-open-play","movie-open-play-outline","movie-open-plus","movie-open-plus-outline","movie-open-remove","movie-open-remove-outline","movie-open-settings","movie-open-settings-outline","movie-open-star","movie-open-star-outline","movie-outline","movie-play","movie-play-outline","movie-plus","movie-plus-outline","movie-remove","movie-remove-outline","movie-roll","movie-search","movie-search-outline","movie-settings","movie-settings-outline","movie-star","movie-star-outline","mower","mower-bag","mower-bag-on","mower-on","muffin","multicast","multimedia","multiplication","multiplication-box","mushroom","mushroom-off","mushroom-off-outline","mushroom-outline","music","music-accidental-double-flat","music-accidental-double-sharp","music-accidental-flat","music-accidental-natural","music-accidental-sharp","music-box","music-box-multiple","music-box-multiple-outline","music-box-outline","music-circle","music-circle-outline","music-clef-alto","music-clef-bass","music-clef-treble","music-note","music-note-bluetooth","music-note-bluetooth-off","music-note-eighth","music-note-eighth-dotted","music-note-half","music-note-half-dotted","music-note-minus","music-note-off","music-note-off-outline","music-note-outline","music-note-plus","music-note-quarter","music-note-quarter-dotted","music-note-sixteenth","music-note-sixteenth-dotted","music-note-whole","music-note-whole-dotted","music-off","music-rest-eighth","music-rest-half","music-rest-quarter","music-rest-sixteenth","music-rest-whole","mustache","nail","nas","nativescript","nature","nature-outline","nature-people","nature-people-outline","navigation","navigation-outline","navigation-variant","navigation-variant-outline","near-me","necklace","needle","needle-off","nest-thermostat","netflix","network","network-off","network-off-outline","network-outline","network-pos","network-strength-1","network-strength-1-alert","network-strength-2","network-strength-2-alert","network-strength-3","network-strength-3-alert","network-strength-4","network-strength-4-alert","network-strength-4-cog","network-strength-alert","network-strength-alert-outline","network-strength-off","network-strength-off-outline","network-strength-outline","new-box","newspaper","newspaper-check","newspaper-minus","newspaper-plus","newspaper-remove","newspaper-variant","newspaper-variant-multiple","newspaper-variant-multiple-outline","newspaper-variant-outline","nfc","nfc-off","nfc-search-variant","nfc-tap","nfc-variant","nfc-variant-off","ninja","nintendo-game-boy","nintendo-switch","nintendo-wii","nintendo-wiiu","nix","nodejs","noodles","not-equal","not-equal-variant","note","note-alert","note-alert-outline","note-check","note-check-outline","note-edit","note-edit-outline","note-minus","note-minus-outline","note-multiple","note-multiple-outline","note-off","note-off-outline","note-outline","note-plus","note-plus-outline","note-remove","note-remove-outline","note-search","note-search-outline","note-text","note-text-outline","notebook","notebook-check","notebook-check-outline","notebook-edit","notebook-edit-outline","notebook-heart","notebook-heart-outline","notebook-minus","notebook-minus-outline","notebook-multiple","notebook-outline","notebook-plus","notebook-plus-outline","notebook-remove","notebook-remove-outline","notification-clear-all","npm","npm-variant","npm-variant-outline","nuke","null","numeric","numeric-0","numeric-0-box","numeric-0-box-multiple","numeric-0-box-multiple-outline","numeric-0-box-outline","numeric-0-circle","numeric-0-circle-outline","numeric-1","numeric-1-box","numeric-1-box-multiple","numeric-1-box-multiple-outline","numeric-1-box-outline","numeric-1-circle","numeric-1-circle-outline","numeric-10","numeric-10-box","numeric-10-box-multiple","numeric-10-box-multiple-outline","numeric-10-box-outline","numeric-10-circle","numeric-10-circle-outline","numeric-2","numeric-2-box","numeric-2-box-multiple","numeric-2-box-multiple-outline","numeric-2-box-outline","numeric-2-circle","numeric-2-circle-outline","numeric-3","numeric-3-box","numeric-3-box-multiple","numeric-3-box-multiple-outline","numeric-3-box-outline","numeric-3-circle","numeric-3-circle-outline","numeric-4","numeric-4-box","numeric-4-box-multiple","numeric-4-box-multiple-outline","numeric-4-box-outline","numeric-4-circle","numeric-4-circle-outline","numeric-5","numeric-5-box","numeric-5-box-multiple","numeric-5-box-multiple-outline","numeric-5-box-outline","numeric-5-circle","numeric-5-circle-outline","numeric-6","numeric-6-box","numeric-6-box-multiple","numeric-6-box-multiple-outline","numeric-6-box-outline","numeric-6-circle","numeric-6-circle-outline","numeric-7","numeric-7-box","numeric-7-box-multiple","numeric-7-box-multiple-outline","numeric-7-box-outline","numeric-7-circle","numeric-7-circle-outline","numeric-8","numeric-8-box","numeric-8-box-multiple","numeric-8-box-multiple-outline","numeric-8-box-outline","numeric-8-circle","numeric-8-circle-outline","numeric-9","numeric-9-box","numeric-9-box-multiple","numeric-9-box-multiple-outline","numeric-9-box-outline","numeric-9-circle","numeric-9-circle-outline","numeric-9-plus","numeric-9-plus-box","numeric-9-plus-box-multiple","numeric-9-plus-box-multiple-outline","numeric-9-plus-box-outline","numeric-9-plus-circle","numeric-9-plus-circle-outline","numeric-negative-1","numeric-off","numeric-positive-1","nut","nutrition","nuxt","oar","ocarina","oci","ocr","octagon","octagon-outline","octagram","octagram-edit","octagram-edit-outline","octagram-minus","octagram-minus-outline","octagram-outline","octagram-plus","octagram-plus-outline","octahedron","octahedron-off","odnoklassniki","offer","office-building","office-building-cog","office-building-cog-outline","office-building-marker","office-building-marker-outline","office-building-minus","office-building-minus-outline","office-building-outline","office-building-plus","office-building-plus-outline","office-building-remove","office-building-remove-outline","oil","oil-lamp","oil-level","oil-temperature","om","omega","one-up","onedrive","onenote","onepassword","opacity","open-in-app","open-in-new","open-source-initiative","openid","opera","orbit","orbit-variant","order-alphabetical-ascending","order-alphabetical-descending","order-bool-ascending","order-bool-ascending-variant","order-bool-descending","order-bool-descending-variant","order-numeric-ascending","order-numeric-descending","origin","ornament","ornament-variant","outbox","outdent","outdoor-lamp","outlook","overscan","owl","pac-man","package","package-check","package-down","package-up","package-variant","package-variant-closed","package-variant-closed-check","package-variant-closed-minus","package-variant-closed-plus","package-variant-closed-remove","package-variant-minus","package-variant-plus","package-variant-remove","page-first","page-last","page-layout-body","page-layout-footer","page-layout-header","page-layout-header-footer","page-layout-sidebar-left","page-layout-sidebar-right","page-next","page-next-outline","page-previous","page-previous-outline","pail","pail-minus","pail-minus-outline","pail-off","pail-off-outline","pail-outline","pail-plus","pail-plus-outline","pail-remove","pail-remove-outline","palette","palette-advanced","palette-outline","palette-swatch","palette-swatch-outline","palette-swatch-variant","palm-tree","pan","pan-bottom-left","pan-bottom-right","pan-down","pan-horizontal","pan-left","pan-right","pan-top-left","pan-top-right","pan-up","pan-vertical","panda","pandora","panorama","panorama-fisheye","panorama-horizontal","panorama-horizontal-outline","panorama-outline","panorama-sphere","panorama-sphere-outline","panorama-variant","panorama-variant-outline","panorama-vertical","panorama-vertical-outline","panorama-wide-angle","panorama-wide-angle-outline","paper-cut-vertical","paper-roll","paper-roll-outline","paperclip","paperclip-check","paperclip-lock","paperclip-minus","paperclip-off","paperclip-plus","paperclip-remove","parachute","parachute-outline","paragliding","parking","party-popper","passport","passport-alert","passport-biometric","passport-cancel","passport-check","passport-minus","passport-plus","passport-remove","pasta","patio-heater","patreon","pause","pause-box","pause-box-outline","pause-circle","pause-circle-outline","pause-octagon","pause-octagon-outline","paw","paw-off","paw-off-outline","paw-outline","paypal","peace","peanut","peanut-off","peanut-off-outline","peanut-outline","pen","pen-lock","pen-minus","pen-off","pen-plus","pen-remove","pencil","pencil-box","pencil-box-multiple","pencil-box-multiple-outline","pencil-box-outline","pencil-circle","pencil-circle-outline","pencil-lock","pencil-lock-outline","pencil-minus","pencil-minus-outline","pencil-off","pencil-off-outline","pencil-outline","pencil-plus","pencil-plus-outline","pencil-remove","pencil-remove-outline","pencil-ruler","pencil-ruler-outline","penguin","pentagon","pentagon-outline","pentagram","percent","percent-box","percent-box-outline","percent-circle","percent-circle-outline","percent-outline","periodic-table","periscope","perspective-less","perspective-more","ph","phone","phone-alert","phone-alert-outline","phone-bluetooth","phone-bluetooth-outline","phone-cancel","phone-cancel-outline","phone-check","phone-check-outline","phone-classic","phone-classic-off","phone-clock","phone-dial","phone-dial-outline","phone-forward","phone-forward-outline","phone-hangup","phone-hangup-outline","phone-in-talk","phone-in-talk-outline","phone-incoming","phone-incoming-outgoing","phone-incoming-outgoing-outline","phone-incoming-outline","phone-lock","phone-lock-outline","phone-log","phone-log-outline","phone-message","phone-message-outline","phone-minus","phone-minus-outline","phone-missed","phone-missed-outline","phone-off","phone-off-outline","phone-outgoing","phone-outgoing-outline","phone-outline","phone-paused","phone-paused-outline","phone-plus","phone-plus-outline","phone-refresh","phone-refresh-outline","phone-remove","phone-remove-outline","phone-return","phone-return-outline","phone-ring","phone-ring-outline","phone-rotate-landscape","phone-rotate-portrait","phone-settings","phone-settings-outline","phone-sync","phone-sync-outline","phone-voip","pi","pi-box","pi-hole","piano","piano-off","pickaxe","picture-in-picture-bottom-right","picture-in-picture-bottom-right-outline","picture-in-picture-top-right","picture-in-picture-top-right-outline","pier","pier-crane","pig","pig-variant","pig-variant-outline","piggy-bank","piggy-bank-outline","pill","pill-multiple","pill-off","pillar","pin","pin-off","pin-off-outline","pin-outline","pine-tree","pine-tree-box","pine-tree-fire","pine-tree-variant","pine-tree-variant-outline","pinterest","pinterest-box","pinwheel","pinwheel-outline","pipe","pipe-disconnected","pipe-leak","pipe-valve","pipe-wrench","pirate","pistol","piston","pitchfork","pizza","plane-car","plane-train","play","play-box","play-box-edit-outline","play-box-lock","play-box-lock-open","play-box-lock-open-outline","play-box-lock-outline","play-box-multiple","play-box-multiple-outline","play-box-outline","play-circle","play-circle-outline","play-network","play-network-outline","play-outline","play-pause","play-protected-content","play-speed","playlist-check","playlist-edit","playlist-minus","playlist-music","playlist-music-outline","playlist-play","playlist-plus","playlist-remove","playlist-star","plex","pliers","plus","plus-box","plus-box-multiple","plus-box-multiple-outline","plus-box-outline","plus-circle","plus-circle-multiple","plus-circle-multiple-outline","plus-circle-outline","plus-lock","plus-lock-open","plus-minus","plus-minus-box","plus-minus-variant","plus-network","plus-network-outline","plus-outline","plus-thick","pocket","podcast","podium","podium-bronze","podium-gold","podium-silver","point-of-sale","pokeball","pokemon-go","poker-chip","polaroid","police-badge","police-badge-outline","police-station","poll","polo","polymer","pool","pool-thermometer","popcorn","post","post-lamp","post-outline","postage-stamp","pot","pot-mix","pot-mix-outline","pot-outline","pot-steam","pot-steam-outline","pound","pound-box","pound-box-outline","power","power-cycle","power-off","power-on","power-plug","power-plug-battery","power-plug-battery-outline","power-plug-off","power-plug-off-outline","power-plug-outline","power-settings","power-sleep","power-socket","power-socket-au","power-socket-ch","power-socket-de","power-socket-eu","power-socket-fr","power-socket-it","power-socket-jp","power-socket-uk","power-socket-us","power-standby","powershell","prescription","presentation","presentation-play","pretzel","prezi","printer","printer-3d","printer-3d-nozzle","printer-3d-nozzle-alert","printer-3d-nozzle-alert-outline","printer-3d-nozzle-heat","printer-3d-nozzle-heat-outline","printer-3d-nozzle-off","printer-3d-nozzle-off-outline","printer-3d-nozzle-outline","printer-3d-off","printer-alert","printer-check","printer-eye","printer-off","printer-off-outline","printer-outline","printer-pos","printer-pos-alert","printer-pos-alert-outline","printer-pos-cancel","printer-pos-cancel-outline","printer-pos-check","printer-pos-check-outline","printer-pos-cog","printer-pos-cog-outline","printer-pos-edit","printer-pos-edit-outline","printer-pos-minus","printer-pos-minus-outline","printer-pos-network","printer-pos-network-outline","printer-pos-off","printer-pos-off-outline","printer-pos-outline","printer-pos-pause","printer-pos-pause-outline","printer-pos-play","printer-pos-play-outline","printer-pos-plus","printer-pos-plus-outline","printer-pos-refresh","printer-pos-refresh-outline","printer-pos-remove","printer-pos-remove-outline","printer-pos-star","printer-pos-star-outline","printer-pos-stop","printer-pos-stop-outline","printer-pos-sync","printer-pos-sync-outline","printer-pos-wrench","printer-pos-wrench-outline","printer-search","printer-settings","printer-wireless","priority-high","priority-low","professional-hexagon","progress-alert","progress-check","progress-clock","progress-close","progress-download","progress-helper","progress-pencil","progress-question","progress-star","progress-star-four-points","progress-tag","progress-upload","progress-wrench","projector","projector-off","projector-screen","projector-screen-off","projector-screen-off-outline","projector-screen-outline","projector-screen-variant","projector-screen-variant-off","projector-screen-variant-off-outline","projector-screen-variant-outline","propane-tank","propane-tank-outline","protocol","publish","publish-off","pulse","pump","pump-off","pumpkin","purse","purse-outline","puzzle","puzzle-check","puzzle-check-outline","puzzle-edit","puzzle-edit-outline","puzzle-heart","puzzle-heart-outline","puzzle-minus","puzzle-minus-outline","puzzle-outline","puzzle-plus","puzzle-plus-outline","puzzle-remove","puzzle-remove-outline","puzzle-star","puzzle-star-outline","pyramid","pyramid-off","qi","qqchat","qrcode","qrcode-edit","qrcode-minus","qrcode-plus","qrcode-remove","qrcode-scan","quadcopter","quality-high","quality-low","quality-medium","queue-first-in-last-out","quick-reply","quicktime","quora","rabbit","rabbit-variant","rabbit-variant-outline","racing-helmet","racquetball","radar","radiator","radiator-disabled","radiator-off","radio","radio-am","radio-fm","radio-handheld","radio-off","radio-tower","radioactive","radioactive-circle","radioactive-circle-outline","radioactive-off","radiobox-blank","radiobox-indeterminate-variant","radiobox-marked","radiology-box","radiology-box-outline","radius","radius-outline","railroad-light","rake","raspberry-pi","raw","raw-off","ray-end","ray-end-arrow","ray-start","ray-start-arrow","ray-start-end","ray-start-vertex-end","ray-vertex","razor-double-edge","razor-single-edge","rdio","react","read","receipt","receipt-clock","receipt-clock-outline","receipt-outline","receipt-send","receipt-send-outline","receipt-text","receipt-text-arrow-left","receipt-text-arrow-left-outline","receipt-text-arrow-right","receipt-text-arrow-right-outline","receipt-text-check","receipt-text-check-outline","receipt-text-clock","receipt-text-clock-outline","receipt-text-edit","receipt-text-edit-outline","receipt-text-minus","receipt-text-minus-outline","receipt-text-outline","receipt-text-plus","receipt-text-plus-outline","receipt-text-remove","receipt-text-remove-outline","receipt-text-send","receipt-text-send-outline","record","record-circle","record-circle-outline","record-player","record-rec","rectangle","rectangle-outline","recycle","recycle-variant","reddit","redhat","redo","redo-variant","reflect-horizontal","reflect-vertical","refresh","refresh-auto","refresh-circle","regex","registered-trademark","reiterate","relation-many-to-many","relation-many-to-one","relation-many-to-one-or-many","relation-many-to-only-one","relation-many-to-zero-or-many","relation-many-to-zero-or-one","relation-one-or-many-to-many","relation-one-or-many-to-one","relation-one-or-many-to-one-or-many","relation-one-or-many-to-only-one","relation-one-or-many-to-zero-or-many","relation-one-or-many-to-zero-or-one","relation-one-to-many","relation-one-to-one","relation-one-to-one-or-many","relation-one-to-only-one","relation-one-to-zero-or-many","relation-one-to-zero-or-one","relation-only-one-to-many","relation-only-one-to-one","relation-only-one-to-one-or-many","relation-only-one-to-only-one","relation-only-one-to-zero-or-many","relation-only-one-to-zero-or-one","relation-zero-or-many-to-many","relation-zero-or-many-to-one","relation-zero-or-many-to-one-or-many","relation-zero-or-many-to-only-one","relation-zero-or-many-to-zero-or-many","relation-zero-or-many-to-zero-or-one","relation-zero-or-one-to-many","relation-zero-or-one-to-one","relation-zero-or-one-to-one-or-many","relation-zero-or-one-to-only-one","relation-zero-or-one-to-zero-or-many","relation-zero-or-one-to-zero-or-one","relative-scale","reload","reload-alert","reminder","remote","remote-desktop","remote-off","remote-tv","remote-tv-off","rename","rename-box","rename-box-outline","rename-outline","reorder-horizontal","reorder-vertical","repeat","repeat-off","repeat-once","repeat-variant","replay","reply","reply-all","reply-all-outline","reply-circle","reply-outline","reproduction","resistor","resistor-nodes","resize","resize-bottom-right","responsive","restart","restart-alert","restart-off","restore","restore-alert","rewind","rewind-10","rewind-15","rewind-30","rewind-45","rewind-5","rewind-60","rewind-outline","rhombus","rhombus-medium","rhombus-medium-outline","rhombus-outline","rhombus-split","rhombus-split-outline","ribbon","rice","rickshaw","rickshaw-electric","ring","rivet","road","road-variant","robber","robot","robot-angry","robot-angry-outline","robot-confused","robot-confused-outline","robot-dead","robot-dead-outline","robot-excited","robot-excited-outline","robot-happy","robot-happy-outline","robot-industrial","robot-industrial-outline","robot-love","robot-love-outline","robot-mower","robot-mower-outline","robot-off","robot-off-outline","robot-outline","robot-vacuum","robot-vacuum-alert","robot-vacuum-off","robot-vacuum-variant","robot-vacuum-variant-alert","robot-vacuum-variant-off","rocket","rocket-launch","rocket-launch-outline","rocket-outline","rodent","roller-shade","roller-shade-closed","roller-skate","roller-skate-off","rollerblade","rollerblade-off","rollupjs","rolodex","rolodex-outline","roman-numeral-1","roman-numeral-10","roman-numeral-2","roman-numeral-3","roman-numeral-4","roman-numeral-5","roman-numeral-6","roman-numeral-7","roman-numeral-8","roman-numeral-9","room-service","room-service-outline","rotate-360","rotate-3d","rotate-3d-variant","rotate-left","rotate-left-variant","rotate-orbit","rotate-right","rotate-right-variant","rounded-corner","router","router-network","router-network-wireless","router-wireless","router-wireless-off","router-wireless-settings","routes","routes-clock","rowing","rss","rss-box","rss-off","rug","rugby","ruler","ruler-square","ruler-square-compass","run","run-fast","rv-truck","sack","sack-outline","sack-percent","safe","safe-square","safe-square-outline","safety-goggles","safety-googles","sail-boat","sail-boat-sink","sale","sale-outline","salesforce","sass","satellite","satellite-uplink","satellite-variant","sausage","sausage-off","saw-blade","sawtooth-wave","saxophone","scale","scale-balance","scale-bathroom","scale-off","scale-unbalanced","scan-helper","scanner","scanner-off","scatter-plot","scatter-plot-outline","scent","scent-off","school","school-outline","scissors-cutting","scooter","scooter-electric","scoreboard","scoreboard-outline","screen-rotation","screen-rotation-lock","screw-flat-top","screw-lag","screw-machine-flat-top","screw-machine-round-top","screw-round-top","screwdriver","script","script-outline","script-text","script-text-key","script-text-key-outline","script-text-outline","script-text-play","script-text-play-outline","sd","seal","seal-variant","search-web","seat","seat-flat","seat-flat-angled","seat-individual-suite","seat-legroom-extra","seat-legroom-normal","seat-legroom-reduced","seat-outline","seat-passenger","seat-recline-extra","seat-recline-normal","seatbelt","security","security-close","security-network","seed","seed-off","seed-off-outline","seed-outline","seed-plus","seed-plus-outline","seesaw","segment","select","select-all","select-arrow-down","select-arrow-up","select-color","select-compare","select-drag","select-group","select-inverse","select-marker","select-multiple","select-multiple-marker","select-off","select-place","select-remove","select-search","selection","selection-drag","selection-ellipse","selection-ellipse-arrow-inside","selection-ellipse-remove","selection-lasso","selection-marker","selection-multiple","selection-multiple-marker","selection-off","selection-remove","selection-search","semantic-web","send","send-check","send-check-outline","send-circle","send-circle-outline","send-clock","send-clock-outline","send-lock","send-lock-outline","send-outline","send-variant","send-variant-clock","send-variant-clock-outline","send-variant-outline","serial-port","server","server-minus","server-minus-outline","server-network","server-network-off","server-network-outline","server-off","server-outline","server-plus","server-plus-outline","server-remove","server-security","set-all","set-center","set-center-right","set-left","set-left-center","set-left-right","set-merge","set-none","set-right","set-split","set-square","set-top-box","settings-helper","shaker","shaker-outline","shape","shape-circle-plus","shape-outline","shape-oval-plus","shape-plus","shape-plus-outline","shape-polygon-plus","shape-rectangle-plus","shape-square-plus","shape-square-rounded-plus","share","share-all","share-all-outline","share-circle","share-off","share-off-outline","share-outline","share-variant","share-variant-outline","shark","shark-fin","shark-fin-outline","shark-off","sheep","shield","shield-account","shield-account-outline","shield-account-variant","shield-account-variant-outline","shield-airplane","shield-airplane-outline","shield-alert","shield-alert-outline","shield-bug","shield-bug-outline","shield-car","shield-check","shield-check-outline","shield-cross","shield-cross-outline","shield-crown","shield-crown-outline","shield-edit","shield-edit-outline","shield-half","shield-half-full","shield-home","shield-home-outline","shield-key","shield-key-outline","shield-link-variant","shield-link-variant-outline","shield-lock","shield-lock-open","shield-lock-open-outline","shield-lock-outline","shield-moon","shield-moon-outline","shield-off","shield-off-outline","shield-outline","shield-plus","shield-plus-outline","shield-refresh","shield-refresh-outline","shield-remove","shield-remove-outline","shield-search","shield-star","shield-star-outline","shield-sun","shield-sun-outline","shield-sword","shield-sword-outline","shield-sync","shield-sync-outline","shimmer","ship-wheel","shipping-pallet","shoe-ballet","shoe-cleat","shoe-formal","shoe-heel","shoe-print","shoe-sneaker","shopify","shopping","shopping-music","shopping-outline","shopping-search","shopping-search-outline","shore","shovel","shovel-off","shower","shower-head","shredder","shuffle","shuffle-disabled","shuffle-variant","shuriken","sickle","sigma","sigma-lower","sign-caution","sign-direction","sign-direction-minus","sign-direction-plus","sign-direction-remove","sign-language","sign-language-outline","sign-pole","sign-real-estate","sign-text","sign-yield","signal","signal-2g","signal-3g","signal-4g","signal-5g","signal-cellular-1","signal-cellular-2","signal-cellular-3","signal-cellular-outline","signal-distance-variant","signal-hspa","signal-hspa-plus","signal-off","signal-variant","signature","signature-freehand","signature-image","signature-text","silo","silo-outline","silverware","silverware-clean","silverware-fork","silverware-fork-knife","silverware-spoon","silverware-variant","sim","sim-alert","sim-alert-outline","sim-off","sim-off-outline","sim-outline","simple-icons","sina-weibo","sine-wave","sitemap","sitemap-outline","size-l","size-m","size-s","size-xl","size-xs","size-xxl","size-xxs","size-xxxl","skate","skate-off","skateboard","skateboarding","skew-less","skew-more","ski","ski-cross-country","ski-water","skip-backward","skip-backward-outline","skip-forward","skip-forward-outline","skip-next","skip-next-circle","skip-next-circle-outline","skip-next-outline","skip-previous","skip-previous-circle","skip-previous-circle-outline","skip-previous-outline","skull","skull-crossbones","skull-crossbones-outline","skull-outline","skull-scan","skull-scan-outline","skype","skype-business","slack","slackware","slash-forward","slash-forward-box","sledding","sleep","sleep-off","slide","slope-downhill","slope-uphill","slot-machine","slot-machine-outline","smart-card","smart-card-off","smart-card-off-outline","smart-card-outline","smart-card-reader","smart-card-reader-outline","smog","smoke","smoke-detector","smoke-detector-alert","smoke-detector-alert-outline","smoke-detector-off","smoke-detector-off-outline","smoke-detector-outline","smoke-detector-variant","smoke-detector-variant-alert","smoke-detector-variant-off","smoking","smoking-off","smoking-pipe","smoking-pipe-off","snail","snake","snapchat","snowboard","snowflake","snowflake-alert","snowflake-check","snowflake-melt","snowflake-off","snowflake-thermometer","snowflake-variant","snowman","snowmobile","snowshoeing","soccer","soccer-field","social-distance-2-meters","social-distance-6-feet","sofa","sofa-outline","sofa-single","sofa-single-outline","solar-panel","solar-panel-large","solar-power","solar-power-variant","solar-power-variant-outline","soldering-iron","solid","sony-playstation","sort","sort-alphabetical-ascending","sort-alphabetical-ascending-variant","sort-alphabetical-descending","sort-alphabetical-descending-variant","sort-alphabetical-variant","sort-ascending","sort-bool-ascending","sort-bool-ascending-variant","sort-bool-descending","sort-bool-descending-variant","sort-calendar-ascending","sort-calendar-descending","sort-clock-ascending","sort-clock-ascending-outline","sort-clock-descending","sort-clock-descending-outline","sort-descending","sort-numeric-ascending","sort-numeric-ascending-variant","sort-numeric-descending","sort-numeric-descending-variant","sort-numeric-variant","sort-reverse-variant","sort-variant","sort-variant-lock","sort-variant-lock-open","sort-variant-off","sort-variant-remove","soundbar","soundcloud","source-branch","source-branch-check","source-branch-minus","source-branch-plus","source-branch-refresh","source-branch-remove","source-branch-sync","source-commit","source-commit-end","source-commit-end-local","source-commit-local","source-commit-next-local","source-commit-start","source-commit-start-next-local","source-fork","source-merge","source-pull","source-repository","source-repository-multiple","soy-sauce","soy-sauce-off","spa","spa-outline","space-invaders","space-station","spade","speaker","speaker-bluetooth","speaker-message","speaker-multiple","speaker-off","speaker-pause","speaker-play","speaker-stop","speaker-wireless","spear","speedometer","speedometer-medium","speedometer-slow","spellcheck","sphere","sphere-off","spider","spider-outline","spider-thread","spider-web","spirit-level","split-horizontal","split-vertical","spoon-sugar","spotify","spotlight","spotlight-beam","spray","spray-bottle","spreadsheet","sprinkler","sprinkler-fire","sprinkler-variant","sprout","sprout-outline","square","square-circle","square-circle-outline","square-edit-outline","square-inc","square-inc-cash","square-medium","square-medium-outline","square-off","square-off-outline","square-opacity","square-outline","square-root","square-root-box","square-rounded","square-rounded-badge","square-rounded-badge-outline","square-rounded-outline","square-small","square-wave","squeegee","ssh","stack-exchange","stack-overflow","stackpath","stadium","stadium-outline","stadium-variant","stairs","stairs-box","stairs-down","stairs-up","stamper","standard-definition","star","star-box","star-box-multiple","star-box-multiple-outline","star-box-outline","star-check","star-check-outline","star-circle","star-circle-outline","star-cog","star-cog-outline","star-crescent","star-david","star-face","star-four-points","star-four-points-box","star-four-points-box-outline","star-four-points-circle","star-four-points-circle-outline","star-four-points-outline","star-four-points-small","star-half","star-half-full","star-minus","star-minus-outline","star-off","star-off-outline","star-outline","star-plus","star-plus-outline","star-remove","star-remove-outline","star-settings","star-settings-outline","star-shooting","star-shooting-outline","star-three-points","star-three-points-outline","state-machine","steam","steam-box","steering","steering-off","step-backward","step-backward-2","step-forward","step-forward-2","stethoscope","sticker","sticker-alert","sticker-alert-outline","sticker-check","sticker-check-outline","sticker-circle-outline","sticker-emoji","sticker-minus","sticker-minus-outline","sticker-outline","sticker-plus","sticker-plus-outline","sticker-remove","sticker-remove-outline","sticker-text","sticker-text-outline","stocking","stomach","stool","stool-outline","stop","stop-circle","stop-circle-outline","storage-tank","storage-tank-outline","store","store-24-hour","store-alert","store-alert-outline","store-check","store-check-outline","store-clock","store-clock-outline","store-cog","store-cog-outline","store-edit","store-edit-outline","store-marker","store-marker-outline","store-minus","store-minus-outline","store-off","store-off-outline","store-outline","store-plus","store-plus-outline","store-remove","store-remove-outline","store-search","store-search-outline","store-settings","store-settings-outline","storefront","storefront-check","storefront-check-outline","storefront-edit","storefront-edit-outline","storefront-minus","storefront-minus-outline","storefront-outline","storefront-plus","storefront-plus-outline","storefront-remove","storefront-remove-outline","stove","strategy","strava","stretch-to-page","stretch-to-page-outline","string-lights","string-lights-off","subdirectory-arrow-left","subdirectory-arrow-right","submarine","subtitles","subtitles-outline","subway","subway-alert-variant","subway-variant","summit","sun-angle","sun-angle-outline","sun-clock","sun-clock-outline","sun-compass","sun-snowflake","sun-snowflake-variant","sun-thermometer","sun-thermometer-outline","sun-wireless","sun-wireless-outline","sunglasses","surfing","surround-sound","surround-sound-2-0","surround-sound-2-1","surround-sound-3-1","surround-sound-5-1","surround-sound-5-1-2","surround-sound-7-1","svg","swap-horizontal","swap-horizontal-bold","swap-horizontal-circle","swap-horizontal-circle-outline","swap-horizontal-hidden","swap-horizontal-variant","swap-vertical","swap-vertical-bold","swap-vertical-circle","swap-vertical-circle-outline","swap-vertical-variant","swim","switch","sword","sword-cross","syllabary-hangul","syllabary-hiragana","syllabary-katakana","syllabary-katakana-halfwidth","symbol","symfony","synagogue","synagogue-outline","sync","sync-alert","sync-circle","sync-off","tab","tab-minus","tab-plus","tab-remove","tab-search","tab-unselected","table","table-account","table-alert","table-arrow-down","table-arrow-left","table-arrow-right","table-arrow-up","table-border","table-cancel","table-chair","table-check","table-clock","table-cog","table-column","table-column-plus-after","table-column-plus-before","table-column-remove","table-column-width","table-edit","table-eye","table-eye-off","table-filter","table-furniture","table-headers-eye","table-headers-eye-off","table-heart","table-key","table-large","table-large-plus","table-large-remove","table-lock","table-merge-cells","table-minus","table-multiple","table-network","table-of-contents","table-off","table-picnic","table-pivot","table-plus","table-question","table-refresh","table-remove","table-row","table-row-height","table-row-plus-after","table-row-plus-before","table-row-remove","table-search","table-settings","table-split-cell","table-star","table-sync","table-tennis","tablet","tablet-android","tablet-cellphone","tablet-dashboard","tablet-ipad","taco","tag","tag-arrow-down","tag-arrow-down-outline","tag-arrow-left","tag-arrow-left-outline","tag-arrow-right","tag-arrow-right-outline","tag-arrow-up","tag-arrow-up-outline","tag-check","tag-check-outline","tag-edit","tag-edit-outline","tag-faces","tag-heart","tag-heart-outline","tag-hidden","tag-minus","tag-minus-outline","tag-multiple","tag-multiple-outline","tag-off","tag-off-outline","tag-outline","tag-plus","tag-plus-outline","tag-remove","tag-remove-outline","tag-search","tag-search-outline","tag-text","tag-text-outline","tailwind","tally-mark-1","tally-mark-2","tally-mark-3","tally-mark-4","tally-mark-5","tangram","tank","tanker-truck","tape-drive","tape-measure","target","target-account","target-variant","taxi","tea","tea-outline","teamspeak","teamviewer","teddy-bear","telegram","telescope","television","television-ambient-light","television-box","television-classic","television-classic-off","television-guide","television-off","television-pause","television-play","television-shimmer","television-speaker","television-speaker-off","television-stop","temperature-celsius","temperature-fahrenheit","temperature-kelvin","temple-buddhist","temple-buddhist-outline","temple-hindu","temple-hindu-outline","tennis","tennis-ball","tennis-ball-outline","tent","terraform","terrain","test-tube","test-tube-empty","test-tube-off","text","text-account","text-box","text-box-check","text-box-check-outline","text-box-edit","text-box-edit-outline","text-box-minus","text-box-minus-outline","text-box-multiple","text-box-multiple-outline","text-box-outline","text-box-plus","text-box-plus-outline","text-box-remove","text-box-remove-outline","text-box-search","text-box-search-outline","text-long","text-recognition","text-search","text-search-variant","text-shadow","text-short","texture","texture-box","theater","theme-light-dark","thermometer","thermometer-alert","thermometer-auto","thermometer-bluetooth","thermometer-check","thermometer-chevron-down","thermometer-chevron-up","thermometer-high","thermometer-lines","thermometer-low","thermometer-minus","thermometer-off","thermometer-plus","thermometer-probe","thermometer-probe-off","thermometer-water","thermostat","thermostat-auto","thermostat-box","thermostat-box-auto","thermostat-cog","thought-bubble","thought-bubble-outline","thumb-down","thumb-down-outline","thumb-up","thumb-up-outline","thumbs-up-down","thumbs-up-down-outline","ticket","ticket-account","ticket-confirmation","ticket-confirmation-outline","ticket-outline","ticket-percent","ticket-percent-outline","tie","tilde","tilde-off","timelapse","timeline","timeline-alert","timeline-alert-outline","timeline-check","timeline-check-outline","timeline-clock","timeline-clock-outline","timeline-minus","timeline-minus-outline","timeline-outline","timeline-plus","timeline-plus-outline","timeline-question","timeline-question-outline","timeline-remove","timeline-remove-outline","timeline-text","timeline-text-outline","timer","timer-10","timer-3","timer-alert","timer-alert-outline","timer-cancel","timer-cancel-outline","timer-check","timer-check-outline","timer-cog","timer-cog-outline","timer-edit","timer-edit-outline","timer-lock","timer-lock-open","timer-lock-open-outline","timer-lock-outline","timer-marker","timer-marker-outline","timer-minus","timer-minus-outline","timer-music","timer-music-outline","timer-off","timer-off-outline","timer-outline","timer-pause","timer-pause-outline","timer-play","timer-play-outline","timer-plus","timer-plus-outline","timer-refresh","timer-refresh-outline","timer-remove","timer-remove-outline","timer-sand","timer-sand-complete","timer-sand-empty","timer-sand-full","timer-sand-paused","timer-settings","timer-settings-outline","timer-star","timer-star-outline","timer-stop","timer-stop-outline","timer-sync","timer-sync-outline","timetable","tire","toaster","toaster-off","toaster-oven","toggle-switch","toggle-switch-off","toggle-switch-off-outline","toggle-switch-outline","toggle-switch-variant","toggle-switch-variant-off","toilet","toolbox","toolbox-outline","tools","tooltip","tooltip-account","tooltip-cellphone","tooltip-check","tooltip-check-outline","tooltip-edit","tooltip-edit-outline","tooltip-image","tooltip-image-outline","tooltip-minus","tooltip-minus-outline","tooltip-outline","tooltip-plus","tooltip-plus-outline","tooltip-question","tooltip-question-outline","tooltip-remove","tooltip-remove-outline","tooltip-text","tooltip-text-outline","tooth","tooth-outline","toothbrush","toothbrush-electric","toothbrush-paste","tor","torch","tortoise","toslink","touch-text-outline","tournament","tow-truck","tower-beach","tower-fire","town-hall","toy-brick","toy-brick-marker","toy-brick-marker-outline","toy-brick-minus","toy-brick-minus-outline","toy-brick-outline","toy-brick-plus","toy-brick-plus-outline","toy-brick-remove","toy-brick-remove-outline","toy-brick-search","toy-brick-search-outline","track-light","track-light-off","trackpad","trackpad-lock","tractor","tractor-variant","trademark","traffic-cone","traffic-light","traffic-light-outline","train","train-bus","train-car","train-car-autorack","train-car-box","train-car-box-full","train-car-box-open","train-car-caboose","train-car-centerbeam","train-car-centerbeam-full","train-car-container","train-car-flatbed","train-car-flatbed-car","train-car-flatbed-tank","train-car-gondola","train-car-gondola-full","train-car-hopper","train-car-hopper-covered","train-car-hopper-full","train-car-intermodal","train-car-passenger","train-car-passenger-door","train-car-passenger-door-open","train-car-passenger-variant","train-car-tank","train-variant","tram","tram-side","transcribe","transcribe-close","transfer","transfer-down","transfer-left","transfer-right","transfer-up","transit-connection","transit-connection-horizontal","transit-connection-variant","transit-detour","transit-skip","transit-transfer","transition","transition-masked","translate","translate-off","translate-variant","transmission-tower","transmission-tower-export","transmission-tower-import","transmission-tower-off","trash-can","trash-can-outline","tray","tray-alert","tray-arrow-down","tray-arrow-up","tray-full","tray-minus","tray-plus","tray-remove","treasure-chest","treasure-chest-outline","tree","tree-outline","trello","trending-down","trending-neutral","trending-up","triangle","triangle-down","triangle-down-outline","triangle-outline","triangle-small-down","triangle-small-up","triangle-wave","triforce","trophy","trophy-award","trophy-broken","trophy-outline","trophy-variant","trophy-variant-outline","truck","truck-alert","truck-alert-outline","truck-cargo-container","truck-check","truck-check-outline","truck-delivery","truck-delivery-outline","truck-fast","truck-fast-outline","truck-flatbed","truck-minus","truck-minus-outline","truck-off-road","truck-off-road-off","truck-outline","truck-plus","truck-plus-outline","truck-remove","truck-remove-outline","truck-snowflake","truck-trailer","trumpet","tshirt-crew","tshirt-crew-outline","tshirt-v","tshirt-v-outline","tsunami","tumble-dryer","tumble-dryer-alert","tumble-dryer-off","tumblr","tumblr-box","tumblr-reblog","tune","tune-variant","tune-vertical","tune-vertical-variant","tunnel","tunnel-outline","turbine","turkey","turnstile","turnstile-outline","turtle","twitch","twitter","twitter-box","twitter-circle","two-factor-authentication","typewriter","uber","ubisoft","ubuntu","ufo","ufo-outline","ultra-high-definition","umbraco","umbrella","umbrella-beach","umbrella-beach-outline","umbrella-closed","umbrella-closed-outline","umbrella-closed-variant","umbrella-outline","underwear-outline","undo","undo-variant","unfold-less-horizontal","unfold-less-vertical","unfold-more-horizontal","unfold-more-vertical","ungroup","unicode","unicorn","unicorn-variant","unicycle","unity","unreal","untappd","update","upload","upload-box","upload-box-outline","upload-circle","upload-circle-outline","upload-lock","upload-lock-outline","upload-multiple","upload-multiple-outline","upload-network","upload-network-outline","upload-off","upload-off-outline","upload-outline","usb","usb-c-port","usb-flash-drive","usb-flash-drive-outline","usb-port","vacuum","vacuum-outline","valve","valve-closed","valve-open","van-passenger","van-utility","vanish","vanish-quarter","vanity-light","variable","variable-box","vector-arrange-above","vector-arrange-below","vector-bezier","vector-circle","vector-circle-variant","vector-combine","vector-curve","vector-difference","vector-difference-ab","vector-difference-ba","vector-ellipse","vector-intersection","vector-line","vector-link","vector-point","vector-point-edit","vector-point-minus","vector-point-plus","vector-point-select","vector-polygon","vector-polygon-variant","vector-polyline","vector-polyline-edit","vector-polyline-minus","vector-polyline-plus","vector-polyline-remove","vector-radius","vector-rectangle","vector-selection","vector-square","vector-square-close","vector-square-edit","vector-square-minus","vector-square-open","vector-square-plus","vector-square-remove","vector-triangle","vector-union","venmo","vhs","vibrate","vibrate-off","video","video-2d","video-3d","video-3d-off","video-3d-variant","video-4k-box","video-account","video-box","video-box-off","video-check","video-check-outline","video-high-definition","video-image","video-input-antenna","video-input-component","video-input-hdmi","video-input-scart","video-input-svideo","video-marker","video-marker-outline","video-minus","video-minus-outline","video-off","video-off-outline","video-outline","video-plus","video-plus-outline","video-stabilization","video-standard-definition","video-switch","video-switch-outline","video-vintage","video-wireless","video-wireless-outline","view-agenda","view-agenda-outline","view-array","view-array-outline","view-carousel","view-carousel-outline","view-column","view-column-outline","view-comfy","view-comfy-outline","view-compact","view-compact-outline","view-dashboard","view-dashboard-edit","view-dashboard-edit-outline","view-dashboard-outline","view-dashboard-variant","view-dashboard-variant-outline","view-day","view-day-outline","view-gallery","view-gallery-outline","view-grid","view-grid-compact","view-grid-outline","view-grid-plus","view-grid-plus-outline","view-headline","view-list","view-list-outline","view-module","view-module-outline","view-parallel","view-parallel-outline","view-quilt","view-quilt-outline","view-sequential","view-sequential-outline","view-split-horizontal","view-split-vertical","view-stream","view-stream-outline","view-week","view-week-outline","vimeo","vine","violin","virtual-reality","virus","virus-off","virus-off-outline","virus-outline","vk","vk-box","vk-circle","vlc","voicemail","volcano","volcano-outline","volleyball","volume","volume-equal","volume-high","volume-low","volume-medium","volume-minus","volume-mute","volume-off","volume-plus","volume-source","volume-variant-off","volume-vibrate","vote","vote-outline","vpn","vuejs","vuetify","walk","wall","wall-fire","wall-sconce","wall-sconce-flat","wall-sconce-flat-outline","wall-sconce-flat-variant","wall-sconce-flat-variant-outline","wall-sconce-outline","wall-sconce-round","wall-sconce-round-outline","wall-sconce-round-variant","wall-sconce-round-variant-outline","wall-sconce-variant","wallet","wallet-bifold","wallet-bifold-outline","wallet-giftcard","wallet-membership","wallet-outline","wallet-plus","wallet-plus-outline","wallet-travel","wallpaper","wan","wardrobe","wardrobe-outline","warehouse","washing-machine","washing-machine-alert","washing-machine-off","watch","watch-export","watch-export-variant","watch-import","watch-import-variant","watch-variant","watch-vibrate","watch-vibrate-off","water","water-alert","water-alert-outline","water-boiler","water-boiler-alert","water-boiler-auto","water-boiler-off","water-check","water-check-outline","water-circle","water-minus","water-minus-outline","water-off","water-off-outline","water-opacity","water-outline","water-percent","water-percent-alert","water-plus","water-plus-outline","water-polo","water-pump","water-pump-off","water-remove","water-remove-outline","water-sync","water-thermometer","water-thermometer-outline","water-well","water-well-outline","waterfall","watering-can","watering-can-outline","watermark","wave","wave-arrow-down","wave-arrow-up","wave-undercurrent","waveform","waves","waves-arrow-left","waves-arrow-right","waves-arrow-up","waze","weather-cloudy","weather-cloudy-alert","weather-cloudy-arrow-right","weather-cloudy-clock","weather-dust","weather-fog","weather-hail","weather-hazy","weather-hurricane","weather-hurricane-outline","weather-lightning","weather-lightning-rainy","weather-moonset","weather-moonset-down","weather-moonset-up","weather-night","weather-night-partly-cloudy","weather-partly-cloudy","weather-partly-lightning","weather-partly-rainy","weather-partly-snowy","weather-partly-snowy-rainy","weather-pouring","weather-rainy","weather-snowy","weather-snowy-heavy","weather-snowy-rainy","weather-sunny","weather-sunny-alert","weather-sunny-off","weather-sunset","weather-sunset-down","weather-sunset-up","weather-tornado","weather-windy","weather-windy-variant","web","web-box","web-cancel","web-check","web-clock","web-minus","web-off","web-plus","web-refresh","web-remove","web-sync","webcam","webcam-off","webhook","webpack","webrtc","wechat","weight","weight-gram","weight-kilogram","weight-lifter","weight-pound","whatsapp","wheel-barrow","wheelchair","wheelchair-accessibility","whistle","whistle-outline","white-balance-auto","white-balance-incandescent","white-balance-iridescent","white-balance-sunny","widgets","widgets-outline","wifi","wifi-alert","wifi-arrow-down","wifi-arrow-left","wifi-arrow-left-right","wifi-arrow-right","wifi-arrow-up","wifi-arrow-up-down","wifi-cancel","wifi-check","wifi-cog","wifi-lock","wifi-lock-open","wifi-marker","wifi-minus","wifi-off","wifi-plus","wifi-refresh","wifi-remove","wifi-settings","wifi-star","wifi-strength-1","wifi-strength-1-alert","wifi-strength-1-lock","wifi-strength-1-lock-open","wifi-strength-2","wifi-strength-2-alert","wifi-strength-2-lock","wifi-strength-2-lock-open","wifi-strength-3","wifi-strength-3-alert","wifi-strength-3-lock","wifi-strength-3-lock-open","wifi-strength-4","wifi-strength-4-alert","wifi-strength-4-lock","wifi-strength-4-lock-open","wifi-strength-alert-outline","wifi-strength-lock-open-outline","wifi-strength-lock-outline","wifi-strength-off","wifi-strength-off-outline","wifi-strength-outline","wifi-sync","wikipedia","wind-power","wind-power-outline","wind-turbine","wind-turbine-alert","wind-turbine-check","window-close","window-closed","window-closed-variant","window-maximize","window-minimize","window-open","window-open-variant","window-restore","window-shutter","window-shutter-alert","window-shutter-auto","window-shutter-cog","window-shutter-open","window-shutter-settings","windsock","wiper","wiper-wash","wiper-wash-alert","wizard-hat","wordpress","wrap","wrap-disabled","wrench","wrench-check","wrench-check-outline","wrench-clock","wrench-clock-outline","wrench-cog","wrench-cog-outline","wrench-outline","wunderlist","xamarin","xamarin-outline","xda","xing","xing-circle","xml","xmpp","y-combinator","yahoo","yammer","yeast","yelp","yin-yang","yoga","youtube","youtube-gaming","youtube-studio","youtube-subscription","youtube-tv","yurt","z-wave","zend","zigbee","zip-box","zip-box-outline","zip-disk","zodiac-aquarius","zodiac-aries","zodiac-cancer","zodiac-capricorn","zodiac-gemini","zodiac-leo","zodiac-libra","zodiac-pisces","zodiac-sagittarius","zodiac-scorpio","zodiac-taurus","zodiac-virgo"]},{prefix:"ri",info:{name:"Remix Icon",total:2704,version:"4.0.0",author:{name:"Remix Design",url:"https://github.com/Remix-Design/RemixIcon"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Remix-Design/RemixIcon/blob/master/License"},samples:["lock-2-line","mark-pen-fill","moon-line"],height:24,category:"General",palette:!1},icons:["24-hours-fill","24-hours-line","4k-fill","4k-line","a-b","account-box-fill","account-box-line","account-circle-fill","account-circle-line","account-pin-box-fill","account-pin-box-line","account-pin-circle-fill","account-pin-circle-line","add-box-fill","add-box-line","add-circle-fill","add-circle-line","add-fill","add-line","admin-fill","admin-line","advertisement-fill","advertisement-line","ai-generate","airplay-fill","airplay-line","alarm-fill","alarm-line","alarm-warning-fill","alarm-warning-line","album-fill","album-line","alert-fill","alert-line","aliens-fill","aliens-line","align-bottom","align-center","align-justify","align-left","align-right","align-top","align-vertically","alipay-fill","alipay-line","amazon-fill","amazon-line","anchor-fill","anchor-line","ancient-gate-fill","ancient-gate-line","ancient-pavilion-fill","ancient-pavilion-line","android-fill","android-line","angularjs-fill","angularjs-line","anticlockwise-2-fill","anticlockwise-2-line","anticlockwise-fill","anticlockwise-line","app-store-fill","app-store-line","apple-fill","apple-line","apps-2-fill","apps-2-line","apps-fill","apps-line","archive-2-fill","archive-2-line","archive-drawer-fill","archive-drawer-line","archive-fill","archive-line","archive-stack-fill","archive-stack-line","armchair-fill","armchair-line","arrow-down-circle-fill","arrow-down-circle-line","arrow-down-double-fill","arrow-down-double-line","arrow-down-fill","arrow-down-line","arrow-down-s-fill","arrow-down-s-line","arrow-drop-down-fill","arrow-drop-down-line","arrow-drop-left-fill","arrow-drop-left-line","arrow-drop-right-fill","arrow-drop-right-line","arrow-drop-up-fill","arrow-drop-up-line","arrow-go-back-fill","arrow-go-back-line","arrow-go-forward-fill","arrow-go-forward-line","arrow-left-circle-fill","arrow-left-circle-line","arrow-left-double-fill","arrow-left-double-line","arrow-left-down-fill","arrow-left-down-line","arrow-left-fill","arrow-left-line","arrow-left-right-fill","arrow-left-right-line","arrow-left-s-fill","arrow-left-s-line","arrow-left-up-fill","arrow-left-up-line","arrow-right-circle-fill","arrow-right-circle-line","arrow-right-double-fill","arrow-right-double-line","arrow-right-down-fill","arrow-right-down-line","arrow-right-fill","arrow-right-line","arrow-right-s-fill","arrow-right-s-line","arrow-right-up-fill","arrow-right-up-line","arrow-turn-back-fill","arrow-turn-back-line","arrow-turn-forward-fill","arrow-turn-forward-line","arrow-up-circle-fill","arrow-up-circle-line","arrow-up-double-fill","arrow-up-double-line","arrow-up-down-fill","arrow-up-down-line","arrow-up-fill","arrow-up-line","arrow-up-s-fill","arrow-up-s-line","artboard-2-fill","artboard-2-line","artboard-fill","artboard-line","article-fill","article-line","aspect-ratio-fill","aspect-ratio-line","asterisk","at-fill","at-line","attachment-2","attachment-fill","attachment-line","auction-fill","auction-line","award-fill","award-line","baidu-fill","baidu-line","ball-pen-fill","ball-pen-line","bank-card-2-fill","bank-card-2-line","bank-card-fill","bank-card-line","bank-fill","bank-line","bar-chart-2-fill","bar-chart-2-line","bar-chart-box-fill","bar-chart-box-line","bar-chart-fill","bar-chart-grouped-fill","bar-chart-grouped-line","bar-chart-horizontal-fill","bar-chart-horizontal-line","bar-chart-line","barcode-box-fill","barcode-box-line","barcode-fill","barcode-line","bard-fill","bard-line","barricade-fill","barricade-line","base-station-fill","base-station-line","basketball-fill","basketball-line","battery-2-charge-fill","battery-2-charge-line","battery-2-fill","battery-2-line","battery-charge-fill","battery-charge-line","battery-fill","battery-line","battery-low-fill","battery-low-line","battery-saver-fill","battery-saver-line","battery-share-fill","battery-share-line","bear-smile-fill","bear-smile-line","beer-fill","beer-line","behance-fill","behance-line","bell-fill","bell-line","bike-fill","bike-line","bilibili-fill","bilibili-line","bill-fill","bill-line","billiards-fill","billiards-line","bit-coin-fill","bit-coin-line","blaze-fill","blaze-line","blender-fill","blender-line","blogger-fill","blogger-line","bluetooth-connect-fill","bluetooth-connect-line","bluetooth-fill","bluetooth-line","blur-off-fill","blur-off-line","bnb-fill","bnb-line","body-scan-fill","body-scan-line","bold","book-2-fill","book-2-line","book-3-fill","book-3-line","book-fill","book-line","book-marked-fill","book-marked-line","book-open-fill","book-open-line","book-read-fill","book-read-line","booklet-fill","booklet-line","bookmark-2-fill","bookmark-2-line","bookmark-3-fill","bookmark-3-line","bookmark-fill","bookmark-line","bootstrap-fill","bootstrap-line","bowl-fill","bowl-line","box-1-fill","box-1-line","box-2-fill","box-2-line","box-3-fill","box-3-line","boxing-fill","boxing-line","braces-fill","braces-line","brackets-fill","brackets-line","brain-fill","brain-line","bread-fill","bread-line","briefcase-2-fill","briefcase-2-line","briefcase-3-fill","briefcase-3-line","briefcase-4-fill","briefcase-4-line","briefcase-5-fill","briefcase-5-line","briefcase-fill","briefcase-line","bring-forward","bring-to-front","broadcast-fill","broadcast-line","brush-2-fill","brush-2-line","brush-3-fill","brush-3-line","brush-4-fill","brush-4-line","brush-fill","brush-line","btc-fill","btc-line","bubble-chart-fill","bubble-chart-line","bug-2-fill","bug-2-line","bug-fill","bug-line","building-2-fill","building-2-line","building-3-fill","building-3-line","building-4-fill","building-4-line","building-fill","building-line","bus-2-fill","bus-2-line","bus-fill","bus-line","bus-wifi-fill","bus-wifi-line","cactus-fill","cactus-line","cake-2-fill","cake-2-line","cake-3-fill","cake-3-line","cake-fill","cake-line","calculator-fill","calculator-line","calendar-2-fill","calendar-2-line","calendar-check-fill","calendar-check-line","calendar-close-fill","calendar-close-line","calendar-event-fill","calendar-event-line","calendar-fill","calendar-line","calendar-schedule-fill","calendar-schedule-line","calendar-todo-fill","calendar-todo-line","calendar-view","camera-2-fill","camera-2-line","camera-3-fill","camera-3-line","camera-fill","camera-lens-fill","camera-lens-line","camera-line","camera-off-fill","camera-off-line","camera-switch-fill","camera-switch-line","candle-fill","candle-line","capsule-fill","capsule-line","car-fill","car-line","car-washing-fill","car-washing-line","caravan-fill","caravan-line","carousel-view","cash-fill","cash-line","cast-fill","cast-line","cellphone-fill","cellphone-line","celsius-fill","celsius-line","centos-fill","centos-line","character-recognition-fill","character-recognition-line","charging-pile-2-fill","charging-pile-2-line","charging-pile-fill","charging-pile-line","chat-1-fill","chat-1-line","chat-2-fill","chat-2-line","chat-3-fill","chat-3-line","chat-4-fill","chat-4-line","chat-check-fill","chat-check-line","chat-delete-fill","chat-delete-line","chat-download-fill","chat-download-line","chat-follow-up-fill","chat-follow-up-line","chat-forward-fill","chat-forward-line","chat-heart-fill","chat-heart-line","chat-history-fill","chat-history-line","chat-new-fill","chat-new-line","chat-off-fill","chat-off-line","chat-poll-fill","chat-poll-line","chat-private-fill","chat-private-line","chat-quote-fill","chat-quote-line","chat-settings-fill","chat-settings-line","chat-smile-2-fill","chat-smile-2-line","chat-smile-3-fill","chat-smile-3-line","chat-smile-fill","chat-smile-line","chat-thread-fill","chat-thread-line","chat-upload-fill","chat-upload-line","chat-voice-fill","chat-voice-line","check-double-fill","check-double-line","check-fill","check-line","checkbox-blank-circle-fill","checkbox-blank-circle-line","checkbox-blank-fill","checkbox-blank-line","checkbox-circle-fill","checkbox-circle-line","checkbox-fill","checkbox-indeterminate-fill","checkbox-indeterminate-line","checkbox-line","checkbox-multiple-blank-fill","checkbox-multiple-blank-line","checkbox-multiple-fill","checkbox-multiple-line","china-railway-fill","china-railway-line","chrome-fill","chrome-line","circle-fill","circle-line","clapperboard-fill","clapperboard-line","clipboard-fill","clipboard-line","clockwise-2-fill","clockwise-2-line","clockwise-fill","clockwise-line","close-circle-fill","close-circle-line","close-fill","close-line","closed-captioning-fill","closed-captioning-line","cloud-fill","cloud-line","cloud-off-fill","cloud-off-line","cloud-windy-fill","cloud-windy-line","cloudy-2-fill","cloudy-2-line","cloudy-fill","cloudy-line","code-block","code-box-fill","code-box-line","code-fill","code-line","code-s-fill","code-s-line","code-s-slash-fill","code-s-slash-line","code-view","codepen-fill","codepen-line","coin-fill","coin-line","coins-fill","coins-line","collage-fill","collage-line","color-filter-fill","color-filter-line","command-fill","command-line","community-fill","community-line","compass-2-fill","compass-2-line","compass-3-fill","compass-3-line","compass-4-fill","compass-4-line","compass-discover-fill","compass-discover-line","compass-fill","compass-line","compasses-2-fill","compasses-2-line","compasses-fill","compasses-line","computer-fill","computer-line","contacts-book-2-fill","contacts-book-2-line","contacts-book-3-fill","contacts-book-3-line","contacts-book-fill","contacts-book-line","contacts-book-upload-fill","contacts-book-upload-line","contacts-fill","contacts-line","contract-fill","contract-left-fill","contract-left-line","contract-left-right-fill","contract-left-right-line","contract-line","contract-right-fill","contract-right-line","contract-up-down-fill","contract-up-down-line","contrast-2-fill","contrast-2-line","contrast-drop-2-fill","contrast-drop-2-line","contrast-drop-fill","contrast-drop-line","contrast-fill","contrast-line","copilot-fill","copilot-line","copper-coin-fill","copper-coin-line","copper-diamond-fill","copper-diamond-line","copyleft-fill","copyleft-line","copyright-fill","copyright-line","coreos-fill","coreos-line","corner-down-left-fill","corner-down-left-line","corner-down-right-fill","corner-down-right-line","corner-left-down-fill","corner-left-down-line","corner-left-up-fill","corner-left-up-line","corner-right-down-fill","corner-right-down-line","corner-right-up-fill","corner-right-up-line","corner-up-left-double-fill","corner-up-left-double-line","corner-up-left-fill","corner-up-left-line","corner-up-right-double-fill","corner-up-right-double-line","corner-up-right-fill","corner-up-right-line","coupon-2-fill","coupon-2-line","coupon-3-fill","coupon-3-line","coupon-4-fill","coupon-4-line","coupon-5-fill","coupon-5-line","coupon-fill","coupon-line","cpu-fill","cpu-line","creative-commons-by-fill","creative-commons-by-line","creative-commons-fill","creative-commons-line","creative-commons-nc-fill","creative-commons-nc-line","creative-commons-nd-fill","creative-commons-nd-line","creative-commons-sa-fill","creative-commons-sa-line","creative-commons-zero-fill","creative-commons-zero-line","criminal-fill","criminal-line","crop-2-fill","crop-2-line","crop-fill","crop-line","cross-fill","cross-line","crosshair-2-fill","crosshair-2-line","crosshair-fill","crosshair-line","css3-fill","css3-line","cup-fill","cup-line","currency-fill","currency-line","cursor-fill","cursor-line","customer-service-2-fill","customer-service-2-line","customer-service-fill","customer-service-line","dashboard-2-fill","dashboard-2-line","dashboard-3-fill","dashboard-3-line","dashboard-fill","dashboard-line","database-2-fill","database-2-line","database-fill","database-line","delete-back-2-fill","delete-back-2-line","delete-back-fill","delete-back-line","delete-bin-2-fill","delete-bin-2-line","delete-bin-3-fill","delete-bin-3-line","delete-bin-4-fill","delete-bin-4-line","delete-bin-5-fill","delete-bin-5-line","delete-bin-6-fill","delete-bin-6-line","delete-bin-7-fill","delete-bin-7-line","delete-bin-fill","delete-bin-line","delete-column","delete-row","device-fill","device-line","device-recover-fill","device-recover-line","dice-1-fill","dice-1-line","dice-2-fill","dice-2-line","dice-3-fill","dice-3-line","dice-4-fill","dice-4-line","dice-5-fill","dice-5-line","dice-6-fill","dice-6-line","dice-fill","dice-line","dingding-fill","dingding-line","direction-fill","direction-line","disc-fill","disc-line","discord-fill","discord-line","discount-percent-fill","discount-percent-line","discuss-fill","discuss-line","dislike-fill","dislike-line","disqus-fill","disqus-line","divide-fill","divide-line","donut-chart-fill","donut-chart-line","door-closed-fill","door-closed-line","door-fill","door-line","door-lock-box-fill","door-lock-box-line","door-lock-fill","door-lock-line","door-open-fill","door-open-line","dossier-fill","dossier-line","douban-fill","douban-line","double-quotes-l","double-quotes-r","download-2-fill","download-2-line","download-cloud-2-fill","download-cloud-2-line","download-cloud-fill","download-cloud-line","download-fill","download-line","draft-fill","draft-line","drag-drop-fill","drag-drop-line","drag-move-2-fill","drag-move-2-line","drag-move-fill","drag-move-line","draggable","dribbble-fill","dribbble-line","drinks-2-fill","drinks-2-line","drinks-fill","drinks-line","drive-fill","drive-line","drizzle-fill","drizzle-line","drop-fill","drop-line","dropbox-fill","dropbox-line","dropdown-list","dual-sim-1-fill","dual-sim-1-line","dual-sim-2-fill","dual-sim-2-line","dv-fill","dv-line","dvd-fill","dvd-line","e-bike-2-fill","e-bike-2-line","e-bike-fill","e-bike-line","earth-fill","earth-line","earthquake-fill","earthquake-line","edge-fill","edge-line","edge-new-fill","edge-new-line","edit-2-fill","edit-2-line","edit-box-fill","edit-box-line","edit-circle-fill","edit-circle-line","edit-fill","edit-line","eject-fill","eject-line","emoji-sticker-fill","emoji-sticker-line","emotion-2-fill","emotion-2-line","emotion-fill","emotion-happy-fill","emotion-happy-line","emotion-laugh-fill","emotion-laugh-line","emotion-line","emotion-normal-fill","emotion-normal-line","emotion-sad-fill","emotion-sad-line","emotion-unhappy-fill","emotion-unhappy-line","empathize-fill","empathize-line","emphasis","emphasis-cn","english-input","equal-fill","equal-line","equalizer-2-fill","equalizer-2-line","equalizer-3-fill","equalizer-3-line","equalizer-fill","equalizer-line","eraser-fill","eraser-line","error-warning-fill","error-warning-line","eth-fill","eth-line","evernote-fill","evernote-line","exchange-2-fill","exchange-2-line","exchange-box-fill","exchange-box-line","exchange-cny-fill","exchange-cny-line","exchange-dollar-fill","exchange-dollar-line","exchange-fill","exchange-funds-fill","exchange-funds-line","exchange-line","expand-left-fill","expand-left-line","expand-left-right-fill","expand-left-right-line","expand-right-fill","expand-right-line","expand-up-down-fill","expand-up-down-line","export-fill","export-line","external-link-fill","external-link-line","eye-2-fill","eye-2-line","eye-close-fill","eye-close-line","eye-fill","eye-line","eye-off-fill","eye-off-line","facebook-box-fill","facebook-box-line","facebook-circle-fill","facebook-circle-line","facebook-fill","facebook-line","fahrenheit-fill","fahrenheit-line","feedback-fill","feedback-line","file-2-fill","file-2-line","file-3-fill","file-3-line","file-4-fill","file-4-line","file-add-fill","file-add-line","file-chart-2-fill","file-chart-2-line","file-chart-fill","file-chart-line","file-check-fill","file-check-line","file-close-fill","file-close-line","file-cloud-fill","file-cloud-line","file-code-fill","file-code-line","file-copy-2-fill","file-copy-2-line","file-copy-fill","file-copy-line","file-damage-fill","file-damage-line","file-download-fill","file-download-line","file-edit-fill","file-edit-line","file-excel-2-fill","file-excel-2-line","file-excel-fill","file-excel-line","file-fill","file-forbid-fill","file-forbid-line","file-gif-fill","file-gif-line","file-history-fill","file-history-line","file-hwp-fill","file-hwp-line","file-image-fill","file-image-line","file-info-fill","file-info-line","file-line","file-list-2-fill","file-list-2-line","file-list-3-fill","file-list-3-line","file-list-fill","file-list-line","file-lock-fill","file-lock-line","file-marked-fill","file-marked-line","file-music-fill","file-music-line","file-paper-2-fill","file-paper-2-line","file-paper-fill","file-paper-line","file-pdf-2-fill","file-pdf-2-line","file-pdf-fill","file-pdf-line","file-ppt-2-fill","file-ppt-2-line","file-ppt-fill","file-ppt-line","file-reduce-fill","file-reduce-line","file-search-fill","file-search-line","file-settings-fill","file-settings-line","file-shield-2-fill","file-shield-2-line","file-shield-fill","file-shield-line","file-shred-fill","file-shred-line","file-text-fill","file-text-line","file-transfer-fill","file-transfer-line","file-unknow-fill","file-unknow-line","file-upload-fill","file-upload-line","file-user-fill","file-user-line","file-video-fill","file-video-line","file-warning-fill","file-warning-line","file-word-2-fill","file-word-2-line","file-word-fill","file-word-line","file-zip-fill","file-zip-line","film-fill","film-line","filter-2-fill","filter-2-line","filter-3-fill","filter-3-line","filter-fill","filter-line","filter-off-fill","filter-off-line","find-replace-fill","find-replace-line","finder-fill","finder-line","fingerprint-2-fill","fingerprint-2-line","fingerprint-fill","fingerprint-line","fire-fill","fire-line","firefox-fill","firefox-line","first-aid-kit-fill","first-aid-kit-line","flag-2-fill","flag-2-line","flag-fill","flag-line","flashlight-fill","flashlight-line","flask-fill","flask-line","flickr-fill","flickr-line","flight-land-fill","flight-land-line","flight-takeoff-fill","flight-takeoff-line","flood-fill","flood-line","flow-chart","flower-fill","flower-line","flutter-fill","flutter-line","focus-2-fill","focus-2-line","focus-3-fill","focus-3-line","focus-fill","focus-line","focus-mode","foggy-fill","foggy-line","folder-2-fill","folder-2-line","folder-3-fill","folder-3-line","folder-4-fill","folder-4-line","folder-5-fill","folder-5-line","folder-6-fill","folder-6-line","folder-add-fill","folder-add-line","folder-chart-2-fill","folder-chart-2-line","folder-chart-fill","folder-chart-line","folder-check-fill","folder-check-line","folder-close-fill","folder-close-line","folder-cloud-fill","folder-cloud-line","folder-download-fill","folder-download-line","folder-fill","folder-forbid-fill","folder-forbid-line","folder-history-fill","folder-history-line","folder-image-fill","folder-image-line","folder-info-fill","folder-info-line","folder-keyhole-fill","folder-keyhole-line","folder-line","folder-lock-fill","folder-lock-line","folder-music-fill","folder-music-line","folder-open-fill","folder-open-line","folder-received-fill","folder-received-line","folder-reduce-fill","folder-reduce-line","folder-settings-fill","folder-settings-line","folder-shared-fill","folder-shared-line","folder-shield-2-fill","folder-shield-2-line","folder-shield-fill","folder-shield-line","folder-transfer-fill","folder-transfer-line","folder-unknow-fill","folder-unknow-line","folder-upload-fill","folder-upload-line","folder-user-fill","folder-user-line","folder-video-fill","folder-video-line","folder-warning-fill","folder-warning-line","folder-zip-fill","folder-zip-line","folders-fill","folders-line","font-color","font-family","font-mono","font-sans","font-sans-serif","font-size","font-size-2","football-fill","football-line","footprint-fill","footprint-line","forbid-2-fill","forbid-2-line","forbid-fill","forbid-line","format-clear","forward-10-fill","forward-10-line","forward-15-fill","forward-15-line","forward-30-fill","forward-30-line","forward-5-fill","forward-5-line","fridge-fill","fridge-line","fullscreen-exit-fill","fullscreen-exit-line","fullscreen-fill","fullscreen-line","function-fill","function-line","functions","funds-box-fill","funds-box-line","funds-fill","funds-line","gallery-fill","gallery-line","gallery-upload-fill","gallery-upload-line","gallery-view","gallery-view-2","game-fill","game-line","gamepad-fill","gamepad-line","gas-station-fill","gas-station-line","gatsby-fill","gatsby-line","genderless-fill","genderless-line","ghost-2-fill","ghost-2-line","ghost-fill","ghost-line","ghost-smile-fill","ghost-smile-line","gift-2-fill","gift-2-line","gift-fill","gift-line","git-branch-fill","git-branch-line","git-close-pull-request-fill","git-close-pull-request-line","git-commit-fill","git-commit-line","git-fork-fill","git-fork-line","git-merge-fill","git-merge-line","git-pull-request-fill","git-pull-request-line","git-repository-commits-fill","git-repository-commits-line","git-repository-fill","git-repository-line","git-repository-private-fill","git-repository-private-line","github-fill","github-line","gitlab-fill","gitlab-line","glasses-2-fill","glasses-2-line","glasses-fill","glasses-line","global-fill","global-line","globe-fill","globe-line","goblet-fill","goblet-line","goggles-fill","goggles-line","google-fill","google-line","google-play-fill","google-play-line","government-fill","government-line","gps-fill","gps-line","gradienter-fill","gradienter-line","graduation-cap-fill","graduation-cap-line","grid-fill","grid-line","group-2-fill","group-2-line","group-fill","group-line","guide-fill","guide-line","h-1","h-2","h-3","h-4","h-5","h-6","hail-fill","hail-line","hammer-fill","hammer-line","hand","hand-coin-fill","hand-coin-line","hand-heart-fill","hand-heart-line","hand-sanitizer-fill","hand-sanitizer-line","handbag-fill","handbag-line","hard-drive-2-fill","hard-drive-2-line","hard-drive-3-fill","hard-drive-3-line","hard-drive-fill","hard-drive-line","hashtag","haze-2-fill","haze-2-line","haze-fill","haze-line","hd-fill","hd-line","heading","headphone-fill","headphone-line","health-book-fill","health-book-line","heart-2-fill","heart-2-line","heart-3-fill","heart-3-line","heart-add-fill","heart-add-line","heart-fill","heart-line","heart-pulse-fill","heart-pulse-line","hearts-fill","hearts-line","heavy-showers-fill","heavy-showers-line","hexagon-fill","hexagon-line","history-fill","history-line","home-2-fill","home-2-line","home-3-fill","home-3-line","home-4-fill","home-4-line","home-5-fill","home-5-line","home-6-fill","home-6-line","home-7-fill","home-7-line","home-8-fill","home-8-line","home-fill","home-gear-fill","home-gear-line","home-heart-fill","home-heart-line","home-line","home-office-fill","home-office-line","home-smile-2-fill","home-smile-2-line","home-smile-fill","home-smile-line","home-wifi-fill","home-wifi-line","honor-of-kings-fill","honor-of-kings-line","honour-fill","honour-line","hospital-fill","hospital-line","hotel-bed-fill","hotel-bed-line","hotel-fill","hotel-line","hotspot-fill","hotspot-line","hourglass-2-fill","hourglass-2-line","hourglass-fill","hourglass-line","hq-fill","hq-line","html5-fill","html5-line","ie-fill","ie-line","image-2-fill","image-2-line","image-add-fill","image-add-line","image-circle-fill","image-circle-line","image-edit-fill","image-edit-line","image-fill","image-line","import-fill","import-line","inbox-2-fill","inbox-2-line","inbox-archive-fill","inbox-archive-line","inbox-fill","inbox-line","inbox-unarchive-fill","inbox-unarchive-line","increase-decrease-fill","increase-decrease-line","indent-decrease","indent-increase","indeterminate-circle-fill","indeterminate-circle-line","infinity-fill","infinity-line","info-i","information-2-fill","information-2-line","information-fill","information-line","infrared-thermometer-fill","infrared-thermometer-line","ink-bottle-fill","ink-bottle-line","input-cursor-move","input-field","input-method-fill","input-method-line","insert-column-left","insert-column-right","insert-row-bottom","insert-row-top","instagram-fill","instagram-line","install-fill","install-line","instance-fill","instance-line","invision-fill","invision-line","italic","javascript-fill","javascript-line","kakao-talk-fill","kakao-talk-line","kanban-view","kanban-view-2","key-2-fill","key-2-line","key-fill","key-line","keyboard-box-fill","keyboard-box-line","keyboard-fill","keyboard-line","keynote-fill","keynote-line","kick-fill","kick-line","knife-blood-fill","knife-blood-line","knife-fill","knife-line","landscape-fill","landscape-line","layout-2-fill","layout-2-line","layout-3-fill","layout-3-line","layout-4-fill","layout-4-line","layout-5-fill","layout-5-line","layout-6-fill","layout-6-line","layout-bottom-2-fill","layout-bottom-2-line","layout-bottom-fill","layout-bottom-line","layout-column-fill","layout-column-line","layout-fill","layout-grid-fill","layout-grid-line","layout-left-2-fill","layout-left-2-line","layout-left-fill","layout-left-line","layout-line","layout-masonry-fill","layout-masonry-line","layout-right-2-fill","layout-right-2-line","layout-right-fill","layout-right-line","layout-row-fill","layout-row-line","layout-top-2-fill","layout-top-2-line","layout-top-fill","layout-top-line","leaf-fill","leaf-line","lifebuoy-fill","lifebuoy-line","lightbulb-fill","lightbulb-flash-fill","lightbulb-flash-line","lightbulb-line","line-chart-fill","line-chart-line","line-fill","line-height","line-line","link","link-m","link-unlink","link-unlink-m","linkedin-box-fill","linkedin-box-line","linkedin-fill","linkedin-line","links-fill","links-line","list-check","list-check-2","list-check-3","list-indefinite","list-ordered","list-ordered-2","list-radio","list-settings-fill","list-settings-line","list-unordered","list-view","live-fill","live-line","loader-2-fill","loader-2-line","loader-3-fill","loader-3-line","loader-4-fill","loader-4-line","loader-5-fill","loader-5-line","loader-fill","loader-line","lock-2-fill","lock-2-line","lock-fill","lock-line","lock-password-fill","lock-password-line","lock-star-fill","lock-star-line","lock-unlock-fill","lock-unlock-line","login-box-fill","login-box-line","login-circle-fill","login-circle-line","logout-box-fill","logout-box-line","logout-box-r-fill","logout-box-r-line","logout-circle-fill","logout-circle-line","logout-circle-r-fill","logout-circle-r-line","loop-left-fill","loop-left-line","loop-right-fill","loop-right-line","luggage-cart-fill","luggage-cart-line","luggage-deposit-fill","luggage-deposit-line","lungs-fill","lungs-line","mac-fill","mac-line","macbook-fill","macbook-line","magic-fill","magic-line","mail-add-fill","mail-add-line","mail-check-fill","mail-check-line","mail-close-fill","mail-close-line","mail-download-fill","mail-download-line","mail-fill","mail-forbid-fill","mail-forbid-line","mail-line","mail-lock-fill","mail-lock-line","mail-open-fill","mail-open-line","mail-send-fill","mail-send-line","mail-settings-fill","mail-settings-line","mail-star-fill","mail-star-line","mail-unread-fill","mail-unread-line","mail-volume-fill","mail-volume-line","map-2-fill","map-2-line","map-fill","map-line","map-pin-2-fill","map-pin-2-line","map-pin-3-fill","map-pin-3-line","map-pin-4-fill","map-pin-4-line","map-pin-5-fill","map-pin-5-line","map-pin-add-fill","map-pin-add-line","map-pin-fill","map-pin-line","map-pin-range-fill","map-pin-range-line","map-pin-time-fill","map-pin-time-line","map-pin-user-fill","map-pin-user-line","mark-pen-fill","mark-pen-line","markdown-fill","markdown-line","markup-fill","markup-line","mastercard-fill","mastercard-line","mastodon-fill","mastodon-line","medal-2-fill","medal-2-line","medal-fill","medal-line","medicine-bottle-fill","medicine-bottle-line","medium-fill","medium-line","megaphone-fill","megaphone-line","memories-fill","memories-line","men-fill","men-line","mental-health-fill","mental-health-line","menu-2-fill","menu-2-line","menu-3-fill","menu-3-line","menu-4-fill","menu-4-line","menu-5-fill","menu-5-line","menu-add-fill","menu-add-line","menu-fill","menu-fold-fill","menu-fold-line","menu-line","menu-search-fill","menu-search-line","menu-unfold-fill","menu-unfold-line","merge-cells-horizontal","merge-cells-vertical","message-2-fill","message-2-line","message-3-fill","message-3-line","message-fill","message-line","messenger-fill","messenger-line","meta-fill","meta-line","meteor-fill","meteor-line","mic-2-fill","mic-2-line","mic-fill","mic-line","mic-off-fill","mic-off-line","mickey-fill","mickey-line","microscope-fill","microscope-line","microsoft-fill","microsoft-line","microsoft-loop-fill","microsoft-loop-line","mind-map","mini-program-fill","mini-program-line","mist-fill","mist-line","money-cny-box-fill","money-cny-box-line","money-cny-circle-fill","money-cny-circle-line","money-dollar-box-fill","money-dollar-box-line","money-dollar-circle-fill","money-dollar-circle-line","money-euro-box-fill","money-euro-box-line","money-euro-circle-fill","money-euro-circle-line","money-pound-box-fill","money-pound-box-line","money-pound-circle-fill","money-pound-circle-line","money-rupee-circle-fill","money-rupee-circle-line","moon-clear-fill","moon-clear-line","moon-cloudy-fill","moon-cloudy-line","moon-fill","moon-foggy-fill","moon-foggy-line","moon-line","more-2-fill","more-2-line","more-fill","more-line","motorbike-fill","motorbike-line","mouse-fill","mouse-line","movie-2-fill","movie-2-line","movie-fill","movie-line","music-2-fill","music-2-line","music-fill","music-line","mv-fill","mv-line","navigation-fill","navigation-line","netease-cloud-music-fill","netease-cloud-music-line","netflix-fill","netflix-line","news-fill","news-line","newspaper-fill","newspaper-line","nft-fill","nft-line","node-tree","notification-2-fill","notification-2-line","notification-3-fill","notification-3-line","notification-4-fill","notification-4-line","notification-badge-fill","notification-badge-line","notification-fill","notification-line","notification-off-fill","notification-off-line","notion-fill","notion-line","npmjs-fill","npmjs-line","number-0","number-1","number-2","number-3","number-4","number-5","number-6","number-7","number-8","number-9","numbers-fill","numbers-line","nurse-fill","nurse-line","octagon-fill","octagon-line","oil-fill","oil-line","omega","open-arm-fill","open-arm-line","open-source-fill","open-source-line","openai-fill","openai-line","openbase-fill","openbase-line","opera-fill","opera-line","order-play-fill","order-play-line","organization-chart","outlet-2-fill","outlet-2-line","outlet-fill","outlet-line","overline","p2p-fill","p2p-line","page-separator","pages-fill","pages-line","paint-brush-fill","paint-brush-line","paint-fill","paint-line","palette-fill","palette-line","pantone-fill","pantone-line","paragraph","parent-fill","parent-line","parentheses-fill","parentheses-line","parking-box-fill","parking-box-line","parking-fill","parking-line","pass-expired-fill","pass-expired-line","pass-pending-fill","pass-pending-line","pass-valid-fill","pass-valid-line","passport-fill","passport-line","patreon-fill","patreon-line","pause-circle-fill","pause-circle-line","pause-fill","pause-line","pause-mini-fill","pause-mini-line","paypal-fill","paypal-line","pen-nib-fill","pen-nib-line","pencil-fill","pencil-line","pencil-ruler-2-fill","pencil-ruler-2-line","pencil-ruler-fill","pencil-ruler-line","pentagon-fill","pentagon-line","percent-fill","percent-line","phone-camera-fill","phone-camera-line","phone-fill","phone-find-fill","phone-find-line","phone-line","phone-lock-fill","phone-lock-line","picture-in-picture-2-fill","picture-in-picture-2-line","picture-in-picture-exit-fill","picture-in-picture-exit-line","picture-in-picture-fill","picture-in-picture-line","pie-chart-2-fill","pie-chart-2-line","pie-chart-box-fill","pie-chart-box-line","pie-chart-fill","pie-chart-line","pin-distance-fill","pin-distance-line","ping-pong-fill","ping-pong-line","pinterest-fill","pinterest-line","pinyin-input","pixelfed-fill","pixelfed-line","plane-fill","plane-line","planet-fill","planet-line","plant-fill","plant-line","play-circle-fill","play-circle-line","play-fill","play-line","play-list-2-fill","play-list-2-line","play-list-add-fill","play-list-add-line","play-list-fill","play-list-line","play-mini-fill","play-mini-line","playstation-fill","playstation-line","plug-2-fill","plug-2-line","plug-fill","plug-line","polaroid-2-fill","polaroid-2-line","polaroid-fill","polaroid-line","police-car-fill","police-car-line","presentation-fill","presentation-line","price-tag-2-fill","price-tag-2-line","price-tag-3-fill","price-tag-3-line","price-tag-fill","price-tag-line","printer-cloud-fill","printer-cloud-line","printer-fill","printer-line","product-hunt-fill","product-hunt-line","profile-fill","profile-line","progress-1-fill","progress-1-line","progress-2-fill","progress-2-line","progress-3-fill","progress-3-line","progress-4-fill","progress-4-line","progress-5-fill","progress-5-line","progress-6-fill","progress-6-line","progress-7-fill","progress-7-line","progress-8-fill","progress-8-line","prohibited-fill","prohibited-line","projector-2-fill","projector-2-line","projector-fill","projector-line","psychotherapy-fill","psychotherapy-line","pulse-fill","pulse-line","pushpin-2-fill","pushpin-2-line","pushpin-fill","pushpin-line","puzzle-2-fill","puzzle-2-line","puzzle-fill","puzzle-line","qq-fill","qq-line","qr-code-fill","qr-code-line","qr-scan-2-fill","qr-scan-2-line","qr-scan-fill","qr-scan-line","question-answer-fill","question-answer-line","question-fill","question-line","question-mark","questionnaire-fill","questionnaire-line","quill-pen-fill","quill-pen-line","quote-text","radar-fill","radar-line","radio-2-fill","radio-2-line","radio-button-fill","radio-button-line","radio-fill","radio-line","rainbow-fill","rainbow-line","rainy-fill","rainy-line","ram-2-fill","ram-2-line","ram-fill","ram-line","reactjs-fill","reactjs-line","receipt-fill","receipt-line","record-circle-fill","record-circle-line","record-mail-fill","record-mail-line","rectangle-fill","rectangle-line","recycle-fill","recycle-line","red-packet-fill","red-packet-line","reddit-fill","reddit-line","refresh-fill","refresh-line","refund-2-fill","refund-2-line","refund-fill","refund-line","registered-fill","registered-line","remix-run-fill","remix-run-line","remixicon-fill","remixicon-line","remote-control-2-fill","remote-control-2-line","remote-control-fill","remote-control-line","repeat-2-fill","repeat-2-line","repeat-fill","repeat-line","repeat-one-fill","repeat-one-line","replay-10-fill","replay-10-line","replay-15-fill","replay-15-line","replay-30-fill","replay-30-line","replay-5-fill","replay-5-line","reply-all-fill","reply-all-line","reply-fill","reply-line","reserved-fill","reserved-line","rest-time-fill","rest-time-line","restart-fill","restart-line","restaurant-2-fill","restaurant-2-line","restaurant-fill","restaurant-line","rewind-fill","rewind-line","rewind-mini-fill","rewind-mini-line","rfid-fill","rfid-line","rhythm-fill","rhythm-line","riding-fill","riding-line","road-map-fill","road-map-line","roadster-fill","roadster-line","robot-2-fill","robot-2-line","robot-3-fill","robot-3-line","robot-fill","robot-line","rocket-2-fill","rocket-2-line","rocket-fill","rocket-line","rotate-lock-fill","rotate-lock-line","rounded-corner","route-fill","route-line","router-fill","router-line","rss-fill","rss-line","ruler-2-fill","ruler-2-line","ruler-fill","ruler-line","run-fill","run-line","safari-fill","safari-line","safe-2-fill","safe-2-line","safe-fill","safe-line","sailboat-fill","sailboat-line","save-2-fill","save-2-line","save-3-fill","save-3-line","save-fill","save-line","scales-2-fill","scales-2-line","scales-3-fill","scales-3-line","scales-fill","scales-line","scan-2-fill","scan-2-line","scan-fill","scan-line","school-fill","school-line","scissors-2-fill","scissors-2-line","scissors-cut-fill","scissors-cut-line","scissors-fill","scissors-line","screenshot-2-fill","screenshot-2-line","screenshot-fill","screenshot-line","sd-card-fill","sd-card-line","sd-card-mini-fill","sd-card-mini-line","search-2-fill","search-2-line","search-eye-fill","search-eye-line","search-fill","search-line","secure-payment-fill","secure-payment-line","seedling-fill","seedling-line","send-backward","send-plane-2-fill","send-plane-2-line","send-plane-fill","send-plane-line","send-to-back","sensor-fill","sensor-line","seo-fill","seo-line","separator","server-fill","server-line","service-fill","service-line","settings-2-fill","settings-2-line","settings-3-fill","settings-3-line","settings-4-fill","settings-4-line","settings-5-fill","settings-5-line","settings-6-fill","settings-6-line","settings-fill","settings-line","shadow-fill","shadow-line","shake-hands-fill","shake-hands-line","shape-2-fill","shape-2-line","shape-fill","shape-line","shapes-fill","shapes-line","share-2-fill","share-2-line","share-box-fill","share-box-line","share-circle-fill","share-circle-line","share-fill","share-forward-2-fill","share-forward-2-line","share-forward-box-fill","share-forward-box-line","share-forward-fill","share-forward-line","share-line","shield-check-fill","shield-check-line","shield-cross-fill","shield-cross-line","shield-fill","shield-flash-fill","shield-flash-line","shield-keyhole-fill","shield-keyhole-line","shield-line","shield-star-fill","shield-star-line","shield-user-fill","shield-user-line","shining-2-fill","shining-2-line","shining-fill","shining-line","ship-2-fill","ship-2-line","ship-fill","ship-line","shirt-fill","shirt-line","shopping-bag-2-fill","shopping-bag-2-line","shopping-bag-3-fill","shopping-bag-3-line","shopping-bag-fill","shopping-bag-line","shopping-basket-2-fill","shopping-basket-2-line","shopping-basket-fill","shopping-basket-line","shopping-cart-2-fill","shopping-cart-2-line","shopping-cart-fill","shopping-cart-line","showers-fill","showers-line","shuffle-fill","shuffle-line","shut-down-fill","shut-down-line","side-bar-fill","side-bar-line","sidebar-fold-fill","sidebar-fold-line","sidebar-unfold-fill","sidebar-unfold-line","signal-tower-fill","signal-tower-line","signal-wifi-1-fill","signal-wifi-1-line","signal-wifi-2-fill","signal-wifi-2-line","signal-wifi-3-fill","signal-wifi-3-line","signal-wifi-error-fill","signal-wifi-error-line","signal-wifi-fill","signal-wifi-line","signal-wifi-off-fill","signal-wifi-off-line","signpost-fill","signpost-line","sim-card-2-fill","sim-card-2-line","sim-card-fill","sim-card-line","single-quotes-l","single-quotes-r","sip-fill","sip-line","sketching","skip-back-fill","skip-back-line","skip-back-mini-fill","skip-back-mini-line","skip-down-fill","skip-down-line","skip-forward-fill","skip-forward-line","skip-forward-mini-fill","skip-forward-mini-line","skip-left-fill","skip-left-line","skip-right-fill","skip-right-line","skip-up-fill","skip-up-line","skull-2-fill","skull-2-line","skull-fill","skull-line","skype-fill","skype-line","slack-fill","slack-line","slash-commands","slash-commands-2","slice-fill","slice-line","slideshow-2-fill","slideshow-2-line","slideshow-3-fill","slideshow-3-line","slideshow-4-fill","slideshow-4-line","slideshow-fill","slideshow-line","slideshow-view","slow-down-fill","slow-down-line","smartphone-fill","smartphone-line","snapchat-fill","snapchat-line","snowy-fill","snowy-line","sofa-fill","sofa-line","sort-alphabet-asc","sort-alphabet-desc","sort-asc","sort-desc","sort-number-asc","sort-number-desc","sound-module-fill","sound-module-line","soundcloud-fill","soundcloud-line","space","space-ship-fill","space-ship-line","spam-2-fill","spam-2-line","spam-3-fill","spam-3-line","spam-fill","spam-line","sparkling-2-fill","sparkling-2-line","sparkling-fill","sparkling-line","speak-fill","speak-line","speaker-2-fill","speaker-2-line","speaker-3-fill","speaker-3-line","speaker-fill","speaker-line","spectrum-fill","spectrum-line","speed-fill","speed-line","speed-mini-fill","speed-mini-line","speed-up-fill","speed-up-line","split-cells-horizontal","split-cells-vertical","spotify-fill","spotify-line","spy-fill","spy-line","square-fill","square-line","stack-fill","stack-line","stack-overflow-fill","stack-overflow-line","stacked-view","stackshare-fill","stackshare-line","star-fill","star-half-fill","star-half-line","star-half-s-fill","star-half-s-line","star-line","star-s-fill","star-s-line","star-smile-fill","star-smile-line","steam-fill","steam-line","steering-2-fill","steering-2-line","steering-fill","steering-line","stethoscope-fill","stethoscope-line","sticky-note-2-fill","sticky-note-2-line","sticky-note-add-fill","sticky-note-add-line","sticky-note-fill","sticky-note-line","stock-fill","stock-line","stop-circle-fill","stop-circle-line","stop-fill","stop-line","stop-mini-fill","stop-mini-line","store-2-fill","store-2-line","store-3-fill","store-3-line","store-fill","store-line","strikethrough","strikethrough-2","subscript","subscript-2","subtract-fill","subtract-line","subway-fill","subway-line","subway-wifi-fill","subway-wifi-line","suitcase-2-fill","suitcase-2-line","suitcase-3-fill","suitcase-3-line","suitcase-fill","suitcase-line","sun-cloudy-fill","sun-cloudy-line","sun-fill","sun-foggy-fill","sun-foggy-line","sun-line","supabase-fill","supabase-line","superscript","superscript-2","surgical-mask-fill","surgical-mask-line","surround-sound-fill","surround-sound-line","survey-fill","survey-line","svelte-fill","svelte-line","swap-2-fill","swap-2-line","swap-3-fill","swap-3-line","swap-box-fill","swap-box-line","swap-fill","swap-line","switch-fill","switch-line","sword-fill","sword-line","syringe-fill","syringe-line","t-box-fill","t-box-line","t-shirt-2-fill","t-shirt-2-line","t-shirt-air-fill","t-shirt-air-line","t-shirt-fill","t-shirt-line","table-2","table-3","table-alt-fill","table-alt-line","table-fill","table-line","table-view","tablet-fill","tablet-line","takeaway-fill","takeaway-line","taobao-fill","taobao-line","tape-fill","tape-line","task-fill","task-line","taxi-fill","taxi-line","taxi-wifi-fill","taxi-wifi-line","team-fill","team-line","telegram-fill","telegram-line","temp-cold-fill","temp-cold-line","temp-hot-fill","temp-hot-line","tent-fill","tent-line","terminal-box-fill","terminal-box-line","terminal-fill","terminal-line","terminal-window-fill","terminal-window-line","test-tube-fill","test-tube-line","text","text-block","text-direction-l","text-direction-r","text-snippet","text-spacing","text-wrap","thermometer-fill","thermometer-line","threads-fill","threads-line","thumb-down-fill","thumb-down-line","thumb-up-fill","thumb-up-line","thunderstorms-fill","thunderstorms-line","ticket-2-fill","ticket-2-line","ticket-fill","ticket-line","tiktok-fill","tiktok-line","time-fill","time-line","time-zone-fill","time-zone-line","timeline-view","timer-2-fill","timer-2-line","timer-fill","timer-flash-fill","timer-flash-line","timer-line","todo-fill","todo-line","toggle-fill","toggle-line","token-swap-fill","token-swap-line","tools-fill","tools-line","tornado-fill","tornado-line","trademark-fill","trademark-line","traffic-light-fill","traffic-light-line","train-fill","train-line","train-wifi-fill","train-wifi-line","translate","translate-2","travesti-fill","travesti-line","treasure-map-fill","treasure-map-line","tree-fill","tree-line","trello-fill","trello-line","triangle-fill","triangle-line","trophy-fill","trophy-line","truck-fill","truck-line","tumblr-fill","tumblr-line","tv-2-fill","tv-2-line","tv-fill","tv-line","twitch-fill","twitch-line","twitter-fill","twitter-line","twitter-x-fill","twitter-x-line","typhoon-fill","typhoon-line","u-disk-fill","u-disk-line","ubuntu-fill","ubuntu-line","umbrella-fill","umbrella-line","underline","uninstall-fill","uninstall-line","unpin-fill","unpin-line","unsplash-fill","unsplash-line","upload-2-fill","upload-2-line","upload-cloud-2-fill","upload-cloud-2-line","upload-cloud-fill","upload-cloud-line","upload-fill","upload-line","usb-fill","usb-line","user-2-fill","user-2-line","user-3-fill","user-3-line","user-4-fill","user-4-line","user-5-fill","user-5-line","user-6-fill","user-6-line","user-add-fill","user-add-line","user-fill","user-follow-fill","user-follow-line","user-forbid-fill","user-forbid-line","user-heart-fill","user-heart-line","user-line","user-location-fill","user-location-line","user-received-2-fill","user-received-2-line","user-received-fill","user-received-line","user-search-fill","user-search-line","user-settings-fill","user-settings-line","user-shared-2-fill","user-shared-2-line","user-shared-fill","user-shared-line","user-smile-fill","user-smile-line","user-star-fill","user-star-line","user-unfollow-fill","user-unfollow-line","user-voice-fill","user-voice-line","verified-badge-fill","verified-badge-line","video-add-fill","video-add-line","video-chat-fill","video-chat-line","video-download-fill","video-download-line","video-fill","video-line","video-upload-fill","video-upload-line","vidicon-2-fill","vidicon-2-line","vidicon-fill","vidicon-line","vimeo-fill","vimeo-line","vip-crown-2-fill","vip-crown-2-line","vip-crown-fill","vip-crown-line","vip-diamond-fill","vip-diamond-line","vip-fill","vip-line","virus-fill","virus-line","visa-fill","visa-line","vk-fill","vk-line","voice-recognition-fill","voice-recognition-line","voiceprint-fill","voiceprint-line","volume-down-fill","volume-down-line","volume-mute-fill","volume-mute-line","volume-off-vibrate-fill","volume-off-vibrate-line","volume-up-fill","volume-up-line","volume-vibrate-fill","volume-vibrate-line","vuejs-fill","vuejs-line","walk-fill","walk-line","wallet-2-fill","wallet-2-line","wallet-3-fill","wallet-3-line","wallet-fill","wallet-line","water-flash-fill","water-flash-line","water-percent-fill","water-percent-line","webcam-fill","webcam-line","wechat-2-fill","wechat-2-line","wechat-channels-fill","wechat-channels-line","wechat-fill","wechat-line","wechat-pay-fill","wechat-pay-line","weibo-fill","weibo-line","whatsapp-fill","whatsapp-line","wheelchair-fill","wheelchair-line","wifi-fill","wifi-line","wifi-off-fill","wifi-off-line","window-2-fill","window-2-line","window-fill","window-line","windows-fill","windows-line","windy-fill","windy-line","wireless-charging-fill","wireless-charging-line","women-fill","women-line","wordpress-fill","wordpress-line","wubi-input","xbox-fill","xbox-line","xing-fill","xing-line","xrp-fill","xrp-line","xtz-fill","xtz-line","youtube-fill","youtube-line","yuque-fill","yuque-line","zcool-fill","zcool-line","zhihu-fill","zhihu-line","zoom-in-fill","zoom-in-line","zoom-out-fill","zoom-out-line","zzz-fill","zzz-line"]},{prefix:"logos",info:{name:"SVG Logos",total:1812,author:{name:"Gil Barbara",url:"https://github.com/gilbarbara/logos"},license:{title:"CC0",spdx:"CC0-1.0",url:"https://raw.githubusercontent.com/gilbarbara/logos/master/LICENSE.txt"},samples:["angular-icon","firefox","google-drive"],category:"Brands / Social",palette:!0},icons:["100tb","500px","6px","active-campaign","active-campaign-icon","admob","adobe-after-effects","adobe-animate","adobe-dreamweaver","adobe-illustrator","adobe-incopy","adobe-indesign","adobe-lightroom","adobe-photoshop","adobe-premiere","adobe-xd","adonisjs","adonisjs-icon","adroll","adyen","aerogear","aerospike","aerospike-icon","aha","ai","airbnb","airbnb-icon","airbrake","airflow","airflow-icon","airtable","aix","akamai","akka","alfresco","algolia","alpinejs","alpinejs-icon","altair","amazon-chime","amazon-connect","amd","amex","amex-digital","amp","amp-icon","ampersand","amplication","amplication-icon","amplitude","amplitude-icon","analog","android","android-icon","android-vertical","angellist","angular","angular-icon","ansible","ant-design","anthropic","anthropic-icon","apache","apache-camel","apache-cloudstack","apache-flink","apache-flink-icon","apache-spark","apache-superset","apache-superset-icon","api-ai","apiary","apigee","apitools","apollostack","apostrophe","appbase","appbaseio","appbaseio-icon","appcelerator","appcenter","appcenter-icon","appcircle","appcircle-icon","appcode","appdynamics","appdynamics-icon","appfog","apphub","appium","apple","apple-app-store","apple-pay","applitools","applitools-icon","appmaker","apportable","appsignal","appsignal-icon","apptentive","appveyor","appwrite","appwrite-icon","arangodb","arangodb-icon","arc","architect","architect-icon","archlinux","arduino","argo","argo-icon","arm","armory","armory-icon","asana","asana-icon","asciidoctor","assembla","assembla-icon","astro","astro-icon","astronomer","async-api","async-api-icon","atlassian","atom","atom-icon","atomic","atomic-icon","atomicojs","atomicojs-icon","aurelia","aurora","aurous","auth0","auth0-icon","authy","autocode","autoit","autoprefixer","ava","awesome","aws","aws-amplify","aws-api-gateway","aws-app-mesh","aws-appflow","aws-appsync","aws-athena","aws-aurora","aws-backup","aws-batch","aws-certificate-manager","aws-cloudformation","aws-cloudfront","aws-cloudsearch","aws-cloudtrail","aws-cloudwatch","aws-codebuild","aws-codecommit","aws-codedeploy","aws-codepipeline","aws-codestar","aws-cognito","aws-config","aws-documentdb","aws-dynamodb","aws-ec2","aws-ecs","aws-eks","aws-elastic-beanstalk","aws-elastic-cache","aws-elasticache","aws-elb","aws-eventbridge","aws-fargate","aws-glacier","aws-glue","aws-iam","aws-keyspaces","aws-kinesis","aws-kms","aws-lake-formation","aws-lambda","aws-lightsail","aws-mobilehub","aws-mq","aws-msk","aws-neptune","aws-open-search","aws-opsworks","aws-quicksight","aws-rds","aws-redshift","aws-route53","aws-s3","aws-secrets-manager","aws-ses","aws-shield","aws-sns","aws-sqs","aws-step-functions","aws-systems-manager","aws-timestream","aws-vpc","aws-waf","aws-xray","axios","azure","azure-icon","babel","backbone","backbone-icon","backerkit","baker-street","balena","bamboo","base","basecamp","basecamp-icon","basekit","baseline","bash","bash-icon","batch","beats","behance","bem","bem-2","bigpanda","bing","biomejs","bitballoon","bitbar","bitbucket","bitcoin","bitnami","bitrise","bitrise-icon","blender","blitzjs","blitzjs-icon","blocs","blogger","blossom","bluemix","blueprint","bluetooth","booqable","booqable-icon","bootstrap","bosun","botanalytics","bourbon","bower","bowtie","box","brackets","brainjs","branch","branch-icon","brandfolder","brandfolder-icon","brave","braze","braze-icon","broadcom","broadcom-icon","broccoli","brotli","browserify","browserify-icon","browserling","browserslist","browserstack","browsersync","brunch","bubble","bubble-icon","buck","buddy","buffer","bugherd","bugherd-icon","bugsee","bugsnag","bugsnag-icon","builder-io","builder-io-icon","buildkite","buildkite-icon","bulma","bun","bunny-net","bunny-net-icon","c","c-plusplus","c-sharp","cachet","caffe2","cakephp","cakephp-icon","calibre","calibre-icon","campaignmonitor","campaignmonitor-icon","campfire","canjs","capacitorjs","capacitorjs-icon","capistrano","carbide","cardano","cardano-icon","cassandra","celluloid","centos","centos-icon","certbot","ceylon","chai","chalk","changetip","chargebee","chargebee-icon","chartblocks","chef","chevereto","chroma","chromatic","chromatic-icon","chrome","chrome-web-store","cinder","circleci","cirrus","cirrus-ci","clickdeploy","clio-lang","clion","cljs","clojure","close","cloud9","cloudacademy","cloudacademy-icon","cloudant","cloudcraft","cloudera","cloudflare","cloudflare-icon","cloudflare-workers","cloudflare-workers-icon","cloudinary","cloudinary-icon","cloudlinux","clusterhq","cobalt","cockpit","cocoapods","coda","coda-icon","codacy","codebase","codebeat","codecademy","codeception","codeclimate","codeclimate-icon","codecov","codecov-icon","codefactor","codefactor-icon","codefund","codefund-icon","codeigniter","codeigniter-icon","codepen","codepen-icon","codepicnic","codepush","codersrank","codersrank-icon","coderwall","codesandbox","codesandbox-icon","codeschool","codesee","codesee-icon","codeship","codio","codium","codium-icon","codrops","coffeescript","commitizen","compass","component","componentkit","compose","compose-multiplatform","composer","conan-io","concourse","concrete5","concretecms","concretecms-icon","conda","confluence","consul","containership","contentful","convox","convox-icon","copyleft","copyleft-pirate","corda","cordova","coreos","coreos-icon","couchbase","couchdb","couchdb-icon","coursera","coveralls","coverity","cpanel","craft","craftcms","crashlytics","crateio","create-react-app","createjs","crittercism","cross-browser-testing","crossbrowsertesting","crossplane","crossplane-icon","crowdprocess","crucible","crystal","css-3","css-3-official","cssnext","cube","cube-icon","cucumber","curl","customerio","customerio-icon","cyclejs","cypress","cypress-icon","d3","dailydev","dailydev-icon","daisyui","danfo","dapulse","dart","dashlane","dashlane-icon","dat","data-station","database-labs","datadog","datadog-icon","datagrip","datasette","datasette-icon","dataspell","datocms","datocms-icon","dbt","dbt-icon","dcos","dcos-icon","debian","delicious","delicious-burger","delighted","delighted-icon","deno","dependabot","dependencyci","deploy","deployhq","deployhq-icon","deppbot","derby","descript","descript-icon","designernews","desk","dev","dev-icon","deviantart","deviantart-icon","dgraph","dgraph-icon","dialogflow","digital-ocean","digital-ocean-icon","dimer","dinersclub","discord","discord-icon","discourse","discourse-icon","discover","disqus","distelli","divshot","django","django-icon","dockbit","docker","docker-icon","doctrine","docusaurus","dojo","dojo-icon","dojo-toolkit","dolt","dotcloud","dotnet","doubleclick","dovetail","dovetail-icon","dreamfactory","dreamhost","dribbble","dribbble-icon","drift","drip","drizzle","drizzle-icon","drone","drone-icon","drools","drools-icon","dropbox","dropmark","dropzone","drupal","drupal-icon","duckduckgo","dynatrace","dynatrace-icon","dyndns","eager","ebanx","eclipse","eclipse-icon","ecma","edgedb","edgio","edgio-icon","editorconfig","effect","effect-icon","effector","egghead","elasticbox","elasticpath","elasticpath-icon","elasticsearch","electron","element","elemental-ui","elementary","eleventy","ello","elm","elm-classic","elo","emacs","emacs-classic","embedly","ember","ember-tomster","emmet","enact","engine-yard","engine-yard-icon","envato","envoy","envoy-icon","envoyer","envoyproxy","enyo","epsagon","epsagon-icon","eraser","eraser-icon","erlang","es6","esbuild","esdoc","eslint","eslint-old","eta","eta-icon","etcd","ethereum","ethereum-color","ethers","ethnio","eventbrite","eventbrite-icon","eventsentry","evergreen","evergreen-icon","expo","expo-icon","exponent","express","fabric","fabric-io","facebook","falcor","famous","fastapi","fastapi-icon","fastify","fastify-icon","fastlane","fastly","fauna","fauna-icon","feathersjs","fedora","fetch","ffmpeg","ffmpeg-icon","figma","firebase","firefox","flannel","flarum","flask","flat-ui","flattr","flattr-icon","fleep","flexible-gs","flickr","flickr-icon","flight","flocker","floodio","flow","flowxo","floydhub","flutter","flux","fluxxor","fly","fly-icon","flyjs","fogbugz","fogbugz-icon","fomo","fomo-icon","font-awesome","forest","forestadmin","forestadmin-icon","forever","formkeep","fortran","foundation","foundationdb","foundationdb-icon","framed","framer","framework7","framework7-icon","freebsd","freedcamp","freedcamp-icon","freedomdefined","fresh","frontapp","fsharp","fuchsia","galliumos","game-analytics","game-analytics-icon","ganache","ganache-icon","gatsby","gaugeio","geekbot","geetest","geetest-icon","get-satisfaction","getyourguide","ghost","giantswarm","gin","git","git-icon","gitboard","github","github-actions","github-copilot","github-icon","github-octocat","gitkraken","gitlab","gitter","gitup","glamorous","glamorous-icon","gleam","glimmerjs","glint","glitch","glitch-icon","gnome","gnome-icon","gnu","gnu-net","gnupg","gnupg-icon","go","gocd","godot","godot-icon","gohorse","goland","gomix","google","google-2014","google-360suite","google-admob","google-ads","google-adsense","google-adwords","google-analytics","google-bard","google-bard-icon","google-calendar","google-cloud","google-cloud-functions","google-cloud-platform","google-cloud-run","google-currents","google-data-studio","google-developers","google-developers-icon","google-domains","google-domains-icon","google-drive","google-fit","google-gemini","google-gmail","google-gsuite","google-home","google-icon","google-inbox","google-keep","google-maps","google-marketing-platform","google-meet","google-one","google-optimize","google-palm","google-pay","google-pay-icon","google-photos","google-play","google-play-console","google-play-console-icon","google-play-icon","google-plus","google-search-console","google-tag-manager","google-wallet","google-workspace","gopher","gordon","gradio","gradio-icon","gradle","grafana","grails","grammarly","grammarly-icon","grape","graphcool","graphene","graphql","gratipay","grav","gravatar","gravatar-icon","graylog","graylog-icon","greensock","greensock-icon","gridsome","gridsome-icon","grommet","groovehq","grove","growth-book","growth-book-icon","grpc","grunt","gulp","gunicorn","gunjs","gusto","gwt","hack","hacker-one","hadoop","haiku","haiku-icon","haml","hanami","handlebars","hapi","hardhat","hardhat-icon","harness","harness-icon","harrow","hashicorp","hashicorp-icon","hashnode","hashnode-icon","haskell","haskell-icon","hasura","hasura-icon","haxe","haxl","hbase","hcaptcha","hcaptcha-icon","headlessui","headlessui-icon","heap","heap-icon","helm","helpscout","helpscout-icon","hermes","heroku","heroku-icon","heroku-redis","heron","hexo","hhvm","hibernate","highcharts","hipchat","hipercard","hoa","homebrew","hono","hoodie","hookstate","hootsuite","hootsuite-icon","horizon","hosted-graphite","hostgator","hostgator-icon","hotjar","hotjar-icon","houndci","html-5","html5-boilerplate","httpie","httpie-icon","hubspot","hugging-face","hugging-face-icon","huggy","hugo","humongous","hyper","hyperapp","ibm","ieee","ietf","ifttt","imagemin","imba","imba-icon","immer","immer-icon","immutable","impala","importio","incident","incident-icon","infer","inferno","influxdb","influxdb-icon","ink","insomnia","instagram","instagram-icon","intel","intellij-idea","intercom","intercom-icon","internetexplorer","invision","invision-icon","io","ionic","ionic-icon","ios","iron","iron-icon","itsalive","itsalive-icon","jade","jamstack","jamstack-icon","jasmine","java","javascript","jcb","jekyll","jelastic","jelastic-icon","jenkins","jest","jetbrains","jetbrains-icon","jetbrains-space","jetbrains-space-icon","jfrog","jhipster","jhipster-icon","jira","joomla","jotai","jquery","jquery-mobile","jruby","jsbin","jscs","jsdelivr","jsdom","jsfiddle","json","json-ld","jspm","jss","juju","julia","jupyter","jwt","jwt-icon","kafka","kafka-icon","kaios","kallithea","karma","katalon","katalon-icon","kde","keen","kemal","keycdn","keycdn-icon","keydb","keydb-icon","keymetrics","keystonejs","khan-academy","khan-academy-icon","kibana","kickstarter","kickstarter-icon","kinto","kinto-icon","kinvey","kirby","kirby-icon","kissmetrics","kissmetrics-monochromatic","kitematic","kloudless","knex","knockout","koa","kong","kong-icon","kontena","kops","kore","koreio","kotlin","kotlin-icon","kraken","krakenjs","ktor","ktor-icon","kubernetes","kustomer","languagetool","laravel","lastfm","lateral","lateral-icon","launchdarkly","launchdarkly-icon","launchkit","launchrock","leaflet","leankit","leankit-icon","lerna","less","lets-cloud","letsencrypt","leveldb","lexical","lexical-icon","librato","liftweb","lighthouse","lightstep","lightstep-icon","lighttpd","linear","linear-icon","linkedin","linkedin-icon","linkerd","linode","linux-mint","linux-tux","lit","lit-icon","litmus","loader","locent","lodash","logentries","loggly","logmatic","logstash","lookback","looker","looker-icon","loom","loom-icon","loopback","loopback-icon","losant","lotus","lua","lucene","lucene-net","lumen","lynda","macos","macosx","madge","maestro","mageia","magento","magneto","mailchimp","mailchimp-freddie","maildeveloper","mailgun","mailgun-icon","mailjet","mailjet-icon","malinajs","mandrill","mandrill-shield","manifoldjs","manjaro","mantine","mantine-icon","mantl","manuscript","mapbox","mapbox-icon","maps-me","mapzen","mapzen-icon","mariadb","mariadb-icon","marionette","markdown","marko","marvel","mastercard","mastodon","mastodon-icon","material-ui","materializecss","matomo","matomo-icon","matplotlib","matplotlib-icon","matter","matter-icon","mattermost","mattermost-icon","mautic","mautic-icon","maven","maxcdn","mdn","mdx","meanio","medium","medium-icon","medusa","medusa-icon","meilisearch","memcached","memgraph","memsql","memsql-icon","mention","mercurial","mern","mesos","mesosphere","messenger","meta","meta-icon","metabase","metamask","metamask-icon","meteor","meteor-icon","micro","micro-icon","micro-python","microcosm","micron","micron-icon","microsoft","microsoft-azure","microsoft-edge","microsoft-icon","microsoft-onedrive","microsoft-power-bi","microsoft-teams","microsoft-windows","microsoft-windows-icon","mida","mida-icon","middleman","midjourney","milligram","million","million-icon","milvus","milvus-icon","mindsdb","mindsdb-icon","mint-lang","mio","mist","mistral-ai","mistral-ai-icon","mithril","mixmax","mixpanel","mlab","mobx","mocha","mockflow","mockflow-icon","modernizr","modulus","modx","modx-icon","moltin","moltin-icon","momentjs","monday","monday-icon","monero","mongodb","mongodb-icon","mongolab","mono","moon","mootools","morpheus","morpheus-icon","mozilla","mparticle","mparticle-icon","mps","mps-icon","msw","msw-icon","multipass","mysql","mysql-icon","myth","naiveui","namecheap","nanonets","nasm","nativescript","nats","nats-icon","neat","neo4j","neon","neon-icon","neonmetrics","neovim","nestjs","net","netbeans","netflix","netflix-icon","netlify","netlify-icon","netuitive","neverinstall","neverinstall-icon","new-relic","new-relic-icon","nextjs","nextjs-icon","nginx","ngrok","nhost","nhost-icon","nightwatch","nim-lang","nocodb","nodal","node-sass","nodebots","nodejitsu","nodejs","nodejs-icon","nodejs-icon-alt","nodemon","nodeos","nodewebkit","nomad","nomad-icon","notion","notion-icon","now","noysi","npm","npm-2","npm-icon","nuclide","numpy","nuodb","nuxt","nuxt-icon","nvidia","nvm","nx","oauth","observablehq","obsidian","obsidian-icon","ocaml","octodns","octopus-deploy","okta","okta-icon","olapic","olark","onesignal","opbeat","open-graph","open-zeppelin","open-zeppelin-icon","openai","openai-icon","openapi","openapi-icon","opencart","opencollective","opencv","openframeworks","opengl","openjs-foundation","openjs-foundation-icon","openlayers","opensearch","opensearch-icon","openshift","opensource","openstack","openstack-icon","opentelemetry","opentelemetry-icon","opera","opsee","opsgenie","opsmatic","optimizely","optimizely-icon","oracle","oreilly","origami","origin","oshw","osquery","otto","overloop","overloop-icon","p5js","packer","pagekit","pagekite","pagerduty","pagerduty-icon","panda","pandacss","pandacss-icon","pandas","pandas-icon","parcel","parcel-icon","parse","parsehub","partytown","partytown-icon","passbolt","passbolt-icon","passport","patreon","payload","paypal","peer5","pepperoni","percona","percy","percy-icon","perf-rocks","periscope","perl","phalcon","phoenix","phonegap","phonegap-bot","php","php-alt","phpstorm","picasa","pinecone","pinecone-icon","pingdom","pingy","pinia","pinterest","pipedream","pipedrive","pipefy","pivotal-tracker","pixate","pixelapse","pixijs","pkg","planetscale","planless","planless-icon","plasmic","plastic-scm","platformio","play","playwright","pluralsight","pluralsight-icon","pm2","pm2-icon","pnpm","pocket-base","podio","poeditor","polymer","positionly","postcss","postgraphile","postgresql","posthog","posthog-icon","postman","postman-icon","pouchdb","preact","precursor","prerender","prerender-icon","prestashop","presto","presto-icon","prettier","prisma","prismic","prismic-icon","processing","processwire","processwire-icon","productboard","productboard-icon","producteev","producthunt","progress","prometheus","promises","proofy","prospect","protoio","protonet","protractor","prott","pug","pulumi","pulumi-icon","pumpkindb","puppet","puppet-icon","puppeteer","puppy-linux","purescript","purescript-icon","pushbullet","pusher","pusher-icon","pwa","pycharm","pypi","pyscript","python","pytorch","pytorch-icon","pyup","q","qdrant","qdrant-icon","qlik","qordoba","qt","qualcomm","quarkus","quarkus-icon","quay","quobyte","quora","qwik","qwik-icon","r-lang","rabbitmq","rabbitmq-icon","rackspace","rackspace-icon","rails","ramda","raml","rancher","rancher-icon","randomcolor","raphael","raspberry-pi","rax","react","react-query","react-query-icon","react-router","react-spring","react-styleguidist","reactivex","realm","reapp","reasonml","reasonml-icon","recaptcha","recoil","recoil-icon","reddit","reddit-icon","redhat","redhat-icon","redis","redsmin","redspread","redux","redux-observable","redux-saga","redwoodjs","refactor","reindex","relay","release","remergr","remix","remix-icon","renovatebot","replay","replay-icon","replit","replit-icon","require","rescript","rescript-icon","rest","rest-li","rethinkdb","retool","retool-icon","riak","rider","riot","risingwave","risingwave-icon","rkt","rocket-chat","rocket-chat-icon","rocksdb","rocky-linux","rocky-linux-icon","rollbar","rollbar-icon","rollupjs","rome","rome-icon","ros","rsa","rsmq","rubocop","ruby","rubygems","rubymine","rum","run-above","runnable","runscope","rush","rush-icon","rust","rxdb","safari","sagui","sails","salesforce","saltstack","sameroom","samsung","sanity","sap","sass","sass-doc","saucelabs","scala","scaledrone","scaphold","scribd","scribd-icon","seaborn","seaborn-icon","section","section-icon","sectionio","segment","segment-icon","selenium","semantic-release","semantic-ui","semantic-web","semaphore","semaphoreci","sencha","sendgrid","sendgrid-icon","seneca","sensu","sensu-icon","sentry","sentry-icon","sequelize","serveless","serverless","sherlock","sherlock-icon","shields","shipit","shippable","shogun","shopify","shortcut","shortcut-icon","sidekick","sidekiq","sidekiq-icon","signal","sigstore","sigstore-icon","sinatra","singlestore","singlestore-icon","siphon","sitepoint","sk-hynix","skaffolder","sketch","sketchapp","skylight","skype","slack","slack-icon","slides","slim","smartling","smashingmagazine","snap-svg","snaplet","snaplet-icon","snowflake","snowflake-icon","snowpack","snupps","snyk","socket-io","solarwinds","solid","solidity","solidjs","solidjs-icon","solr","sonarcloud","sonarcloud-icon","sonarlint","sonarlint-icon","sonarqube","soundcloud","sourcegraph","sourcetrail","sourcetree","spark","sparkcentral","sparkpost","speakerdeck","speedcurve","spidermonkey","spidermonkey-icon","spinnaker","splunk","spotify","spotify-icon","spree","spring","spring-icon","sqldep","sqlite","square","squarespace","sst","sst-icon","stability-ai","stability-ai-icon","stackbit","stackbit-icon","stackblitz","stackblitz-icon","stackoverflow","stackoverflow-icon","stackshare","stacksmith","stash","stately","stately-icon","statuspage","stdlib","stdlib-icon","steam","steemit","stenciljs","stenciljs-icon","stepsize","stepsize-icon","steroids","stetho","stickermule","stigg","stigg-icon","stimulus","stimulus-icon","stitch","stoplight","stormpath","storyblocks","storyblocks-icon","storyblok","storyblok-icon","storybook","storybook-icon","strapi","strapi-icon","streamlit","strider","stripe","strongloop","struts","styleci","stylefmt","stylelint","stylis","stylus","stytch","sublimetext","sublimetext-icon","subversion","sugarss","supabase","supabase-icon","supergiant","supersonic","supertokens","supertokens-icon","supportkit","surge","surrealdb","surrealdb-icon","survicate","survicate-icon","suse","susy","svelte","svelte-icon","svelte-kit","svg","svgator","swagger","swc","swift","swiftype","swimm","swr","symfony","sysdig","sysdig-icon","t3","tableau","tableau-icon","taiga","tailwindcss","tailwindcss-icon","tapcart","tapcart-icon","targetprocess","taskade","taskade-icon","tastejs","tauri","tealium","teamcity","teamgrid","teamwork","teamwork-icon","tectonic","telegram","tensorflow","terminal","terraform","terraform-icon","terser","terser-icon","testcafe","testing-library","testlodge","testmunk","thimble","threejs","thymeleaf","thymeleaf-icon","tidal","tidal-icon","tiktok","tiktok-icon","titon","tnw","todoist","todoist-icon","todomvc","tomcat","toml","tor","tor-browser","torus","traackr","trac","trace","travis-ci","travis-ci-monochrome","treasuredata","treasuredata-icon","treehouse","treehouse-icon","trello","trpc","truffle","truffle-icon","tsmc","tsnode","tsu","tsuru","tumblr","tumblr-icon","tunein","tuple","turbopack","turbopack-icon","turborepo","turborepo-icon","turret","tutsplus","tutum","twilio","twilio-icon","twitch","twitter","typeform","typeform-icon","typeorm","typescript","typescript-icon","typescript-icon-round","typesense","typesense-icon","typo3","typo3-icon","ubuntu","udacity","udacity-icon","udemy","udemy-icon","uikit","umu","unbounce","unbounce-icon","undertow","unionpay","unitjs","unito","unito-icon","unity","unocss","unrealengine","unrealengine-icon","upcase","upstash","upstash-icon","upwork","user-testing","user-testing-icon","uservoice","uservoice-icon","uwsgi","v8","v8-ignition","v8-turbofan","vaadin","vaddy","vagrant","vagrant-icon","vault","vault-icon","vector","vector-timber","vercel","vercel-icon","verdaccio","verdaccio-icon","vernemq","victorops","vim","vimeo","vimeo-icon","vine","visa","visaelectron","visual-studio","visual-studio-code","visual-website-optimizer","vitejs","vitess","vitest","vivaldi","vivaldi-icon","vlang","void","vue","vuetifyjs","vueuse","vulkan","vultr","vultr-icon","vwo","w3c","waffle","waffle-icon","wagtail","wakatime","walkme","watchman","waypoint","waypoint-icon","wayscript","wayscript-icon","wearos","weave","web-dev","web-dev-icon","web-fundamentals","web3js","webassembly","webcomponents","webdriverio","webflow","webgpu","webhint","webhint-icon","webhooks","webix","webix-icon","webkit","webmin","webpack","webplatform","webrtc","websocket","webstorm","webtask","webtorrent","weebly","wercker","whalar","whalar-icon","whatsapp","whatsapp-icon","whatsapp-monochrome-icon","whatwg","wicket","wicket-icon","wifi","wildfly","windi-css","winglang","winglang-icon","wire","wiredtree","wix","wmr","woocommerce","woocommerce-icon","woopra","wordpress","wordpress-icon","wordpress-icon-alt","workboard","workos","workos-icon","workplace","workplace-icon","wpengine","wufoo","x-ray-goggles","xamarin","xampp","xata","xata-icon","xcart","xcode","xero","xplenty","xray-for-jira","xstate","xtend","xwiki","xwiki-icon","yahoo","yaml","yammer","yandex-ru","yarn","ycombinator","yeoman","yii","youtrack","youtube","youtube-icon","yugabyte","yugabyte-icon","zabbix","zapier","zapier-icon","zeit","zeit-icon","zend-framework","zendesk","zendesk-icon","zenhub","zenhub-icon","zeplin","zeroheight","zeroheight-icon","zest","zig","zigbee","zod","zoho","zoom","zoom-icon","zorin-os","zsh","zube","zulip","zulip-icon","zwave"]},{prefix:"twemoji",info:{name:"Twitter Emoji",total:3668,author:{name:"Twitter",url:"https://github.com/twitter/twemoji"},license:{title:"CC BY 4.0",spdx:"CC-BY-4.0",url:"https://creativecommons.org/licenses/by/4.0/"},samples:["anguished-face","duck","crossed-swords"],height:36,displayHeight:18,category:"Emoji",palette:!0},icons:["1st-place-medal","2nd-place-medal","3rd-place-medal","a-button-blood-type","ab-button-blood-type","abacus","accordion","adhesive-bandage","admission-tickets","adult","adult-dark-skin-tone","adult-light-skin-tone","adult-medium-dark-skin-tone","adult-medium-light-skin-tone","adult-medium-skin-tone","aerial-tramway","airplane","airplane-arrival","airplane-departure","alarm-clock","alembic","alien","alien-monster","ambulance","american-football","amphora","anatomical-heart","anchor","anger-symbol","angry-face","angry-face-with-horns","anguished-face","ant","antenna-bars","anxious-face-with-sweat","aquarius","aries","articulated-lorry","artist","artist-dark-skin-tone","artist-light-skin-tone","artist-medium-dark-skin-tone","artist-medium-light-skin-tone","artist-medium-skin-tone","artist-palette","astonished-face","astronaut","astronaut-dark-skin-tone","astronaut-light-skin-tone","astronaut-medium-dark-skin-tone","astronaut-medium-light-skin-tone","astronaut-medium-skin-tone","atm-sign","atom-symbol","auto-rickshaw","automobile","avocado","axe","b-button-blood-type","baby","baby-angel","baby-angel-dark-skin-tone","baby-angel-light-skin-tone","baby-angel-medium-dark-skin-tone","baby-angel-medium-light-skin-tone","baby-angel-medium-skin-tone","baby-bottle","baby-chick","baby-dark-skin-tone","baby-light-skin-tone","baby-medium-dark-skin-tone","baby-medium-light-skin-tone","baby-medium-skin-tone","baby-symbol","back-arrow","backhand-index-pointing-down","backhand-index-pointing-down-dark-skin-tone","backhand-index-pointing-down-light-skin-tone","backhand-index-pointing-down-medium-dark-skin-tone","backhand-index-pointing-down-medium-light-skin-tone","backhand-index-pointing-down-medium-skin-tone","backhand-index-pointing-left","backhand-index-pointing-left-dark-skin-tone","backhand-index-pointing-left-light-skin-tone","backhand-index-pointing-left-medium-dark-skin-tone","backhand-index-pointing-left-medium-light-skin-tone","backhand-index-pointing-left-medium-skin-tone","backhand-index-pointing-right","backhand-index-pointing-right-dark-skin-tone","backhand-index-pointing-right-light-skin-tone","backhand-index-pointing-right-medium-dark-skin-tone","backhand-index-pointing-right-medium-light-skin-tone","backhand-index-pointing-right-medium-skin-tone","backhand-index-pointing-up","backhand-index-pointing-up-dark-skin-tone","backhand-index-pointing-up-light-skin-tone","backhand-index-pointing-up-medium-dark-skin-tone","backhand-index-pointing-up-medium-light-skin-tone","backhand-index-pointing-up-medium-skin-tone","backpack","bacon","badger","badminton","bagel","baggage-claim","baguette-bread","balance-scale","bald","ballet-shoes","balloon","ballot-box-with-ballot","banana","banjo","bank","bar-chart","barber-pole","baseball","basket","basketball","bat","bathtub","battery","beach-with-umbrella","beaming-face-with-smiling-eyes","beans","bear","bearded-person","bearded-person-dark-skin-tone","bearded-person-light-skin-tone","bearded-person-medium-dark-skin-tone","bearded-person-medium-light-skin-tone","bearded-person-medium-skin-tone","beating-heart","beaver","bed","beer-mug","beetle","bell","bell-pepper","bell-with-slash","bellhop-bell","bento-box","beverage-box","bicycle","bikini","billed-cap","biohazard","bird","birthday-cake","bison","biting-lip","black-cat","black-circle","black-flag","black-heart","black-large-square","black-medium-small-square","black-medium-square","black-nib","black-small-square","black-square-button","blossom","blowfish","blue-book","blue-circle","blue-heart","blue-square","blueberries","boar","bomb","bone","bookmark","bookmark-tabs","books","boomerang","bottle-with-popping-cork","bouquet","bow-and-arrow","bowl-with-spoon","bowling","boxing-glove","boy","boy-dark-skin-tone","boy-light-skin-tone","boy-medium-dark-skin-tone","boy-medium-light-skin-tone","boy-medium-skin-tone","brain","bread","breast-feeding","breast-feeding-dark-skin-tone","breast-feeding-light-skin-tone","breast-feeding-medium-dark-skin-tone","breast-feeding-medium-light-skin-tone","breast-feeding-medium-skin-tone","brick","bridge-at-night","briefcase","briefs","bright-button","broccoli","broken-heart","broom","brown-circle","brown-heart","brown-square","bubble-tea","bubbles","bucket","bug","building-construction","bullet-train","bullseye","burrito","bus","bus-stop","bust-in-silhouette","busts-in-silhouette","butter","butterfly","cactus","calendar","call-me-hand","call-me-hand-dark-skin-tone","call-me-hand-light-skin-tone","call-me-hand-medium-dark-skin-tone","call-me-hand-medium-light-skin-tone","call-me-hand-medium-skin-tone","camel","camera","camera-with-flash","camping","cancer","candle","candy","canned-food","canoe","capricorn","card-file-box","card-index","card-index-dividers","carousel-horse","carp-streamer","carpentry-saw","carrot","castle","cat","cat-face","cat-with-tears-of-joy","cat-with-wry-smile","chains","chair","chart-decreasing","chart-increasing","chart-increasing-with-yen","check-box-with-check","check-mark","check-mark-button","cheese-wedge","chequered-flag","cherries","cherry-blossom","chess-pawn","chestnut","chicken","child","child-dark-skin-tone","child-light-skin-tone","child-medium-dark-skin-tone","child-medium-light-skin-tone","child-medium-skin-tone","children-crossing","chipmunk","chocolate-bar","chopsticks","christmas-tree","church","cigarette","cinema","circled-m","circus-tent","cityscape","cityscape-at-dusk","cl-button","clamp","clapper-board","clapping-hands","clapping-hands-dark-skin-tone","clapping-hands-light-skin-tone","clapping-hands-medium-dark-skin-tone","clapping-hands-medium-light-skin-tone","clapping-hands-medium-skin-tone","classical-building","clinking-beer-mugs","clinking-glasses","clipboard","clockwise-vertical-arrows","closed-book","closed-mailbox-with-lowered-flag","closed-mailbox-with-raised-flag","closed-umbrella","cloud","cloud-with-lightning","cloud-with-lightning-and-rain","cloud-with-rain","cloud-with-snow","clown-face","club-suit","clutch-bag","coat","cockroach","cocktail-glass","coconut","coffin","coin","cold-face","collision","comet","compass","computer-disk","computer-mouse","confetti-ball","confounded-face","confused-face","construction","construction-worker","construction-worker-dark-skin-tone","construction-worker-light-skin-tone","construction-worker-medium-dark-skin-tone","construction-worker-medium-light-skin-tone","construction-worker-medium-skin-tone","control-knobs","convenience-store","cook","cook-dark-skin-tone","cook-light-skin-tone","cook-medium-dark-skin-tone","cook-medium-light-skin-tone","cook-medium-skin-tone","cooked-rice","cookie","cooking","cool-button","copyright","coral","couch-and-lamp","counterclockwise-arrows-button","couple-with-heart","couple-with-heart-dark-skin-tone","couple-with-heart-light-skin-tone","couple-with-heart-man-man","couple-with-heart-man-man-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-light-skin-tone","couple-with-heart-man-man-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-medium-dark-skin-tone","couple-with-heart-medium-light-skin-tone","couple-with-heart-medium-skin-tone","couple-with-heart-person-person-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man","couple-with-heart-woman-man-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman","couple-with-heart-woman-woman-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-light-skin-tone","cow","cow-face","cowboy-hat-face","crab","crayon","credit-card","crescent-moon","cricket","cricket-game","crocodile","croissant","cross-mark","cross-mark-button","crossed-fingers","crossed-fingers-dark-skin-tone","crossed-fingers-light-skin-tone","crossed-fingers-medium-dark-skin-tone","crossed-fingers-medium-light-skin-tone","crossed-fingers-medium-skin-tone","crossed-flags","crossed-swords","crown","crutch","crying-cat","crying-face","crystal-ball","cucumber","cup-with-straw","cupcake","curling-stone","curly-haired","curly-loop","currency-exchange","curry-rice","custard","customs","cut-of-meat","cyclone","dagger","dango","dark-skin-tone","dashing-away","deaf-man","deaf-man-dark-skin-tone","deaf-man-light-skin-tone","deaf-man-medium-dark-skin-tone","deaf-man-medium-light-skin-tone","deaf-man-medium-skin-tone","deaf-person","deaf-person-dark-skin-tone","deaf-person-light-skin-tone","deaf-person-medium-dark-skin-tone","deaf-person-medium-light-skin-tone","deaf-person-medium-skin-tone","deaf-woman","deaf-woman-dark-skin-tone","deaf-woman-light-skin-tone","deaf-woman-medium-dark-skin-tone","deaf-woman-medium-light-skin-tone","deaf-woman-medium-skin-tone","deciduous-tree","deer","delivery-truck","department-store","derelict-house","desert","desert-island","desktop-computer","detective","detective-dark-skin-tone","detective-light-skin-tone","detective-medium-dark-skin-tone","detective-medium-light-skin-tone","detective-medium-skin-tone","diamond-suit","diamond-with-a-dot","dim-button","disappointed-face","disguised-face","divide","diving-mask","diya-lamp","dizzy","dna","dodo","dog","dog-face","dollar-banknote","dolphin","door","dotted-line-face","dotted-six-pointed-star","double-curly-loop","double-exclamation-mark","doughnut","dove","down-arrow","down-left-arrow","down-right-arrow","downcast-face-with-sweat","downwards-button","dragon","dragon-face","dress","drooling-face","drop-of-blood","droplet","drum","duck","dumpling","dvd","e-mail","eagle","ear","ear-dark-skin-tone","ear-light-skin-tone","ear-medium-dark-skin-tone","ear-medium-light-skin-tone","ear-medium-skin-tone","ear-of-corn","ear-with-hearing-aid","ear-with-hearing-aid-dark-skin-tone","ear-with-hearing-aid-light-skin-tone","ear-with-hearing-aid-medium-dark-skin-tone","ear-with-hearing-aid-medium-light-skin-tone","ear-with-hearing-aid-medium-skin-tone","egg","eggplant","eight-oclock","eight-pointed-star","eight-spoked-asterisk","eight-thirty","eject-button","electric-plug","elephant","elevator","eleven-oclock","eleven-thirty","elf","elf-dark-skin-tone","elf-light-skin-tone","elf-medium-dark-skin-tone","elf-medium-light-skin-tone","elf-medium-skin-tone","empty-nest","end-arrow","enraged-face","envelope","envelope-with-arrow","euro-banknote","evergreen-tree","ewe","exclamation-question-mark","exploding-head","expressionless-face","eye","eye-in-speech-bubble","eyes","face-blowing-a-kiss","face-exhaling","face-holding-back-tears","face-in-clouds","face-savoring-food","face-screaming-in-fear","face-vomiting","face-with-crossed-out-eyes","face-with-diagonal-mouth","face-with-hand-over-mouth","face-with-head-bandage","face-with-medical-mask","face-with-monocle","face-with-open-eyes-and-hand-over-mouth","face-with-open-mouth","face-with-peeking-eye","face-with-raised-eyebrow","face-with-rolling-eyes","face-with-spiral-eyes","face-with-steam-from-nose","face-with-symbols-on-mouth","face-with-tears-of-joy","face-with-thermometer","face-with-tongue","face-without-mouth","factory","factory-worker","factory-worker-dark-skin-tone","factory-worker-light-skin-tone","factory-worker-medium-dark-skin-tone","factory-worker-medium-light-skin-tone","factory-worker-medium-skin-tone","fairy","fairy-dark-skin-tone","fairy-light-skin-tone","fairy-medium-dark-skin-tone","fairy-medium-light-skin-tone","fairy-medium-skin-tone","falafel","fallen-leaf","family","family-man-boy","family-man-boy-boy","family-man-girl","family-man-girl-boy","family-man-girl-girl","family-man-man-boy","family-man-man-boy-boy","family-man-man-girl","family-man-man-girl-boy","family-man-man-girl-girl","family-man-woman-boy","family-man-woman-boy-boy","family-man-woman-girl","family-man-woman-girl-boy","family-man-woman-girl-girl","family-woman-boy","family-woman-boy-boy","family-woman-girl","family-woman-girl-boy","family-woman-girl-girl","family-woman-woman-boy","family-woman-woman-boy-boy","family-woman-woman-girl","family-woman-woman-girl-boy","family-woman-woman-girl-girl","farmer","farmer-dark-skin-tone","farmer-light-skin-tone","farmer-medium-dark-skin-tone","farmer-medium-light-skin-tone","farmer-medium-skin-tone","fast-down-button","fast-forward-button","fast-reverse-button","fast-up-button","fax-machine","fearful-face","feather","female-sign","ferris-wheel","ferry","field-hockey","file-cabinet","file-folder","film-frames","film-projector","fire","fire-engine","fire-extinguisher","firecracker","firefighter","firefighter-dark-skin-tone","firefighter-light-skin-tone","firefighter-medium-dark-skin-tone","firefighter-medium-light-skin-tone","firefighter-medium-skin-tone","fireworks","first-quarter-moon","first-quarter-moon-face","fish","fish-cake-with-swirl","fishing-pole","five-oclock","five-thirty","flag-afghanistan","flag-aland-islands","flag-albania","flag-algeria","flag-american-samoa","flag-andorra","flag-angola","flag-anguilla","flag-antarctica","flag-antigua-and-barbuda","flag-argentina","flag-armenia","flag-aruba","flag-ascension-island","flag-australia","flag-austria","flag-azerbaijan","flag-bahamas","flag-bahrain","flag-bangladesh","flag-barbados","flag-belarus","flag-belgium","flag-belize","flag-benin","flag-bermuda","flag-bhutan","flag-bolivia","flag-bosnia-and-herzegovina","flag-botswana","flag-bouvet-island","flag-brazil","flag-british-indian-ocean-territory","flag-british-virgin-islands","flag-brunei","flag-bulgaria","flag-burkina-faso","flag-burundi","flag-cambodia","flag-cameroon","flag-canada","flag-canary-islands","flag-cape-verde","flag-caribbean-netherlands","flag-cayman-islands","flag-central-african-republic","flag-ceuta-and-melilla","flag-chad","flag-chile","flag-china","flag-christmas-island","flag-clipperton-island","flag-cocos-keeling-islands","flag-colombia","flag-comoros","flag-congo-brazzaville","flag-congo-kinshasa","flag-cook-islands","flag-costa-rica","flag-cote-divoire","flag-croatia","flag-cuba","flag-curacao","flag-cyprus","flag-czechia","flag-denmark","flag-diego-garcia","flag-djibouti","flag-dominica","flag-dominican-republic","flag-ecuador","flag-egypt","flag-el-salvador","flag-england","flag-equatorial-guinea","flag-eritrea","flag-estonia","flag-eswatini","flag-ethiopia","flag-european-union","flag-falkland-islands","flag-faroe-islands","flag-fiji","flag-finland","flag-for-flag-afghanistan","flag-for-flag-albania","flag-for-flag-algeria","flag-for-flag-american-samoa","flag-for-flag-andorra","flag-for-flag-angola","flag-for-flag-antigua-and-barbuda","flag-for-flag-argentina","flag-for-flag-aruba","flag-for-flag-ascension-island","flag-for-flag-australia","flag-for-flag-azerbaijan","flag-for-flag-bahamas","flag-for-flag-bangladesh","flag-for-flag-barbados","flag-for-flag-belarus","flag-for-flag-belize","flag-for-flag-bermuda","flag-for-flag-bolivia","flag-for-flag-bosnia-and-herzegovina","flag-for-flag-brazil","flag-for-flag-british-indian-ocean-territory","flag-for-flag-burkina-faso","flag-for-flag-burundi","flag-for-flag-canary-islands","flag-for-flag-cape-verde","flag-for-flag-caribbean-netherlands","flag-for-flag-cayman-islands","flag-for-flag-central-african-republic","flag-for-flag-ceuta-and-melilla","flag-for-flag-china","flag-for-flag-christmas-island","flag-for-flag-cocos-keeling-islands","flag-for-flag-comoros","flag-for-flag-cook-islands","flag-for-flag-costa-rica","flag-for-flag-croatia","flag-for-flag-cuba","flag-for-flag-cyprus","flag-for-flag-djibouti","flag-for-flag-dominica","flag-for-flag-dominican-republic","flag-for-flag-ecuador","flag-for-flag-egypt","flag-for-flag-el-salvador","flag-for-flag-equatorial-guinea","flag-for-flag-eswatini","flag-for-flag-ethiopia","flag-for-flag-european-union","flag-for-flag-falkland-islands","flag-for-flag-fiji","flag-for-flag-french-guiana","flag-for-flag-french-polynesia","flag-for-flag-french-southern-territories","flag-for-flag-ghana","flag-for-flag-gibraltar","flag-for-flag-greenland","flag-for-flag-grenada","flag-for-flag-guam","flag-for-flag-guatemala","flag-for-flag-guinea-bissau","flag-for-flag-guyana","flag-for-flag-haiti","flag-for-flag-honduras","flag-for-flag-hong-kong-sar-china","flag-for-flag-india","flag-for-flag-isle-of-man","flag-for-flag-israel","flag-for-flag-japan","flag-for-flag-jersey","flag-for-flag-jordan","flag-for-flag-kazakhstan","flag-for-flag-kenya","flag-for-flag-kiribati","flag-for-flag-kosovo","flag-for-flag-laos","flag-for-flag-lebanon","flag-for-flag-liberia","flag-for-flag-liechtenstein","flag-for-flag-malawi","flag-for-flag-malaysia","flag-for-flag-malta","flag-for-flag-marshall-islands","flag-for-flag-mauritania","flag-for-flag-mayotte","flag-for-flag-mexico","flag-for-flag-micronesia","flag-for-flag-moldova","flag-for-flag-montserrat","flag-for-flag-morocco","flag-for-flag-mozambique","flag-for-flag-namibia","flag-for-flag-nauru","flag-for-flag-nepal","flag-for-flag-new-caledonia","flag-for-flag-new-zealand","flag-for-flag-nicaragua","flag-for-flag-niger","flag-for-flag-niue","flag-for-flag-northern-mariana-islands","flag-for-flag-pakistan","flag-for-flag-palau","flag-for-flag-panama","flag-for-flag-papua-new-guinea","flag-for-flag-paraguay","flag-for-flag-philippines","flag-for-flag-pitcairn-islands","flag-for-flag-puerto-rico","flag-for-flag-qatar","flag-for-flag-reunion","flag-for-flag-rwanda","flag-for-flag-samoa","flag-for-flag-sao-tome-and-principe","flag-for-flag-saudi-arabia","flag-for-flag-seychelles","flag-for-flag-singapore","flag-for-flag-sint-maarten","flag-for-flag-slovenia","flag-for-flag-solomon-islands","flag-for-flag-south-georgia-and-south-sandwich-islands","flag-for-flag-south-korea","flag-for-flag-south-sudan","flag-for-flag-sri-lanka","flag-for-flag-st-barthelemy","flag-for-flag-st-helena","flag-for-flag-st-kitts-and-nevis","flag-for-flag-st-lucia","flag-for-flag-st-pierre-and-miquelon","flag-for-flag-st-vincent-and-grenadines","flag-for-flag-syria","flag-for-flag-taiwan","flag-for-flag-timor-leste","flag-for-flag-tokelau","flag-for-flag-tristan-da-cunha","flag-for-flag-tunisia","flag-for-flag-turkmenistan","flag-for-flag-tuvalu","flag-for-flag-uganda","flag-for-flag-united-kingdom","flag-for-flag-united-nations","flag-for-flag-united-states","flag-for-flag-uruguay","flag-for-flag-us-virgin-islands","flag-for-flag-vanuatu","flag-for-flag-vatican-city","flag-for-flag-venezuela","flag-for-flag-wallis-and-futuna","flag-for-flag-western-sahara","flag-for-flag-zimbabwe","flag-france","flag-french-guiana","flag-french-polynesia","flag-french-southern-territories","flag-gabon","flag-gambia","flag-georgia","flag-germany","flag-ghana","flag-gibraltar","flag-greece","flag-greenland","flag-grenada","flag-guadeloupe","flag-guam","flag-guatemala","flag-guernsey","flag-guinea","flag-guinea-bissau","flag-guyana","flag-haiti","flag-heard-and-mcdonald-islands","flag-honduras","flag-hong-kong-sar-china","flag-hungary","flag-iceland","flag-in-hole","flag-india","flag-indonesia","flag-iran","flag-iraq","flag-ireland","flag-isle-of-man","flag-israel","flag-italy","flag-jamaica","flag-japan","flag-jersey","flag-jordan","flag-kazakhstan","flag-kenya","flag-kiribati","flag-kosovo","flag-kuwait","flag-kyrgyzstan","flag-laos","flag-latvia","flag-lebanon","flag-lesotho","flag-liberia","flag-libya","flag-liechtenstein","flag-lithuania","flag-luxembourg","flag-macao-sar-china","flag-madagascar","flag-malawi","flag-malaysia","flag-maldives","flag-mali","flag-malta","flag-marshall-islands","flag-martinique","flag-mauritania","flag-mauritius","flag-mayotte","flag-mexico","flag-micronesia","flag-moldova","flag-monaco","flag-mongolia","flag-montenegro","flag-montserrat","flag-morocco","flag-mozambique","flag-myanmar-burma","flag-namibia","flag-nauru","flag-nepal","flag-netherlands","flag-new-caledonia","flag-new-zealand","flag-nicaragua","flag-niger","flag-nigeria","flag-niue","flag-norfolk-island","flag-north-korea","flag-north-macedonia","flag-northern-mariana-islands","flag-norway","flag-oman","flag-pakistan","flag-palau","flag-palestinian-territories","flag-panama","flag-papua-new-guinea","flag-paraguay","flag-peru","flag-philippines","flag-pitcairn-islands","flag-poland","flag-portugal","flag-puerto-rico","flag-qatar","flag-reunion","flag-romania","flag-russia","flag-rwanda","flag-samoa","flag-san-marino","flag-sao-tome-and-principe","flag-saudi-arabia","flag-scotland","flag-senegal","flag-serbia","flag-seychelles","flag-sierra-leone","flag-singapore","flag-sint-maarten","flag-slovakia","flag-slovenia","flag-solomon-islands","flag-somalia","flag-south-africa","flag-south-georgia-and-south-sandwich-islands","flag-south-korea","flag-south-sudan","flag-spain","flag-sri-lanka","flag-st-barthelemy","flag-st-helena","flag-st-kitts-and-nevis","flag-st-lucia","flag-st-martin","flag-st-pierre-and-miquelon","flag-st-vincent-and-grenadines","flag-sudan","flag-suriname","flag-svalbard-and-jan-mayen","flag-sweden","flag-switzerland","flag-syria","flag-taiwan","flag-tajikistan","flag-tanzania","flag-thailand","flag-timor-leste","flag-togo","flag-tokelau","flag-tonga","flag-trinidad-and-tobago","flag-tristan-da-cunha","flag-tunisia","flag-turkiye","flag-turkmenistan","flag-turks-and-caicos-islands","flag-tuvalu","flag-uganda","flag-ukraine","flag-united-arab-emirates","flag-united-kingdom","flag-united-nations","flag-united-states","flag-uruguay","flag-us-outlying-islands","flag-us-virgin-islands","flag-uzbekistan","flag-vanuatu","flag-vatican-city","flag-venezuela","flag-vietnam","flag-wales","flag-wallis-and-futuna","flag-western-sahara","flag-yemen","flag-zambia","flag-zimbabwe","flamingo","flashlight","flat-shoe","flatbread","fleur-de-lis","flexed-biceps","flexed-biceps-dark-skin-tone","flexed-biceps-light-skin-tone","flexed-biceps-medium-dark-skin-tone","flexed-biceps-medium-light-skin-tone","flexed-biceps-medium-skin-tone","floppy-disk","flower-playing-cards","flushed-face","fly","flying-disc","flying-saucer","fog","foggy","folded-hands","folded-hands-dark-skin-tone","folded-hands-light-skin-tone","folded-hands-medium-dark-skin-tone","folded-hands-medium-light-skin-tone","folded-hands-medium-skin-tone","fondue","foot","foot-dark-skin-tone","foot-light-skin-tone","foot-medium-dark-skin-tone","foot-medium-light-skin-tone","foot-medium-skin-tone","footprints","fork-and-knife","fork-and-knife-with-plate","fortune-cookie","fountain","fountain-pen","four-leaf-clover","four-oclock","four-thirty","fox","framed-picture","free-button","french-fries","fried-shrimp","frog","front-facing-baby-chick","frowning-face","frowning-face-with-open-mouth","fuel-pump","full-moon","full-moon-face","funeral-urn","game-die","garlic","gear","gem-stone","gemini","genie","ghost","giraffe","girl","girl-dark-skin-tone","girl-light-skin-tone","girl-medium-dark-skin-tone","girl-medium-light-skin-tone","girl-medium-skin-tone","glass-of-milk","glasses","globe-showing-americas","globe-showing-asia-australia","globe-showing-europe-africa","globe-with-meridians","gloves","glowing-star","goal-net","goat","goblin","goggles","gorilla","graduation-cap","grapes","green-apple","green-book","green-circle","green-heart","green-salad","green-square","grimacing-face","grinning-cat","grinning-cat-with-smiling-eyes","grinning-face","grinning-face-with-big-eyes","grinning-face-with-smiling-eyes","grinning-face-with-sweat","grinning-squinting-face","growing-heart","guard","guard-dark-skin-tone","guard-light-skin-tone","guard-medium-dark-skin-tone","guard-medium-light-skin-tone","guard-medium-skin-tone","guide-dog","guitar","hamburger","hammer","hammer-and-pick","hammer-and-wrench","hamsa","hamster","hand-with-fingers-splayed","hand-with-fingers-splayed-dark-skin-tone","hand-with-fingers-splayed-light-skin-tone","hand-with-fingers-splayed-medium-dark-skin-tone","hand-with-fingers-splayed-medium-light-skin-tone","hand-with-fingers-splayed-medium-skin-tone","hand-with-index-finger-and-thumb-crossed","hand-with-index-finger-and-thumb-crossed-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-skin-tone","handbag","handshake","handshake-dark-skin-tone","handshake-dark-skin-tone-light-skin-tone","handshake-dark-skin-tone-medium-dark-skin-tone","handshake-dark-skin-tone-medium-light-skin-tone","handshake-dark-skin-tone-medium-skin-tone","handshake-light-skin-tone","handshake-light-skin-tone-dark-skin-tone","handshake-light-skin-tone-medium-dark-skin-tone","handshake-light-skin-tone-medium-light-skin-tone","handshake-light-skin-tone-medium-skin-tone","handshake-medium-dark-skin-tone","handshake-medium-dark-skin-tone-dark-skin-tone","handshake-medium-dark-skin-tone-light-skin-tone","handshake-medium-dark-skin-tone-medium-light-skin-tone","handshake-medium-dark-skin-tone-medium-skin-tone","handshake-medium-light-skin-tone","handshake-medium-light-skin-tone-dark-skin-tone","handshake-medium-light-skin-tone-light-skin-tone","handshake-medium-light-skin-tone-medium-dark-skin-tone","handshake-medium-light-skin-tone-medium-skin-tone","handshake-medium-skin-tone","handshake-medium-skin-tone-dark-skin-tone","handshake-medium-skin-tone-light-skin-tone","handshake-medium-skin-tone-medium-dark-skin-tone","handshake-medium-skin-tone-medium-light-skin-tone","hatching-chick","headphone","headstone","health-worker","health-worker-dark-skin-tone","health-worker-light-skin-tone","health-worker-medium-dark-skin-tone","health-worker-medium-light-skin-tone","health-worker-medium-skin-tone","hear-no-evil-monkey","heart-decoration","heart-exclamation","heart-hands","heart-hands-dark-skin-tone","heart-hands-light-skin-tone","heart-hands-medium-dark-skin-tone","heart-hands-medium-light-skin-tone","heart-hands-medium-skin-tone","heart-on-fire","heart-suit","heart-with-arrow","heart-with-ribbon","heavy-dollar-sign","heavy-equals-sign","hedgehog","helicopter","herb","hibiscus","high-heeled-shoe","high-speed-train","high-voltage","hiking-boot","hindu-temple","hippopotamus","hole","hollow-red-circle","honey-pot","honeybee","hook","horizontal-traffic-light","horse","horse-face","horse-racing","horse-racing-dark-skin-tone","horse-racing-light-skin-tone","horse-racing-medium-dark-skin-tone","horse-racing-medium-light-skin-tone","horse-racing-medium-skin-tone","hospital","hot-beverage","hot-dog","hot-face","hot-pepper","hot-springs","hotel","hourglass-done","hourglass-not-done","house","house-with-garden","houses","hugging-face","hundred-points","hushed-face","hut","ice","ice-cream","ice-hockey","ice-skate","id-button","identification-card","inbox-tray","incoming-envelope","index-pointing-at-the-viewer","index-pointing-at-the-viewer-dark-skin-tone","index-pointing-at-the-viewer-light-skin-tone","index-pointing-at-the-viewer-medium-dark-skin-tone","index-pointing-at-the-viewer-medium-light-skin-tone","index-pointing-at-the-viewer-medium-skin-tone","index-pointing-up","index-pointing-up-dark-skin-tone","index-pointing-up-light-skin-tone","index-pointing-up-medium-dark-skin-tone","index-pointing-up-medium-light-skin-tone","index-pointing-up-medium-skin-tone","infinity","information","input-latin-letters","input-latin-lowercase","input-latin-uppercase","input-numbers","input-symbols","jack-o-lantern","japanese-acceptable-button","japanese-application-button","japanese-bargain-button","japanese-castle","japanese-congratulations-button","japanese-discount-button","japanese-dolls","japanese-free-of-charge-button","japanese-here-button","japanese-monthly-amount-button","japanese-no-vacancy-button","japanese-not-free-of-charge-button","japanese-open-for-business-button","japanese-passing-grade-button","japanese-post-office","japanese-prohibited-button","japanese-reserved-button","japanese-secret-button","japanese-service-charge-button","japanese-symbol-for-beginner","japanese-vacancy-button","jar","jeans","joker","joystick","judge","judge-dark-skin-tone","judge-light-skin-tone","judge-medium-dark-skin-tone","judge-medium-light-skin-tone","judge-medium-skin-tone","kaaba","kangaroo","key","keyboard","keycap-0","keycap-1","keycap-10","keycap-2","keycap-3","keycap-4","keycap-5","keycap-6","keycap-7","keycap-8","keycap-9","keycap-asterisk","keycap-pound","kick-scooter","kimono","kiss","kiss-dark-skin-tone","kiss-light-skin-tone","kiss-man-man","kiss-man-man-dark-skin-tone","kiss-man-man-dark-skin-tone-light-skin-tone","kiss-man-man-dark-skin-tone-medium-dark-skin-tone","kiss-man-man-dark-skin-tone-medium-light-skin-tone","kiss-man-man-dark-skin-tone-medium-skin-tone","kiss-man-man-light-skin-tone","kiss-man-man-light-skin-tone-dark-skin-tone","kiss-man-man-light-skin-tone-medium-dark-skin-tone","kiss-man-man-light-skin-tone-medium-light-skin-tone","kiss-man-man-light-skin-tone-medium-skin-tone","kiss-man-man-medium-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-skin-tone","kiss-man-man-medium-light-skin-tone","kiss-man-man-medium-light-skin-tone-dark-skin-tone","kiss-man-man-medium-light-skin-tone-light-skin-tone","kiss-man-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-light-skin-tone-medium-skin-tone","kiss-man-man-medium-skin-tone","kiss-man-man-medium-skin-tone-dark-skin-tone","kiss-man-man-medium-skin-tone-light-skin-tone","kiss-man-man-medium-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-skin-tone-medium-light-skin-tone","kiss-mark","kiss-medium-dark-skin-tone","kiss-medium-light-skin-tone","kiss-medium-skin-tone","kiss-person-person-dark-skin-tone-light-skin-tone","kiss-person-person-dark-skin-tone-medium-dark-skin-tone","kiss-person-person-dark-skin-tone-medium-light-skin-tone","kiss-person-person-dark-skin-tone-medium-skin-tone","kiss-person-person-light-skin-tone-dark-skin-tone","kiss-person-person-light-skin-tone-medium-dark-skin-tone","kiss-person-person-light-skin-tone-medium-light-skin-tone","kiss-person-person-light-skin-tone-medium-skin-tone","kiss-person-person-medium-dark-skin-tone-dark-skin-tone","kiss-person-person-medium-dark-skin-tone-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-skin-tone","kiss-person-person-medium-light-skin-tone-dark-skin-tone","kiss-person-person-medium-light-skin-tone-light-skin-tone","kiss-person-person-medium-light-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-light-skin-tone-medium-skin-tone","kiss-person-person-medium-skin-tone-dark-skin-tone","kiss-person-person-medium-skin-tone-light-skin-tone","kiss-person-person-medium-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-skin-tone-medium-light-skin-tone","kiss-woman-man","kiss-woman-man-dark-skin-tone","kiss-woman-man-dark-skin-tone-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-dark-skin-tone","kiss-woman-man-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-skin-tone","kiss-woman-man-light-skin-tone","kiss-woman-man-light-skin-tone-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-light-skin-tone","kiss-woman-man-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-skin-tone","kiss-woman-man-medium-light-skin-tone","kiss-woman-man-medium-light-skin-tone-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-light-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-skin-tone","kiss-woman-man-medium-skin-tone-dark-skin-tone","kiss-woman-man-medium-skin-tone-light-skin-tone","kiss-woman-man-medium-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-skin-tone-medium-light-skin-tone","kiss-woman-woman","kiss-woman-woman-dark-skin-tone","kiss-woman-woman-dark-skin-tone-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-dark-skin-tone","kiss-woman-woman-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-skin-tone","kiss-woman-woman-light-skin-tone","kiss-woman-woman-light-skin-tone-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-light-skin-tone","kiss-woman-woman-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-skin-tone","kiss-woman-woman-medium-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-skin-tone","kiss-woman-woman-medium-skin-tone-dark-skin-tone","kiss-woman-woman-medium-skin-tone-light-skin-tone","kiss-woman-woman-medium-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-skin-tone-medium-light-skin-tone","kissing-cat","kissing-face","kissing-face-with-closed-eyes","kissing-face-with-smiling-eyes","kitchen-knife","kite","kiwi-fruit","knocked-out-face","knot","koala","lab-coat","label","lacrosse","ladder","lady-beetle","laptop","large-blue-diamond","large-orange-diamond","last-quarter-moon","last-quarter-moon-face","last-track-button","latin-cross","leaf-fluttering-in-wind","leafy-green","ledger","left-arrow","left-arrow-curving-right","left-facing-fist","left-facing-fist-dark-skin-tone","left-facing-fist-light-skin-tone","left-facing-fist-medium-dark-skin-tone","left-facing-fist-medium-light-skin-tone","left-facing-fist-medium-skin-tone","left-luggage","left-right-arrow","left-speech-bubble","leftwards-hand","leftwards-hand-dark-skin-tone","leftwards-hand-light-skin-tone","leftwards-hand-medium-dark-skin-tone","leftwards-hand-medium-light-skin-tone","leftwards-hand-medium-skin-tone","leg","leg-dark-skin-tone","leg-light-skin-tone","leg-medium-dark-skin-tone","leg-medium-light-skin-tone","leg-medium-skin-tone","lemon","leo","leopard","letter-a","letter-b","letter-c","letter-d","letter-e","letter-f","letter-g","letter-h","letter-i","letter-j","letter-k","letter-l","letter-m","letter-n","letter-o","letter-p","letter-q","letter-r","letter-s","letter-t","letter-u","letter-v","letter-w","letter-x","letter-y","letter-z","level-slider","libra","light-bulb","light-rail","light-skin-tone","link","linked-paperclips","lion","lipstick","litter-in-bin-sign","lizard","llama","lobster","locked","locked-with-key","locked-with-pen","locomotive","lollipop","long-drum","lotion-bottle","lotus","loudly-crying-face","loudspeaker","love-hotel","love-letter","love-you-gesture","love-you-gesture-dark-skin-tone","love-you-gesture-light-skin-tone","love-you-gesture-medium-dark-skin-tone","love-you-gesture-medium-light-skin-tone","love-you-gesture-medium-skin-tone","low-battery","luggage","lungs","lying-face","mage","mage-dark-skin-tone","mage-light-skin-tone","mage-medium-dark-skin-tone","mage-medium-light-skin-tone","mage-medium-skin-tone","magic-wand","magnet","magnifying-glass-tilted-left","magnifying-glass-tilted-right","mahjong-red-dragon","male-sign","mammoth","man","man-and-woman-holding-hands","man-artist","man-artist-dark-skin-tone","man-artist-light-skin-tone","man-artist-medium-dark-skin-tone","man-artist-medium-light-skin-tone","man-artist-medium-skin-tone","man-astronaut","man-astronaut-dark-skin-tone","man-astronaut-light-skin-tone","man-astronaut-medium-dark-skin-tone","man-astronaut-medium-light-skin-tone","man-astronaut-medium-skin-tone","man-bald","man-beard","man-biking","man-biking-dark-skin-tone","man-biking-light-skin-tone","man-biking-medium-dark-skin-tone","man-biking-medium-light-skin-tone","man-biking-medium-skin-tone","man-blond-hair","man-bouncing-ball","man-bouncing-ball-dark-skin-tone","man-bouncing-ball-light-skin-tone","man-bouncing-ball-medium-dark-skin-tone","man-bouncing-ball-medium-light-skin-tone","man-bouncing-ball-medium-skin-tone","man-bowing","man-bowing-dark-skin-tone","man-bowing-light-skin-tone","man-bowing-medium-dark-skin-tone","man-bowing-medium-light-skin-tone","man-bowing-medium-skin-tone","man-cartwheeling","man-cartwheeling-dark-skin-tone","man-cartwheeling-light-skin-tone","man-cartwheeling-medium-dark-skin-tone","man-cartwheeling-medium-light-skin-tone","man-cartwheeling-medium-skin-tone","man-climbing","man-climbing-dark-skin-tone","man-climbing-light-skin-tone","man-climbing-medium-dark-skin-tone","man-climbing-medium-light-skin-tone","man-climbing-medium-skin-tone","man-construction-worker","man-construction-worker-dark-skin-tone","man-construction-worker-light-skin-tone","man-construction-worker-medium-dark-skin-tone","man-construction-worker-medium-light-skin-tone","man-construction-worker-medium-skin-tone","man-cook","man-cook-dark-skin-tone","man-cook-light-skin-tone","man-cook-medium-dark-skin-tone","man-cook-medium-light-skin-tone","man-cook-medium-skin-tone","man-curly-hair","man-dancing","man-dancing-dark-skin-tone","man-dancing-light-skin-tone","man-dancing-medium-dark-skin-tone","man-dancing-medium-light-skin-tone","man-dancing-medium-skin-tone","man-dark-skin-tone","man-dark-skin-tone-bald","man-dark-skin-tone-beard","man-dark-skin-tone-blond-hair","man-dark-skin-tone-curly-hair","man-dark-skin-tone-red-hair","man-dark-skin-tone-white-hair","man-detective","man-detective-dark-skin-tone","man-detective-light-skin-tone","man-detective-medium-dark-skin-tone","man-detective-medium-light-skin-tone","man-detective-medium-skin-tone","man-elf","man-elf-dark-skin-tone","man-elf-light-skin-tone","man-elf-medium-dark-skin-tone","man-elf-medium-light-skin-tone","man-elf-medium-skin-tone","man-facepalming","man-facepalming-dark-skin-tone","man-facepalming-light-skin-tone","man-facepalming-medium-dark-skin-tone","man-facepalming-medium-light-skin-tone","man-facepalming-medium-skin-tone","man-factory-worker","man-factory-worker-dark-skin-tone","man-factory-worker-light-skin-tone","man-factory-worker-medium-dark-skin-tone","man-factory-worker-medium-light-skin-tone","man-factory-worker-medium-skin-tone","man-fairy","man-fairy-dark-skin-tone","man-fairy-light-skin-tone","man-fairy-medium-dark-skin-tone","man-fairy-medium-light-skin-tone","man-fairy-medium-skin-tone","man-farmer","man-farmer-dark-skin-tone","man-farmer-light-skin-tone","man-farmer-medium-dark-skin-tone","man-farmer-medium-light-skin-tone","man-farmer-medium-skin-tone","man-feeding-baby","man-feeding-baby-dark-skin-tone","man-feeding-baby-light-skin-tone","man-feeding-baby-medium-dark-skin-tone","man-feeding-baby-medium-light-skin-tone","man-feeding-baby-medium-skin-tone","man-firefighter","man-firefighter-dark-skin-tone","man-firefighter-light-skin-tone","man-firefighter-medium-dark-skin-tone","man-firefighter-medium-light-skin-tone","man-firefighter-medium-skin-tone","man-frowning","man-frowning-dark-skin-tone","man-frowning-light-skin-tone","man-frowning-medium-dark-skin-tone","man-frowning-medium-light-skin-tone","man-frowning-medium-skin-tone","man-genie","man-gesturing-no","man-gesturing-no-dark-skin-tone","man-gesturing-no-light-skin-tone","man-gesturing-no-medium-dark-skin-tone","man-gesturing-no-medium-light-skin-tone","man-gesturing-no-medium-skin-tone","man-gesturing-ok","man-gesturing-ok-dark-skin-tone","man-gesturing-ok-light-skin-tone","man-gesturing-ok-medium-dark-skin-tone","man-gesturing-ok-medium-light-skin-tone","man-gesturing-ok-medium-skin-tone","man-getting-haircut","man-getting-haircut-dark-skin-tone","man-getting-haircut-light-skin-tone","man-getting-haircut-medium-dark-skin-tone","man-getting-haircut-medium-light-skin-tone","man-getting-haircut-medium-skin-tone","man-getting-massage","man-getting-massage-dark-skin-tone","man-getting-massage-light-skin-tone","man-getting-massage-medium-dark-skin-tone","man-getting-massage-medium-light-skin-tone","man-getting-massage-medium-skin-tone","man-golfing","man-golfing-dark-skin-tone","man-golfing-light-skin-tone","man-golfing-medium-dark-skin-tone","man-golfing-medium-light-skin-tone","man-golfing-medium-skin-tone","man-guard","man-guard-dark-skin-tone","man-guard-light-skin-tone","man-guard-medium-dark-skin-tone","man-guard-medium-light-skin-tone","man-guard-medium-skin-tone","man-health-worker","man-health-worker-dark-skin-tone","man-health-worker-light-skin-tone","man-health-worker-medium-dark-skin-tone","man-health-worker-medium-light-skin-tone","man-health-worker-medium-skin-tone","man-in-lotus-position","man-in-lotus-position-dark-skin-tone","man-in-lotus-position-light-skin-tone","man-in-lotus-position-medium-dark-skin-tone","man-in-lotus-position-medium-light-skin-tone","man-in-lotus-position-medium-skin-tone","man-in-manual-wheelchair","man-in-manual-wheelchair-dark-skin-tone","man-in-manual-wheelchair-light-skin-tone","man-in-manual-wheelchair-medium-dark-skin-tone","man-in-manual-wheelchair-medium-light-skin-tone","man-in-manual-wheelchair-medium-skin-tone","man-in-motorized-wheelchair","man-in-motorized-wheelchair-dark-skin-tone","man-in-motorized-wheelchair-light-skin-tone","man-in-motorized-wheelchair-medium-dark-skin-tone","man-in-motorized-wheelchair-medium-light-skin-tone","man-in-motorized-wheelchair-medium-skin-tone","man-in-steamy-room","man-in-steamy-room-dark-skin-tone","man-in-steamy-room-light-skin-tone","man-in-steamy-room-medium-dark-skin-tone","man-in-steamy-room-medium-light-skin-tone","man-in-steamy-room-medium-skin-tone","man-in-suit-levitating","man-in-suit-levitating-dark-skin-tone","man-in-suit-levitating-light-skin-tone","man-in-suit-levitating-medium-dark-skin-tone","man-in-suit-levitating-medium-light-skin-tone","man-in-suit-levitating-medium-skin-tone","man-in-tuxedo","man-in-tuxedo-dark-skin-tone","man-in-tuxedo-light-skin-tone","man-in-tuxedo-medium-dark-skin-tone","man-in-tuxedo-medium-light-skin-tone","man-in-tuxedo-medium-skin-tone","man-judge","man-judge-dark-skin-tone","man-judge-light-skin-tone","man-judge-medium-dark-skin-tone","man-judge-medium-light-skin-tone","man-judge-medium-skin-tone","man-juggling","man-juggling-dark-skin-tone","man-juggling-light-skin-tone","man-juggling-medium-dark-skin-tone","man-juggling-medium-light-skin-tone","man-juggling-medium-skin-tone","man-kneeling","man-kneeling-dark-skin-tone","man-kneeling-light-skin-tone","man-kneeling-medium-dark-skin-tone","man-kneeling-medium-light-skin-tone","man-kneeling-medium-skin-tone","man-lifting-weights","man-lifting-weights-dark-skin-tone","man-lifting-weights-light-skin-tone","man-lifting-weights-medium-dark-skin-tone","man-lifting-weights-medium-light-skin-tone","man-lifting-weights-medium-skin-tone","man-light-skin-tone","man-light-skin-tone-bald","man-light-skin-tone-beard","man-light-skin-tone-blond-hair","man-light-skin-tone-curly-hair","man-light-skin-tone-red-hair","man-light-skin-tone-white-hair","man-mage","man-mage-dark-skin-tone","man-mage-light-skin-tone","man-mage-medium-dark-skin-tone","man-mage-medium-light-skin-tone","man-mage-medium-skin-tone","man-mechanic","man-mechanic-dark-skin-tone","man-mechanic-light-skin-tone","man-mechanic-medium-dark-skin-tone","man-mechanic-medium-light-skin-tone","man-mechanic-medium-skin-tone","man-medium-dark-skin-tone","man-medium-dark-skin-tone-bald","man-medium-dark-skin-tone-beard","man-medium-dark-skin-tone-blond-hair","man-medium-dark-skin-tone-curly-hair","man-medium-dark-skin-tone-red-hair","man-medium-dark-skin-tone-white-hair","man-medium-light-skin-tone","man-medium-light-skin-tone-bald","man-medium-light-skin-tone-beard","man-medium-light-skin-tone-blond-hair","man-medium-light-skin-tone-curly-hair","man-medium-light-skin-tone-red-hair","man-medium-light-skin-tone-white-hair","man-medium-skin-tone","man-medium-skin-tone-bald","man-medium-skin-tone-beard","man-medium-skin-tone-blond-hair","man-medium-skin-tone-curly-hair","man-medium-skin-tone-red-hair","man-medium-skin-tone-white-hair","man-mountain-biking","man-mountain-biking-dark-skin-tone","man-mountain-biking-light-skin-tone","man-mountain-biking-medium-dark-skin-tone","man-mountain-biking-medium-light-skin-tone","man-mountain-biking-medium-skin-tone","man-office-worker","man-office-worker-dark-skin-tone","man-office-worker-light-skin-tone","man-office-worker-medium-dark-skin-tone","man-office-worker-medium-light-skin-tone","man-office-worker-medium-skin-tone","man-pilot","man-pilot-dark-skin-tone","man-pilot-light-skin-tone","man-pilot-medium-dark-skin-tone","man-pilot-medium-light-skin-tone","man-pilot-medium-skin-tone","man-playing-handball","man-playing-handball-dark-skin-tone","man-playing-handball-light-skin-tone","man-playing-handball-medium-dark-skin-tone","man-playing-handball-medium-light-skin-tone","man-playing-handball-medium-skin-tone","man-playing-water-polo","man-playing-water-polo-dark-skin-tone","man-playing-water-polo-light-skin-tone","man-playing-water-polo-medium-dark-skin-tone","man-playing-water-polo-medium-light-skin-tone","man-playing-water-polo-medium-skin-tone","man-police-officer","man-police-officer-dark-skin-tone","man-police-officer-light-skin-tone","man-police-officer-medium-dark-skin-tone","man-police-officer-medium-light-skin-tone","man-police-officer-medium-skin-tone","man-pouting","man-pouting-dark-skin-tone","man-pouting-light-skin-tone","man-pouting-medium-dark-skin-tone","man-pouting-medium-light-skin-tone","man-pouting-medium-skin-tone","man-raising-hand","man-raising-hand-dark-skin-tone","man-raising-hand-light-skin-tone","man-raising-hand-medium-dark-skin-tone","man-raising-hand-medium-light-skin-tone","man-raising-hand-medium-skin-tone","man-red-hair","man-rowing-boat","man-rowing-boat-dark-skin-tone","man-rowing-boat-light-skin-tone","man-rowing-boat-medium-dark-skin-tone","man-rowing-boat-medium-light-skin-tone","man-rowing-boat-medium-skin-tone","man-running","man-running-dark-skin-tone","man-running-light-skin-tone","man-running-medium-dark-skin-tone","man-running-medium-light-skin-tone","man-running-medium-skin-tone","man-scientist","man-scientist-dark-skin-tone","man-scientist-light-skin-tone","man-scientist-medium-dark-skin-tone","man-scientist-medium-light-skin-tone","man-scientist-medium-skin-tone","man-shrugging","man-shrugging-dark-skin-tone","man-shrugging-light-skin-tone","man-shrugging-medium-dark-skin-tone","man-shrugging-medium-light-skin-tone","man-shrugging-medium-skin-tone","man-singer","man-singer-dark-skin-tone","man-singer-light-skin-tone","man-singer-medium-dark-skin-tone","man-singer-medium-light-skin-tone","man-singer-medium-skin-tone","man-standing","man-standing-dark-skin-tone","man-standing-light-skin-tone","man-standing-medium-dark-skin-tone","man-standing-medium-light-skin-tone","man-standing-medium-skin-tone","man-student","man-student-dark-skin-tone","man-student-light-skin-tone","man-student-medium-dark-skin-tone","man-student-medium-light-skin-tone","man-student-medium-skin-tone","man-superhero","man-superhero-dark-skin-tone","man-superhero-light-skin-tone","man-superhero-medium-dark-skin-tone","man-superhero-medium-light-skin-tone","man-superhero-medium-skin-tone","man-supervillain","man-supervillain-dark-skin-tone","man-supervillain-light-skin-tone","man-supervillain-medium-dark-skin-tone","man-supervillain-medium-light-skin-tone","man-supervillain-medium-skin-tone","man-surfing","man-surfing-dark-skin-tone","man-surfing-light-skin-tone","man-surfing-medium-dark-skin-tone","man-surfing-medium-light-skin-tone","man-surfing-medium-skin-tone","man-swimming","man-swimming-dark-skin-tone","man-swimming-light-skin-tone","man-swimming-medium-dark-skin-tone","man-swimming-medium-light-skin-tone","man-swimming-medium-skin-tone","man-teacher","man-teacher-dark-skin-tone","man-teacher-light-skin-tone","man-teacher-medium-dark-skin-tone","man-teacher-medium-light-skin-tone","man-teacher-medium-skin-tone","man-technologist","man-technologist-dark-skin-tone","man-technologist-light-skin-tone","man-technologist-medium-dark-skin-tone","man-technologist-medium-light-skin-tone","man-technologist-medium-skin-tone","man-tipping-hand","man-tipping-hand-dark-skin-tone","man-tipping-hand-light-skin-tone","man-tipping-hand-medium-dark-skin-tone","man-tipping-hand-medium-light-skin-tone","man-tipping-hand-medium-skin-tone","man-vampire","man-vampire-dark-skin-tone","man-vampire-light-skin-tone","man-vampire-medium-dark-skin-tone","man-vampire-medium-light-skin-tone","man-vampire-medium-skin-tone","man-walking","man-walking-dark-skin-tone","man-walking-light-skin-tone","man-walking-medium-dark-skin-tone","man-walking-medium-light-skin-tone","man-walking-medium-skin-tone","man-wearing-turban","man-wearing-turban-dark-skin-tone","man-wearing-turban-light-skin-tone","man-wearing-turban-medium-dark-skin-tone","man-wearing-turban-medium-light-skin-tone","man-wearing-turban-medium-skin-tone","man-white-hair","man-with-veil","man-with-veil-dark-skin-tone","man-with-veil-light-skin-tone","man-with-veil-medium-dark-skin-tone","man-with-veil-medium-light-skin-tone","man-with-veil-medium-skin-tone","man-with-white-cane","man-with-white-cane-dark-skin-tone","man-with-white-cane-light-skin-tone","man-with-white-cane-medium-dark-skin-tone","man-with-white-cane-medium-light-skin-tone","man-with-white-cane-medium-skin-tone","man-zombie","mango","mans-shoe","mantelpiece-clock","manual-wheelchair","map-of-japan","maple-leaf","martial-arts-uniform","mate","meat-on-bone","mechanic","mechanic-dark-skin-tone","mechanic-light-skin-tone","mechanic-medium-dark-skin-tone","mechanic-medium-light-skin-tone","mechanic-medium-skin-tone","mechanical-arm","mechanical-leg","medical-symbol","medium-dark-skin-tone","medium-light-skin-tone","medium-skin-tone","megaphone","melon","melting-face","memo","men-holding-hands","men-holding-hands-dark-skin-tone","men-holding-hands-dark-skin-tone-light-skin-tone","men-holding-hands-dark-skin-tone-medium-dark-skin-tone","men-holding-hands-dark-skin-tone-medium-light-skin-tone","men-holding-hands-dark-skin-tone-medium-skin-tone","men-holding-hands-light-skin-tone","men-holding-hands-light-skin-tone-dark-skin-tone","men-holding-hands-light-skin-tone-medium-dark-skin-tone","men-holding-hands-light-skin-tone-medium-light-skin-tone","men-holding-hands-light-skin-tone-medium-skin-tone","men-holding-hands-medium-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-skin-tone","men-holding-hands-medium-light-skin-tone","men-holding-hands-medium-light-skin-tone-dark-skin-tone","men-holding-hands-medium-light-skin-tone-light-skin-tone","men-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-light-skin-tone-medium-skin-tone","men-holding-hands-medium-skin-tone","men-holding-hands-medium-skin-tone-dark-skin-tone","men-holding-hands-medium-skin-tone-light-skin-tone","men-holding-hands-medium-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-skin-tone-medium-light-skin-tone","men-with-bunny-ears","men-wrestling","mending-heart","menorah","mens-room","mermaid","mermaid-dark-skin-tone","mermaid-light-skin-tone","mermaid-medium-dark-skin-tone","mermaid-medium-light-skin-tone","mermaid-medium-skin-tone","merman","merman-dark-skin-tone","merman-light-skin-tone","merman-medium-dark-skin-tone","merman-medium-light-skin-tone","merman-medium-skin-tone","merperson","merperson-dark-skin-tone","merperson-light-skin-tone","merperson-medium-dark-skin-tone","merperson-medium-light-skin-tone","merperson-medium-skin-tone","metro","microbe","microphone","microscope","middle-finger","middle-finger-dark-skin-tone","middle-finger-light-skin-tone","middle-finger-medium-dark-skin-tone","middle-finger-medium-light-skin-tone","middle-finger-medium-skin-tone","military-helmet","military-medal","milky-way","minibus","minus","mirror","mirror-ball","moai","mobile-phone","mobile-phone-off","mobile-phone-with-arrow","money-bag","money-mouth-face","money-with-wings","monkey","monkey-face","monorail","moon-cake","moon-viewing-ceremony","mosque","mosquito","motor-boat","motor-scooter","motorcycle","motorized-wheelchair","motorway","mount-fuji","mountain","mountain-cableway","mountain-railway","mouse","mouse-face","mouse-trap","mouth","movie-camera","mrs-claus","mrs-claus-dark-skin-tone","mrs-claus-light-skin-tone","mrs-claus-medium-dark-skin-tone","mrs-claus-medium-light-skin-tone","mrs-claus-medium-skin-tone","multiply","mushroom","musical-keyboard","musical-note","musical-notes","musical-score","muted-speaker","mx-claus","mx-claus-dark-skin-tone","mx-claus-light-skin-tone","mx-claus-medium-dark-skin-tone","mx-claus-medium-light-skin-tone","mx-claus-medium-skin-tone","nail-polish","nail-polish-dark-skin-tone","nail-polish-light-skin-tone","nail-polish-medium-dark-skin-tone","nail-polish-medium-light-skin-tone","nail-polish-medium-skin-tone","name-badge","national-park","nauseated-face","nazar-amulet","necktie","nerd-face","nest-with-eggs","nesting-dolls","neutral-face","new-button","new-moon","new-moon-face","newspaper","next-track-button","ng-button","night-with-stars","nine-oclock","nine-thirty","ninja","ninja-dark-skin-tone","ninja-light-skin-tone","ninja-medium-dark-skin-tone","ninja-medium-light-skin-tone","ninja-medium-skin-tone","no-bicycles","no-entry","no-littering","no-mobile-phones","no-one-under-eighteen","no-pedestrians","no-smoking","non-potable-water","nose","nose-dark-skin-tone","nose-light-skin-tone","nose-medium-dark-skin-tone","nose-medium-light-skin-tone","nose-medium-skin-tone","notebook","notebook-with-decorative-cover","nut-and-bolt","o-button-blood-type","octopus","oden","office-building","office-worker","office-worker-dark-skin-tone","office-worker-light-skin-tone","office-worker-medium-dark-skin-tone","office-worker-medium-light-skin-tone","office-worker-medium-skin-tone","ogre","oil-drum","ok-button","ok-hand","ok-hand-dark-skin-tone","ok-hand-light-skin-tone","ok-hand-medium-dark-skin-tone","ok-hand-medium-light-skin-tone","ok-hand-medium-skin-tone","old-key","old-man","old-man-dark-skin-tone","old-man-light-skin-tone","old-man-medium-dark-skin-tone","old-man-medium-light-skin-tone","old-man-medium-skin-tone","old-woman","old-woman-dark-skin-tone","old-woman-light-skin-tone","old-woman-medium-dark-skin-tone","old-woman-medium-light-skin-tone","old-woman-medium-skin-tone","older-adult","older-adult-dark-skin-tone","older-adult-light-skin-tone","older-adult-medium-dark-skin-tone","older-adult-medium-light-skin-tone","older-adult-medium-skin-tone","older-person","older-person-dark-skin-tone","older-person-light-skin-tone","older-person-medium-dark-skin-tone","older-person-medium-light-skin-tone","older-person-medium-skin-tone","olive","om","on-exclamation-arrow","oncoming-automobile","oncoming-bus","oncoming-fist","oncoming-fist-dark-skin-tone","oncoming-fist-light-skin-tone","oncoming-fist-medium-dark-skin-tone","oncoming-fist-medium-light-skin-tone","oncoming-fist-medium-skin-tone","oncoming-police-car","oncoming-taxi","one-oclock","one-piece-swimsuit","one-thirty","onion","open-book","open-file-folder","open-hands","open-hands-dark-skin-tone","open-hands-light-skin-tone","open-hands-medium-dark-skin-tone","open-hands-medium-light-skin-tone","open-hands-medium-skin-tone","open-mailbox-with-lowered-flag","open-mailbox-with-raised-flag","ophiuchus","optical-disk","orange-book","orange-circle","orange-heart","orange-square","orangutan","orthodox-cross","otter","outbox-tray","owl","ox","oyster","p-button","package","page-facing-up","page-with-curl","pager","paintbrush","palm-down-hand","palm-down-hand-dark-skin-tone","palm-down-hand-light-skin-tone","palm-down-hand-medium-dark-skin-tone","palm-down-hand-medium-light-skin-tone","palm-down-hand-medium-skin-tone","palm-tree","palm-up-hand","palm-up-hand-dark-skin-tone","palm-up-hand-light-skin-tone","palm-up-hand-medium-dark-skin-tone","palm-up-hand-medium-light-skin-tone","palm-up-hand-medium-skin-tone","palms-up-together","palms-up-together-dark-skin-tone","palms-up-together-light-skin-tone","palms-up-together-medium-dark-skin-tone","palms-up-together-medium-light-skin-tone","palms-up-together-medium-skin-tone","pancakes","panda","paperclip","parachute","parrot","part-alternation-mark","party-popper","partying-face","passenger-ship","passport-control","pause-button","paw-prints","peace-symbol","peach","peacock","peanuts","pear","pen","pencil","penguin","pensive-face","people-holding-hands","people-holding-hands-dark-skin-tone","people-holding-hands-dark-skin-tone-light-skin-tone","people-holding-hands-dark-skin-tone-medium-dark-skin-tone","people-holding-hands-dark-skin-tone-medium-light-skin-tone","people-holding-hands-dark-skin-tone-medium-skin-tone","people-holding-hands-light-skin-tone","people-holding-hands-light-skin-tone-dark-skin-tone","people-holding-hands-light-skin-tone-medium-dark-skin-tone","people-holding-hands-light-skin-tone-medium-light-skin-tone","people-holding-hands-light-skin-tone-medium-skin-tone","people-holding-hands-medium-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-skin-tone","people-holding-hands-medium-light-skin-tone","people-holding-hands-medium-light-skin-tone-dark-skin-tone","people-holding-hands-medium-light-skin-tone-light-skin-tone","people-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-light-skin-tone-medium-skin-tone","people-holding-hands-medium-skin-tone","people-holding-hands-medium-skin-tone-dark-skin-tone","people-holding-hands-medium-skin-tone-light-skin-tone","people-holding-hands-medium-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-skin-tone-medium-light-skin-tone","people-hugging","people-with-bunny-ears","people-wrestling","performing-arts","persevering-face","person","person-bald","person-beard","person-biking","person-biking-dark-skin-tone","person-biking-light-skin-tone","person-biking-medium-dark-skin-tone","person-biking-medium-light-skin-tone","person-biking-medium-skin-tone","person-blond-hair","person-bouncing-ball","person-bouncing-ball-dark-skin-tone","person-bouncing-ball-light-skin-tone","person-bouncing-ball-medium-dark-skin-tone","person-bouncing-ball-medium-light-skin-tone","person-bouncing-ball-medium-skin-tone","person-bowing","person-bowing-dark-skin-tone","person-bowing-light-skin-tone","person-bowing-medium-dark-skin-tone","person-bowing-medium-light-skin-tone","person-bowing-medium-skin-tone","person-cartwheeling","person-cartwheeling-dark-skin-tone","person-cartwheeling-light-skin-tone","person-cartwheeling-medium-dark-skin-tone","person-cartwheeling-medium-light-skin-tone","person-cartwheeling-medium-skin-tone","person-climbing","person-climbing-dark-skin-tone","person-climbing-light-skin-tone","person-climbing-medium-dark-skin-tone","person-climbing-medium-light-skin-tone","person-climbing-medium-skin-tone","person-curly-hair","person-dark-skin-tone","person-dark-skin-tone-bald","person-dark-skin-tone-beard","person-dark-skin-tone-blond-hair","person-dark-skin-tone-curly-hair","person-dark-skin-tone-red-hair","person-dark-skin-tone-white-hair","person-facepalming","person-facepalming-dark-skin-tone","person-facepalming-light-skin-tone","person-facepalming-medium-dark-skin-tone","person-facepalming-medium-light-skin-tone","person-facepalming-medium-skin-tone","person-feeding-baby","person-feeding-baby-dark-skin-tone","person-feeding-baby-light-skin-tone","person-feeding-baby-medium-dark-skin-tone","person-feeding-baby-medium-light-skin-tone","person-feeding-baby-medium-skin-tone","person-fencing","person-frowning","person-frowning-dark-skin-tone","person-frowning-light-skin-tone","person-frowning-medium-dark-skin-tone","person-frowning-medium-light-skin-tone","person-frowning-medium-skin-tone","person-gesturing-no","person-gesturing-no-dark-skin-tone","person-gesturing-no-light-skin-tone","person-gesturing-no-medium-dark-skin-tone","person-gesturing-no-medium-light-skin-tone","person-gesturing-no-medium-skin-tone","person-gesturing-ok","person-gesturing-ok-dark-skin-tone","person-gesturing-ok-light-skin-tone","person-gesturing-ok-medium-dark-skin-tone","person-gesturing-ok-medium-light-skin-tone","person-gesturing-ok-medium-skin-tone","person-getting-haircut","person-getting-haircut-dark-skin-tone","person-getting-haircut-light-skin-tone","person-getting-haircut-medium-dark-skin-tone","person-getting-haircut-medium-light-skin-tone","person-getting-haircut-medium-skin-tone","person-getting-massage","person-getting-massage-dark-skin-tone","person-getting-massage-light-skin-tone","person-getting-massage-medium-dark-skin-tone","person-getting-massage-medium-light-skin-tone","person-getting-massage-medium-skin-tone","person-golfing","person-golfing-dark-skin-tone","person-golfing-light-skin-tone","person-golfing-medium-dark-skin-tone","person-golfing-medium-light-skin-tone","person-golfing-medium-skin-tone","person-in-bed","person-in-bed-dark-skin-tone","person-in-bed-light-skin-tone","person-in-bed-medium-dark-skin-tone","person-in-bed-medium-light-skin-tone","person-in-bed-medium-skin-tone","person-in-lotus-position","person-in-lotus-position-dark-skin-tone","person-in-lotus-position-light-skin-tone","person-in-lotus-position-medium-dark-skin-tone","person-in-lotus-position-medium-light-skin-tone","person-in-lotus-position-medium-skin-tone","person-in-manual-wheelchair","person-in-manual-wheelchair-dark-skin-tone","person-in-manual-wheelchair-light-skin-tone","person-in-manual-wheelchair-medium-dark-skin-tone","person-in-manual-wheelchair-medium-light-skin-tone","person-in-manual-wheelchair-medium-skin-tone","person-in-motorized-wheelchair","person-in-motorized-wheelchair-dark-skin-tone","person-in-motorized-wheelchair-light-skin-tone","person-in-motorized-wheelchair-medium-dark-skin-tone","person-in-motorized-wheelchair-medium-light-skin-tone","person-in-motorized-wheelchair-medium-skin-tone","person-in-steamy-room","person-in-steamy-room-dark-skin-tone","person-in-steamy-room-light-skin-tone","person-in-steamy-room-medium-dark-skin-tone","person-in-steamy-room-medium-light-skin-tone","person-in-steamy-room-medium-skin-tone","person-in-suit-levitating","person-in-suit-levitating-dark-skin-tone","person-in-suit-levitating-light-skin-tone","person-in-suit-levitating-medium-dark-skin-tone","person-in-suit-levitating-medium-light-skin-tone","person-in-suit-levitating-medium-skin-tone","person-in-tuxedo","person-in-tuxedo-dark-skin-tone","person-in-tuxedo-light-skin-tone","person-in-tuxedo-medium-dark-skin-tone","person-in-tuxedo-medium-light-skin-tone","person-in-tuxedo-medium-skin-tone","person-juggling","person-juggling-dark-skin-tone","person-juggling-light-skin-tone","person-juggling-medium-dark-skin-tone","person-juggling-medium-light-skin-tone","person-juggling-medium-skin-tone","person-kneeling","person-kneeling-dark-skin-tone","person-kneeling-light-skin-tone","person-kneeling-medium-dark-skin-tone","person-kneeling-medium-light-skin-tone","person-kneeling-medium-skin-tone","person-lifting-weights","person-lifting-weights-dark-skin-tone","person-lifting-weights-light-skin-tone","person-lifting-weights-medium-dark-skin-tone","person-lifting-weights-medium-light-skin-tone","person-lifting-weights-medium-skin-tone","person-light-skin-tone","person-light-skin-tone-bald","person-light-skin-tone-beard","person-light-skin-tone-blond-hair","person-light-skin-tone-curly-hair","person-light-skin-tone-red-hair","person-light-skin-tone-white-hair","person-medium-dark-skin-tone","person-medium-dark-skin-tone-bald","person-medium-dark-skin-tone-beard","person-medium-dark-skin-tone-blond-hair","person-medium-dark-skin-tone-curly-hair","person-medium-dark-skin-tone-red-hair","person-medium-dark-skin-tone-white-hair","person-medium-light-skin-tone","person-medium-light-skin-tone-bald","person-medium-light-skin-tone-beard","person-medium-light-skin-tone-blond-hair","person-medium-light-skin-tone-curly-hair","person-medium-light-skin-tone-red-hair","person-medium-light-skin-tone-white-hair","person-medium-skin-tone","person-medium-skin-tone-bald","person-medium-skin-tone-beard","person-medium-skin-tone-blond-hair","person-medium-skin-tone-curly-hair","person-medium-skin-tone-red-hair","person-medium-skin-tone-white-hair","person-mountain-biking","person-mountain-biking-dark-skin-tone","person-mountain-biking-light-skin-tone","person-mountain-biking-medium-dark-skin-tone","person-mountain-biking-medium-light-skin-tone","person-mountain-biking-medium-skin-tone","person-playing-handball","person-playing-handball-dark-skin-tone","person-playing-handball-light-skin-tone","person-playing-handball-medium-dark-skin-tone","person-playing-handball-medium-light-skin-tone","person-playing-handball-medium-skin-tone","person-playing-water-polo","person-playing-water-polo-dark-skin-tone","person-playing-water-polo-light-skin-tone","person-playing-water-polo-medium-dark-skin-tone","person-playing-water-polo-medium-light-skin-tone","person-playing-water-polo-medium-skin-tone","person-pouting","person-pouting-dark-skin-tone","person-pouting-light-skin-tone","person-pouting-medium-dark-skin-tone","person-pouting-medium-light-skin-tone","person-pouting-medium-skin-tone","person-raising-hand","person-raising-hand-dark-skin-tone","person-raising-hand-light-skin-tone","person-raising-hand-medium-dark-skin-tone","person-raising-hand-medium-light-skin-tone","person-raising-hand-medium-skin-tone","person-red-hair","person-rowing-boat","person-rowing-boat-dark-skin-tone","person-rowing-boat-light-skin-tone","person-rowing-boat-medium-dark-skin-tone","person-rowing-boat-medium-light-skin-tone","person-rowing-boat-medium-skin-tone","person-running","person-running-dark-skin-tone","person-running-light-skin-tone","person-running-medium-dark-skin-tone","person-running-medium-light-skin-tone","person-running-medium-skin-tone","person-shrugging","person-shrugging-dark-skin-tone","person-shrugging-light-skin-tone","person-shrugging-medium-dark-skin-tone","person-shrugging-medium-light-skin-tone","person-shrugging-medium-skin-tone","person-standing","person-standing-dark-skin-tone","person-standing-light-skin-tone","person-standing-medium-dark-skin-tone","person-standing-medium-light-skin-tone","person-standing-medium-skin-tone","person-surfing","person-surfing-dark-skin-tone","person-surfing-light-skin-tone","person-surfing-medium-dark-skin-tone","person-surfing-medium-light-skin-tone","person-surfing-medium-skin-tone","person-swimming","person-swimming-dark-skin-tone","person-swimming-light-skin-tone","person-swimming-medium-dark-skin-tone","person-swimming-medium-light-skin-tone","person-swimming-medium-skin-tone","person-taking-bath","person-taking-bath-dark-skin-tone","person-taking-bath-light-skin-tone","person-taking-bath-medium-dark-skin-tone","person-taking-bath-medium-light-skin-tone","person-taking-bath-medium-skin-tone","person-tipping-hand","person-tipping-hand-dark-skin-tone","person-tipping-hand-light-skin-tone","person-tipping-hand-medium-dark-skin-tone","person-tipping-hand-medium-light-skin-tone","person-tipping-hand-medium-skin-tone","person-walking","person-walking-dark-skin-tone","person-walking-light-skin-tone","person-walking-medium-dark-skin-tone","person-walking-medium-light-skin-tone","person-walking-medium-skin-tone","person-wearing-turban","person-wearing-turban-dark-skin-tone","person-wearing-turban-light-skin-tone","person-wearing-turban-medium-dark-skin-tone","person-wearing-turban-medium-light-skin-tone","person-wearing-turban-medium-skin-tone","person-white-hair","person-with-crown","person-with-crown-dark-skin-tone","person-with-crown-light-skin-tone","person-with-crown-medium-dark-skin-tone","person-with-crown-medium-light-skin-tone","person-with-crown-medium-skin-tone","person-with-skullcap","person-with-skullcap-dark-skin-tone","person-with-skullcap-light-skin-tone","person-with-skullcap-medium-dark-skin-tone","person-with-skullcap-medium-light-skin-tone","person-with-skullcap-medium-skin-tone","person-with-veil","person-with-veil-dark-skin-tone","person-with-veil-light-skin-tone","person-with-veil-medium-dark-skin-tone","person-with-veil-medium-light-skin-tone","person-with-veil-medium-skin-tone","person-with-white-cane","person-with-white-cane-dark-skin-tone","person-with-white-cane-light-skin-tone","person-with-white-cane-medium-dark-skin-tone","person-with-white-cane-medium-light-skin-tone","person-with-white-cane-medium-skin-tone","petri-dish","pick","pickup-truck","pie","pig","pig-face","pig-nose","pile-of-poo","pill","pilot","pilot-dark-skin-tone","pilot-light-skin-tone","pilot-medium-dark-skin-tone","pilot-medium-light-skin-tone","pilot-medium-skin-tone","pinata","pinched-fingers","pinched-fingers-dark-skin-tone","pinched-fingers-light-skin-tone","pinched-fingers-medium-dark-skin-tone","pinched-fingers-medium-light-skin-tone","pinched-fingers-medium-skin-tone","pinching-hand","pinching-hand-dark-skin-tone","pinching-hand-light-skin-tone","pinching-hand-medium-dark-skin-tone","pinching-hand-medium-light-skin-tone","pinching-hand-medium-skin-tone","pine-decoration","pineapple","ping-pong","pirate-flag","pisces","pizza","placard","place-of-worship","play-button","play-or-pause-button","playground-slide","pleading-face","plunger","plus","polar-bear","police-car","police-car-light","police-officer","police-officer-dark-skin-tone","police-officer-light-skin-tone","police-officer-medium-dark-skin-tone","police-officer-medium-light-skin-tone","police-officer-medium-skin-tone","poodle","pool-8-ball","popcorn","post-office","postal-horn","postbox","pot-of-food","potable-water","potato","potted-plant","poultry-leg","pound-banknote","pouring-liquid","pouting-cat","prayer-beads","pregnant-man","pregnant-man-dark-skin-tone","pregnant-man-light-skin-tone","pregnant-man-medium-dark-skin-tone","pregnant-man-medium-light-skin-tone","pregnant-man-medium-skin-tone","pregnant-person","pregnant-person-dark-skin-tone","pregnant-person-light-skin-tone","pregnant-person-medium-dark-skin-tone","pregnant-person-medium-light-skin-tone","pregnant-person-medium-skin-tone","pregnant-woman","pregnant-woman-dark-skin-tone","pregnant-woman-light-skin-tone","pregnant-woman-medium-dark-skin-tone","pregnant-woman-medium-light-skin-tone","pregnant-woman-medium-skin-tone","pretzel","prince","prince-dark-skin-tone","prince-light-skin-tone","prince-medium-dark-skin-tone","prince-medium-light-skin-tone","prince-medium-skin-tone","princess","princess-dark-skin-tone","princess-light-skin-tone","princess-medium-dark-skin-tone","princess-medium-light-skin-tone","princess-medium-skin-tone","printer","prohibited","purple-circle","purple-heart","purple-square","purse","pushpin","puzzle-piece","rabbit","rabbit-face","raccoon","racing-car","radio","radio-button","radioactive","railway-car","railway-track","rainbow","rainbow-flag","raised-back-of-hand","raised-back-of-hand-dark-skin-tone","raised-back-of-hand-light-skin-tone","raised-back-of-hand-medium-dark-skin-tone","raised-back-of-hand-medium-light-skin-tone","raised-back-of-hand-medium-skin-tone","raised-fist","raised-fist-dark-skin-tone","raised-fist-light-skin-tone","raised-fist-medium-dark-skin-tone","raised-fist-medium-light-skin-tone","raised-fist-medium-skin-tone","raised-hand","raised-hand-dark-skin-tone","raised-hand-light-skin-tone","raised-hand-medium-dark-skin-tone","raised-hand-medium-light-skin-tone","raised-hand-medium-skin-tone","raising-hands","raising-hands-dark-skin-tone","raising-hands-light-skin-tone","raising-hands-medium-dark-skin-tone","raising-hands-medium-light-skin-tone","raising-hands-medium-skin-tone","ram","rat","razor","receipt","record-button","recycling-symbol","red-apple","red-circle","red-envelope","red-exclamation-mark","red-haired","red-heart","red-paper-lantern","red-question-mark","red-square","red-triangle-pointed-down","red-triangle-pointed-up","registered","relieved-face","reminder-ribbon","repeat-button","repeat-single-button","rescue-workers-helmet","restroom","reverse-button","revolving-hearts","rhinoceros","ribbon","rice-ball","rice-cracker","right-anger-bubble","right-arrow","right-arrow-curving-down","right-arrow-curving-left","right-arrow-curving-up","right-facing-fist","right-facing-fist-dark-skin-tone","right-facing-fist-light-skin-tone","right-facing-fist-medium-dark-skin-tone","right-facing-fist-medium-light-skin-tone","right-facing-fist-medium-skin-tone","rightwards-hand","rightwards-hand-dark-skin-tone","rightwards-hand-light-skin-tone","rightwards-hand-medium-dark-skin-tone","rightwards-hand-medium-light-skin-tone","rightwards-hand-medium-skin-tone","ring","ring-buoy","ringed-planet","roasted-sweet-potato","robot","rock","rocket","roll-of-paper","rolled-up-newspaper","roller-coaster","roller-skate","rolling-on-the-floor-laughing","rooster","rose","rosette","round-pushpin","rugby-football","running-shirt","running-shoe","sad-but-relieved-face","safety-pin","safety-vest","sagittarius","sailboat","sake","salt","saluting-face","sandwich","santa-claus","santa-claus-dark-skin-tone","santa-claus-light-skin-tone","santa-claus-medium-dark-skin-tone","santa-claus-medium-light-skin-tone","santa-claus-medium-skin-tone","sari","satellite","satellite-antenna","sauropod","saxophone","scarf","school","scientist","scientist-dark-skin-tone","scientist-light-skin-tone","scientist-medium-dark-skin-tone","scientist-medium-light-skin-tone","scientist-medium-skin-tone","scissors","scorpio","scorpion","screwdriver","scroll","seal","seat","see-no-evil-monkey","seedling","selfie","selfie-dark-skin-tone","selfie-light-skin-tone","selfie-medium-dark-skin-tone","selfie-medium-light-skin-tone","selfie-medium-skin-tone","service-dog","seven-oclock","seven-thirty","sewing-needle","shallow-pan-of-food","shamrock","shark","shaved-ice","sheaf-of-rice","shibuya-109-department-store","shield","shinto-shrine","ship","shooting-star","shopping-bags","shopping-cart","shortcake","shorts","shower","shrimp","shuffle-tracks-button","shushing-face","sign-of-the-horns","sign-of-the-horns-dark-skin-tone","sign-of-the-horns-light-skin-tone","sign-of-the-horns-medium-dark-skin-tone","sign-of-the-horns-medium-light-skin-tone","sign-of-the-horns-medium-skin-tone","singer","singer-dark-skin-tone","singer-light-skin-tone","singer-medium-dark-skin-tone","singer-medium-light-skin-tone","singer-medium-skin-tone","six-oclock","six-thirty","skateboard","skier","skier-dark-skin-tone","skier-light-skin-tone","skier-medium-dark-skin-tone","skier-medium-light-skin-tone","skier-medium-skin-tone","skis","skull","skull-and-crossbones","skunk","sled","sleeping-face","sleepy-face","slightly-frowning-face","slightly-smiling-face","slot-machine","sloth","small-airplane","small-blue-diamond","small-orange-diamond","smiling-cat-with-heart-eyes","smiling-face","smiling-face-with-halo","smiling-face-with-heart-eyes","smiling-face-with-hearts","smiling-face-with-horns","smiling-face-with-open-hands","smiling-face-with-smiling-eyes","smiling-face-with-sunglasses","smiling-face-with-tear","smirking-face","snail","snake","sneezing-face","snow-capped-mountain","snowboarder","snowboarder-dark-skin-tone","snowboarder-light-skin-tone","snowboarder-medium-dark-skin-tone","snowboarder-medium-light-skin-tone","snowboarder-medium-skin-tone","snowflake","snowman","snowman-without-snow","soap","soccer-ball","socks","soft-ice-cream","softball","soon-arrow","sos-button","spade-suit","spaghetti","sparkle","sparkler","sparkles","sparkling-heart","speak-no-evil-monkey","speaker-high-volume","speaker-low-volume","speaker-medium-volume","speaking-head","speech-balloon","speedboat","spider","spider-web","spiral-calendar","spiral-notepad","spiral-shell","sponge","spoon","sport-utility-vehicle","sports-medal","spouting-whale","squid","squinting-face-with-tongue","stadium","star","star-and-crescent","star-of-david","star-struck","station","statue-of-liberty","steaming-bowl","stethoscope","stop-button","stop-sign","stopwatch","straight-ruler","strawberry","student","student-dark-skin-tone","student-light-skin-tone","student-medium-dark-skin-tone","student-medium-light-skin-tone","student-medium-skin-tone","studio-microphone","stuffed-flatbread","sun","sun-behind-cloud","sun-behind-large-cloud","sun-behind-rain-cloud","sun-behind-small-cloud","sun-with-face","sunflower","sunglasses","sunrise","sunrise-over-mountains","sunset","superhero","superhero-dark-skin-tone","superhero-light-skin-tone","superhero-medium-dark-skin-tone","superhero-medium-light-skin-tone","superhero-medium-skin-tone","supervillain","supervillain-dark-skin-tone","supervillain-light-skin-tone","supervillain-medium-dark-skin-tone","supervillain-medium-light-skin-tone","supervillain-medium-skin-tone","sushi","suspension-railway","swan","sweat-droplets","synagogue","syringe","t-rex","t-shirt","taco","takeout-box","tamale","tanabata-tree","tangerine","taurus","taxi","teacher","teacher-dark-skin-tone","teacher-light-skin-tone","teacher-medium-dark-skin-tone","teacher-medium-light-skin-tone","teacher-medium-skin-tone","teacup-without-handle","teapot","tear-off-calendar","technologist","technologist-dark-skin-tone","technologist-light-skin-tone","technologist-medium-dark-skin-tone","technologist-medium-light-skin-tone","technologist-medium-skin-tone","teddy-bear","telephone","telephone-receiver","telescope","television","ten-oclock","ten-thirty","tennis","tent","test-tube","thermometer","thinking-face","thong-sandal","thought-balloon","thread","three-oclock","three-thirty","thumbs-down","thumbs-down-dark-skin-tone","thumbs-down-light-skin-tone","thumbs-down-medium-dark-skin-tone","thumbs-down-medium-light-skin-tone","thumbs-down-medium-skin-tone","thumbs-up","thumbs-up-dark-skin-tone","thumbs-up-light-skin-tone","thumbs-up-medium-dark-skin-tone","thumbs-up-medium-light-skin-tone","thumbs-up-medium-skin-tone","ticket","tiger","tiger-face","timer-clock","tired-face","toilet","tokyo-tower","tomato","tongue","toolbox","tooth","toothbrush","top-arrow","top-hat","tornado","trackball","tractor","trade-mark","train","tram","tram-car","transgender-flag","transgender-symbol","triangular-flag","triangular-ruler","trident-emblem","troll","trolleybus","trophy","tropical-drink","tropical-fish","trumpet","tulip","tumbler-glass","turkey","turtle","twelve-oclock","twelve-thirty","two-hearts","two-hump-camel","two-men-holding-hands","two-oclock","two-thirty","two-women-holding-hands","umbrella","umbrella-on-ground","umbrella-with-rain-drops","unamused-face","unicorn","unlocked","up-arrow","up-down-arrow","up-exclamation-button","up-left-arrow","up-right-arrow","upside-down-face","upwards-button","vampire","vampire-dark-skin-tone","vampire-light-skin-tone","vampire-medium-dark-skin-tone","vampire-medium-light-skin-tone","vampire-medium-skin-tone","vertical-traffic-light","vibration-mode","victory-hand","victory-hand-dark-skin-tone","victory-hand-light-skin-tone","victory-hand-medium-dark-skin-tone","victory-hand-medium-light-skin-tone","victory-hand-medium-skin-tone","video-camera","video-game","videocassette","violin","virgo","volcano","volleyball","vs-button","vulcan-salute","vulcan-salute-dark-skin-tone","vulcan-salute-light-skin-tone","vulcan-salute-medium-dark-skin-tone","vulcan-salute-medium-light-skin-tone","vulcan-salute-medium-skin-tone","waffle","waning-crescent-moon","waning-gibbous-moon","warning","wastebasket","watch","water-buffalo","water-closet","water-pistol","water-wave","watermelon","waving-hand","waving-hand-dark-skin-tone","waving-hand-light-skin-tone","waving-hand-medium-dark-skin-tone","waving-hand-medium-light-skin-tone","waving-hand-medium-skin-tone","wavy-dash","waxing-crescent-moon","waxing-gibbous-moon","weary-cat","weary-face","wedding","whale","wheel","wheel-of-dharma","wheelchair-symbol","white-cane","white-circle","white-exclamation-mark","white-flag","white-flower","white-haired","white-heart","white-large-square","white-medium-small-square","white-medium-square","white-question-mark","white-small-square","white-square-button","wilted-flower","wind-chime","wind-face","window","wine-glass","winking-face","winking-face-with-tongue","wolf","woman","woman-and-man-holding-hands","woman-and-man-holding-hands-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-light-skin-tone","woman-artist","woman-artist-dark-skin-tone","woman-artist-light-skin-tone","woman-artist-medium-dark-skin-tone","woman-artist-medium-light-skin-tone","woman-artist-medium-skin-tone","woman-astronaut","woman-astronaut-dark-skin-tone","woman-astronaut-light-skin-tone","woman-astronaut-medium-dark-skin-tone","woman-astronaut-medium-light-skin-tone","woman-astronaut-medium-skin-tone","woman-bald","woman-beard","woman-biking","woman-biking-dark-skin-tone","woman-biking-light-skin-tone","woman-biking-medium-dark-skin-tone","woman-biking-medium-light-skin-tone","woman-biking-medium-skin-tone","woman-blond-hair","woman-bouncing-ball","woman-bouncing-ball-dark-skin-tone","woman-bouncing-ball-light-skin-tone","woman-bouncing-ball-medium-dark-skin-tone","woman-bouncing-ball-medium-light-skin-tone","woman-bouncing-ball-medium-skin-tone","woman-bowing","woman-bowing-dark-skin-tone","woman-bowing-light-skin-tone","woman-bowing-medium-dark-skin-tone","woman-bowing-medium-light-skin-tone","woman-bowing-medium-skin-tone","woman-cartwheeling","woman-cartwheeling-dark-skin-tone","woman-cartwheeling-light-skin-tone","woman-cartwheeling-medium-dark-skin-tone","woman-cartwheeling-medium-light-skin-tone","woman-cartwheeling-medium-skin-tone","woman-climbing","woman-climbing-dark-skin-tone","woman-climbing-light-skin-tone","woman-climbing-medium-dark-skin-tone","woman-climbing-medium-light-skin-tone","woman-climbing-medium-skin-tone","woman-construction-worker","woman-construction-worker-dark-skin-tone","woman-construction-worker-light-skin-tone","woman-construction-worker-medium-dark-skin-tone","woman-construction-worker-medium-light-skin-tone","woman-construction-worker-medium-skin-tone","woman-cook","woman-cook-dark-skin-tone","woman-cook-light-skin-tone","woman-cook-medium-dark-skin-tone","woman-cook-medium-light-skin-tone","woman-cook-medium-skin-tone","woman-curly-hair","woman-dancing","woman-dancing-dark-skin-tone","woman-dancing-light-skin-tone","woman-dancing-medium-dark-skin-tone","woman-dancing-medium-light-skin-tone","woman-dancing-medium-skin-tone","woman-dark-skin-tone","woman-dark-skin-tone-bald","woman-dark-skin-tone-beard","woman-dark-skin-tone-blond-hair","woman-dark-skin-tone-curly-hair","woman-dark-skin-tone-red-hair","woman-dark-skin-tone-white-hair","woman-detective","woman-detective-dark-skin-tone","woman-detective-light-skin-tone","woman-detective-medium-dark-skin-tone","woman-detective-medium-light-skin-tone","woman-detective-medium-skin-tone","woman-elf","woman-elf-dark-skin-tone","woman-elf-light-skin-tone","woman-elf-medium-dark-skin-tone","woman-elf-medium-light-skin-tone","woman-elf-medium-skin-tone","woman-facepalming","woman-facepalming-dark-skin-tone","woman-facepalming-light-skin-tone","woman-facepalming-medium-dark-skin-tone","woman-facepalming-medium-light-skin-tone","woman-facepalming-medium-skin-tone","woman-factory-worker","woman-factory-worker-dark-skin-tone","woman-factory-worker-light-skin-tone","woman-factory-worker-medium-dark-skin-tone","woman-factory-worker-medium-light-skin-tone","woman-factory-worker-medium-skin-tone","woman-fairy","woman-fairy-dark-skin-tone","woman-fairy-light-skin-tone","woman-fairy-medium-dark-skin-tone","woman-fairy-medium-light-skin-tone","woman-fairy-medium-skin-tone","woman-farmer","woman-farmer-dark-skin-tone","woman-farmer-light-skin-tone","woman-farmer-medium-dark-skin-tone","woman-farmer-medium-light-skin-tone","woman-farmer-medium-skin-tone","woman-feeding-baby","woman-feeding-baby-dark-skin-tone","woman-feeding-baby-light-skin-tone","woman-feeding-baby-medium-dark-skin-tone","woman-feeding-baby-medium-light-skin-tone","woman-feeding-baby-medium-skin-tone","woman-firefighter","woman-firefighter-dark-skin-tone","woman-firefighter-light-skin-tone","woman-firefighter-medium-dark-skin-tone","woman-firefighter-medium-light-skin-tone","woman-firefighter-medium-skin-tone","woman-frowning","woman-frowning-dark-skin-tone","woman-frowning-light-skin-tone","woman-frowning-medium-dark-skin-tone","woman-frowning-medium-light-skin-tone","woman-frowning-medium-skin-tone","woman-genie","woman-gesturing-no","woman-gesturing-no-dark-skin-tone","woman-gesturing-no-light-skin-tone","woman-gesturing-no-medium-dark-skin-tone","woman-gesturing-no-medium-light-skin-tone","woman-gesturing-no-medium-skin-tone","woman-gesturing-ok","woman-gesturing-ok-dark-skin-tone","woman-gesturing-ok-light-skin-tone","woman-gesturing-ok-medium-dark-skin-tone","woman-gesturing-ok-medium-light-skin-tone","woman-gesturing-ok-medium-skin-tone","woman-getting-haircut","woman-getting-haircut-dark-skin-tone","woman-getting-haircut-light-skin-tone","woman-getting-haircut-medium-dark-skin-tone","woman-getting-haircut-medium-light-skin-tone","woman-getting-haircut-medium-skin-tone","woman-getting-massage","woman-getting-massage-dark-skin-tone","woman-getting-massage-light-skin-tone","woman-getting-massage-medium-dark-skin-tone","woman-getting-massage-medium-light-skin-tone","woman-getting-massage-medium-skin-tone","woman-golfing","woman-golfing-dark-skin-tone","woman-golfing-light-skin-tone","woman-golfing-medium-dark-skin-tone","woman-golfing-medium-light-skin-tone","woman-golfing-medium-skin-tone","woman-guard","woman-guard-dark-skin-tone","woman-guard-light-skin-tone","woman-guard-medium-dark-skin-tone","woman-guard-medium-light-skin-tone","woman-guard-medium-skin-tone","woman-health-worker","woman-health-worker-dark-skin-tone","woman-health-worker-light-skin-tone","woman-health-worker-medium-dark-skin-tone","woman-health-worker-medium-light-skin-tone","woman-health-worker-medium-skin-tone","woman-in-lotus-position","woman-in-lotus-position-dark-skin-tone","woman-in-lotus-position-light-skin-tone","woman-in-lotus-position-medium-dark-skin-tone","woman-in-lotus-position-medium-light-skin-tone","woman-in-lotus-position-medium-skin-tone","woman-in-manual-wheelchair","woman-in-manual-wheelchair-dark-skin-tone","woman-in-manual-wheelchair-light-skin-tone","woman-in-manual-wheelchair-medium-dark-skin-tone","woman-in-manual-wheelchair-medium-light-skin-tone","woman-in-manual-wheelchair-medium-skin-tone","woman-in-motorized-wheelchair","woman-in-motorized-wheelchair-dark-skin-tone","woman-in-motorized-wheelchair-light-skin-tone","woman-in-motorized-wheelchair-medium-dark-skin-tone","woman-in-motorized-wheelchair-medium-light-skin-tone","woman-in-motorized-wheelchair-medium-skin-tone","woman-in-steamy-room","woman-in-steamy-room-dark-skin-tone","woman-in-steamy-room-light-skin-tone","woman-in-steamy-room-medium-dark-skin-tone","woman-in-steamy-room-medium-light-skin-tone","woman-in-steamy-room-medium-skin-tone","woman-in-suit-levitating","woman-in-suit-levitating-dark-skin-tone","woman-in-suit-levitating-light-skin-tone","woman-in-suit-levitating-medium-dark-skin-tone","woman-in-suit-levitating-medium-light-skin-tone","woman-in-suit-levitating-medium-skin-tone","woman-in-tuxedo","woman-in-tuxedo-dark-skin-tone","woman-in-tuxedo-light-skin-tone","woman-in-tuxedo-medium-dark-skin-tone","woman-in-tuxedo-medium-light-skin-tone","woman-in-tuxedo-medium-skin-tone","woman-judge","woman-judge-dark-skin-tone","woman-judge-light-skin-tone","woman-judge-medium-dark-skin-tone","woman-judge-medium-light-skin-tone","woman-judge-medium-skin-tone","woman-juggling","woman-juggling-dark-skin-tone","woman-juggling-light-skin-tone","woman-juggling-medium-dark-skin-tone","woman-juggling-medium-light-skin-tone","woman-juggling-medium-skin-tone","woman-kneeling","woman-kneeling-dark-skin-tone","woman-kneeling-light-skin-tone","woman-kneeling-medium-dark-skin-tone","woman-kneeling-medium-light-skin-tone","woman-kneeling-medium-skin-tone","woman-lifting-weights","woman-lifting-weights-dark-skin-tone","woman-lifting-weights-light-skin-tone","woman-lifting-weights-medium-dark-skin-tone","woman-lifting-weights-medium-light-skin-tone","woman-lifting-weights-medium-skin-tone","woman-light-skin-tone","woman-light-skin-tone-bald","woman-light-skin-tone-beard","woman-light-skin-tone-blond-hair","woman-light-skin-tone-curly-hair","woman-light-skin-tone-red-hair","woman-light-skin-tone-white-hair","woman-mage","woman-mage-dark-skin-tone","woman-mage-light-skin-tone","woman-mage-medium-dark-skin-tone","woman-mage-medium-light-skin-tone","woman-mage-medium-skin-tone","woman-mechanic","woman-mechanic-dark-skin-tone","woman-mechanic-light-skin-tone","woman-mechanic-medium-dark-skin-tone","woman-mechanic-medium-light-skin-tone","woman-mechanic-medium-skin-tone","woman-medium-dark-skin-tone","woman-medium-dark-skin-tone-bald","woman-medium-dark-skin-tone-beard","woman-medium-dark-skin-tone-blond-hair","woman-medium-dark-skin-tone-curly-hair","woman-medium-dark-skin-tone-red-hair","woman-medium-dark-skin-tone-white-hair","woman-medium-light-skin-tone","woman-medium-light-skin-tone-bald","woman-medium-light-skin-tone-beard","woman-medium-light-skin-tone-blond-hair","woman-medium-light-skin-tone-curly-hair","woman-medium-light-skin-tone-red-hair","woman-medium-light-skin-tone-white-hair","woman-medium-skin-tone","woman-medium-skin-tone-bald","woman-medium-skin-tone-beard","woman-medium-skin-tone-blond-hair","woman-medium-skin-tone-curly-hair","woman-medium-skin-tone-red-hair","woman-medium-skin-tone-white-hair","woman-mountain-biking","woman-mountain-biking-dark-skin-tone","woman-mountain-biking-light-skin-tone","woman-mountain-biking-medium-dark-skin-tone","woman-mountain-biking-medium-light-skin-tone","woman-mountain-biking-medium-skin-tone","woman-office-worker","woman-office-worker-dark-skin-tone","woman-office-worker-light-skin-tone","woman-office-worker-medium-dark-skin-tone","woman-office-worker-medium-light-skin-tone","woman-office-worker-medium-skin-tone","woman-pilot","woman-pilot-dark-skin-tone","woman-pilot-light-skin-tone","woman-pilot-medium-dark-skin-tone","woman-pilot-medium-light-skin-tone","woman-pilot-medium-skin-tone","woman-playing-handball","woman-playing-handball-dark-skin-tone","woman-playing-handball-light-skin-tone","woman-playing-handball-medium-dark-skin-tone","woman-playing-handball-medium-light-skin-tone","woman-playing-handball-medium-skin-tone","woman-playing-water-polo","woman-playing-water-polo-dark-skin-tone","woman-playing-water-polo-light-skin-tone","woman-playing-water-polo-medium-dark-skin-tone","woman-playing-water-polo-medium-light-skin-tone","woman-playing-water-polo-medium-skin-tone","woman-police-officer","woman-police-officer-dark-skin-tone","woman-police-officer-light-skin-tone","woman-police-officer-medium-dark-skin-tone","woman-police-officer-medium-light-skin-tone","woman-police-officer-medium-skin-tone","woman-pouting","woman-pouting-dark-skin-tone","woman-pouting-light-skin-tone","woman-pouting-medium-dark-skin-tone","woman-pouting-medium-light-skin-tone","woman-pouting-medium-skin-tone","woman-raising-hand","woman-raising-hand-dark-skin-tone","woman-raising-hand-light-skin-tone","woman-raising-hand-medium-dark-skin-tone","woman-raising-hand-medium-light-skin-tone","woman-raising-hand-medium-skin-tone","woman-red-hair","woman-rowing-boat","woman-rowing-boat-dark-skin-tone","woman-rowing-boat-light-skin-tone","woman-rowing-boat-medium-dark-skin-tone","woman-rowing-boat-medium-light-skin-tone","woman-rowing-boat-medium-skin-tone","woman-running","woman-running-dark-skin-tone","woman-running-light-skin-tone","woman-running-medium-dark-skin-tone","woman-running-medium-light-skin-tone","woman-running-medium-skin-tone","woman-scientist","woman-scientist-dark-skin-tone","woman-scientist-light-skin-tone","woman-scientist-medium-dark-skin-tone","woman-scientist-medium-light-skin-tone","woman-scientist-medium-skin-tone","woman-shrugging","woman-shrugging-dark-skin-tone","woman-shrugging-light-skin-tone","woman-shrugging-medium-dark-skin-tone","woman-shrugging-medium-light-skin-tone","woman-shrugging-medium-skin-tone","woman-singer","woman-singer-dark-skin-tone","woman-singer-light-skin-tone","woman-singer-medium-dark-skin-tone","woman-singer-medium-light-skin-tone","woman-singer-medium-skin-tone","woman-standing","woman-standing-dark-skin-tone","woman-standing-light-skin-tone","woman-standing-medium-dark-skin-tone","woman-standing-medium-light-skin-tone","woman-standing-medium-skin-tone","woman-student","woman-student-dark-skin-tone","woman-student-light-skin-tone","woman-student-medium-dark-skin-tone","woman-student-medium-light-skin-tone","woman-student-medium-skin-tone","woman-superhero","woman-superhero-dark-skin-tone","woman-superhero-light-skin-tone","woman-superhero-medium-dark-skin-tone","woman-superhero-medium-light-skin-tone","woman-superhero-medium-skin-tone","woman-supervillain","woman-supervillain-dark-skin-tone","woman-supervillain-light-skin-tone","woman-supervillain-medium-dark-skin-tone","woman-supervillain-medium-light-skin-tone","woman-supervillain-medium-skin-tone","woman-surfing","woman-surfing-dark-skin-tone","woman-surfing-light-skin-tone","woman-surfing-medium-dark-skin-tone","woman-surfing-medium-light-skin-tone","woman-surfing-medium-skin-tone","woman-swimming","woman-swimming-dark-skin-tone","woman-swimming-light-skin-tone","woman-swimming-medium-dark-skin-tone","woman-swimming-medium-light-skin-tone","woman-swimming-medium-skin-tone","woman-teacher","woman-teacher-dark-skin-tone","woman-teacher-light-skin-tone","woman-teacher-medium-dark-skin-tone","woman-teacher-medium-light-skin-tone","woman-teacher-medium-skin-tone","woman-technologist","woman-technologist-dark-skin-tone","woman-technologist-light-skin-tone","woman-technologist-medium-dark-skin-tone","woman-technologist-medium-light-skin-tone","woman-technologist-medium-skin-tone","woman-tipping-hand","woman-tipping-hand-dark-skin-tone","woman-tipping-hand-light-skin-tone","woman-tipping-hand-medium-dark-skin-tone","woman-tipping-hand-medium-light-skin-tone","woman-tipping-hand-medium-skin-tone","woman-vampire","woman-vampire-dark-skin-tone","woman-vampire-light-skin-tone","woman-vampire-medium-dark-skin-tone","woman-vampire-medium-light-skin-tone","woman-vampire-medium-skin-tone","woman-walking","woman-walking-dark-skin-tone","woman-walking-light-skin-tone","woman-walking-medium-dark-skin-tone","woman-walking-medium-light-skin-tone","woman-walking-medium-skin-tone","woman-wearing-turban","woman-wearing-turban-dark-skin-tone","woman-wearing-turban-light-skin-tone","woman-wearing-turban-medium-dark-skin-tone","woman-wearing-turban-medium-light-skin-tone","woman-wearing-turban-medium-skin-tone","woman-white-hair","woman-with-headscarf","woman-with-headscarf-dark-skin-tone","woman-with-headscarf-light-skin-tone","woman-with-headscarf-medium-dark-skin-tone","woman-with-headscarf-medium-light-skin-tone","woman-with-headscarf-medium-skin-tone","woman-with-veil","woman-with-veil-dark-skin-tone","woman-with-veil-light-skin-tone","woman-with-veil-medium-dark-skin-tone","woman-with-veil-medium-light-skin-tone","woman-with-veil-medium-skin-tone","woman-with-white-cane","woman-with-white-cane-dark-skin-tone","woman-with-white-cane-light-skin-tone","woman-with-white-cane-medium-dark-skin-tone","woman-with-white-cane-medium-light-skin-tone","woman-with-white-cane-medium-skin-tone","woman-zombie","womans-boot","womans-clothes","womans-hat","womans-sandal","women-holding-hands","women-holding-hands-dark-skin-tone","women-holding-hands-dark-skin-tone-light-skin-tone","women-holding-hands-dark-skin-tone-medium-dark-skin-tone","women-holding-hands-dark-skin-tone-medium-light-skin-tone","women-holding-hands-dark-skin-tone-medium-skin-tone","women-holding-hands-light-skin-tone","women-holding-hands-light-skin-tone-dark-skin-tone","women-holding-hands-light-skin-tone-medium-dark-skin-tone","women-holding-hands-light-skin-tone-medium-light-skin-tone","women-holding-hands-light-skin-tone-medium-skin-tone","women-holding-hands-medium-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-skin-tone","women-holding-hands-medium-light-skin-tone","women-holding-hands-medium-light-skin-tone-dark-skin-tone","women-holding-hands-medium-light-skin-tone-light-skin-tone","women-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-light-skin-tone-medium-skin-tone","women-holding-hands-medium-skin-tone","women-holding-hands-medium-skin-tone-dark-skin-tone","women-holding-hands-medium-skin-tone-light-skin-tone","women-holding-hands-medium-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-skin-tone-medium-light-skin-tone","women-with-bunny-ears","women-wrestling","womens-room","wood","woozy-face","world-map","worm","worried-face","wrapped-gift","wrench","writing-hand","writing-hand-dark-skin-tone","writing-hand-light-skin-tone","writing-hand-medium-dark-skin-tone","writing-hand-medium-light-skin-tone","writing-hand-medium-skin-tone","x-ray","yarn","yawning-face","yellow-circle","yellow-heart","yellow-square","yen-banknote","yin-yang","yo-yo","zany-face","zebra","zipper-mouth-face","zombie","zzz"]},{prefix:"vscode-icons",info:{name:"VSCode Icons",total:1240,version:"12.6.0",author:{name:"Roberto Huertas",url:"https://github.com/vscode-icons/vscode-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE"},samples:["file-type-actionscript2","file-type-json","file-type-manifest"],height:32,displayHeight:16,category:"General",palette:!0},icons:["default-file","default-folder","default-folder-opened","default-root-folder","default-root-folder-opened","file-type-access","file-type-access2","file-type-actionscript","file-type-actionscript2","file-type-ada","file-type-advpl","file-type-affinitydesigner","file-type-affinityphoto","file-type-affinitypublisher","file-type-ai","file-type-ai2","file-type-al","file-type-al-dal","file-type-allcontributors","file-type-angular","file-type-ansible","file-type-antlr","file-type-anyscript","file-type-apache","file-type-apex","file-type-api-extractor","file-type-apib","file-type-apib2","file-type-apl","file-type-applescript","file-type-appscript","file-type-appsemble","file-type-appveyor","file-type-arduino","file-type-asciidoc","file-type-asp","file-type-aspx","file-type-assembly","file-type-astro","file-type-astroconfig","file-type-ats","file-type-audio","file-type-aurelia","file-type-autohotkey","file-type-autoit","file-type-avif","file-type-avro","file-type-awk","file-type-aws","file-type-azure","file-type-azurepipelines","file-type-babel","file-type-babel2","file-type-ballerina","file-type-bat","file-type-bats","file-type-bazaar","file-type-bazel","file-type-bazel-ignore","file-type-bazel-version","file-type-befunge","file-type-bicep","file-type-biml","file-type-binary","file-type-biome","file-type-bitbucketpipeline","file-type-bithound","file-type-blade","file-type-blitzbasic","file-type-bolt","file-type-bosque","file-type-bower","file-type-bower2","file-type-browserslist","file-type-buckbuild","file-type-buf","file-type-bun","file-type-bundler","file-type-bunfig","file-type-c","file-type-c-al","file-type-c2","file-type-c3","file-type-cabal","file-type-caddy","file-type-cake","file-type-cakephp","file-type-capacitor","file-type-cargo","file-type-casc","file-type-cddl","file-type-cert","file-type-ceylon","file-type-cf","file-type-cf2","file-type-cfc","file-type-cfc2","file-type-cfm","file-type-cfm2","file-type-cheader","file-type-chef","file-type-chef-cookbook","file-type-circleci","file-type-class","file-type-clojure","file-type-clojurescript","file-type-cloudfoundry","file-type-cmake","file-type-cobol","file-type-codacy","file-type-codeclimate","file-type-codecov","file-type-codekit","file-type-codeowners","file-type-codeql","file-type-coffeelint","file-type-coffeescript","file-type-commitizen","file-type-commitlint","file-type-compass","file-type-composer","file-type-conan","file-type-conda","file-type-config","file-type-confluence","file-type-coveralls","file-type-cpp","file-type-cpp2","file-type-cpp3","file-type-cppheader","file-type-crowdin","file-type-crystal","file-type-csharp","file-type-csharp2","file-type-cspell","file-type-csproj","file-type-css","file-type-csscomb","file-type-csslint","file-type-cssmap","file-type-cucumber","file-type-cuda","file-type-cvs","file-type-cypress","file-type-cypress-spec","file-type-cython","file-type-dal","file-type-darcs","file-type-dartlang","file-type-dartlang-generated","file-type-dartlang-ignore","file-type-datadog","file-type-db","file-type-delphi","file-type-deno","file-type-denoify","file-type-dependabot","file-type-dependencies","file-type-devcontainer","file-type-dhall","file-type-diff","file-type-django","file-type-dlang","file-type-docker","file-type-docker2","file-type-dockertest","file-type-dockertest2","file-type-docpad","file-type-docz","file-type-dojo","file-type-doppler","file-type-dotenv","file-type-dotjs","file-type-doxygen","file-type-drawio","file-type-drone","file-type-drools","file-type-dustjs","file-type-dvc","file-type-dylan","file-type-earthly","file-type-eas-metadata","file-type-edge","file-type-edge2","file-type-editorconfig","file-type-eex","file-type-ejs","file-type-elastic","file-type-elasticbeanstalk","file-type-eleventy","file-type-eleventy2","file-type-elixir","file-type-elm","file-type-elm2","file-type-emacs","file-type-ember","file-type-ensime","file-type-eps","file-type-erb","file-type-erlang","file-type-erlang2","file-type-esbuild","file-type-eslint","file-type-eslint2","file-type-esphome","file-type-excel","file-type-excel2","file-type-expo","file-type-falcon","file-type-fantasticon","file-type-fauna","file-type-favicon","file-type-fbx","file-type-firebase","file-type-firebasehosting","file-type-firestore","file-type-fitbit","file-type-fla","file-type-flareact","file-type-flash","file-type-floobits","file-type-flow","file-type-flutter","file-type-flutter-package","file-type-font","file-type-formkit","file-type-fortran","file-type-fossa","file-type-fossil","file-type-freemarker","file-type-fsharp","file-type-fsharp2","file-type-fsproj","file-type-fthtml","file-type-funding","file-type-fusebox","file-type-galen","file-type-galen2","file-type-gamemaker","file-type-gamemaker2","file-type-gamemaker81","file-type-gatsby","file-type-gcloud","file-type-gcode","file-type-gdscript","file-type-genstat","file-type-git","file-type-git2","file-type-gitlab","file-type-gitpod","file-type-glide","file-type-glitter","file-type-glsl","file-type-glyphs","file-type-gnu","file-type-gnuplot","file-type-go","file-type-go-aqua","file-type-go-black","file-type-go-fuchsia","file-type-go-gopher","file-type-go-lightblue","file-type-go-package","file-type-go-white","file-type-go-work","file-type-go-yellow","file-type-goctl","file-type-godot","file-type-gradle","file-type-gradle2","file-type-grain","file-type-graphql","file-type-graphql-config","file-type-graphviz","file-type-greenkeeper","file-type-gridsome","file-type-groovy","file-type-groovy2","file-type-grunt","file-type-gulp","file-type-haml","file-type-handlebars","file-type-handlebars2","file-type-harbour","file-type-hardhat","file-type-hashicorp","file-type-haskell","file-type-haskell2","file-type-haxe","file-type-haxecheckstyle","file-type-haxedevelop","file-type-helix","file-type-helm","file-type-hjson","file-type-hlsl","file-type-homeassistant","file-type-horusec","file-type-host","file-type-html","file-type-htmlhint","file-type-http","file-type-hunspell","file-type-husky","file-type-hy","file-type-hygen","file-type-hypr","file-type-icl","file-type-idris","file-type-idrisbin","file-type-idrispkg","file-type-image","file-type-imba","file-type-inc","file-type-infopath","file-type-informix","file-type-ini","file-type-ink","file-type-innosetup","file-type-io","file-type-iodine","file-type-ionic","file-type-jake","file-type-janet","file-type-jar","file-type-jasmine","file-type-java","file-type-jbuilder","file-type-jekyll","file-type-jenkins","file-type-jest","file-type-jest-snapshot","file-type-jinja","file-type-jpm","file-type-js","file-type-js-official","file-type-jsbeautify","file-type-jsconfig","file-type-jscpd","file-type-jshint","file-type-jsmap","file-type-json","file-type-json-official","file-type-json-schema","file-type-json2","file-type-json5","file-type-jsonld","file-type-jsonnet","file-type-jsp","file-type-jss","file-type-julia","file-type-julia2","file-type-jupyter","file-type-k","file-type-karma","file-type-key","file-type-kitchenci","file-type-kite","file-type-kivy","file-type-kos","file-type-kotlin","file-type-kusto","file-type-latino","file-type-layout","file-type-lerna","file-type-less","file-type-lex","file-type-license","file-type-licensebat","file-type-light-actionscript2","file-type-light-ada","file-type-light-apl","file-type-light-babel","file-type-light-babel2","file-type-light-cabal","file-type-light-circleci","file-type-light-cloudfoundry","file-type-light-codacy","file-type-light-codeclimate","file-type-light-codeowners","file-type-light-config","file-type-light-crystal","file-type-light-cypress","file-type-light-cypress-spec","file-type-light-db","file-type-light-deno","file-type-light-dhall","file-type-light-docpad","file-type-light-drone","file-type-light-eas-metadata","file-type-light-eleventy","file-type-light-eleventy2","file-type-light-esphome","file-type-light-expo","file-type-light-firebasehosting","file-type-light-fla","file-type-light-font","file-type-light-gamemaker2","file-type-light-gradle","file-type-light-hashicorp","file-type-light-hjson","file-type-light-ini","file-type-light-io","file-type-light-js","file-type-light-jsconfig","file-type-light-jsmap","file-type-light-json","file-type-light-json-schema","file-type-light-json5","file-type-light-jsonld","file-type-light-kite","file-type-light-lerna","file-type-light-mailing","file-type-light-mdx","file-type-light-mlang","file-type-light-mustache","file-type-light-netlify","file-type-light-next","file-type-light-nim","file-type-light-nx","file-type-light-objidconfig","file-type-light-openhab","file-type-light-pcl","file-type-light-pnpm","file-type-light-prettier","file-type-light-prisma","file-type-light-purescript","file-type-light-quasar","file-type-light-razzle","file-type-light-rehype","file-type-light-remark","file-type-light-replit","file-type-light-retext","file-type-light-rome","file-type-light-rubocop","file-type-light-rust","file-type-light-rust-toolchain","file-type-light-shaderlab","file-type-light-solidity","file-type-light-spin","file-type-light-stylelint","file-type-light-stylus","file-type-light-symfony","file-type-light-systemd","file-type-light-systemverilog","file-type-light-testcafe","file-type-light-testjs","file-type-light-tex","file-type-light-todo","file-type-light-toit","file-type-light-toml","file-type-light-tree","file-type-light-turbo","file-type-light-unibeautify","file-type-light-vash","file-type-light-vercel","file-type-light-vsix","file-type-light-vsixmanifest","file-type-light-xfl","file-type-light-yaml","file-type-light-zeit","file-type-lighthouse","file-type-lilypond","file-type-lime","file-type-lintstagedrc","file-type-liquid","file-type-lisp","file-type-livescript","file-type-lnk","file-type-locale","file-type-log","file-type-lolcode","file-type-lsl","file-type-lua","file-type-luau","file-type-lync","file-type-mailing","file-type-manifest","file-type-manifest-bak","file-type-manifest-skip","file-type-map","file-type-mariadb","file-type-markdown","file-type-markdownlint","file-type-markdownlint-ignore","file-type-marko","file-type-markojs","file-type-master-co","file-type-matlab","file-type-maven","file-type-maxscript","file-type-maya","file-type-mdx","file-type-mediawiki","file-type-mercurial","file-type-mermaid","file-type-meson","file-type-meteor","file-type-mjml","file-type-mlang","file-type-mocha","file-type-modernizr","file-type-mojo","file-type-mojolicious","file-type-moleculer","file-type-mondoo","file-type-mongo","file-type-monotone","file-type-motif","file-type-mson","file-type-mustache","file-type-mysql","file-type-ndst","file-type-nearly","file-type-nest-adapter-js","file-type-nest-adapter-ts","file-type-nest-controller-js","file-type-nest-controller-ts","file-type-nest-decorator-js","file-type-nest-decorator-ts","file-type-nest-filter-js","file-type-nest-filter-ts","file-type-nest-gateway-js","file-type-nest-gateway-ts","file-type-nest-guard-js","file-type-nest-guard-ts","file-type-nest-interceptor-js","file-type-nest-interceptor-ts","file-type-nest-middleware-js","file-type-nest-middleware-ts","file-type-nest-module-js","file-type-nest-module-ts","file-type-nest-pipe-js","file-type-nest-pipe-ts","file-type-nest-service-js","file-type-nest-service-ts","file-type-nestjs","file-type-netlify","file-type-next","file-type-ng-component-css","file-type-ng-component-dart","file-type-ng-component-html","file-type-ng-component-js","file-type-ng-component-js2","file-type-ng-component-less","file-type-ng-component-sass","file-type-ng-component-scss","file-type-ng-component-ts","file-type-ng-component-ts2","file-type-ng-controller-js","file-type-ng-controller-ts","file-type-ng-directive-dart","file-type-ng-directive-js","file-type-ng-directive-js2","file-type-ng-directive-ts","file-type-ng-directive-ts2","file-type-ng-guard-dart","file-type-ng-guard-js","file-type-ng-guard-ts","file-type-ng-interceptor-dart","file-type-ng-interceptor-js","file-type-ng-interceptor-ts","file-type-ng-module-dart","file-type-ng-module-js","file-type-ng-module-js2","file-type-ng-module-ts","file-type-ng-module-ts2","file-type-ng-pipe-dart","file-type-ng-pipe-js","file-type-ng-pipe-js2","file-type-ng-pipe-ts","file-type-ng-pipe-ts2","file-type-ng-routing-dart","file-type-ng-routing-js","file-type-ng-routing-js2","file-type-ng-routing-ts","file-type-ng-routing-ts2","file-type-ng-service-dart","file-type-ng-service-js","file-type-ng-service-js2","file-type-ng-service-ts","file-type-ng-service-ts2","file-type-ng-smart-component-dart","file-type-ng-smart-component-js","file-type-ng-smart-component-js2","file-type-ng-smart-component-ts","file-type-ng-smart-component-ts2","file-type-ng-tailwind","file-type-nginx","file-type-nim","file-type-nimble","file-type-ninja","file-type-nix","file-type-njsproj","file-type-noc","file-type-node","file-type-node2","file-type-nodemon","file-type-npm","file-type-nsi","file-type-nsri","file-type-nsri-integrity","file-type-nuget","file-type-numpy","file-type-nunjucks","file-type-nuxt","file-type-nx","file-type-nyc","file-type-objectivec","file-type-objectivecpp","file-type-objidconfig","file-type-ocaml","file-type-ocaml-intf","file-type-ogone","file-type-onenote","file-type-opencl","file-type-openhab","file-type-openscad","file-type-org","file-type-outlook","file-type-ovpn","file-type-package","file-type-paket","file-type-patch","file-type-pcl","file-type-pddl","file-type-pddl-happenings","file-type-pddl-plan","file-type-pdf2","file-type-peeky","file-type-perl","file-type-perl2","file-type-perl6","file-type-pgsql","file-type-photoshop","file-type-photoshop2","file-type-php","file-type-php2","file-type-php3","file-type-phpcsfixer","file-type-phpstan","file-type-phpunit","file-type-phraseapp","file-type-pine","file-type-pip","file-type-pipeline","file-type-plantuml","file-type-platformio","file-type-playwright","file-type-plsql","file-type-plsql-package","file-type-plsql-package-body","file-type-plsql-package-header","file-type-plsql-package-spec","file-type-pm2","file-type-pnpm","file-type-poedit","file-type-poetry","file-type-polymer","file-type-pony","file-type-postcss","file-type-postcssconfig","file-type-postman","file-type-powerpoint","file-type-powerpoint2","file-type-powershell","file-type-powershell-format","file-type-powershell-psd","file-type-powershell-psd2","file-type-powershell-psm","file-type-powershell-psm2","file-type-powershell-types","file-type-powershell2","file-type-preact","file-type-precommit","file-type-prettier","file-type-prisma","file-type-processinglang","file-type-procfile","file-type-progress","file-type-prolog","file-type-prometheus","file-type-protobuf","file-type-protractor","file-type-publiccode","file-type-publisher","file-type-pug","file-type-pulumi","file-type-puppet","file-type-purescript","file-type-pyret","file-type-python","file-type-pythowo","file-type-pytyped","file-type-pyup","file-type-q","file-type-qbs","file-type-qlikview","file-type-qml","file-type-qmldir","file-type-qsharp","file-type-quasar","file-type-r","file-type-racket","file-type-rails","file-type-rake","file-type-raml","file-type-razor","file-type-razzle","file-type-reactjs","file-type-reacttemplate","file-type-reactts","file-type-reason","file-type-red","file-type-registry","file-type-rego","file-type-rehype","file-type-remark","file-type-renovate","file-type-replit","file-type-rescript","file-type-rest","file-type-retext","file-type-rexx","file-type-riot","file-type-rmd","file-type-robotframework","file-type-robots","file-type-rollup","file-type-rome","file-type-ron","file-type-rproj","file-type-rspec","file-type-rubocop","file-type-ruby","file-type-rust","file-type-rust-toolchain","file-type-sails","file-type-saltstack","file-type-san","file-type-sapphire-framework-cli","file-type-sas","file-type-sass","file-type-sbt","file-type-scala","file-type-scilab","file-type-script","file-type-scss","file-type-scss2","file-type-sdlang","file-type-sentry","file-type-sequelize","file-type-serverless","file-type-shaderlab","file-type-shell","file-type-shuttle","file-type-silverstripe","file-type-sino","file-type-siyuan","file-type-sketch","file-type-skipper","file-type-slang","file-type-slashup","file-type-slice","file-type-slim","file-type-sln","file-type-sln2","file-type-smarty","file-type-snapcraft","file-type-snaplet","file-type-snort","file-type-snyk","file-type-solidarity","file-type-solidity","file-type-source","file-type-spacengine","file-type-sparql","file-type-spin","file-type-sqf","file-type-sql","file-type-sqlite","file-type-squirrel","file-type-sss","file-type-stan","file-type-stata","file-type-stencil","file-type-storyboard","file-type-storybook","file-type-stryker","file-type-stylable","file-type-style","file-type-styled","file-type-stylelint","file-type-stylish-haskell","file-type-stylus","file-type-sublime","file-type-subversion","file-type-svelte","file-type-svelteconfig","file-type-svg","file-type-swagger","file-type-swc","file-type-swift","file-type-swig","file-type-symfony","file-type-systemd","file-type-systemverilog","file-type-t4tt","file-type-tailwind","file-type-tamagui","file-type-taskfile","file-type-tauri","file-type-tcl","file-type-teal","file-type-tera","file-type-terraform","file-type-test","file-type-testcafe","file-type-testjs","file-type-testts","file-type-tex","file-type-text","file-type-textile","file-type-tfs","file-type-tiltfile","file-type-todo","file-type-toit","file-type-toml","file-type-tox","file-type-travis","file-type-tree","file-type-tres","file-type-truffle","file-type-trunk","file-type-tsbuildinfo","file-type-tscn","file-type-tsconfig","file-type-tsconfig-official","file-type-tslint","file-type-tt","file-type-ttcn","file-type-tuc","file-type-turbo","file-type-twig","file-type-typedoc","file-type-typescript","file-type-typescript-official","file-type-typescriptdef","file-type-typescriptdef-official","file-type-typo3","file-type-uiua","file-type-unibeautify","file-type-unison","file-type-unlicense","file-type-unocss","file-type-vagrant","file-type-vala","file-type-vanilla-extract","file-type-vapi","file-type-vapor","file-type-vash","file-type-vb","file-type-vba","file-type-vbhtml","file-type-vbproj","file-type-vcxproj","file-type-velocity","file-type-vercel","file-type-verilog","file-type-vhdl","file-type-video","file-type-view","file-type-vim","file-type-vite","file-type-vitest","file-type-vlang","file-type-volt","file-type-vscode","file-type-vscode-insiders","file-type-vscode-test","file-type-vscode2","file-type-vscode3","file-type-vsix","file-type-vsixmanifest","file-type-vue","file-type-vueconfig","file-type-wallaby","file-type-wally","file-type-wasm","file-type-watchmanconfig","file-type-wdio","file-type-webp","file-type-webpack","file-type-wenyan","file-type-wercker","file-type-wgsl","file-type-wikitext","file-type-windi","file-type-wolfram","file-type-word","file-type-word2","file-type-wpml","file-type-wurst","file-type-wxml","file-type-wxss","file-type-xcode","file-type-xfl","file-type-xib","file-type-xliff","file-type-xmake","file-type-xml","file-type-xquery","file-type-xsl","file-type-yacc","file-type-yaml","file-type-yamllint","file-type-yandex","file-type-yang","file-type-yarn","file-type-yeoman","file-type-zeit","file-type-zig","file-type-zip","file-type-zip2","folder-type-android","folder-type-android-opened","folder-type-api","folder-type-api-opened","folder-type-app","folder-type-app-opened","folder-type-arangodb","folder-type-arangodb-opened","folder-type-asset","folder-type-asset-opened","folder-type-audio","folder-type-audio-opened","folder-type-aurelia","folder-type-aurelia-opened","folder-type-aws","folder-type-aws-opened","folder-type-azure","folder-type-azure-opened","folder-type-azurepipelines","folder-type-azurepipelines-opened","folder-type-binary","folder-type-binary-opened","folder-type-bloc","folder-type-bloc-opened","folder-type-blueprint","folder-type-blueprint-opened","folder-type-bot","folder-type-bot-opened","folder-type-bower","folder-type-bower-opened","folder-type-buildkite","folder-type-buildkite-opened","folder-type-cake","folder-type-cake-opened","folder-type-certificate","folder-type-certificate-opened","folder-type-changesets","folder-type-changesets-opened","folder-type-chef","folder-type-chef-opened","folder-type-circleci","folder-type-circleci-opened","folder-type-cli","folder-type-cli-opened","folder-type-client","folder-type-client-opened","folder-type-cmake","folder-type-cmake-opened","folder-type-common","folder-type-common-opened","folder-type-component","folder-type-component-opened","folder-type-composer","folder-type-composer-opened","folder-type-config","folder-type-config-opened","folder-type-controller","folder-type-controller-opened","folder-type-coverage","folder-type-coverage-opened","folder-type-css","folder-type-css-opened","folder-type-cubit","folder-type-cubit-opened","folder-type-cypress","folder-type-cypress-opened","folder-type-dapr","folder-type-dapr-opened","folder-type-datadog","folder-type-datadog-opened","folder-type-db","folder-type-db-opened","folder-type-debian","folder-type-debian-opened","folder-type-dependabot","folder-type-dependabot-opened","folder-type-devcontainer","folder-type-devcontainer-opened","folder-type-dist","folder-type-dist-opened","folder-type-docker","folder-type-docker-opened","folder-type-docs","folder-type-docs-opened","folder-type-e2e","folder-type-e2e-opened","folder-type-elasticbeanstalk","folder-type-elasticbeanstalk-opened","folder-type-electron","folder-type-electron-opened","folder-type-expo","folder-type-expo-opened","folder-type-favicon","folder-type-favicon-opened","folder-type-flow","folder-type-flow-opened","folder-type-fonts","folder-type-fonts-opened","folder-type-gcp","folder-type-gcp-opened","folder-type-git","folder-type-git-opened","folder-type-github","folder-type-github-opened","folder-type-gitlab","folder-type-gitlab-opened","folder-type-gradle","folder-type-gradle-opened","folder-type-graphql","folder-type-graphql-opened","folder-type-grunt","folder-type-grunt-opened","folder-type-gulp","folder-type-gulp-opened","folder-type-haxelib","folder-type-haxelib-opened","folder-type-helper","folder-type-helper-opened","folder-type-hook","folder-type-hook-opened","folder-type-husky","folder-type-husky-opened","folder-type-idea","folder-type-idea-opened","folder-type-images","folder-type-images-opened","folder-type-include","folder-type-include-opened","folder-type-interfaces","folder-type-interfaces-opened","folder-type-ios","folder-type-ios-opened","folder-type-js","folder-type-js-opened","folder-type-json","folder-type-json-official","folder-type-json-official-opened","folder-type-json-opened","folder-type-kubernetes","folder-type-kubernetes-opened","folder-type-less","folder-type-less-opened","folder-type-library","folder-type-library-opened","folder-type-light-cypress","folder-type-light-cypress-opened","folder-type-light-electron","folder-type-light-electron-opened","folder-type-light-expo","folder-type-light-expo-opened","folder-type-light-fonts","folder-type-light-fonts-opened","folder-type-light-gradle","folder-type-light-gradle-opened","folder-type-light-meteor","folder-type-light-meteor-opened","folder-type-light-mysql","folder-type-light-mysql-opened","folder-type-light-node","folder-type-light-node-opened","folder-type-light-redux","folder-type-light-redux-opened","folder-type-light-sass","folder-type-light-sass-opened","folder-type-linux","folder-type-linux-opened","folder-type-locale","folder-type-locale-opened","folder-type-log","folder-type-log-opened","folder-type-macos","folder-type-macos-opened","folder-type-mariadb","folder-type-mariadb-opened","folder-type-maven","folder-type-maven-opened","folder-type-memcached","folder-type-memcached-opened","folder-type-meteor","folder-type-meteor-opened","folder-type-middleware","folder-type-middleware-opened","folder-type-minikube","folder-type-minikube-opened","folder-type-mjml","folder-type-mjml-opened","folder-type-mock","folder-type-mock-opened","folder-type-model","folder-type-model-opened","folder-type-module","folder-type-module-opened","folder-type-mojo","folder-type-mojo-opened","folder-type-mongodb","folder-type-mongodb-opened","folder-type-mysql","folder-type-mysql-opened","folder-type-next","folder-type-next-opened","folder-type-nginx","folder-type-nginx-opened","folder-type-nix","folder-type-nix-opened","folder-type-node","folder-type-node-opened","folder-type-notebooks","folder-type-notebooks-opened","folder-type-notification","folder-type-notification-opened","folder-type-nuget","folder-type-nuget-opened","folder-type-nuxt","folder-type-nuxt-opened","folder-type-package","folder-type-package-opened","folder-type-paket","folder-type-paket-opened","folder-type-php","folder-type-php-opened","folder-type-platformio","folder-type-platformio-opened","folder-type-plugin","folder-type-plugin-opened","folder-type-prisma","folder-type-prisma-opened","folder-type-private","folder-type-private-opened","folder-type-public","folder-type-public-opened","folder-type-python","folder-type-python-opened","folder-type-ravendb","folder-type-ravendb-opened","folder-type-redis","folder-type-redis-opened","folder-type-redux","folder-type-redux-opened","folder-type-route","folder-type-route-opened","folder-type-sass","folder-type-sass-opened","folder-type-script","folder-type-script-opened","folder-type-server","folder-type-server-opened","folder-type-services","folder-type-services-opened","folder-type-shared","folder-type-shared-opened","folder-type-snaplet","folder-type-snaplet-opened","folder-type-spin","folder-type-spin-opened","folder-type-src","folder-type-src-opened","folder-type-sso","folder-type-sso-opened","folder-type-story","folder-type-story-opened","folder-type-style","folder-type-style-opened","folder-type-svelte","folder-type-svelte-opened","folder-type-tauri","folder-type-tauri-opened","folder-type-temp","folder-type-temp-opened","folder-type-template","folder-type-template-opened","folder-type-test","folder-type-test-opened","folder-type-theme","folder-type-theme-opened","folder-type-tools","folder-type-tools-opened","folder-type-travis","folder-type-travis-opened","folder-type-trunk","folder-type-trunk-opened","folder-type-turbo","folder-type-turbo-opened","folder-type-typescript","folder-type-typescript-opened","folder-type-typings","folder-type-typings-opened","folder-type-typings2","folder-type-typings2-opened","folder-type-vagrant","folder-type-vagrant-opened","folder-type-vercel","folder-type-vercel-opened","folder-type-video","folder-type-video-opened","folder-type-view","folder-type-view-opened","folder-type-vs","folder-type-vs-opened","folder-type-vs2","folder-type-vs2-opened","folder-type-vscode","folder-type-vscode-opened","folder-type-vscode-test","folder-type-vscode-test-opened","folder-type-vscode-test2","folder-type-vscode-test2-opened","folder-type-vscode-test3","folder-type-vscode-test3-opened","folder-type-vscode2","folder-type-vscode2-opened","folder-type-vscode3","folder-type-vscode3-opened","folder-type-webpack","folder-type-webpack-opened","folder-type-windows","folder-type-windows-opened","folder-type-www","folder-type-www-opened","folder-type-yarn","folder-type-yarn-opened"]}];data.sort((xe,$e)=>xe.info.name.localeCompare($e.info.name));const app=createApp(_sfc_main);app.use(Gt$1,{distance:12});app.use(pinia);app.use(router);app.use(ui);directive(app);app.mount("#app");export{shallowRef as $,createCommentVNode as A,plus_default as B,refresh_default as C,isRef as D,nextTick as E,Fragment as F,ElMessage as G,axios as H,api as I,question_filled_default as J,ApiUsre as K,useUserStore$1 as L,vShow as M,useRoute as N,onUnmounted as O,renderSlot as P,normalizeClass as Q,pushScopeId as R,popScopeId as S,ElInput as T,useSlots as U,normalizeStyle$1 as V,inject as W,watch as X,onBeforeUnmount as Y,cloneVNode as Z,_sfc_main$2v as _,onMounted as a,createRenderer as a$,Teleport as a0,h$5 as a1,__vitePreload as a2,getDefaultExportFromCjs as a3,provide as a4,toRef as a5,isVNode as a6,useKeepAliveStore as a7,useMenuStore as a8,hotkeys as a9,isObject$5 as aA,tryOnScopeDispose$1 as aB,createSingletonPromise as aC,getCurrentInstance as aD,BaseTransition as aE,BaseTransitionPropsValidators as aF,Comment$1 as aG,DeprecationTypes as aH,EffectScope as aI,ErrorCodes as aJ,ErrorTypeStrings as aK,ReactiveEffect as aL,Static as aM,Suspense as aN,Text$2 as aO,TrackOpTypes as aP,TriggerOpTypes as aQ,VueElement as aR,assertNumber as aS,callWithAsyncErrorHandling as aT,callWithErrorHandling as aU,camelize as aV,capitalize$1 as aW,compatUtils as aX,createApp as aY,createHydrationRenderer as aZ,createPropsRestProxy as a_,Transition as aa,resolveDynamicComponent as ab,KeepAlive as ac,TransitionGroup as ad,onBeforeUpdate as ae,eventBus as af,resolveRoutePath as ag,he as ah,mergeProps as ai,Ge$1 as aj,vModelText as ak,Je$1 as al,P$2 as am,Ye$1 as an,Se$1 as ao,cloneDeep as ap,normalizeProps as aq,guardReactiveProps as ar,mergeModels as as,useModel as at,Ve as au,useTimeoutFn$1 as av,tryOnMounted$1 as aw,noop$3 as ax,toValue as ay,isClient$1 as az,createVNode$1 as b,useCssModule as b$,createSSRApp as b0,createSlots as b1,createStaticVNode as b2,customRef as b3,defineAsyncComponent as b4,defineCustomElement as b5,defineEmits as b6,defineExpose as b7,defineModel as b8,defineOptions as b9,onRenderTriggered as bA,onScopeDispose as bB,onServerPrefetch as bC,onUpdated as bD,proxyRefs as bE,queuePostFlushCb as bF,readonly as bG,registerRuntimeCompiler as bH,render$2 as bI,resolveFilter as bJ,resolveTransitionHooks as bK,setBlockTracking as bL,setDevtoolsHook as bM,setTransitionHooks as bN,shallowReactive as bO,shallowReadonly as bP,ssrContextKey as bQ,ssrUtils as bR,stop$1 as bS,toHandlerKey as bT,toHandlers as bU,toRaw as bV,toRefs as bW,toValue$1 as bX,transformVNodeArgs as bY,triggerRef as bZ,useAttrs$1 as b_,defineProps as ba,defineSSRCustomElement as bb,defineSlots as bc,devtools as bd,effect as be,effectScope as bf,getCurrentScope as bg,getTransitionRawChildren as bh,handleError as bi,hasInjectionContext as bj,hydrate as bk,initCustomFormatter as bl,initDirectivesForSSR as bm,isMemoSame as bn,isProxy as bo,isReactive as bp,isReadonly as bq,isRuntimeOnly as br,isShallow as bs,markRaw as bt,mergeDefaults as bu,onActivated as bv,onBeforeMount as bw,onDeactivated as bx,onErrorCaptured as by,onRenderTracked as bz,createElementBlock as c,useCssVars as c0,useSSRContext as c1,useTransitionState as c2,vModelCheckbox as c3,vModelDynamic as c4,vModelRadio as c5,vModelSelect as c6,version$1 as c7,warn$2 as c8,watchEffect as c9,watchPostEffect as ca,watchSyncEffect as cb,withAsyncContext as cc,withDefaults as cd,withMemo as ce,withScopeId as cf,getAugmentedNamespace as cg,commonjsGlobal as ch,defineStore as ci,u$5 as cj,f$3 as ck,O$2 as cl,o$3 as cm,A$4 as cn,T$3 as co,u$7 as cp,I$4 as cq,o$2 as cr,T$4 as cs,t$7 as ct,i$5 as cu,P$4 as cv,N$7 as cw,globalSettingsDefault as cx,_sfc_main$2x as cy,E$5 as cz,defineComponent as d,createBaseVNode as e,useRouter as f,openBlock as g,createTextVNode as h,unref as i,_sfc_main$2y as j,block0 as k,_export_sfc$1 as l,reactive as m,computed as n,onBeforeRouteLeave as o,resolveComponent as p,resolveDirective as q,ref as r,renderList as s,toDisplayString as t,useSettingsStore as u,withKeys as v,withCtx as w,withModifiers as x,withDirectives as y,createBlock as z};
