frp/assets/frps/static/index-b8250b3f.js

75 lines
846 KiB
JavaScript
Raw Normal View History

var KL=Object.defineProperty;var XL=(e,t,r)=>t in e?KL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ZL=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var $t=(e,t,r)=>(XL(e,typeof t!="symbol"?t+"":t,r),r);var Kte=ZL((kr,Nr)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();function Cm(e,t){const r=Object.create(null),n=e.split(",");for(let i=0;i<n.length;i++)r[n[i]]=!0;return t?i=>!!r[i.toLowerCase()]:i=>!!r[i]}function St(e){if(be(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=ze(n)?tD(n):St(n);if(i)for(const a in i)t[a]=i[a]}return t}else{if(ze(e))return e;if(Ke(e))return e}}const QL=/;(?![^(]*\))/g,JL=/:([^]+)/,eD=/\/\*.*?\*\//gs;function tD(e){const t={};return e.replace(eD,"").split(QL).forEach(r=>{if(r){const n=r.split(JL);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function le(e){let t="";if(ze(e))t=e;else if(be(e))for(let r=0;r<e.length;r++){const n=le(e[r]);n&&(t+=n+" ")}else if(Ke(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const rD="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nD=Cm(rD);function lC(e){return!!e||e===""}function iD(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Md(e[n],t[n]);return r}function Md(e,t){if(e===t)return!0;let r=V0(e),n=V0(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=eu(e),n=eu(t),r||n)return e===t;if(r=be(e),n=be(t),r||n)return r&&n?iD(e,t):!1;if(r=Ke(e),n=Ke(t),r||n){if(!r||!n)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!Md(e[o],t[o]))return!1}}return String(e)===String(t)}function uC(e,t){return e.findIndex(r=>Md(r,t))}const Me=e=>ze(e)?e:e==null?"":be(e)||Ke(e)&&(e.toString===fC||!Le(e.toString))?JSON.stringify(e,cC,2):String(e),cC=(e,t)=>t&&t.__v_isRef?cC(e,t.value):is(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:Ed(t)?{[`Set(${t.size})`]:[...t.values()]}:Ke(t)&&!be(t)&&!dC(t)?String(t):t,mt={},ns=[],ur=()=>{},aD=()=>!1,oD=/^on[^a-z]/,Ad=e=>oD.test(e),Tm=e=>e.startsWith("onUpdate:"),Xt=Object.assign,Mm=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},sD=Object.prototype.hasOwnProperty,Ve=(e,t)=>sD.call(e,t),be=Array.isArray,is=e=>Ru(e)==="[object Map]",Ed=e=>Ru(e)==="[object Set]",V0=e=>Ru(e)==="[object Date]",Le=e=>typeof e=="function",ze=e=>typeof e=="string",eu=e=>typeof e=="symbol",Ke=e=>e!==null&&typeof e=="object",Hf=e=>Ke(e)&&Le(e.then)&&Le(e.catch),fC=Object.prototype.toString,Ru=e=>fC.call(e),lD=e=>Ru(e).slice(8,-1),dC=e=>Ru(e)==="[object Object]",Am=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ff=Cm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pd=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},uD=/-(\w)/g,An=Pd(e=>e.replace(uD,(t,r)=>r?r.toUpperCase():"")),cD=/\B([A-Z])/g,wo=Pd(e=>e.replace(cD,"-$1").toLowerCase()),Ld=Pd(e=>e.charAt(0).toUpperCase()+e.slice(1)),df=Pd(e=>e?`on${Ld(e)}`:""),tu=(e,t)=>!Object.is(e,t),hf=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},zf=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Em=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let G0;const fD=()=>G0||(G0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});le
* 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 zz=function(e,t){if(e&&e.addEventListener){const r=function(n){const i=Hz(n);t&&Reflect.apply(t,this,[n,i])};e.addEventListener("wheel",r,{passive:!0})}},Wz={beforeMount(e,t){zz(e,t.value)}},WM={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:Kd,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},VM={[po]:e=>ze(e)||Yt(e)||Br(e),change:e=>ze(e)||Yt(e)||Br(e)},Vz=({model:e,isChecked:t})=>{const r=Oe(Bs,void 0),n=$(()=>{var a,o;const s=(a=r==null?void 0:r.max)==null?void 0:a.value,l=(o=r==null?void 0:r.min)==null?void 0:o.value;return!Qf(s)&&e.value.length>=s&&!t.value||!Qf(l)&&e.value.length<=l&&t.value});return{isDisabled:Xd($(()=>(r==null?void 0:r.disabled.value)||n.value)),isLimitDisabled:n}},Gz=(e,{model:t,isLimitExceeded:r,hasOwnLabel:n,isDisabled:i,isLabeledByFormItem:a})=>{const o=Oe(Bs,void 0),{formItem:s}=Gu(),{emit:l}=dt();function u(v){var p,g;return v===e.trueLabel||v===!0?(p=e.trueLabel)!=null?p:!0:(g=e.falseLabel)!=null?g:!1}function c(v,p){l("change",u(v),p)}function f(v){if(r.value)return;const p=v.target;l("change",u(p.checked),v)}async function d(v){r.value||!n.value&&!i.value&&a.value&&(v.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Rt(),c(t.value,v)))}const h=$(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return xe(()=>e.modelValue,()=>{h.value&&(s==null||s.validate("change").catch(v=>void 0))}),{handleChange:f,onClickRoot:d}},Uz=e=>{const t=H(!1),{emit:r}=dt(),n=Oe(Bs,void 0),i=$(()=>Qf(n)===!1),a=H(!1);return{model:$({get(){var s,l;return i.value?(s=n==null?void 0:n.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;i.value&&be(s)?(a.value=((l=n==null?void 0:n.max)==null?void 0:l.value)!==void 0&&s.length>(n==null?void 0:n.max.value),a.value===!1&&((u=n==null?void 0:n.changeEvent)==null||u.call(n,s))):(r(po,s),t.value=s)}}),isGroup:i,isLimitExceeded:a}},jz=(e,t,{model:r})=>{const n=Oe(Bs,void 0),i=H(!1),a=$(()=>{const u=r.value;return Br(u)?u:be(u)?Ke(e.label)?u.map(Je).some(c=>d$(c,e.label)):u.map(Je).includes(e.label):u!=null?u===e.trueLabel:!!u}),o=ra($(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value}),{prop:!0}),s=ra($(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value})),l=$(()=>!!(t.default||e.label));return{checkboxButtonSize:o,isChecked:a,isFocused:i,checkboxSize:s,hasOwnLabel:l}},Yz=(e,{model:t})=>{function r(){be(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&r()},GM=(e,t)=>{const{formItem:r}=Gu(),{model:n,isGroup:i,isLimitExceeded:a}=Uz(e),{isFocused:o,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c}=jz(e,t,{model:n}),{isDisabled:f}=Vz({model:n,isChecked:s}),{inputId:d,isLabeledByFormItem:h}=py(e,{formItemContext:r,disableIdGeneration:c,disableIdManagement:i}),{handleChange:v,onClickRoot:p}=Gz(e,{model:n,isLimitExceeded:a,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:h});return Yz(e,{model:n}),{inputId:d,isLabeledByFormItem:h,isChecked:s,isDisabled:f,isFocused:o,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c,model:n,handleChange:v,onClickRoot:p}},qz=["tabindex","role","aria-checked"],Kz=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],Xz=["id","aria-hidden","disabled","value","name","tabindex"],Zz=ce({name:"ElCheckbox"}),Qz=ce({...Zz,props:WM,emits:VM,setup(e){const t=e,r=zd(),{inputId:n,isLabeledByFormItem:i,isChecked:a,isDisabled:o,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:c,handleChange:f,onClickRoot:d}=GM(t,r),h=Be("checkbox"),v=$(()=>[h.b(),h.m(l.value),h.is("disabled",o.value),h.is("bordered",t.border),h.is("checked",a.value)]),p=$(()=>[h.e("input"),h.is("disabled",o.value),h.is("checked",a.value),h.is("indeterminate",t.i
(?:
(?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+n+":){6}(?:"+r+"|:"+n+`|:)| // 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
(?:`+n+":){5}(?::"+r+"|(?::"+n+`){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
(?:`+n+":){4}(?:(?::"+n+"){0,1}:"+r+"|(?::"+n+`){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
(?:`+n+":){3}(?:(?::"+n+"){0,2}:"+r+"|(?::"+n+`){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
(?:`+n+":){2}(?:(?::"+n+"){0,3}:"+r+"|(?::"+n+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+n+":){1}(?:(?::"+n+"){0,4}:"+r+"|(?::"+n+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+n+"){0,5}:"+r+"|(?::"+n+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+r+"$)|(?:^"+i+"$)"),o=new RegExp("^"+r+"$"),s=new RegExp("^"+i+"$"),l=function(b){return b&&b.exact?a:new RegExp("(?:"+t(b)+r+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};l.v4=function(_){return _&&_.exact?o:new RegExp(""+t(_)+r+t(_),"g")},l.v6=function(_){return _&&_.exact?s:new RegExp(""+t(_)+i+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+h+v+p+")"+g+m;return bc=new RegExp("(?:^"+y+"$)","i"),bc},a1={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},_l={integer:function(t){return _l.number(t)&&parseInt(t,10)===t},float:function(t){return _l.number(t)&&!_l.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!_l.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(a1.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(K6())},hex:function(t){return typeof t=="string"&&!!t.match(a1.hex)}},X6=function(t,r,n,i,a){if(t.required&&r===void 0){qM(t,r,n,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?_l[s](r)||i.push(Rr(a.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&i.push(Rr(a.messages.types[s],t.fullField,t.type))},Z6=function(t,r,n,i,a){var o=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=r,f=null,d=typeof r=="number",h=typeof r=="string",v=Array.isArray(r);if(d?f="number":h?f="string":v&&(f="array"),!f)return!1;v&&(c=r.length),h&&(c=r.replace(u,"_").length),o?c!==t.len&&i.push(Rr(a.messages[f].len,t.fullField,t.len)):s&&!l&&c<t.min?i.push(Rr(a.messages[f].min,t.fullField,t.min)):l&&!s&&c>t.max?i.push(Rr(a.messages[f].max,t.fullField,t.max)):s&&l&&(c<t.min||c>t.max)&&i.push(Rr(a.messages[f].range,t.fullField,t.min,t.max))},Do="enum",Q6=function(t,r,n,i,a){t[Do]=Array.isArray(t[Do])?t[Do]:[],t[Do].indexOf(r)===-1&&i.push(Rr(a.messages[Do],t.fullField,t[Do].join(", ")))},J6=function(t,r,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||i.push(Rr(a.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(r)||i.push(Rr(a.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},Ye={required:qM,whitespace:q6,type:X6,range:Z6,enum:Q6,pattern:J6},e8=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ft(r,"string")&&!t.required)return n();Ye.required(t,r,i,o,a,"string"),Ft(r,"string")||(Ye.type(t,r,i,o,a),Ye.range(t,r,i,o,a),Ye.pattern(t,r,i,o,a),t.whitespace===!0&&Ye.whitespace(t,r,i,o,a))}n(o)},t8=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ft(r)&&!t.required)return n();Ye.required(t,r,i,o,a),r!==void 0&&Ye.type(t,r,i,o,a)}n(o)},r8=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),Ft(r)&&!t.required)return n();Ye.required(t,r,i,o,a),r!==void 0&&(Ye.type(t,r,i,o,a),Ye.range(t,r,i,o,a))}n(o)},n8=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ft(r)&&!t.requir
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var gW=/["'&<>]/,mW=yW;function yW(e){var t=""+e,r=gW.exec(t);if(!r)return t;var n,i="",a=0,o=0;for(a=r.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=n}return o!==a?i+t.substring(o,a):i}const qh=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},_W=function(e,t,r,n,i){if(!t&&!n&&(!i||Array.isArray(i)&&!i.length))return e;typeof r=="string"?r=r==="descending"?-1:1:r=r&&r<0?-1:1;const a=n?null:function(s,l){return i?(Array.isArray(i)||(i=[i]),i.map(u=>typeof u=="string"?fu(s,u):u(s,l,e))):(t!=="$key"&&Ke(s)&&"$value"in s&&(s=s.$value),[Ke(s)?fu(s,t):s])},o=function(s,l){if(n)return n(s.value,l.value);for(let u=0,c=s.key.length;u<c;u++){if(s.key[u]<l.key[u])return-1;if(s.key[u]>l.key[u])return 1}return 0};return e.map((s,l)=>({value:s,index:l,key:a?a(s,l):null})).sort((s,l)=>{let u=o(s,l);return u||(u=s.index-l.index),u*+r}).map(s=>s.value)},nA=function(e,t){let r=null;return e.columns.forEach(n=>{n.id===t&&(r=n)}),r},bW=function(e,t){let r=null;for(let n=0;n<e.columns.length;n++){const i=e.columns[n];if(i.columnKey===t){r=i;break}}return r||ta("ElTable",`No column matching with column-key: ${t}`),r},l1=function(e,t,r){const n=(t.className||"").match(new RegExp(`${r}-table_[^\\s]+`,"gm"));return n?nA(e,n[0]):null},Ut=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const r=t.split(".");let n=e;for(const i of r)n=n[i];return`${n}`}else if(typeof t=="function")return t.call(null,e)},Qa=function(e,t){const r={};return(e||[]).forEach((n,i)=>{r[Ut(n,t)]={row:n,index:i}}),r};function wW(e,t){const r={};let n;for(n in e)r[n]=e[n];for(n in t)if(Ve(t,n)){const i=t[n];typeof i<"u"&&(r[n]=i)}return r}function Py(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function iA(e){return e===""||e!==void 0&&(e=Py(e),Number.isNaN(e)&&(e=80)),e}function SW(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function xW(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Nl(e,t,r){let n=!1;const i=e.indexOf(t),a=i!==-1,o=s=>{s==="add"?e.push(t):e.splice(i,1),n=!0,be(t.children)&&t.children.forEach(l=>{Nl(e,l,r??!a)})};return Br(r)?r&&!a?o("add"):!r&&a&&o("remove"):o(a?"remove":"add"),n}function CW(e,t,r="children",n="hasChildren"){const i=o=>!(Array.isArray(o)&&o.length);function a(o,s,l){t(o,s,l),s.forEach(u=>{if(u[n]){t(u,null,l+1);return}const c=u[r];i(c)||a(u,c,l+1)})}e.forEach(o=>{if(o[n]){t(o,null,0);return}const s=o[r];i(s)||a(o,s,0)})}let li;function TW(e,t,r,n){n=FT({enterable:!0,showArrow:!0},n);const{nextZIndex:i}=Ty(),a=e==null?void 0:e.dataset.prefix,o=e==null?void 0:e.querySelector(`.${a}-scrollbar__wrap`);function s(){const g=n.effect==="light",m=document.createElement("div");return m.className=[`${a}-popper`,g?"is-light":"is-dark",n.popperClass||""].join(" "),r=mW(r),m.innerHTML=r,m.style.zIndex=String(i()),e==null||e.appendChild(m),m}function l(){const g=document.createElement("div");return g.className=`${a}-popper__arrow`,g}function u(){c&&c.update()}li==null||li(),li=()=>{try{c&&c.destroy(),h&&(e==null||e.removeChild(h)),t.removeEventListener("mouseenter",f),t.removeEventListener("mouseleave",d),o==null||o.removeEventListener("scroll",li),li=void 0}catch{}};let c=null,f=u,d=li;n.enterable&&({onOpen:f,onClose:d}=xM({showAfter:n.showAfter,hideAfter:n.hideAfter,open:u,close:li}));const h=s();h.onmouseenter=f,h.onmouseleave=d;const v=[];if(n.offset&&v.push({name:"offset",options:{offset:[0,n.offset]}}),n.showArrow){const g=h.appendChild(l());v.push({name:"arrow",options:{element:g,padding:10}})}const p=n.popperOptions||{};return c=wM(t,h,{placement:n.placement||"top",strategy:"fixed",...p,modifiers:p.modifiers?v.concat(p.modifiers):v}),t.addEventListener("mouseenter",f),t.addEventListener("mouseleave",d),o==null||o.addEventListener("scr
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const qo=typeof window<"u";function UV(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const st=Object.assign;function Kh(e,t){const r={};for(const n in t){const i=t[n];r[n]=En(i)?i.map(e):e(i)}return r}const Fl=()=>{},En=Array.isArray,jV=/\/$/,YV=e=>e.replace(jV,"");function Xh(e,t,r="/"){let n,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(n=n||t.slice(0,s),o=t.slice(s,t.length)),n=ZV(n??t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function qV(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function d1(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function KV(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&As(t.matched[n],r.matched[i])&&gA(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function As(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gA(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!XV(e[r],t[r]))return!1;return!0}function XV(e,t){return En(e)?h1(e,t):En(t)?h1(t,e):e===t}function h1(e,t){return En(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function ZV(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/");let i=r.length-1,a,o;for(a=0;a<n.length;a++)if(o=n[a],o!==".")if(o==="..")i>1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var mu;(function(e){e.pop="pop",e.push="push"})(mu||(mu={}));var $l;(function(e){e.back="back",e.forward="forward",e.unknown=""})($l||($l={}));function QV(e){if(!e)if(qo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),YV(e)}const JV=/^[^#]+#/;function eG(e,t){return e.replace(JV,"#")+t}function tG(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Jd=()=>({left:window.pageXOffset,top:window.pageYOffset});function rG(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=tG(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function v1(e,t){return(history.state?history.state.position-t:-1)+e}const hg=new Map;function nG(e,t){hg.set(e,t)}function iG(e){const t=hg.get(e);return hg.delete(e),t}let aG=()=>location.protocol+"//"+location.host;function mA(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),d1(l,"")}return d1(r,e)+n+i}function oG(e,t,r,n){let i=[],a=[],o=null;const s=({state:d})=>{const h=mA(e,location),v=r.value,p=t.value;let g=0;if(d){if(r.value=h,t.value=d,o&&o===v){o=null;return}g=p?d.position-p.position:0}else n(h);i.forEach(m=>{m(r.value,v,{delta:g,type:mu.pop,direction:g?g>0?$l.forward:$l.back:$l.unknown})})};function l(){o=r.value}function u(d){i.push(d);const h=()=>{const v=i.indexOf(d);v>-1&&i.splice(v,1)};return a.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(st({},d.state,{scroll:Jd()}),"")}function f(){for(const d of a)d();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:f}}function p1(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?Jd():null}}function sG(e){const{history:t,location:r}=window,n={value:mA(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,c){const f=e.indexOf("#"
`:arguments[1];return f.replace(/\<br\s*\/?\>/g,d)},capitalize:function(f){var d=arguments.length<=1||arguments[1]===void 0?!1:arguments[1];return""+f.charAt(0).toUpperCase()+(d?f.slice(1).toLowerCase():f.slice(1))},capitalizeAll:function(f){return f.replace(/(?:^|\s)\S/g,function(d){return d.toUpperCase()})},titleCase:function(f){var d=/\b(a|an|and|at|but|by|de|en|for|if|in|of|on|or|the|to|via|vs?\.?)\b/i,h=/\S+[A-Z]+\S*/,v=/\s+/,p=/-/,g=void 0;return g=function(y){for(var _=arguments.length<=1||arguments[1]===void 0?!1:arguments[1],b=arguments.length<=2||arguments[2]===void 0?!0:arguments[2],S=[],w=y.split(_?p:v),x=0;x<w.length;++x){var C=w[x];if(C.indexOf("-")!==-1){S.push(g(C,!0,x===0||x===w.length-1));continue}if(b&&(x===0||x===w.length-1)){S.push(h.test(C)?C:u.capitalize(C));continue}h.test(C)?S.push(C):d.test(C)?S.push(C.toLowerCase()):S.push(u.capitalize(C))}return S.join(_?"-":" ")},g(f)},titlecase:function(){return u.titleCase.apply(u,arguments)}};return u})})(KG,na);/*! *****************************************************************************
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 gg=function(e,t){return gg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},gg(e,t)};function pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gg(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var XG=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),ZG=function(){function e(){this.browser=new XG,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 e}(),Wa=new ZG;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Wa.wxa=!0,Wa.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Wa.worker=!0:typeof navigator>"u"?(Wa.node=!0,Wa.svgSupported=!0):QG(navigator.userAgent,Wa);function QG(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const Ue=Wa;var ky=12,JG="sans-serif",mo=ky+"px "+JG,eU=20,tU=100,rU="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function nU(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-eU)/tU;t[n]=i}return t}var iU=nU(rU),Mo={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Mo.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||mo),e.measureText(r);r=r||"",n=n||mo;var a=/(\d+)px/.exec(n),o=a&&+a[1]||ky,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=iU[r[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},AA=ia(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),EA=ia(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),Ku=Object.prototype.toString,eh=Array.prototype,aU=eh.forEach,oU=eh.filter,Ny=eh.slice,sU=eh.map,E1=function(){}.constructor,wc=E1?E1.prototype:null,By="__proto__",lU=2311;function PA(){return lU++}function Fy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function Qe(e){if(e==null||typeof e!="object")return e;var t=e,r=Ku.call(e);if(r==="[object Array]"){if(!zl(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=Qe(e[n])}}else if(EA[r]){if(!zl(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!AA[r]&&!zl(e)&&!rd(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==By&&(t[o]=Qe(e[o]))}return t}function ot(e,t,r){if(!De(t)||!De(e))return r?Qe(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==By){var i=e[n],a=t[n];De(a)&&De(i)&&!ge(a)&&!ge(i)&&!rd(a)&&!rd(i)&&!P1(a)&&!P1(i)&&!zl(a)&&!zl(i)?ot(i,a,r):(r||!(n in e))&&(e[n]=Qe(t[n
`),a=i.length;if(a===1)return rw(i[0],t,r,n);for(var o=new tt(0,0,0,0),s=0;s<i.length;s++){var l=rw(i[s],t,r,n);s===0?o.copy(l):o.union(l)}return o}function Sl(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function Xo(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function jy(e){return Fr("国",e)}function aa(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function ud(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,c="left",f="top";if(n instanceof Array)l+=aa(n[0],r.width),u+=aa(n[1],r.height),c=null,f=null;else switch(n){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+o,u+=s,f="middle";break;case"top":l+=o/2,u-=i,c="center",f="bottom";break;case"bottom":l+=o/2,u+=a+i,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=o-i,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=i,c="center";break;case"insideBottom":l+=o/2,u+=a-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=a-i,f="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var gv="__zr_normal__",mv=bu.concat(["ignore"]),P9=ia(bu,function(e,t){return e[t]=!0,e},{ignore:!1}),No={},L9=new tt(0,0,0,0),Yy=function(){function e(t){this.id=PA(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(r),n.position!=null){var c=L9;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(No,n,c):ud(No,n,c),a.x=No.x,a.y=No.y,o=No.align,s=No.verticalAlign;var f=n.origin;if(f&&n.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=aa(f[0],c.width),h=aa(f[1],c.height)),u=!0,a.originX=-a.x+d+(i?0:c.x),a.originY=-a.y+h+(i?0:c.y)}}n.rotation!=null&&(a.rotation=n.rotation);var v=n.offset;v&&(a.x+=v[0],a.y+=v[1],u||(a.originX=-v[0],a.originY=-v[1]));var p=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;p&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,y=n.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Or,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Rg:Og},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&oo(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,Vy(n,"rgba")},e.prototype.traverse=func
* 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 If={},i2={};function k9(e){delete i2[e]}function N9(e){if(!e)return!1;if(typeof e=="string")return sd(e,1)<Ig;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=sd(t[i].color,1);return r/=n,r<Ig}return!1}var B9=function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new JU,o=n.renderer||"canvas";If[o]||(o=Ct(If)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new If[o](r,a,n,t),l=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!Ue.node&&!Ue.worker&&!l?new T9(s.getViewportRoot(),s.root):null,c=n.useCoarsePointer,f=c==null||c==="auto"?Ue.touchEventsSupported:!!c,d=44,h;f&&(h=qe(n.pointerSize,d)),this.handler=new qU(a,s,u,s.root,h),this.animation=new m9({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=N9(t)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var r,n=ts();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=ts();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof cn&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,k9(this.id)},e}();function nw(e,t){var r=new B9(PA(),e,t);return i2[r.id]=r,r}function F9(e,t){If[e]=t}var iw=1e-4,a2=20;function $9(e){return e.replace(/^\s+|\s+$/g,"")}function kg(e,t,r,n){var i=t[0],a=t[1],o=r[0],s=r[1],l=a-i,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function pt(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"
`);i=g2(t,r,n,i);for(var o=0,s=a.length;o<s;o++)a[o]=m2(a[o],i);return a.join(`
`)}function g2(e,t,r,n){n=n||{};var i=se({},n);i.font=t,r=qe(r,"..."),i.maxIterations=qe(n.maxIterations,2);var a=i.minChar=qe(n.minChar,0);i.cnCharWidth=Fr("国",t);var o=i.ascCharWidth=Fr("a",t);i.placeholder=qe(n.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<a&&s>=o;l++)s-=o;var u=Fr(r,t);return u>s&&(r="",u=0),s=e-u,i.ellipsis=r,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function m2(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=Fr(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?wj(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=Fr(e,n)}return e===""&&(e=t.placeholder),e}function wj(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function Sj(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=jy(i),s=qe(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,f;c!=null&&(r==="break"||r==="breakAll")?f=e?y2(e,t.font,c,r==="breakAll",0).lines:[]:f=e?e.split(`
`):[];var d=f.length*s,h=qe(t.height,d);if(d>h&&u){var v=Math.floor(h/s);f=f.slice(0,v)}if(e&&a&&c!=null)for(var p=g2(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<f.length;g++)f[g]=m2(f[g],p);for(var m=h,y=0,g=0;g<f.length;g++)y=Math.max(Fr(f[g],i),y);c==null&&(c=y);var _=y;return n&&(m+=n[0]+n[2],_+=n[1]+n[3],c+=n[1]+n[3]),l&&(_=c),{lines:f,height:h,outerWidth:_,outerHeight:m,lineHeight:s,calculatedLineHeight:o,contentWidth:y,contentHeight:d,width:c}}var xj=function(){function e(){}return e}(),uw=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),Cj=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function Tj(e,t){var r=new Cj;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=wv.lastIndex=0,l;(l=wv.exec(e))!=null;){var u=l.index;u>s&&Sv(r,e.substring(s,u),t,o),Sv(r,l[2],t,o,l[1]),s=wv.lastIndex}s<e.length&&Sv(r,e.substring(s,e.length),t,o);var c=[],f=0,d=0,h=t.padding,v=a==="truncate",p=t.lineOverflow==="truncate";function g(B,N,j){B.width=N,B.lineHeight=j,f+=j,d=Math.max(d,N)}e:for(var m=0;m<r.lines.length;m++){for(var y=r.lines[m],_=0,b=0,S=0;S<y.tokens.length;S++){var w=y.tokens[S],x=w.styleName&&t.rich[w.styleName]||{},C=w.textPadding=x.padding,T=C?C[1]+C[3]:0,E=w.font=x.font||t.font;w.contentHeight=jy(E);var A=qe(x.height,w.contentHeight);if(w.innerHeight=A,C&&(A+=C[0]+C[2]),w.height=A,w.lineHeight=Hl(x.lineHeight,t.lineHeight,A),w.align=x&&x.align||t.align,w.verticalAlign=x&&x.verticalAlign||"middle",p&&i!=null&&f+w.lineHeight>i){S>0?(y.tokens=y.tokens.slice(0,S),g(y,b,_),r.lines=r.lines.slice(0,m+1)):r.lines=r.lines.slice(0,m);break e}var M=x.width,D=M==null||M==="auto";if(typeof M=="string"&&M.charAt(M.length-1)==="%")w.percentWidth=M,c.push(w),w.contentWidth=Fr(w.text,E);else{if(D){var R=x.backgroundColor,k=R&&R.image;k&&(k=_j(k),oh(k)&&(w.width=Math.max(w.width,k.width*A/k.height)))}var F=v&&n!=null?n-b:null;F!=null&&F<w.width?!D||F<T?(w.text="",w.width=w.contentWidth=0):(w.text=bj(w.text,F-T,E,t.ellipsis,{minChar:t.truncateMinChar}),w.width=w.contentWidth=Fr(w.text,E)):w.contentWidth=Fr(w.text,E)}w.width+=T,b+=w.width,x&&(_=Math.max(_,w.lineHeight))}g(y,b,_)}r.outerWidth=r.width=qe(n,d),r.outerHeight=r.height=qe(i,f),r.contentHeight=f,r.contentWidth=d,h&&(r.outerWidth+=h[1]+h[3],r.outerHeight+=h[0]+h[2]);for(var m=0;m<c.length;m++){var w=c[m],K=w.percentWidth;w.width=parseInt(K,10)/100*r.width}return r}function Sv(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,l=o.font||r.font,u=!1,c,f;if(n){var d=o.padding,h=d?d[1]+d[3]:0;if(o.width!=null&&o.width!=="auto"){var v=aa(o.width,n.width)+h;s.length>0&&v+n.accumWidth>n.width&&(c=t.split(`
`),u=!0),n.accumWidth=v}else{var p=y2(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+h,f=p.linesWidths,c=p.lines}}else c=t.split(`
`);for(var g=0;g<c.length;g++){var m=c[g],y=new xj;if(y.styleName=i,y.text=m,y.isLineHolder=!m&&!a,typeof o.width=="number"?y.width=o.width:y.width=f?f[g]:Fr(m,l),!g&&!u){var _=(s[s.length-1]||(s[0]=new uw)).tokens,b=_.length;b===1&&_[0].isLineHolder?_[0]=y:(m||!b||a)&&_.push(y)}else s.push(new uw([y]))}}function Mj(e){var t=e.charCodeAt(0);return t>=33&&t<=383}var Aj=ia(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function Ej(e){return Mj(e)?!!Aj[e]:!0}function y2(e,t,r,n,i){for(var a=[],o=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var d=e.charAt(f);if(d===`
`){l&&(s+=l,c+=u),a.push(s),o.push(c),s="",l="",u=0,c=0;continue}var h=Fr(d,t),v=n?!1:!Ej(d);if(a.length?c+h>r:i+c+h>r){c?(s||l)&&(v?(s||(s=l,l="",u=0,c=u),a.push(s),o.push(c-u),l+=d,u+=h,s="",c=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(c),s=d,c=h)):v?(a.push(l),o.push(u),l=d,u=h):(a.push(d),o.push(h));continue}c+=h,v?(l+=d,u+=h):(l&&(s+=l,l="",u=0),s+=d)}return!a.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(c)),a.length===1&&(c+=i),{accumWidth:c,lines:a,linesWidths:o}}var Fg="__zr_style_"+Math.round(Math.random()*10),so={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},sh={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};so[Fg]=!0;var cw=["z","z2","invisible"],Pj=["invisible"],Lj=function(e){pe(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=Ct(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&Dj(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new tt(0,0,0,0)),n?tt.applyTransform(r,i,n):r.copy(i),(o||s||l)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(l),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+l-o));var u=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-u),r.y=Math.floor(r.y-u),r.width=Math.ceil(r.width+1+u*2),r.height=Math.ceil(r.height+1+u*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new tt(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:se(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=bl,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&bl)},t.prototype.styleUpdated=function(){this.__dirty&=~bl},t.prototype.createStyle=function(r){return rh(so,r)},t.prototype.useStyle=function(r){r[Fg]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[Fg]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,cw)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.style?o?a?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(u,n.style)):l&&(u=i.style),u)if(o){var c=this.style;
`,`
`,`
`];function Pu(e,t){return t.type=e,t}function em(e){return e.type==="section"}function QE(e){return em(e)?oK:sK}function JE(e){if(em(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return O(e.blocks,function(i){var a=JE(i);a>=t&&(t=a+ +(n&&(!a||em(i)&&!i.noHeader)))}),t}return 0}function oK(e,t,r,n){var i=t.noHeader,a=lK(JE(t)),o=[],s=t.blocks||[];_i(!s||ge(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Ps(u,l)){var c=new Gq(u[l],null);s.sort(function(v,p){return c.evaluate(v.sortParam,p.sortParam)})}else l==="seriesDesc"&&s.reverse()}O(s,function(v,p){var g=t.valueFormatter,m=QE(v)(g?se(se({},e),{valueFormatter:g}):e,v,p>0?a.html:0,n);m!=null&&o.push(m)});var f=e.renderMode==="richText"?o.join(a.richText):tm(o.join(""),i?r:a.html);if(i)return f;var d=Zg(t.header,"ordinal",e.useUTC),h=ZE(n,e.renderMode).nameStyle;return e.renderMode==="richText"?eP(e,d,h)+a.richText+f:tm('<div style="'+h+";"+XE+';">'+Zr(d)+"</div>"+f,r)}function sK(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(b){return b=ge(b)?b:[b],Re(b,function(S,w){return Zg(S,ge(h)?h[w]:h,u)})};if(!(a&&o)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),d=a?"":Zg(l,"ordinal",u),h=t.valueType,v=o?[]:c(t.value),p=!s||!a,g=!s&&a,m=ZE(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":f)+(a?"":eP(e,d,y))+(o?"":fK(e,v,p,g,_)):tm((s?"":f)+(a?"":uK(d,!s,y))+(o?"":cK(v,p,g,_)),r)}}function wS(e,t,r,n,i,a){if(e){var o=QE(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function lK(e){return{html:iK[e],richText:aK[e]}}function tm(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+XE+';">'+e+r+"</div>"}function uK(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+Zr(e)+"</span>"}function cK(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=ge(e)?e:[e],'<span style="'+a+";"+n+'">'+Re(e,function(o){return Zr(o)}).join("&nbsp;&nbsp;")+"</span>"}function eP(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function fK(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(ge(t)?t.join(" "):t,a)}function dK(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return Mu(n)}function tP(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var jv=function(){function e(){this.richTextStyles={},this._nextStyleNameId=l2()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=Q7({color:r,type:t,renderMode:n,markerId:i});return Ae(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};ge(r)?O(r,function(a){return se(n,a)}):se(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function hK(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),l=ge(s),u=dK(t,r),c,f,d,h;if(o>1||l&&!o){var v=vK(s,t,r,a,u);c=v.inlineValues,f=v.inlineValueTypes,d=v.blocks,h=v.inlineValues[0]}else if(o){var p=i.getDimensionInfo(a[0]);h=c=Is(i,r,a[0]),f=p.type}else h=c=l?s[0]:s;var g=Ky(t),m=g&&t.name||"",y=i.getName(r),_=n?m:y;return Pu("section",{header:m,noHeader:n||!g,sortParam:h,blocks:[Pu("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Gn(_),value:c,valueType:f})].concat(d||[])})}function vK(e,t,r,n,i){var a=t.getData(),o=ia(e,function(f,d,h){var v=a.getDimensionInfo(h);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],l=[],u=[];n.length?O(n,function(f){c(Is(a,r,f),f)}):O(e,c);function c(f,d){var h=a.getDimensionInfo(d);!h||h.otherDims.tooltip===!1||(o?u.push(Pu("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,v
`:"<br/>",m=f.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,h,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],h,null,d)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=ut(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,f=o.dataType,d=u.getData(f),h=this._renderMode,v=r.positionDefault,p=gl([d.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,f),y=new jv;m.marker=y.makeTooltipMarker("item",Mu(m.color),h);var _=gS(u.formatTooltip(c,!1,f)),b=p.get("order"),S=p.get("valueFormatter"),w=_.frag,x=w?wS(S?se({valueFormatter:S},w):w,y,h,b,a.get("useUTC"),p.get("textStyle")):_.text,C="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,x,m,C,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=ut(n),o=a.tooltipConfig,s=o.option||{};if(Ae(s)){var l=s;s={content:l,formatter:l}}var u=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&u.push(c),u.push({formatter:s.content});var f=r.positionDefault,d=gl(u,this._tooltipModel,f?{position:f}:null),h=d.get("content"),v=Math.random()+"",p=new jv;this._showOrMove(d,function(){var g=Qe(d.get("formatterParams")||{});this._showTooltipContent(d,h,g,v,r.offsetX,r.offsetY,r.position,n,p)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,l,u,c){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var f=this._tooltipContent;f.setEnterable(r.get("enterable"));var d=r.get("formatter");l=l||r.get("position");var h=n,v=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),p=v.color;if(d)if(Ae(d)){var g=r.ecModel.get("useUTC"),m=ge(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;h=d,y&&(h=dh(m.axisValue,h,g)),h=PE(h,i,!0)}else if(Ge(d)){var _=_t(function(b,S){b===this._ticket&&(f.setContent(S,c,r,p,l),this._updatePosition(r,l,o,s,f,i,u))},this);this._ticket=a,h=d(i,a,_)}else h=d;f.setContent(h,c,r,p,l),f.show(r,p),this._updatePosition(r,l,o,s,f,i,u)}},t.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||ge(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!ge(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,l){var u=this._api.getWidth(),c=this._api.getHeight();n=n||r.get("position");var f=o.getSize(),d=r.get("align"),h=r.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),Ge(n)&&(n=n([i,a],s,o.el,v,{viewSize:[u,c],contentSize:f.slice()})),ge(n))i=pt(n[0],u),a=pt(n[1],c);else if(De(n)){var p=n;p.width=f[0],p.height=f[1];var g=Ls(p,{width:u,height:c});i=g.x,a=g.y,d=null,h=null}else if(Ae(n)&&l){var m=ate(n,v,f,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=nte(i,a,o,u,c,d?null:20,h?null:20);i=m[0],a=m[1]}if(d&&(i-=nC(d)?f[0]/2:d==="right"?f[0]:0),h&&(a-=nC(h)?f[1]/2:h==="bottom"?f[1]:0),BL(r)){var m=ite(i,a,o,u,c);i=m[0],a=m[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&O(i,function(s,l){var u=s.dataByAxis||[],c=r[l]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&O(u,function(d,h){var v=f[h]||{},p=d.seriesDataIndices||[],g=v.seriesDataIndices||[];o=o&&d.value===v.value&&d.axisType===v.axisType&&d.axisId===v.axisId&&p.length===g.length,o&&O(p,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&O(d.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],b=a[y];_&&b&&b.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){Ue.node||!n.getDom()||(nm(this,"_updatePosition
`)){var g=new cf;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!c.get(p))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},b=y.getVisual("legendIcon"),S=y.getVisual("style"),w=this._createItem(m,p,v,h,n,r,_,S,b,f,a);w.on("click",jo(iC,p,null,a,d)).on("mouseover",jo(Sm,m.name,null,a,d)).on("mouseout",jo(xm,m.name,null,a,d)),c.set(p,!0)}else i.eachRawSeries(function(x){if(!c.get(p)&&x.legendVisualProvider){var C=x.legendVisualProvider;if(!C.containName(p))return;var T=C.indexOfName(p),E=C.getItemVisual(T,"style"),A=C.getItemVisual(T,"legendIcon"),M=oo(E.fill);M&&M[3]===0&&(M[3]=.2,E=se(se({},E),{fill:Vy(M,"rgba")}));var D=this._createItem(x,p,v,h,n,r,{},E,A,f,a);D.on("click",jo(iC,null,p,a,d)).on("mouseover",jo(Sm,null,p,a,d)).on("mouseout",jo(xm,null,p,a,d)),c.set(p,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();wm(r,function(u){var c=u.type,f=new dr({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var d=n.getModel("selectorLabel"),h=n.getModel(["emphasis","selectorLabel"]);f0(f,{normal:d,emphasis:h},{defaultText:u.title}),Ug(f)})},t.prototype._createItem=function(r,n,i,a,o,s,l,u,c,f,d){var h=r.visualDrawType,v=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(n),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");c=_||c||"roundRect";var b=pte(c,a,l,u,h,g,d),S=new cf,w=a.getModel("textStyle");if(Ge(r.getLegendIcon)&&(!_||_==="inherit"))S.add(r.getLegendIcon({itemWidth:v,itemHeight:p,icon:c,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));else{var x=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;S.add(gte({itemWidth:v,itemHeight:p,icon:c,iconRotate:x,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}var C=s==="left"?v+5:-5,T=s,E=o.get("formatter"),A=n;Ae(E)&&E?A=E.replace("{name}",n??""):Ge(E)&&(A=E(n));var M=a.get("inactiveColor");S.add(new dr({style:oa(w,{text:A,x:C,y:p/2,fill:g?w.getTextColor():M,align:T,verticalAlign:"middle"})}));var D=new Bt({shape:S.getBoundingRect(),invisible:!0}),R=a.getModel("tooltip");return R.get("show")&&u0({el:D,componentModel:o,itemName:n,itemTooltipOption:R.option}),S.add(D),S.eachChild(function(k){k.silent=!0}),D.silent=!f,this.getContentGroup().add(S),Ug(S),S.__legendDataIndex=i,S},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Kl(r.get("orient"),l,r.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Kl("horizontal",u,r.get("selectorItemGap",!0));var d=u.getBoundingRect(),h=[-d.x,-d.y],v=r.get("selectorButtonGap",!0),p=r.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";s==="end"?h[p]+=c[g]+v:f[p]+=d[g]+v,h[1-p]+=c[m]/2-d[m]/2,u.x=h[0],u.y=h[1],l.x=f[0],l.y=f[1];var _={x:0,y:0};return _[g]=c[g]+v+d[g],_[m]=Math.max(c[m],d[m]),_[y]=Math.min(0,d[y]+h[1-p]),_}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(wi);function pte(e,t,r,n,i,a,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),wm(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?n.decal:lm(f,o),u.fill==="inherit"&&(u.fill=n[i]),u.stroke==="inherit"&&(u.stroke=n[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?n:r).opacity),s(u,n);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(s(h,r),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),h.stroke==="auto"&&(h.stroke=n.fill),!a){var v=t.get("inactiveBorderWidth"),p=u[c];u.lineWidth=v==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),
`||u==="")){var c=o.isSelected(u);n.hasOwnProperty(u)?n[u]=n[u]&&c:n[u]=c}})}),e==="allSelect"||e==="inverseSelect"?{selected:n}:{name:t.name,selected:n}}function yte(e){e.registerAction("legendToggleSelect","legendselectchanged",Dt(ml,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Dt(ml,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Dt(ml,"inverseSelect")),e.registerAction("legendSelect","legendselected",Dt(ml,"select")),e.registerAction("legendUnSelect","legendunselected",Dt(ml,"unSelect"))}function VL(e){e.registerComponentModel(bm),e.registerComponentView(WL),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,mte),e.registerSubTypeDefaulter("legend",function(){return"plain"}),yte(e)}var _te=function(e){pe(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,i){var a=yh(r);e.prototype.init.call(this,r,n,i),aC(this,r,a)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),aC(this,this.option,r)},t.type="legend.scroll",t.defaultOption=gE(bm.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}),t}(bm);function aC(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,Ds(t,r,{type:"box",ignoreSize:!!i})}const bte=_te;var oC=cn,mp=["width","height"],yp=["x","y"],wte=function(e){pe(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new oC),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new oC)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this;e.prototype.renderInner.call(this,r,n,i,a,o,s,l);var c=this._controllerGroup,f=n.get("pageIconSize",!0),d=ge(f)?f:[f,f];v("pagePrev",0);var h=n.getModel("pageTextStyle");c.add(new dr({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(p,g){var m=p+"DataIndex",y=l0(n.get("pageIcons",!0)[n.getOrient().name][g],{onclick:_t(u._pageGo,u,m,n,a)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});y.name=p,c.add(y)}},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getSelectorGroup(),u=r.getOrient().index,c=mp[u],f=yp[u],d=mp[1-u],h=yp[1-u];o&&Kl("horizontal",l,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),p=l.getBoundingRect(),g=[-p.x,-p.y],m=Qe(i);o&&(m[c]=i[c]-p[c]-v);var y=this._layoutContentAndController(r,a,m,u,c,d,h,f);if(o){if(s==="end")g[u]+=y[c]+v;else{var _=p[c]+v;g[u]-=_,y[f]-=_}y[c]+=p[c]+v,g[1-u]+=y[h]+y[d]/2-p[d]/2,y[d]=Math.max(y[d],p[d]),y[h]=Math.min(y[h],p[h]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(r,n,i,a,o,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,d=this._controllerGroup;Kl(r.get("orient"),c,r.get("itemGap"),a?i.width:null,a?null:i.height),Kl("horizontal",d,r.get("pageButtonItemGap",!0));var h=c.getBoundingRect(),v=d.getBoundingRect(),p=this._showController=h[o]>i[o],g=[-h.x,-h.y];n||(g[a]=c[u]);var m=[0,0],y=[-v.x,-v.y],_=qe(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(p){var b=r.get("pageButtonPosition",!0);b==="end"?y[a]+=i[o]-v[o]:m[a]+=v[o]+_}y[1-a]+=h[s]/2-v[s]/2,c.setPosition(g),f.setPosition(m),d.setPosition(y);var S={x:0,y:0};if(S[o]=p?i[o]:h[o],S[s]=Math.max(h[s],v[s]),S[l]=Math.min(0,v[l]+y[1-a]),f.__rectSize=i[o],p){var w={x:0,y:0